/* ============================================================
   beisbee — Μελισσοκομική Ζυγαριά
   Warm honey palette. Mobile-first. Greek throughout.
   ============================================================ */

:root {
  /* Brand palette */
  --honey:       #D4A017;
  --honey-dark:  #B8860B;
  --honey-light: #F2C94C;
  --brown:       #3E2723;
  --brown-soft:  #5D4037;
  --cream:       #FFF8E7;
  --cream-deep:  #FBEFD4;
  --green:       #4CAF50;
  --green-dark:  #2E7D32;

  /* Neutrals derived from brown */
  --ink:         #2A1A15;
  --ink-muted:   #6B4F42;
  --line:        rgba(62, 39, 35, 0.12);
  --line-strong: rgba(62, 39, 35, 0.22);

  /* Typography */
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(62,39,35,.06), 0 2px 6px rgba(62,39,35,.04);
  --shadow-md: 0 4px 14px rgba(62,39,35,.08), 0 10px 30px rgba(62,39,35,.06);
  --shadow-lg: 0 10px 30px rgba(62,39,35,.12), 0 30px 60px rgba(62,39,35,.08);

  --nav-h: 72px;
}

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: #1a9be0;
  background-image: url("img/app-bg.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-heading); color: var(--brown); margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--honey); color: var(--brown); }

/* -------- Honeycomb background texture (subtle) -------- */
.honeycomb-bg {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'><g fill='none' stroke='%23D4A017' stroke-width='1.2' opacity='0.18'><polygon points='28,2 54,17 54,47 28,62 2,47 2,17'/><polygon points='28,18 40,25 40,39 28,46 16,39 16,25'/></g></svg>");
  background-size: 56px 64px;
}

/* -------- Container -------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* -------- NAV -------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(0,0,0,0.2);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled {
  background: rgba(0,0,0,0.35);
  border-bottom-color: rgba(255,255,255,0.15);
}
.nav__inner {
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand__beis { color: #000; }
.brand__bee { color: var(--honey); }
.brand__logo {
  display: inline-flex;
  width: 36px; height: 36px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav__links a {
  color: rgba(255,255,255,0.85);
  transition: color .2s ease;
  position: relative;
  padding: 6px 2px;
}
.nav__links a:hover { color: #fff; }
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 2px;
  height: 2px;
  background: var(--honey);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta {
  background: var(--honey);
  color: var(--brown) !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease;
}
.nav__cta:hover {
  background: var(--honey-light);
  color: var(--brown) !important;
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  padding: 0;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--brown);
  margin: 5px auto;
  transition: transform .3s ease, opacity .2s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------- HERO -------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) clamp(1rem, 5vw, 3rem) 4rem;
  overflow: hidden;
  color: var(--cream);
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("img/app-bg.jpg") center/cover no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,80,180,0.08) 0%, rgba(0,80,180,0) 30%, rgba(0,80,180,0) 60%, transparent 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  width: 100%;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--honey-light);
  padding: 8px 16px;
  border: 1px solid rgba(242, 201, 76, 0.4);
  border-radius: 999px;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);
  margin-bottom: 1.25rem;
}
.hero__title {
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.hero__logo-icon {
  width: clamp(60px, 10vw, 80px);
  height: clamp(60px, 10vw, 80px);
  object-fit: contain;
  border-radius: 8px;
  display: inline-block;
}
.hero__beis {
  color: #000;
}
.hero__bee {
  color: var(--honey);
}
.hero__subtitle {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.2;
  color: var(--honey-light);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}
.hero__desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2.5rem;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
}
.badge__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--honey-light);
  box-shadow: 0 0 8px var(--honey-light);
}

/* Favicon in nav brand logo */
.brand__logo img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: contain;
}

/* Footer brand logo */
.footer__brand img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: contain;
}

.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero__scroll span {
  display: block;
  width: 3px; height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0);   opacity: 1; }
  60%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0);   opacity: 0; }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .3s ease, background .25s ease, color .25s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--honey);
  color: var(--brown);
  box-shadow: 0 4px 18px rgba(212, 160, 23, 0.35);
}
.btn--primary:hover {
  background: var(--honey-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(212, 160, 23, 0.45);
}
.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.25);
  border-color: #fff;
  transform: translateY(-2px);
}

