﻿
:root {
  --green:        #00573F;
  --green-light:  #D9E8E2;
  --green-bright: #3DBE7A;
  --forest:       #003D2D;
  --ivory:        #F7F8F3;
  --warm-bg:      #F5F5F7;
  --mist:         #E5E5EA;
  --stone:        #6B6B6B;
  --white:        #FFFFFF;
  --body-text:    #1D1D1F;
  --hero-dark:    #0B1620;
  --border:       #E5E5EA;
  --font:         'Poppins', sans-serif;
  --r-sm: 8px; --r-md: 12px; --r-lg: 14px; --r-xl: 18px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scroll-snap-type: y proximity;
}
body { font-family: var(--font); background: var(--white); color: var(--body-text); overflow-x: hidden; }
img { display: block; max-width: 100%; }

/*    TICKER    */
.ticker-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 34px; background: #0a1a12;
  border-bottom: 1px solid rgba(0,87,63,0.35);
  display: flex; align-items: center; overflow: hidden;
}
.ticker-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 7px;
  padding: 0 16px; height: 100%;
  border-right: 1px solid rgba(0,87,63,0.4);
  font-size: 9px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: rgba(255,255,255,0.5); white-space: nowrap;
}
.ticker-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #00c853; box-shadow: 0 0 6px #00c853; animation: tickBlink 1.8s infinite; }
@keyframes tickBlink { 0%,100%{opacity:1} 50%{opacity:.35} }
.ticker-scroll {
  flex: 1; overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%);
}
.ticker-track { display: flex; animation: tickerScroll 55s linear infinite; width: max-content; }
.ticker-track:hover { animation-play-state: paused; }
.tick-item { display: inline-flex; align-items: center; gap: 7px; padding: 0 22px; height: 34px; border-right: 1px solid rgba(255,255,255,0.05); white-space: nowrap; }
.tick-name  { font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.55); }
.tick-price { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.88); }
.tick-up    { font-size: 9px; font-weight: 600; color: #00c853; }
.tick-dn    { font-size: 9px; font-weight: 600; color: #ff5252; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/*    NAV    */
nav {
  position: fixed; top: 34px; left: 0; right: 0; z-index: 100;
  height: 72px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 48px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 26px; max-width: 170px; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 22px; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a { font-size: 13px; font-weight: 500; color: #000000; text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--green); }
.nav-links li.active > a { color: var(--green); font-weight: 600; border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-item-dropdown > a::after { content: ''; display: inline-block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav-item-dropdown:hover > a::after { transform: rotate(-135deg) translateY(-2px); }
.nav-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(255,255,255,0.98); border: 1px solid rgba(0,0,0,0.09);
  border-radius: 14px; box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  padding: 8px; min-width: 160px; list-style: none;
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(12px); z-index: 999;
}
.nav-item-dropdown:hover .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dropdown li a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 13px; font-weight: 400; color: var(--stone); transition: background .15s, color .15s; white-space: nowrap; }
.nav-dropdown li a:hover { background: var(--green-light); color: var(--green); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-nav-ghost { font-size: 14px; font-weight: 500; color: #000000; background: transparent; border: 1px solid #D2D2D7; padding: 7px 16px; border-radius: 999px; cursor: pointer; text-decoration: none; transition: border-color .2s, color .2s; }
.btn-nav-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-nav-primary { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--white); background: var(--green); border: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; text-decoration: none; transition: background .2s, box-shadow .2s; }
.btn-nav-primary:hover { background: var(--green-mid); box-shadow: 0 4px 16px rgba(0,87,63,.3); }

/*    PAGE    */
.page-wrapper { padding-top: 0; }

/*    HERO SECTION    */
.ais-hero-section {
  background: var(--hero-dark);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 152px 64px 72px;
  position: relative; overflow: hidden;
  box-sizing: border-box;
  scroll-snap-align: start;
}
.ais-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.80; z-index: 0; pointer-events: none;
}
.ais-hero-section::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(0,87,63,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.ais-hero-section::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.ais-hero-inner {
  position: relative; z-index: 1;
  max-width: 780px; margin: 0 auto;
  text-align: center;
}
/* Badge */
.ais-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(61,190,122,0.4); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 24px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  background: rgba(61,190,122,0.06);
}
.ais-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright); animation: glow 2s infinite; }
@keyframes glow { 0%,100%{opacity:1} 50%{opacity:.4} }

.ais-hero-title {
  text-shadow: 0 2px 20px rgba(0,0,0,0.65), 0 1px 6px rgba(0,0,0,0.4);
  font-size: clamp(38px, 5vw, 65px); font-weight: 800;
  line-height: 1.05; letter-spacing: -1.5px; color: #FFFFFF;
  margin-bottom: 18px;
}
.ais-hero-title span { color: #FFFFFF; }
.ais-hero-sub {
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.52); line-height: 1.8;
  max-width: 560px; margin: 0 auto 16px;
}
.ais-disclaimer {
  font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.65;
  max-width: 460px;
}

/* Search section — left-aligned card */
.ais-search-wrap {
  background: var(--white);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 32px 36px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  margin-bottom: 48px;
}
.ais-search-badge {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid rgba(0,87,63,0.3); border-radius: 999px;
  padding: 4px 12px; margin-bottom: 14px;
  font-size: 10px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--green);
}
.ais-search-badge svg { width: 12px; height: 12px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ais-search-headline {
  font-size: clamp(22px, 2.8vw, 34px); font-weight: 800;
  letter-spacing: -0.8px; color: var(--body-text);
  line-height: 1.1; margin-bottom: 10px;
}
.ais-search-sub {
  font-size: 13.5px; font-weight: 400; color: var(--stone);
  line-height: 1.7; max-width: 560px; margin-bottom: 20px;
}
.ais-search-row {
  display: flex; align-items: center;
  border: 1.5px solid var(--mist); border-radius: var(--r-md);
  background: var(--white); overflow: hidden; margin-bottom: 12px;
  transition: border-color .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.ais-search-row:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,87,63,0.07); }
.ais-search-row svg { margin: 0 12px; width: 16px; height: 16px; stroke: var(--stone); flex-shrink: 0; }
.ais-search-input {
  flex: 1; border: none; outline: none; font-family: var(--font);
  font-size: 13px; font-weight: 400; color: var(--body-text);
  background: transparent; padding: 12px 10px 12px 0;
}
.ais-search-input::placeholder { color: rgba(107,107,107,0.45); }
.ais-btn-find {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--green); color: var(--white);
  border: none; border-radius: 0 calc(var(--r-md) - 2px) calc(var(--r-md) - 2px) 0;
  padding: 0 22px; align-self: stretch;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background .2s; flex-shrink: 0;
}
.ais-btn-find:hover { background: var(--forest); }
.ais-btn-find svg { width: 14px; height: 14px; }

