/* ==========================================================================
   Vannah Technologies — landing site
   Brand: deep-green agritech, accent lime/green (matches LiveStack app)
   ========================================================================== */

:root {
  --bg:        #04120C;
  --bg-2:      #071C12;
  --surface:   #0C2618;
  --surface-2: #103019;
  --border:    rgba(132, 204, 22, 0.14);
  --border-2:  rgba(255, 255, 255, 0.08);

  --brand:     #124A30;
  --brand-2:   #05130D;
  --accent:    #22C55E;
  --accent-2:  #84CC16;   /* lemon-lime, the logo colour */
  --danger:    #F97066;

  --text:      #F2F7F3;
  --muted:     #9DB6A6;
  --faint:     #6E8878;

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1160px;

  --shadow:    0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --glow:      0 0 0 1px rgba(132, 204, 22, 0.25), 0 20px 60px -18px rgba(34, 197, 94, 0.35);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(34, 197, 94, 0.16), transparent 60%),
    radial-gradient(800px 700px at -10% 20%, rgba(18, 74, 48, 0.55), transparent 55%),
    linear-gradient(180deg, #061a10 0%, var(--bg) 60%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.4em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
p  { margin: 0 0 1em; color: var(--muted); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: clamp(60px, 9vw, 120px) 0; }
.section-sm { padding: clamp(40px, 6vw, 70px) 0; }

.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-720 { max-width: 720px; }
.max-620 { max-width: 620px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-2);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(132, 204, 22, 0.08);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }

.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--muted); }

.gradient-text {
  background: linear-gradient(100deg, var(--accent-2), var(--accent) 55%, #4ade80);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 1rem; font-weight: 700; font-family: inherit;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #05130D;
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); color: #05130D; }
.btn-ghost {
  color: var(--text); background: rgba(255,255,255,0.04); border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.06rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(4, 18, 12, 0.72);
  border-bottom: 1px solid var(--border-2);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand:hover { opacity: 0.9; }
.brand-logo { height: 46px; width: auto; display: block; }
.site-footer .brand-logo { height: 54px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--muted); font-weight: 600; font-size: 0.95rem;
  padding: 9px 14px; border-radius: 10px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links .btn { padding: 10px 20px; font-size: 0.92rem; }
/* keep button text colours (nav-links a rule is more specific than .btn*) */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #05130D; background: linear-gradient(100deg, var(--accent-2), var(--accent)); }
.nav-links a.btn-ghost, .nav-links a.btn-ghost:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(60px, 11vw, 140px) 0 clamp(50px, 8vw, 100px); position: relative; }
.hero .lead { max-width: 640px; }
.hero-home .btn-row { margin-top: 34px; }

.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.stat { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), rgba(12,38,24,0.4)); }
.stat b { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.stat span { font-size: 0.86rem; color: var(--muted); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, var(--surface), rgba(7, 28, 18, 0.6));
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: var(--shadow); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(132, 204, 22, 0.12); border: 1px solid var(--border);
  font-size: 1.4rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; color: #fff; }
.card p { margin: 0; font-size: 0.96rem; }

/* Product card (clickable) */
.product-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  text-decoration: none; color: inherit;
  background: linear-gradient(120deg, rgba(18,74,48,0.5), var(--surface));
  border: 1px solid var(--border);
  border-radius: 22px; padding: 26px 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: var(--accent); color: inherit; }
