/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #0A3D1F;
  --green-800: #14532D;
  --green-700: #166534;
  --green-600: #1B7A3D;
  --green-500: #22863A;
  --green-400: #4ADE80;
  --green-100: #DCFCE7;
  --green-50:  #F0FDF4;
  --mint-bg:   #E8F5E9;
  --gold:      #C5A55A;
  --gold-light:#D4B96E;
  --white:     #FFFFFF;
  --gray-100:  #F3F4F6;
  --gray-600:  #4B5563;
  --gray-800:  #1F2937;
  --red-600:   #DC2626;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--green-900);
  border-bottom: 3px solid var(--gold);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 1.15rem; color: var(--white);
}
.nav-brand img { width: 38px; height: 38px; border-radius: 8px; }
.nav-links { display: flex; gap: 8px; }
.nav-links a {
  color: rgba(255,255,255,.85); font-weight: 500; font-size: .95rem;
  padding: 8px 16px; border-radius: 8px; transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,.12); color: var(--white);
}
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--white); font-size: 1.5rem; padding: 4px;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh; padding: 120px 24px 80px;
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 40%, var(--green-700) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(197,165,90,.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(74,222,128,.08) 0%, transparent 50%);
}
.hero-inner {
  max-width: 1200px; width: 100%; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-text h1 {
  font-size: 3.2rem; font-weight: 800; color: var(--white);
  line-height: 1.15; margin-bottom: 20px;
}
.hero-text h1 span { color: var(--gold); }
.hero-text p {
  font-size: 1.2rem; color: rgba(255,255,255,.8);
  max-width: 520px; margin-bottom: 32px;
}
.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.store-btn {
  display: inline-block; height: 52px;
  transition: transform .2s, box-shadow .2s;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.store-btn img { height: 100%; }

.hero-phone {
  display: flex; justify-content: center;
}
.phone-frame {
  width: 280px; border-radius: 32px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.35), 0 0 0 8px rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.1);
}
.phone-carousel {
  position: relative; width: 100%; aspect-ratio: 9/19.5; overflow: hidden;
  background: #000;
}
.carousel-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 1s ease-in-out;
}
.carousel-img.active { opacity: 1; }

/* ===== Features ===== */
.features {
  padding: 100px 24px;
  background: var(--mint-bg);
}
.section-header {
  text-align: center; max-width: 640px; margin: 0 auto 60px;
}
.section-header h2 {
  font-size: 2.2rem; font-weight: 800; color: var(--green-800);
  margin-bottom: 12px;
}
.section-header p { color: var(--gray-600); font-size: 1.1rem; }

.features-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.feature-card {
  background: var(--white); border-radius: 16px; padding: 32px 28px;
  border: 1px solid rgba(27,122,61,.12);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27,122,61,.1);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--green-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--green-800);
  margin-bottom: 8px;
}
.feature-card p { color: var(--gray-600); font-size: .95rem; line-height: 1.6; }

/* ===== How It Works ===== */
.how-it-works {
  padding: 100px 24px;
  background: var(--white);
}
.steps {
  max-width: 800px; margin: 0 auto;
  display: grid; gap: 40px;
}
.step {
  display: flex; gap: 24px; align-items: flex-start;
}
.step-num {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  background: var(--green-700); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.3rem;
}
.step h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--green-800); margin-bottom: 4px;
}
.step p { color: var(--gray-600); font-size: .95rem; }

/* ===== CTA ===== */
.cta {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  text-align: center;
}
.cta h2 { font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 32px; }
.cta .hero-badges { justify-content: center; }

