*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --green: #1A6B3C;
    --green-dark: #0F4A28;
    --green-deep: #0A3019;
    --gold: #D4A017;
    --gold-light: #F0C040;
    --offwhite: #F9F6F0;
    --charcoal: #1C1C1E;
    --charcoal-soft: #2C2C2A;
    --muted: #5F5E5A;
    --border: rgba(28,28,30,0.1);
  }

  /* Dark mode theme variables */
  html.dark-mode {
    --offwhite: #0D1510;
    --charcoal: #EAF0EC;
    --charcoal-soft: #121C16;
    --muted: #A8B8AD;
    --border: rgba(220,230,224,0.18);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--offwhite);
    color: var(--charcoal);
    overflow-x: hidden;
  }

  /* ── NAVBAR ── */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    border-bottom: 0.5px solid var(--border);
    padding: 0 40px;
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
  }

  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
  }
  .nav-logo-mark {
    width: 40px; height: 40px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .nav-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .nav-logo-text {
    font-family: 'Fraunces', serif;
    font-size: 18px; font-weight: 600;
    color: var(--charcoal);
  }

  .nav-links {
    display: flex; gap: 32px; list-style: none;
  }
  .nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-size: 14px; font-weight: 400;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--green); }

  .nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--charcoal);
    cursor: pointer;
  }

  .nav-toggle svg { width: 20px; height: 20px; }

  .nav-cta {
    background: var(--green);
    color: #fff !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px; font-weight: 500;
    padding: 10px 20px;
    border: none; border-radius: 4px;
    cursor: pointer !important;
    text-decoration: none;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: var(--green); }

  /* Keep nav and mobile menu readable in night mode */
  html.dark-mode nav {
    background: #0E1712;
    border-bottom-color: rgba(212,160,23,0.24);
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  }

  html.dark-mode .nav-logo-text,
  html.dark-mode .nav-links a {
    color: rgba(246,248,245,0.92);
  }

  html.dark-mode .nav-links a:hover {
    color: var(--gold-light);
  }

  html.dark-mode .nav-toggle {
    background: rgba(255,255,255,0.04);
    border-color: rgba(212,160,23,0.32);
    color: rgba(246,248,245,0.92);
  }

  /* Full dark-mode surfaces and contrast fixes */
  html.dark-mode body {
    background: #0B120D;
    color: #EAF0EC;
  }

  html.dark-mode .features,
  html.dark-mode .security {
    background: #0E1712;
  }

  html.dark-mode .feature-card,
  html.dark-mode .security-card,
  html.dark-mode .how-card,
  html.dark-mode .waitlist-form-wrapper,
  html.dark-mode .waitlist-chart-wrapper {
    background: #121D17;
    border-color: rgba(212,160,23,0.24);
    box-shadow: 0 14px 30px rgba(0,0,0,0.3);
  }

  html.dark-mode .feature-title,
  html.dark-mode .security-card-title,
  html.dark-mode .how-card h3,
  html.dark-mode .section-heading,
  html.dark-mode .waitlist-chart-wrapper h3 {
    color: #ECF2ED;
  }

  html.dark-mode .feature-desc,
  html.dark-mode .security-card-desc,
  html.dark-mode .how-card p,
  html.dark-mode .section-sub,
  html.dark-mode .chart-subtitle {
    color: #A8B8AD;
  }

  html.dark-mode .waitlist-section {
    background: linear-gradient(135deg, rgba(15,74,40,0.18) 0%, rgba(212,160,23,0.08) 100%);
    border-top-color: rgba(212,160,23,0.2);
  }

  html.dark-mode .form-row input,
  html.dark-mode .form-row select,
  html.dark-mode .form-row-2col input,
  html.dark-mode .form-row-2col select {
    background: #0F1A14;
    border-color: rgba(212,160,23,0.22);
    color: #EAF0EC;
  }

  html.dark-mode .form-row input::placeholder {
    color: #96A89B;
  }

  html.dark-mode .btn-store {
    background: #101914;
    border-color: rgba(212,160,23,0.34);
    box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  }

  html.dark-mode .btn-store:hover {
    background: #16241C;
  }

  html.dark-mode .btn-store-text small {
    color: rgba(235,242,236,0.7);
  }

  html.dark-mode .btn-store-text strong {
    color: #FFFFFF;
  }

  html.dark-mode .store-btn {
    background: #122018;
    border-color: rgba(212,160,23,0.3);
    color: #EAF0EC;
  }

  html.dark-mode .store-btn:hover {
    background: #1A2D22;
    color: #FFFFFF;
  }

  html.dark-mode .card-action-btn {
    background: #E6EEE7;
    color: #122018;
  }

  html.dark-mode .card-action-btn:hover {
    background: #D9E4DB;
    color: #0F1D15;
  }

  html.dark-mode .app-card {
    background: #0C1511;
    border-color: rgba(212,160,23,0.32);
  }

  html.dark-mode .card-chart,
  html.dark-mode .card-stats,
  html.dark-mode .card-action,
  html.dark-mode .card-nav {
    background: #0B140F;
    border-top-color: rgba(255,255,255,0.08);
  }

  html.dark-mode .card-stat:last-child {
    border-left-color: rgba(255,255,255,0.12);
  }

  html.dark-mode .card-nav-icon {
    background: rgba(255,255,255,0.1);
  }

  html.dark-mode .card-nav-label {
    color: rgba(235,242,236,0.72);
  }

  /* ── HERO ── */
  img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── HERO ── */

