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

:root {
  --cream: #f2ede3;
  --cream-light: #f7f3eb;
  --green-dark: #1d3a27;
  --green-mid: #2d5a3d;
  --green-soft: #4a7a5e;
  --green-sage: #7aaa8a;
  --green-tag-bg: #e8eee9;
  --text-body: #3d5246;
  --text-muted: #7a8e82;
  --white: #ffffff;
  --border: #d8e0da;
  --radius-pill: 100px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-sm: 0 2px 12px rgba(29,58,39,0.08);
  --shadow-md: 0 8px 32px rgba(29,58,39,0.12);
  --shadow-lg: 0 24px 64px rgba(29,58,39,0.16);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--green-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Manrope', 'DM Sans', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--green-dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }

p { color: var(--text-body); }

/* ===== LAYOUT ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(242,237,227,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(29,58,39,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  width: 34px;
  height: 34px;
}
.nav-logo span {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--green-dark);
}

.stealth-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green-dark);
  backdrop-filter: blur(8px);
}
.stealth-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e07320;
  flex-shrink: 0;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-bg.png');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.tag-pill {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(232,238,233,0.85);
  border: 1px solid rgba(122,170,138,0.3);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 520px;
  margin-bottom: 36px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,58,39,0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-secondary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,58,39,0.15);
}

/* ===== APP SHOWCASE ===== */
.showcase {
  background: var(--cream-light);
  padding: 100px 0;
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Phone Mockup */
.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* iPhone Air mockup — ultra-thin frame, Dynamic Island */
.phone-mockup {
  position: relative;
  width: 280px;
}

.phone-frame {
  position: relative;
  width: 280px;
  border-radius: 52px;
  /* Thin titanium-style frame */
  background: linear-gradient(145deg, #3a3a3c, #1c1c1e, #2c2c2e, #1c1c1e);
  padding: 10px 7px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 32px 80px rgba(0,0,0,0.45),
    0 8px 24px rgba(0,0,0,0.3);
}

/* Dynamic Island */
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}

.phone-screen {
  border-radius: 46px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 9/19.5;
  background: #000;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Side buttons */
.phone-frame::before {
  content: '';
  position: absolute;
  right: -3px;
  top: 90px;
  width: 3px;
  height: 70px;
  background: linear-gradient(180deg, #3a3a3c, #2c2c2e);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 40px 0 linear-gradient(180deg, #3a3a3c, #2c2c2e);
}
.phone-frame::after {
  content: '';
  position: absolute;
  left: -3px;
  top: 72px;
  width: 3px;
  height: 36px;
  background: linear-gradient(180deg, #3a3a3c, #2c2c2e);
  border-radius: 3px 0 0 3px;
  box-shadow: 0 48px 0 #2c2c2e, 0 88px 0 #2c2c2e;
}

.phone-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(74,122,94,0.3) 0%, transparent 70%);
  filter: blur(20px);
}

/* Showcase text */
.showcase-text h2 {
  margin-bottom: 18px;
}
.showcase-text > p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 32px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.5;
}
.feature-list .check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-tag-bg);
  border: 1px solid rgba(122,170,138,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.feature-list .check-icon svg {
  width: 12px;
  height: 12px;
  color: var(--green-soft);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--cream);
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: var(--green-tag-bg);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-sage), var(--green-soft));
  opacity: 0;
  transition: opacity var(--transition);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(122,170,138,0.4);
}
.step-card:hover::before { opacity: 1; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-tag-bg);
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0 auto 20px;
}
.step-card h3 { margin-bottom: 12px; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ===== FEATURES GRID ===== */
.features {
  padding: 100px 0;
  background: var(--green-dark);
}
.features .section-header h2,
.features .section-header { color: var(--white); }
.features .section-header p { color: rgba(255,255,255,0.65); }
.features .section-tag {
  background: rgba(255,255,255,0.12);
  color: var(--green-sage);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
}
.feature-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(122,170,138,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.feature-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: var(--cream-light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.star { color: #e8a838; font-size: 1rem; }
.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-tag-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-soft);
  flex-shrink: 0;
}
.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-dark);
}
.author-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== DOWNLOAD CTA ===== */
.cta-section {
  padding: 100px 0;
  background: var(--cream);
  text-align: center;
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
}
.cta-logo {
  width: 72px;
  margin: 0 auto 28px;
  opacity: 0.9;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid var(--green-dark);
}
.store-btn:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,58,39,0.2);
}
.store-btn svg { width: 22px; height: 22px; }
.store-btn-label { display: flex; flex-direction: column; text-align: left; }
.store-btn-label small { font-size: 0.7rem; font-weight: 400; opacity: 0.8; line-height: 1; }
.store-btn-label span { font-size: 1rem; font-weight: 700; line-height: 1.2; }

/* ===== FOOTER ===== */
footer {
  background: var(--green-dark);
  padding: 56px 0 40px;
}
.footer-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.footer-simple .nav-logo span { color: var(--white); }
.footer-simple p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  max-width: 360px;
  line-height: 1.7;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin-top: 8px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== MOBILE NAV TOGGLE ===== */
.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--green-dark);
}
.nav-menu-btn svg { width: 26px; height: 26px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .showcase-inner { gap: 48px; }
  .steps-grid { gap: 20px; }
  .features-grid { gap: 16px; }
  .testimonials-grid { gap: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .phone-wrap { order: -1; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .phone-mockup { width: 230px; }
  .phone-frame { width: 230px; }
  .showcase { padding: 70px 0; }
  .how-it-works, .features, .testimonials, .cta-section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .btn { padding: 13px 24px; font-size: 0.9rem; }
  .btn-group { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .hero-content { padding-top: 120px; }
  .phone-mockup { width: 200px; }
  .phone-frame { width: 200px; }
}