/* -------- Section base -------- */
.section {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0;
}
.section__header {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey-light);
  margin-bottom: 1rem;
}
.section__title {
  font-size: clamp(1.8rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.section__lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}

/* -------- FEATURES -------- */
.features {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(2px);
  position: relative;
}
.features .container { position: relative; z-index: 1; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.feature {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-color: rgba(212, 160, 23, 0.5);
}
.feature__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--honey) 0%, var(--honey-light) 100%);
  color: var(--brown);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 16px rgba(212, 160, 23, 0.25);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.feature p {
  color: var(--ink-muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* -------- HOW IT WORKS -------- */
.how {
  background: rgba(0,0,0,0.08);
}
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}
.step {
  flex: 1 1 260px;
  max-width: 340px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  text-align: left;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.step__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--honey);
  margin-bottom: 1rem;
}
.step__body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.step__body p {
  color: var(--ink-muted);
  line-height: 1.6;
}
.step__body strong { color: var(--honey-dark); }
.step--arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0 0.25rem;
  color: #fff;
  background: none;
  border: 0;
  max-width: 60px;
}
.step--arrow:hover { transform: none; box-shadow: none; }
.step--arrow svg { width: 40px; height: 24px; }

/* -------- SPECS -------- */
.specs {
  background: rgba(0,0,0,0.35);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.specs .section__title { color: var(--cream); }
.specs .section__eyebrow { color: var(--honey-light); }
.specs .section__lead { color: rgba(255, 248, 231, 0.75); }
.specs .container { position: relative; z-index: 1; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.spec {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  padding: 1.5rem 1.5rem;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.spec:hover {
  border-color: var(--honey);
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.spec--wide { grid-column: 1 / -1; }
@media (min-width: 960px) {
  .spec--wide { grid-column: span 2; }
}
.spec__label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey-light);
  margin-bottom: 0.4rem;
}
.spec__value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}
.spec__meta {
  font-size: 0.92rem;
  color: rgba(255, 248, 231, 0.65);
  line-height: 1.5;
}

/* -------- CONTACT -------- */
.contact {
  background: rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.contact__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (min-width: 860px) {
  .contact__wrap {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
  }
}
.contact__intro { text-align: left; }
.contact__intro .section__title { margin-top: 0.5rem; }

.contact__cards {
  display: grid;
  gap: 14px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--r-md);
  padding: 1.1rem 1.25rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: default;
}
a.contact-card { cursor: pointer; }
a.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-color: var(--honey);
}
.contact-card__icon {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.6);
  color: var(--honey-dark);
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 160, 23, 0.2);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2px;
}
.contact-card__value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: -0.01em;
  word-break: break-word;
}

/* -------- FOOTER -------- */
.footer {
  background: rgba(0,0,0,0.4);
  color: rgba(255, 248, 231, 0.7);
  padding: 2.5rem 0;
  font-size: 0.92rem;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cream);
}
.footer__text { text-align: right; }
.footer__text p { margin: 2px 0; }
.footer__made { color: rgba(255, 248, 231, 0.55); }
.footer__bee { display: inline-block; animation: beeFloat 3s ease-in-out infinite; }
@keyframes beeFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-3px) rotate(5deg); }
}

/* -------- Reveal on scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .footer__bee, .hero__scroll span { animation: none; }
}

/* -------- Responsive -------- */
@media (max-width: 780px) {
  .nav__burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; }
  .nav__links {
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(0,40,100,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s ease, opacity .25s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }
  .nav__links a {
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1.05rem;
  }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links .nav__cta {
    margin-top: 10px;
    text-align: center;
    padding: 14px 18px !important;
  }
  .nav.is-open .nav__links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .steps { flex-direction: column; align-items: stretch; }
  .step { max-width: 100%; }
  .step--arrow { transform: rotate(90deg); margin: -4px auto; }

  .footer__inner { justify-content: center; text-align: center; }
  .footer__text { text-align: center; }
}

@media (max-width: 520px) {
  .hero { padding-top: calc(var(--nav-h) + 1rem); padding-bottom: 3rem; }
  .hero__badges { gap: 8px; }
  .badge { font-size: 0.78rem; padding: 6px 11px; }
  .btn { padding: 12px 22px; font-size: 0.95rem; }
}