.product-card .logo-badge {
  width: 66px; height: 66px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-2); border: 1px solid var(--border);
}
.product-card .logo-badge img { width: 42px; height: 42px; }
.product-card h3 { margin: 0 0 4px; color: #fff; display: flex; align-items: center; gap: 10px; }
.product-card p { margin: 0; font-size: 0.96rem; }
.product-card .go {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); background: rgba(132,204,22,0.1); color: var(--accent-2);
  font-size: 1.2rem; flex-shrink: 0; transition: background .18s, transform .18s;
}
.product-card:hover .go { background: var(--accent); color: #05130D; transform: translateX(3px); }
.tag {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; background: rgba(34,197,94,0.16); color: var(--accent-2);
}
.tag.soon { background: rgba(255,255,255,0.07); color: var(--muted); }

.section-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section-head p { margin: 0; }

/* ---------- Feature list rows ---------- */
.feature-rows { display: grid; gap: 16px; }
.feature-row { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px 22px; border: 1px solid var(--border-2); border-radius: var(--radius-sm); background: var(--surface); }
.feature-row .check { color: var(--accent); font-size: 1.2rem; line-height: 1.4; }
.feature-row b { color: #fff; }
.feature-row p { margin: 4px 0 0; font-size: 0.94rem; }

/* ---------- Phone frame / screenshots ---------- */
.phone-hero { display: flex; justify-content: center; position: relative; }
.phone-hero img { width: min(300px, 78vw); filter: drop-shadow(0 40px 70px rgba(0,0,0,0.6)); }

/* how-it-works alternating rows */
.hiw { display: grid; gap: clamp(50px, 8vw, 100px); }
.hiw-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.hiw-row:nth-child(even) .hiw-media { order: 2; }
.hiw-row:nth-child(even) .hiw-text  { order: 1; }
.hiw-media { display: flex; justify-content: center; }
.hiw-media img { width: min(300px, 74vw); filter: drop-shadow(0 34px 60px rgba(0,0,0,0.55)); }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(132,204,22,0.12); border: 1px solid var(--border); color: var(--accent-2);
  font-weight: 800; margin-bottom: 16px;
}

/* Screenshot gallery strip */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.gallery figure { margin: 0; text-align: center; }
.gallery img { border-radius: 20px; margin: 0 auto 12px; width: 100%; max-width: 260px; }
.gallery figcaption { font-size: 0.9rem; color: var(--muted); }

/* ---------- Store buttons ---------- */
.store-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px; border-radius: 14px; min-width: 200px;
  background: #0b0f0d; border: 1px solid var(--border-2); color: #fff;
  transition: transform .16s ease, border-color .16s ease;
}
.store-btn:hover { transform: translateY(-3px); border-color: var(--accent); color: #fff; }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn small { display: block; font-size: 0.66rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.store-btn b { display: block; font-size: 1.05rem; line-height: 1.15; margin-top: 1px; }
.store-btn.web { background: linear-gradient(100deg, var(--brand), #0c3a24); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 260px at 50% -20%, rgba(132,204,22,0.28), transparent 70%);
}
.cta-band h2, .cta-band p { position: relative; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 30px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 13px 15px; width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34,197,94,0.15); }
.form-note { font-size: 0.82rem; color: var(--faint); margin: 0; }
.contact-info .info-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border-2); }
.contact-info .info-item:last-child { border-bottom: 0; }
.contact-info .info-item .ico { font-size: 1.3rem; }
.contact-info .info-item b { color: #fff; display: block; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border-2); padding: 56px 0 30px; margin-top: 40px; background: rgba(4,18,12,0.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { max-width: 300px; font-size: 0.92rem; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-weight: 500; padding: 6px 0; font-size: 0.94rem; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border-2); font-size: 0.86rem; color: var(--faint); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split .btn-row { justify-content: center; }
  .hero-split .lead { margin-left: auto; margin-right: auto; }
  .phone-hero { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hiw-row { grid-template-columns: 1fr; text-align: center; }
  .hiw-row .hiw-media, .hiw-row .hiw-text { order: 0 !important; }
  .hiw-row .step-num { margin-left: auto; margin-right: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-card { grid-template-columns: auto 1fr; }
  .product-card .go { display: none; }

  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(4,18,12,0.98); border-bottom: 1px solid var(--border-2);
    padding: 16px 22px 24px;
    transform: translateY(-120%); transition: transform .25s ease; visibility: hidden;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { padding: 13px 12px; }
  .nav-links .btn { margin-top: 6px; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .store-btn { min-width: 0; flex: 1 1 100%; }
}