/* Prevent hero from being too cramped on small screens */
.hero {
  min-height: 100svh; /* safer on mobile browsers */
  padding: 80px 0 64px;
}

.hero-content {
  padding: 0 20px;
}

/* On mobile/tablet: stack and center hero content */
@media (max-width: 1023px) {
  .hero {
    padding: 72px 0 56px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
    text-align: center;
    padding: 0 20px;
  }

  .hero-left {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-headline {
    font-size: clamp(30px, 7vw, 46px);
  }

  .hero-sub {
    font-size: 15px;
    max-width: 480px;
    text-align: center;
  }

  .hero-btns {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 64px 0 48px;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero-headline {
    font-size: clamp(26px, 8.5vw, 36px);
  }

  .hero-sub {
    font-size: 14px;
  }

  .btn-store {
    padding: 10px 16px;
    min-height: 44px;
  }

  .btn-store-text strong {
    font-size: 12px;
  }

  .hero-btns {
    gap: 10px;
  }
}


  .hero {
    min-height: 100vh;
    position: relative;
    display: flex; align-items: center;
    padding: 40px 40px 60px;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute; inset: 0;
    background:
      linear-gradient(135deg, rgba(10,48,25,0.66) 0%, rgba(15,74,40,0.68) 50%, rgba(26,107,60,0.60) 100%),
      url('/images/hero.jpg') center/cover no-repeat;
    z-index: 0;
    overflow: hidden;
  }

  .hero-bg-slide {
    position: absolute; inset: 0; opacity: 0; transform: scale(1.04);
    background-position: center; background-size: cover; background-repeat: no-repeat;
    animation: heroSlideshow 30s infinite;
  }
  .hero-bg-slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,48,25,.72), rgba(15,74,40,.68) 50%, rgba(26,107,60,.62));
  }
  .hero-bg-slide:nth-child(1) { background-image: url('/images/hero.jpg'); animation-delay: 0s; }
  .hero-bg-slide:nth-child(2) { background-image: url('/images/FARM.jpg'); animation-delay: 6s; }
  .hero-bg-slide:nth-child(3) { background-image: url('/images/carpenter.jpg'); animation-delay: 12s; }
  .hero-bg-slide:nth-child(4) { background-image: url('/images/MARKET.jpg'); animation-delay: 18s; }
  .hero-bg-slide:nth-child(5) { background-image: url('/images/food.jpg'); animation-delay: 24s; }
  @keyframes heroSlideshow {
    0% { opacity: 0; transform: scale(1.04); }
    5%,20% { opacity: 1; transform: scale(1); }
    25%,100% { opacity: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-bg-slide { animation: none; opacity: 0; }
    .hero-bg-slide:first-child { opacity: 1; }
  }

  .hero-pattern {
    position: absolute; inset: 0; z-index: 1; opacity: 0.06;
    background-image: radial-gradient(circle, var(--gold) 1px, transparent 1px);
    background-size: 32px 32px;
  }

  .hero-content {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center;
  }

  @media (max-width: 1023px) {
    .hero-content {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .hero-left {
      max-width: 420px;
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }
  }

  .hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(212,160,23,0.15);
    border: 0.5px solid rgba(212,160,23,0.4);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 24px;
  }
  .hero-pill-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
  .hero-pill span { color: var(--gold); font-size: 12px; letter-spacing: 0.8px; font-weight: 500; }

  .hero-headline {
    font-family: 'Fraunces', serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
  }
  .hero-headline .gold { color: var(--gold); font-style: italic; }

  .hero-sub {
    color: rgba(255,255,255,0.7);
    font-size: 16px; line-height: 1.7;
    max-width: 440px;
    margin-bottom: 36px;
  }

  .hero-btns {
    display: flex; gap: 12px; flex-wrap: wrap;
  }

  .btn-store {
    display: flex; align-items: center; gap: 10px;
    background: var(--charcoal);
    border: 0.5px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 11px 20px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-store:hover { background: #333; transform: translateY(-1px); }
  .btn-store-icon { width: 20px; height: 20px; opacity: 0.9; }
  .btn-store-text small { display: block; color: rgba(255,255,255,0.5); font-size: 9px; letter-spacing: 0.5px; }
  .btn-store-text strong { display: block; color: #fff; font-size: 13px; font-weight: 500; }

  /* ── APP CARD ── */
  .app-card-wrap {
    opacity: 0;
    transform: translateY(50px);
    animation: cardRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
  }

  @keyframes cardRise {
    to { opacity: 1; transform: translateY(0); }
  }

  .app-card {
    background: var(--charcoal);
    border-radius: 24px;
    border: 1px solid rgba(212,160,23,0.25);
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0,0,0,0.4);
  }

  .card-header {
    background: var(--green);
    padding: 24px 22px 20px;
    position: relative;
  }
  .card-header-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 4px;
  }
  .card-label { color: rgba(255,255,255,0.6); font-size: 11px; }
  .card-badge {
    background: rgba(212,160,23,0.2);
    border: 0.5px solid rgba(212,160,23,0.4);
    border-radius: 100px;
    padding: 3px 10px;
    color: var(--gold);
    font-size: 10px; font-weight: 500;
  }
  .card-balance-currency { color: var(--gold); font-size: 13px; font-weight: 500; }
  .card-balance-amount {
    color: #fff;
    font-family: 'Fraunces', serif;
    font-size: 34px; font-weight: 700;
    line-height: 1.1;
  }
  .card-change { color: #6ee7b7; font-size: 11px; margin-top: 4px; }

  .card-vault {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(0,0,0,0.2);
    border-radius: 100px;
    padding: 5px 12px;
    margin-top: 12px;
  }
  .card-vault svg { width: 10px; height: 10px; opacity: 0.7; }
  .card-vault span { color: rgba(255,255,255,0.7); font-size: 10px; }

  .card-chart {
    background: var(--charcoal-soft);
    padding: 16px 22px 0;
  }
  .card-chart-label {
    display: flex; justify-content: space-between;
    margin-bottom: 10px;
  }
  .card-chart-label span { color: rgba(255,255,255,0.5); font-size: 10px; }

  .chart-area {
    width: 100%; height: 70px;
  }

  .card-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--charcoal-soft);
    padding: 16px 22px;
    gap: 1px;
    border-top: 0.5px solid rgba(255,255,255,0.06);
  }
  .card-stat { padding: 0 8px 0 0; }
  .card-stat:last-child { padding: 0 0 0 16px; border-left: 0.5px solid rgba(255,255,255,0.08); }
  .card-stat-label { color: rgba(255,255,255,0.45); font-size: 10px; margin-bottom: 4px; }
  .card-stat-value { color: #fff; font-size: 18px; font-weight: 500; }
  .card-stat-sub { color: #6ee7b7; font-size: 10px; }

  .card-action {
    background: var(--charcoal);
    padding: 16px 22px;
    border-top: 0.5px solid rgba(255,255,255,0.06);
  }
  .card-action-btn {
    width: 100%;
    background: #fff;
    color: var(--charcoal);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px; font-weight: 500;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background 0.2s;
    text-decoration: none;
  }

  .card-action-btn:hover { background: var(--charcoal-soft); color: var(--offwhite); }

  .card-nav {
    display: grid; grid-template-columns: repeat(4,1fr);
    background: var(--charcoal);
    padding: 12px 10px 16px;
    border-top: 0.5px solid rgba(255,255,255,0.06);
  }
  .card-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    cursor: pointer;
  }
  .card-nav-icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .card-nav-icon.active { background: rgba(212,160,23,0.2); border: 0.5px solid rgba(212,160,23,0.4); }
  .card-nav-item:hover .card-nav-icon { background: rgba(255,255,255,0.1); }
  .card-nav-label { color: rgba(255,255,255,0.45); font-size: 9px; }
  .card-nav-label.active { color: var(--gold); }

  /* ── SECTION COMMON ── */
  section { padding: 100px 40px; }
  .container { max-width: 1200px; margin: 0 auto; }
  .section-tag {
    display: inline-block;
    color: var(--green);
    font-size: 11px; font-weight: 500; letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .section-heading {
    font-family: 'Fraunces', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--charcoal);
  }
  .section-sub {
    color: var(--muted);
    font-size: 16px; line-height: 1.7;
    max-width: 560px;
  }

  /* ── FEATURES ── */
  .features { background: #fff; }
  .features-header { text-align: center; margin-bottom: 60px; }
  .features-header .section-sub { margin: 0 auto; }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
  }

  .feature-card {
    background: var(--offwhite);
    border: 0.5px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s;
  }
  .feature-card.visible { opacity: 1; transform: translateY(0); }
  .feature-card:nth-child(1) { transition-delay: 0s; }
  .feature-card:nth-child(2) { transition-delay: 0.1s; }
  .feature-card:nth-child(3) { transition-delay: 0.2s; }
  .feature-card:nth-child(4) { transition-delay: 0.3s; }
  .feature-card:hover {
    box-shadow: 0 12px 40px rgba(26,107,60,0.1);
    transform: translateY(-4px);
  }

  .feature-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--green);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
  }
  .feature-icon svg { width: 22px; height: 22px; }

  .feature-title {
    font-family: 'Fraunces', serif;
    font-size: 18px; font-weight: 600;
    margin-bottom: 10px;
    color: var(--charcoal);
  }
  .feature-desc { color: var(--muted); font-size: 14px; line-height: 1.6; }

  /* ── HOW IT WORKS ── */
  .how {
  background: var(--green);
}

  .how-header { text-align: center; margin-bottom: 64px; }
  .how-header .hero-pill { margin: 0 auto 16px; }
  .how-header .section-sub { margin: 0 auto; }
  .how .section-heading.toop { color: var(--gold-light); }
  .how .section-sub.toop { color: rgba(240,192,64,0.75); }

  .how-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .how-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 24px 30px;
    text-align: center;
    position: relative;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .how-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }

  .how-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-light);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
  }

  /* Icon */
  .how-icon {
    font-size: 32px;
    color: var(--green-dark);
    margin-bottom: 16px;
  }

  .how-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    margin-bottom: 10px;
  }

  /* Text */
  .how-card p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px;
  }

  .how-buttons {
    display: flex;
    margin-top: 35px;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .store-btn {
    background: #fff;
    border: 1px solid var(--border);
    padding: 13px 20px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 6px;
  } 

  .store-btn:hover{
    background: var(--charcoal);
    color: var(--offwhite);
  }

  .store-btn.dark {
    background: #000;
    color: #fff;
  }
.store-btn.dark:hover{
  background: var(--offwhite);
  color: var(--charcoal);
}
  .how-action {
    background: var(--offwhite);
    border: none;
    padding: 13px 20px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--charcoal);
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }
  .how-action:hover {
    background: var(--charcoal);
    color: var(--offwhite);
  }

  /* Note */
  .how-note {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .yellow{
    color: var(--offwhite);
  }

  /* ── SECURITY ── */
  .security { background: #fff; }
  .security-header { text-align: center; margin-bottom: 60px; }
  .security-header .section-sub { margin: 0 auto; }

 
  .security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
 
  .security-card {
    background: var(--offwhite);
    border: 0.5px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s;
  }
  .security-card.visible { opacity: 1; transform: translateY(0); }
  .security-card:nth-child(1) { transition-delay: 0s; }
  .security-card:nth-child(2) { transition-delay: 0.1s; }
  .security-card:nth-child(3) { transition-delay: 0.2s; }
  .security-card.visible:hover {
    box-shadow: 0 12px 40px rgba(26,107,60,0.1);
    transform: translateY(-4px);
  }
 
  .security-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--green);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
  }
  .security-icon svg { width: 22px; height: 22px; }
 
  .security-card-title {
    font-family: 'Fraunces', serif;
    font-size: 18px; font-weight: 600;
    margin-bottom: 10px;
    color: var(--charcoal);
  }
  .security-card-desc { color: var(--muted); font-size: 14px; line-height: 1.6; }
 

  /* ── CTA ── */
  /* ── CTA (UPDATED CHECKERED GRID BACKGROUND) ── */