/* ===== Footer ===== */
.footer {
  background: var(--green-900); padding: 40px 24px;
  border-top: 3px solid var(--gold);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-weight: 700; font-size: 1rem;
}
.footer-brand img { width: 32px; height: 32px; border-radius: 6px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: rgba(255,255,255,.7); font-size: .9rem; transition: color .2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { color: rgba(255,255,255,.45); font-size: .85rem; width: 100%; text-align: center; margin-top: 16px; }

/* ===== Page Content (Privacy & Support) ===== */
.page-hero {
  padding: 120px 24px 60px;
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  text-align: center;
}
.page-hero h1 { font-size: 2.4rem; font-weight: 800; color: var(--white); }
.page-hero p { color: rgba(255,255,255,.7); margin-top: 8px; font-size: 1.05rem; }

.page-content {
  max-width: 800px; margin: 0 auto;
  padding: 60px 24px 100px;
}
.page-content h2 {
  font-size: 1.4rem; font-weight: 700; color: var(--green-800);
  margin: 40px 0 12px; padding-top: 16px;
  border-top: 1px solid var(--green-100);
}
.page-content h2:first-of-type { border-top: none; margin-top: 0; }
.page-content p, .page-content li {
  color: var(--gray-600); font-size: 1rem; line-height: 1.75; margin-bottom: 12px;
}
.page-content ul { padding-left: 20px; list-style: disc; }
.page-content a { color: var(--green-600); font-weight: 500; }
.page-content a:hover { text-decoration: underline; }

/* ===== Support Cards ===== */
.support-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin: 40px 0;
}
.support-card {
  background: var(--green-50); border: 1px solid rgba(27,122,61,.15);
  border-radius: 16px; padding: 32px; text-align: center;
}
.support-card .feature-icon { margin: 0 auto 16px; }
.support-card h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--green-800); margin-bottom: 8px;
}
.support-card p { color: var(--gray-600); font-size: .95rem; }
.support-card a {
  display: inline-block; margin-top: 12px;
  background: var(--green-700); color: var(--white);
  padding: 10px 24px; border-radius: 10px; font-weight: 600; font-size: .9rem;
  transition: background .2s;
}
.support-card a:hover { background: var(--green-600); text-decoration: none; }

.faq-item { margin-bottom: 24px; }
.faq-item h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--green-800); margin-bottom: 6px;
}

/* ===== Disclaimer Banner ===== */
.disclaimer-banner {
  background: var(--green-100); border: 1px solid rgba(27,122,61,.2);
  border-radius: 12px; padding: 20px 24px; margin: 32px 0;
}
.disclaimer-banner p {
  color: var(--green-800); font-size: .9rem; font-weight: 500;
}

/* ===== Responsive - Tablet ===== */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .hero-text h1 { font-size: 2.6rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .phone-frame { width: 240px; }
}

/* ===== Responsive - Mobile ===== */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 100px 20px 60px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { margin: 0 auto 24px; font-size: 1.05rem; }
  .hero-badges { justify-content: center; }
  .hero-phone { margin-top: 32px; }
  .phone-frame { width: 200px; }
  .features { padding: 60px 20px; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 1.7rem; }
  .section-header p { font-size: 1rem; }
  .features-grid { grid-template-columns: 1fr; max-width: 420px; }
  .feature-card { padding: 24px 20px; }
  .how-it-works { padding: 60px 20px; }
  .step { gap: 16px; }
  .step-num { width: 44px; height: 44px; font-size: 1.1rem; }
  .cta { padding: 60px 20px; }
  .cta h2 { font-size: 1.5rem; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card { padding: 24px 20px; }
  .page-hero { padding: 100px 20px 40px; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-content { padding: 40px 20px 60px; }
  .page-content h2 { font-size: 1.2rem; margin: 28px 0 10px; }
  .disclaimer-banner { padding: 16px 18px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--green-900); padding: 16px 24px;
    border-bottom: 3px solid var(--gold);
  }
  .nav-hamburger { display: block; }
  .footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; gap: 12px; }
  .footer-links { justify-content: center; }
  .footer-copy { font-size: .8rem; }
  .store-btn { height: 44px; }
}

/* ===== Responsive - Small Mobile ===== */
@media (max-width: 400px) {
  .hero-text h1 { font-size: 1.7rem; }
  .hero-text p { font-size: .95rem; }
  .phone-frame { width: 170px; }
  .hero-badges { flex-direction: column; align-items: center; gap: 12px; }
  .store-btn { height: 40px; }
  .nav-brand { font-size: 1rem; gap: 8px; }
  .nav-brand img { width: 32px; height: 32px; }
}