/* Chips */
.ais-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.ais-chip {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--mist); border-radius: 999px;
  padding: 5px 13px; font-size: 12px; font-weight: 400;
  color: var(--stone); background: var(--white);
  cursor: pointer; transition: all .18s; white-space: nowrap;
}
.ais-chip:hover { border-color: rgba(0,87,63,0.3); color: var(--green); background: var(--green-light); }
.ais-chip-arrow { font-size: 11px; color: var(--stone); }
.ais-search-disclaimer {
  font-size: 11.5px; color: rgba(107,107,107,0.6); line-height: 1.6; max-width: 540px;
}

/*    FEATURES SECTION    */
.ais-features { background: var(--warm-bg); padding: 72px 64px; }
.ais-features-inner { max-width: 1100px; margin: 0 auto; }
.ais-section-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}

/* H3 standard */
h3, .h3 { font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; line-height: 1.15; letter-spacing: -0.6px; color: var(--body-text); }

.ais-section-title {
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 700;
  line-height: 1.1; letter-spacing: -1.2px; color: var(--body-text); margin-bottom: 10px;
}
.ais-section-sub {
  font-size: 14px; color: var(--stone); line-height: 1.75;
  max-width: 500px; margin-bottom: 48px;
}
.ais-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ais-feat-card {
  background: var(--white); border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--r-xl); padding: 30px 26px 32px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.ais-feat-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); transform: translateY(-3px); border-color: rgba(0,87,63,0.18); }
.ais-feat-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--warm-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.ais-feat-icon svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ais-feat-title { font-size: 15px; font-weight: 700; color: var(--body-text); margin-bottom: 9px; }
.ais-feat-desc { font-size: 13px; color: var(--stone); line-height: 1.7; }

/*    HOW IT WORKS    */
.ais-how { background: var(--white); padding: 72px 64px; }
.ais-how-inner { max-width: 1100px; margin: 0 auto; }
.ais-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.ais-steps::before {
  content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1.5px;
  background: var(--mist); z-index: 0;
}
.ais-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.ais-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--green);
  margin-bottom: 18px; box-shadow: 0 0 0 5px rgba(0,87,63,0.07);
}
.ais-step:first-child .ais-step-num { background: var(--white); color: var(--green); box-shadow: 0 0 0 5px rgba(0,87,63,0.07); font-weight: 900; }
.ais-step-title { font-size: 13px; font-weight: 700; color: var(--body-text); margin-bottom: 7px; }
.ais-step-desc { font-size: 12px; color: var(--stone); line-height: 1.65; }

/*    CTA SECTION    */
.ais-cta-section { background: #F2F2F2; padding: 64px 64px; border-top: 1px solid var(--border); }
.ais-cta-banner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
}
.ais-cta-title { font-size: clamp(24px, 2.8vw, 36px); font-weight: 800; color: var(--body-text); letter-spacing: -1px; margin-bottom: 10px; }
.ais-cta-sub { font-size: 15px; color: var(--stone); line-height: 1.75; max-width: 480px; }
.ais-cta-btns { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.btn-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  color: var(--white); background: var(--green); border: none;
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .15s;
}
.btn-cta-primary:hover { background: var(--forest); box-shadow: 0 6px 20px rgba(0,87,63,0.3); transform: translateY(-1px); }
.btn-cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  color: var(--green); background: var(--white);
  border: 1.5px solid rgba(0,87,63,0.2); padding: 8px 18px;
  border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: border-color .2s, box-shadow .2s;
}
.btn-cta-ghost:hover { border-color: var(--green); box-shadow: 0 3px 10px rgba(0,87,63,0.15); }