.cta-section {
  position: relative;
  background: var(--green);
  padding: 100px 40px;
  text-align: center;
  overflow: hidden;
}

/* Grid overlay */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(212,160,23,0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,160,23,0.28) 1px, transparent 1px);

  background-size: 60px 60px;

  /* ✨ subtle motion */
  animation: gridDrift 40s linear infinite;

  pointer-events: none;
  z-index: 0;
}

@keyframes gridDrift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 60px 60px, 60px 60px;
  }
}

/* Optional soft glow layer for depth */
.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: glowShift 60s ease-in-out infinite alternate;
}

@keyframes glowShift {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-20px); }
}

@media (prefers-reduced-motion: reduce) {
  .cta-section::before,
  .cta-section::after {
    animation: none;
  }
}

/* Ensure content stays above grid */
.cta-section .container {
  position: relative;
  z-index: 1;
}

  .cta-pill {
    display: inline-block;
    background: rgba(212,160,23,0.15);
    border: 0.5px solid rgba(212,160,23,0.3);
    border-radius: 100px;
    padding: 6px 18px;
    color: var(--gold);
    font-size: 11px; letter-spacing: 1px;
    margin-bottom: 24px;
  }
  .cta-heading {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    max-width: 640px;
    margin: 0 auto 16px;
  }
  .cta-sub {
    color: rgba(255,255,255,0.55);
    font-size: 16px; line-height: 1.6;
    max-width: 480px; margin: 0 auto 40px;
  }
  .cta-btns { display: flex; gap: 12px; justify-content: center; }

  /* ── FOOTER ── */
  footer {
    background: var(--charcoal-soft);
    padding: 64px 40px 32px;
  }
  .footer-inner {
    max-width: 1200px; margin: 0 auto;
  }
  .footer-top {
    display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 48px;
  }
  .footer-brand-name {
    font-family: 'Fraunces', serif;
    font-size: 18px; font-weight: 600; color: #fff;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px;
  }
  .footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
  }
  .footer-brand-dot {
    width: 8px; height: 8px; background: var(--gold); border-radius: 50%;
  }
  .footer-brand-desc { color: rgba(255,255,255,0.4); font-size: 13px; line-height: 1.65; max-width: 240px; }
  .footer-col-title { color: rgba(255,255,255,0.6); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col a { color: rgba(255,255,255,0.4); font-size: 13px; text-decoration: none; transition: color 0.2s; }
  .footer-col a:hover { color: rgba(255,255,255,0.8); }
  .footer-divider { border: none; border-top: 0.5px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
  .footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-copy { color: rgba(255,255,255,0.25); font-size: 12px; }
  .footer-reg {
    display: flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.25); font-size: 12px;
  }
  .footer-reg-dot { width: 5px; height: 5px; background: var(--green); border-radius: 50%; }

  img { max-width: 100%; height: auto; display: block; }

  .container {
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
  }

  section { padding: 100px 0; }

  nav {
    padding-left: 40px;
    padding-right: 40px;
    height: 64px;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    padding: 56px 0 56px;
  }

  .app-card-wrap {
    max-width: 420px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .how-cards { grid-template-columns: repeat(3, 1fr); }
  .security-grid { grid-template-columns: repeat(3, 1fr); }

  .cta-btns { flex-wrap: wrap; }

  .footer-top { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; align-items: center; }

  @media (max-width: 1023px) {
    .container {
      padding-left: 16px;
      padding-right: 16px;
    }

    section { padding: 72px 0; }

    nav {
      padding-left: 16px;
      padding-right: 16px;
      height: auto;
      min-height: 64px;
    }

    .nav-links {
      gap: 16px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .hero {
      padding: 48px 0 56px;
    }

    .app-card-wrap {
      max-width: 420px;
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }

    .features-grid { grid-template-columns: 1fr; }
    .how-cards { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: 1fr; }

    .cta-btns { flex-wrap: wrap; }

    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

    .nav-toggle { display: inline-flex; }
    .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #fff;
      border-bottom: 0.5px solid var(--border);
      padding: 12px 16px 16px;
      flex-direction: column;
      gap: 14px;
    }

    html.dark-mode .nav-links {
      background: linear-gradient(180deg, #101D15 0%, #0B140F 100%);
      border-bottom-color: rgba(212,160,23,0.24);
      border-top: 1px solid rgba(212,160,23,0.14);
      box-shadow: 0 16px 30px rgba(0,0,0,0.4);
    }

    nav.nav-open .nav-links { display: flex; }
  }

  @media (min-width: 640px) {
    .container { padding-left: 20px; padding-right: 20px; }
    nav { padding-left: 20px; padding-right: 20px; }
    section { padding: 84px 0; }
    .hero { padding: 56px 0 56px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: row; align-items: center; }
  }

  @media (min-width: 768px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .how-cards { grid-template-columns: repeat(2, 1fr); }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1.8fr 1fr; }
  }

  @media (min-width: 1024px) {
    .container { padding-left: 40px; padding-right: 40px; }
    nav { padding-left: 40px; padding-right: 40px; height: 64px; }
    section { padding: 50px 0; }
    .hero-content { grid-template-columns: 1fr 420px; gap: 60px; }
    .features-grid { grid-template-columns: repeat(4, 1fr); }
    .how-cards { grid-template-columns: repeat(3, 1fr); }
    .security-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
  }

  .scroll-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--green);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 14px 34px rgba(0,0,0,0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 200;
  }

  .scroll-top svg { width: 18px; height: 18px; }

  .scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: scrollTopFloat 2.2s ease-in-out infinite;
  }

  .scroll-top:hover {
    transform: translateY(-2px);
  }

  .scroll-top:focus-visible {
    outline: 3px solid rgba(212,160,23,0.55);
    outline-offset: 3px;
  }

  @keyframes scrollTopFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }

  @media (prefers-reduced-motion: reduce) {
    .scroll-top.is-visible { animation: none; }
  }

  /* ── WAITLIST SECTION ── */
  .waitlist-section {
    background: linear-gradient(135deg, rgba(26,107,60,0.05) 0%, rgba(212,160,23,0.03) 100%);
    padding: 100px 40px;
    border-top: 0.5px solid var(--border);
  }

  .waitlist-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .waitlist-header .section-sub {
    margin: 0 auto;
  }

  .waitlist-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  @media (max-width: 1023px) {
    .waitlist-content {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  }

  .waitlist-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }

  .waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .form-row, .form-row-2col {
    display: flex;
    gap: 12px;
  }

  .form-row-2col {
    grid-template-columns: 1fr 1fr;
  }

  .form-row-2col input {
    flex: 1;
  }

  .form-row input, .form-row select, .form-row-2col input, .form-row-2col select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .form-row input:focus, .form-row select:focus, .form-row-2col input:focus, .form-row-2col select:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(26, 107, 60, 0.1);
  }

  .form-row input::placeholder {
    color: var(--muted);
  }

  .waitlist-submit-btn {
    background: var(--green);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    font-family: inherit;
  }

  .waitlist-submit-btn:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
  }

  .waitlist-submit-btn:active {
    transform: translateY(0);
  }

  .form-message {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    display: none;
  }

  .form-message.success {
    display: block;
    background: rgba(52, 211, 153, 0.1);
    color: #047857;
    border: 1px solid rgba(52, 211, 153, 0.3);
  }

  .form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.3);
  }

  .waitlist-chart-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }

  .waitlist-chart-wrapper h3 {
    color: var(--charcoal);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
  }

  .chart-subtitle {
    color: var(--muted);
    font-size: 13px;
    margin-top: 16px;
    text-align: center;
  }

  .chart-subtitle span {
    color: var(--green);
    font-weight: 600;
  }

  @media (max-width: 768px) {
    .waitlist-section {
      padding: 60px 20px;
    }

    .waitlist-form-wrapper, .waitlist-chart-wrapper {
      padding: 28px 20px;
    }

    .form-row-2col {
      flex-direction: column;
    }

    .form-row-2col input {
      width: 100%;
    }
  }
