/* ==========================================================================
   NavTva Digitals — marketing site styles
   A self-contained design system (no external fonts/assets) for a premium,
   enterprise-grade SaaS landing page. Green agriculture theme.
   ========================================================================== */

:root {
  /* Brand greens */
  --green-900: #0e2a17;
  --green-800: #14532d;
  --green-700: #166534;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #dcefd6;
  --green-50:  #f0f7ee;
  /* Accent (advertising / highlights) */
  --amber-600: #b4780f;
  --amber-50:  #fbf3e2;
  /* Ink & surfaces */
  --ink:      #0f1a14;
  --ink-2:    #38463c;
  --muted:    #67766c;
  --bg:       #ffffff;
  --bg-soft:  #f7faf5;
  --bg-deep:  #0d1a12;
  --line:     #e5ede0;
  --line-2:   #d8e4d1;
  /* Effects */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(13, 30, 20, .06), 0 1px 3px rgba(13, 30, 20, .05);
  --shadow: 0 10px 30px -12px rgba(13, 40, 23, .18);
  --shadow-lg: 0 30px 60px -20px rgba(13, 40, 23, .28);
  --grad: linear-gradient(135deg, #16a34a 0%, #15803d 55%, #166534 100%);
  --grad-soft: linear-gradient(160deg, #f0f7ee 0%, #ffffff 60%);
  --maxw: 1180px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green-100); color: var(--green-800); }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-700); background: var(--green-50);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head .lead { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(22,163,74,.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(22,163,74,.75); }
.btn--ghost { background: #fff; color: var(--green-800); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--green-500); background: var(--green-50); }
.btn--light { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.28); }
.btn--light:hover { background: rgba(255,255,255,.2); }
.btn--white { background:#fff; color: var(--green-800); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(13,30,20,.04); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(22,163,74,.6); flex: none;
}
.brand .logo svg { width: 21px; height: 21px; }
.brand b { color: var(--ink); }
.brand span { color: var(--green-600); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 9px 14px; border-radius: 9px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--green-700); background: var(--green-50); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background:#fff; border-radius: 11px; cursor: pointer; }
.nav-toggle span { display:block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .25s; }
.nav.open .nav-toggle span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2){ opacity: 0; }
.nav.open .nav-toggle span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); }
.hero::before {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(60% 50% at 85% -5%, rgba(34,197,94,.16), transparent 60%),
    radial-gradient(45% 40% at 5% 10%, rgba(22,101,52,.10), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 84px 0 96px; }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; color: var(--green-800);
  background:#fff; border:1px solid var(--line-2); border-radius:999px; padding:7px 14px; box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width:8px; height:8px; border-radius:50%; background: var(--green-500); box-shadow:0 0 0 4px rgba(34,197,94,.2); }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); margin: 22px 0 0; letter-spacing: -.035em; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin-top: 22px; font-size: 19px; color: var(--ink-2); max-width: 560px; }
.hero .desc { margin-top: 16px; font-size: 15.5px; color: var(--muted); max-width: 560px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { margin-top: 38px; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .n { font-size: 26px; font-weight: 800; color: var(--green-800); }
.hero-stats .l { font-size: 13px; color: var(--muted); }

/* Product mockup */
.mockup { position: relative; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }
.window {
  background:#fff; border:1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.window-bar { display:flex; align-items:center; gap:7px; padding: 13px 16px; border-bottom:1px solid var(--line); background: var(--bg-soft); }
.window-bar i { width:11px; height:11px; border-radius:50%; background:#e6b0a5; display:inline-block; }
.window-bar i:nth-child(2){ background:#e8d6a0; } .window-bar i:nth-child(3){ background:#a9d8ab; }
.window-bar .url { margin-left: 10px; font-size:12px; color: var(--muted); background:#fff; border:1px solid var(--line); border-radius:7px; padding:4px 12px; }
.dash { display:grid; grid-template-columns: 128px 1fr; min-height: 340px; }
.dash-side { background: var(--bg-soft); border-right:1px solid var(--line); padding:16px 12px; }
.dash-side .s-logo { display:flex; align-items:center; gap:8px; font-weight:800; font-size:13px; margin-bottom:16px; }
.dash-side .s-logo .d { width:22px;height:22px;border-radius:7px;background:var(--grad); flex:none; }
.dash-side .s-item { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); padding:7px 8px; border-radius:8px; margin-bottom:2px; }
.dash-side .s-item.active { background:#fff; color:var(--green-700); font-weight:700; box-shadow: var(--shadow-sm); }
.dash-side .s-item .b { width:14px;height:14px;border-radius:4px;background:var(--green-100); flex:none; }
.dash-side .s-item.active .b { background:var(--green-500); }
.dash-main { padding:18px; }
.kpis { display:grid; grid-template-columns: repeat(3,1fr); gap:10px; }
.kpi { border:1px solid var(--line); border-radius:12px; padding:11px 12px; }
.kpi .k { font-size:10px; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; }
.kpi .v { font-size:20px; font-weight:800; margin-top:3px; }
.kpi .v.up { color: var(--green-600); }
.chart { margin-top:14px; border:1px solid var(--line); border-radius:12px; padding:14px; }
.chart .ch-h { display:flex; justify-content:space-between; font-size:11px; color:var(--muted); margin-bottom:12px; }
.bars { display:flex; align-items:flex-end; gap:9px; height:96px; }
.bars .bar { flex:1; border-radius:6px 6px 0 0; background: linear-gradient(180deg, var(--green-500), var(--green-600)); opacity:.9; animation: grow 1.1s var(--ease) both; }
.bars .bar:nth-child(odd){ background: linear-gradient(180deg, #bfe6bf, #86cf88); }
@keyframes grow { from { height: 0 !important; } }
.pill-float {
  position:absolute; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow: var(--shadow); padding:11px 14px;
  display:flex; align-items:center; gap:10px; font-size:13px; font-weight:700;
}
.pill-float .ic { width:30px;height:30px;border-radius:9px;background:var(--green-50);display:grid;place-items:center;color:var(--green-700); flex:none; }
.pill-float.one { top:-18px; left:-22px; animation: float 6s ease-in-out infinite; }
.pill-float.two { bottom:-20px; right:-18px; animation: float 8s ease-in-out infinite .5s; }
.pill-float .muted { color:var(--muted); font-weight:600; font-size:11px; }

/* ---------- Logos / trusted ---------- */
.trusted { text-align:center; }
.trusted p { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing:.02em; }
.logos { margin-top: 26px; display:flex; flex-wrap:wrap; justify-content:center; gap: 14px 18px; }
.logo-chip { display:flex; align-items:center; gap:9px; font-weight:800; color: var(--ink-2); font-size:15px; opacity:.78;
  border:1px solid var(--line); background:#fff; border-radius:12px; padding:11px 18px; }
.logo-chip svg { width:18px;height:18px;color:var(--green-600); }

/* ---------- Benefits ---------- */
.benefit-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.benefit .ic { width:46px; height:46px; border-radius:13px; background: var(--green-50); color: var(--green-700); display:grid; place-items:center; margin-bottom:16px; }
.benefit h3 { font-size: 18px; }
.benefit p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- Modules ---------- */
.modules { display: grid; gap: 22px; }
.module {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  display:grid; grid-template-columns: 300px 1fr; gap: 30px; align-items:start;
  transition: box-shadow .25s var(--ease), border-color .25s, transform .25s var(--ease);
}
.module:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.module-head .emoji { font-size: 34px; line-height:1; }
.module-head h3 { font-size: 24px; margin-top: 14px; }
.module-head p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.module-head .tag { margin-top:16px; display:inline-flex; font-size:12px; font-weight:700; color:var(--green-700); background:var(--green-50); border:1px solid var(--line-2); border-radius:999px; padding:5px 12px; }
.feat-list { columns: 2; column-gap: 26px; }
.feat-list li { break-inside: avoid; display:flex; align-items:center; gap:9px; font-size:14.5px; color: var(--ink-2); padding: 7px 0; }
.feat-list li svg { width:17px; height:17px; color: var(--green-600); flex:none; }
.module.alt { background: linear-gradient(160deg, #f0f7ee, #fff); }

/* ---------- Industries ---------- */
.ind-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.ind {
  position:relative; overflow:hidden; border-radius: var(--radius); padding: 26px; color:#fff;
  background: var(--grad); box-shadow: var(--shadow); min-height: 168px; display:flex; flex-direction:column; justify-content:flex-end;
  transition: transform .22s var(--ease);
}
.ind:hover { transform: translateY(-4px); }
.ind:nth-child(2){ background: linear-gradient(135deg, #166534, #0e2a17); }
.ind:nth-child(3){ background: linear-gradient(135deg, #15803d, #14532d); }
.ind:nth-child(4){ background: linear-gradient(135deg, #22c55e, #16a34a); }
.ind:nth-child(5){ background: linear-gradient(135deg, #14532d, #166534); }
.ind .ic { position:absolute; top:22px; right:22px; opacity:.35; }
.ind .ic svg { width:44px; height:44px; }
.ind h3 { font-size: 19px; }
.ind p { margin-top:8px; font-size:14px; color: rgba(255,255,255,.86); }

/* ---------- Reasons checklist ---------- */
.reasons { display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.reason { display:flex; align-items:center; gap:11px; background:#fff; border:1px solid var(--line); border-radius: 12px; padding: 15px 16px; font-weight:700; font-size:14.5px; }
.reason .check { width:24px;height:24px;border-radius:7px;background:var(--green-600);color:#fff;display:grid;place-items:center; flex:none; }
.reason .check svg { width:14px;height:14px; }

/* ---------- Integrations ---------- */
.integrations { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.integration { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-weight:700; font-size:15px; color:var(--ink-2);
  transition: border-color .18s, transform .18s var(--ease); }
.integration:hover { border-color: var(--green-500); transform: translateY(-2px); }
.integration .d { width:30px;height:30px;border-radius:8px;background:var(--green-50);color:var(--green-700);display:grid;place-items:center; font-size:14px; flex:none; }

/* ---------- Security ---------- */
.security-wrap { display:grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items:center; }
.security-badge { background: var(--bg-deep); color:#fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); position:relative; overflow:hidden; }
.security-badge::after { content:""; position:absolute; inset:0; background: radial-gradient(60% 60% at 70% 0%, rgba(34,197,94,.22), transparent 60%); }
.security-badge .shield { width:66px;height:66px;border-radius:18px;background:var(--grad);display:grid;place-items:center; margin-bottom:22px; position:relative; z-index:1; }
.security-badge h3 { font-size: 24px; position:relative; z-index:1; }
.security-badge p { margin-top:12px; color: rgba(255,255,255,.72); position:relative; z-index:1; }
.sec-list { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sec-item { display:flex; align-items:center; gap:11px; font-weight:700; font-size:15px; padding:14px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.sec-item .ic { color: var(--green-600); flex:none; }

/* ---------- Pricing ---------- */
.pricing { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items:stretch; }
.plan { position:relative; background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display:flex; flex-direction:column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--green-500); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan.featured:hover { transform: translateY(-12px); }
.plan .ribbon { position:absolute; top:-13px; left:50%; transform: translateX(-50%); background: var(--grad); color:#fff; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:6px 16px; border-radius:999px; box-shadow: var(--shadow); }
.plan h3 { font-size: 22px; }
.plan .who { margin-top:6px; color: var(--muted); font-size:14px; min-height: 42px; }
.plan .price { margin: 18px 0 4px; font-size: 15px; color: var(--green-700); font-weight:800; }
.plan .plist { margin-top: 18px; display:grid; gap: 11px; }
.plan .plist li { display:flex; align-items:flex-start; gap:10px; font-size:14.5px; color:var(--ink-2); }
.plan .plist li svg { width:18px;height:18px;color:var(--green-600); flex:none; margin-top:1px; }
.plan .btn { margin-top: 26px; width: 100%; }

/* ---------- Testimonials ---------- */
.tstack { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tcard { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.tcard .quote-mark { font-size: 42px; line-height:.6; color: var(--green-500); font-family: Georgia, serif; }
.tcard blockquote { margin: 10px 0 20px; font-size: 16px; color: var(--ink); }
.tcard .who { display:flex; align-items:center; gap:12px; }
.tcard .av { width:40px;height:40px;border-radius:11px;background:var(--green-50);color:var(--green-700);display:grid;place-items:center;font-weight:800; flex:none; }
.tcard .who b { display:block; font-size:14px; }
.tcard .who span { font-size:12.5px; color: var(--muted); }
.stars { color:#e8a91b; letter-spacing:2px; margin-bottom:10px; font-size:14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border:1px solid var(--line); border-radius: 14px; background:#fff; margin-bottom: 12px; overflow:hidden; }
.faq-q { width:100%; text-align:left; background:none; border:0; cursor:pointer; font-family:inherit; font-size:16.5px; font-weight:700; color:var(--ink);
  padding: 19px 22px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.faq-q .plus { width:26px;height:26px;border-radius:8px; background:var(--green-50); color:var(--green-700); display:grid; place-items:center; flex:none; transition: transform .25s var(--ease), background .2s; font-size:20px; line-height:1; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--green-600); color:#fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA banner ---------- */
.cta-band { background: var(--grad); color:#fff; border-radius: var(--radius-lg); padding: 60px 40px; text-align:center; position:relative; overflow:hidden; box-shadow: var(--shadow-lg); }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 120% at 50% -20%, rgba(255,255,255,.25), transparent 60%); }
.cta-band > * { position: relative; z-index:1; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,.9); font-size: 18px; max-width: 620px; margin-left:auto; margin-right:auto; }
.cta-band .row { margin-top: 30px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: start; }
.contact-info h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 14px; }
.contact-lead { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 420px; }
.contact-points { margin-top: 28px; display: grid; gap: 14px; }
.contact-points li { display: flex; align-items: center; gap: 13px; }
.contact-points .ic { width: 46px; height: 46px; border-radius: 13px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 19px; flex: none; box-shadow: var(--shadow-sm); }
.contact-points b { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 1px; }
.contact-points a, .contact-points span { color: var(--ink); font-weight: 700; font-size: 15.5px; }
.contact-points a { transition: color .15s; }
.contact-points a:hover { color: var(--green-700); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .01em; color: var(--ink-2); }
.contact-form > .field { margin-bottom: 16px; }
.field input, .field textarea {
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 11px; padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa89d; font-weight: 500; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-500); background: #fff; box-shadow: 0 0 0 4px rgba(34,197,94,.14); }
.field textarea { resize: vertical; min-height: 112px; }
.contact-form .btn { width: 100%; }
.contact-form .btn:disabled { opacity: .65; cursor: default; }
.honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 14px; font-size: 14.5px; font-weight: 600; display: none; }
.form-status.ok { display: block; color: var(--green-700); }
.form-status.err { display: block; color: #b23b2e; }
.form-status.err a { text-decoration: underline; }
.form-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); color: #cdd7cf; padding: 70px 0 34px; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand b { color:#fff; } .footer .brand span { color: var(--green-500); }
.footer .about { margin-top: 16px; font-size: 14.5px; color: #97a89c; max-width: 300px; }
.foot-contact { margin-top: 18px; display: grid; gap: 9px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: #cdd7cf; font-weight: 600; transition: color .15s; }
.foot-contact a:hover { color: #fff; }
.footer h4 { color:#fff; font-size: 13px; letter-spacing:.08em; text-transform:uppercase; margin-bottom: 16px; font-weight:800; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14.5px; color:#a7b6ac; transition: color .15s; }
.footer ul a:hover { color:#fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.09); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:13.5px; color:#8a9a8f; }
.footer-bottom .social { display:flex; gap:10px; }
.footer-bottom .social a { width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.06); display:grid; place-items:center; color:#cdd7cf; transition: background .18s; }
.footer-bottom .social a:hover { background: var(--green-600); color:#fff; }

/* ---------- Hero entrance ----------
   The hero is above the fold, so the scroll reveal never visibly fires for it: by the time
   the observer runs it is already on screen. A one-shot entrance on load gives the first
   thing anybody sees some life. `.is-ready` is set by script.js on the next frame, so the
   transition has a state to move FROM -- setting it synchronously would apply both states in
   the same paint and animate nothing. */
.hero-copy > * { opacity: 0; transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease); }
.is-ready .hero-copy > * { opacity: 1; transform: none; }
.is-ready .hero-copy > *:nth-child(1) { transition-delay: .05s; }
.is-ready .hero-copy > *:nth-child(2) { transition-delay: .13s; }
.is-ready .hero-copy > *:nth-child(3) { transition-delay: .21s; }
.is-ready .hero-copy > *:nth-child(4) { transition-delay: .29s; }
.is-ready .hero-copy > *:nth-child(5) { transition-delay: .37s; }
.is-ready .hero-copy > *:nth-child(6) { transition-delay: .45s; }
.hero-visual { opacity: 0; transform: translateY(24px) scale(.985);
  transition: opacity .7s var(--ease) .2s, transform .7s var(--ease) .2s; }
.is-ready .hero-visual { opacity: 1; transform: none; }

/* ---------- Active section in the nav ----------
   Underline rather than a colour change alone: colour on its own is a single channel, and a
   thin rule reads at a glance without competing with the hover state. */
.nav-links a { position: relative; }
.nav-links a.is-active { color: var(--green-700); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--green-600); animation: navIn .25s var(--ease) both;
}
@keyframes navIn { from { transform: scaleX(.3); opacity: 0; } }

/* ---------- Back to top ----------
   A nine-section page is a long way back to the nav on a phone. */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--green-700); display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(13,30,20,.12); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-50); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.08s; } .reveal[data-d="2"]{ transition-delay:.16s; } .reveal[data-d="3"]{ transition-delay:.24s; }
/* Variants. Cards settle INTO place rather than rising, and alternating rows come from the
   side they sit on -- the point is that a long page stops feeling like one repeated gesture,
   not that every block moves differently. */
.reveal--scale { transform: translateY(14px) scale(.97); }
.reveal--scale.in { transform: none; }
.reveal--left  { transform: translateX(-26px); }
.reveal--right { transform: translateX(26px); }
.reveal--left.in, .reveal--right.in { transform: none; }

/* A counting number must not reflow the line as digits change width. */
.kpi .v { font-variant-numeric: tabular-nums; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 72px; }
  .mockup { max-width: 560px; margin: 0 auto; }
  .module { grid-template-columns: 1fr; gap: 20px; }
  .security-wrap { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer .brand-col { grid-column: 1 / -1; }
  .benefit-grid, .ind-grid, .tstack, .pricing { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; background:#fff; border-bottom:1px solid var(--line);
    padding: 14px 20px 20px; box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: 13px 12px; }
  .section { padding: 64px 0; }
  .benefit-grid, .ind-grid, .tstack, .pricing, .sec-list, .reasons { grid-template-columns: 1fr; }
  .plan.featured { transform: none; } .plan.featured:hover { transform: translateY(-4px); }
  .feat-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px 22px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  /* Killing the transition alone would leave anything that starts at opacity 0 permanently
     invisible -- a hero nobody can read is a far worse outcome than one that does not move.
     Every start state is therefore reset, not just its animation. */
  .hero-copy > *, .hero-visual, .reveal,
  .reveal--scale, .reveal--left, .reveal--right { opacity: 1 !important; transform: none !important; }
  .to-top { transition: none; }
  .reveal { opacity: 1; transform: none; }
}