/*    FOOTER    */
footer { background: #141414; padding: 64px 72px 36px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.06); max-width: 1440px; margin: 0 auto; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.35); line-height: 1.75; margin-top: 14px; max-width: 280px; }
.footer-brand-badges { display: flex; gap: 8px; margin-top: 20px; }
.fbadge { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.10); padding: 4px 10px; border-radius: 999px; }
.footer-col h4 { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col li a { font-size: 13px; color: rgba(255,255,255,.50); text-decoration: none; transition: color .15s; }
.footer-col li a:hover { color: rgba(255,255,255,.85); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; max-width: 1440px; margin: 0 auto; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.20); }
.footer-legal-links { display: flex; gap: 22px; }
.footer-legal-links a { font-size: 12px; color: rgba(255,255,255,.20); text-decoration: none; transition: color .15s; }
.footer-legal-links a:hover { color: rgba(255,255,255,.50); }
.footer-logo-wrap { display: flex; align-items: center; margin-bottom: 14px; text-decoration: none; }
.footer-logo-wrap img { height: 26px; display: block; filter: brightness(0) invert(1); }

/* ── TABLET NAV ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  nav:not(.nav-scrolled) .nav-mobile-toggle { color: rgba(255,255,255,0.9); }
  nav.nav-scrolled .nav-mobile-toggle { color: #1D1D1F; }
  .nav-mobile-toggle { color: #1D1D1F; }
}

/* Responsive */
@media (max-width: 1100px) {
  .ais-search-wrap { padding: 24px 20px; }
  .ais-feature-grid { grid-template-columns: 1fr 1fr; }
  .ais-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ais-steps::before { display: none; }
  .ais-cta-banner { grid-template-columns: 1fr; }
  .ais-features, .ais-how { padding: 56px 40px; }
  .ais-cta-section { padding: 64px 40px; }
}
@media (max-width: 768px) {
  nav { padding: 0 24px; } .nav-links { display: none; }
  .ais-hero-section { padding: 110px 24px 56px; }
  .ais-features, .ais-how { padding: 48px 24px; }
  .ais-cta-section { padding: 56px 24px; }
  .ais-cta-btns { flex-direction: column; align-items: flex-start; }
  .ais-feature-grid, .ais-steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}




nav.nav-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
nav:not(.nav-scrolled) .nav-links a { color: rgba(255,255,255,0.90); text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
nav:not(.nav-scrolled) .nav-links a:hover { color: #fff; }
nav:not(.nav-scrolled) .btn-nav-ghost { color: rgba(255,255,255,0.90); border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.08); }
nav:not(.nav-scrolled) .btn-nav-ghost:hover { border-color: rgba(255,255,255,0.70); color: #fff; }
/* ══ MOBILE NAV ══ */
@media (max-width: 768px) {
  nav { height: 52px; padding: 0 16px; }
  .nav-links { display: none; }
  .btn-nav-ghost { display: none; }
  .btn-nav-primary, .btn-reg-free { font-size: 12px; padding: 10px 14px; min-height: 44px; white-space: nowrap; }
  .nav-cta { gap: 8px; }
}

/* Steps — add visual flow separator on mobile (1-col stack) */
@media (max-width: 768px) {
  .ais-step { text-align: left; padding-top: 24px; border-top: 1px solid var(--mist); }
  .ais-step:first-child { border-top: none; padding-top: 0; }
  .ais-step-num { margin: 0 0 14px; }
  .ais-step-title, .ais-step-desc { text-align: left; }
}

@media (max-width: 480px) {
  .ais-hero-section { padding: 110px 20px 56px; min-height: 100svh; }
  .ais-hero-title { font-size: clamp(28px, 7vw, 40px); letter-spacing: -0.5px; }
  .ais-hero-sub { font-size: 14px; }
  .ais-hero-inner { padding: 0; }
  /* Fix: was targeting non-existent .ais-search-bar — now targets actual .ais-search-row */
  .ais-search-row { flex-direction: column; align-items: stretch; }
  .ais-search-row > svg { display: none; }
  .ais-search-input { padding: 12px 16px; width: 100%; }
  .ais-btn-find { border-radius: 0 0 calc(var(--r-md) - 2px) calc(var(--r-md) - 2px); padding: 12px 22px; justify-content: center; }
  .ais-feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .ais-steps { grid-template-columns: 1fr; gap: 0; }
  .ais-features, .ais-how { padding: 40px 20px; }
  .ais-cta-section { padding: 48px 20px; }
  .ais-cta-btns { flex-direction: column; gap: 12px; }
  .btn-cta-primary, .btn-cta-ghost { width: 100%; text-align: center; justify-content: center; }
  .ais-footer { padding: 36px 20px 24px; }
  .ais-footer-top { grid-template-columns: 1fr; gap: 24px; }
  /* Fix actual footer element — was dead .ais-footer-top class */
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-wrap: wrap; gap: 8px; justify-content: center; }
}
