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

:root {
  --bg: #FAFAF6;
  --bg-dark: #F2EFE8;
  --fg: #0F0E0C;
  --fg-muted: #6B6560;
  --accent: #C8531A;
  --accent-dark: #9E3F10;
  --cream: #F5EFE6;
  --border: #E0D8CE;
  --shadow: rgba(15, 14, 12, 0.08);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --max-w: 1100px;
  --pad-x: clamp(24px, 5vw, 64px);
  --section-gap: 120px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

/* === NAVBAR === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.navbar-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.navbar-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px var(--pad-x) 100px;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 80vh;
}
.hero-inner { display: flex; flex-direction: column; gap: 0; }

.hero-label {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 28px;
  width: fit-content;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
}
.stat-label { font-size: 0.8rem; color: var(--fg-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-mockup {
  width: 240px;
  background: var(--fg);
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(15,14,12,0.25), 0 8px 24px rgba(15,14,12,0.15);
  position: relative;
}
.phone-notch {
  width: 80px; height: 24px;
  background: var(--fg);
  border-radius: 12px;
  margin: 0 auto 10px;
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  padding-bottom: 12px;
}
.phone-header {
  padding: 10px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}
.phone-post { padding: 12px; }
.phone-post-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #F4A261 50%, var(--cream) 100%);
  margin-bottom: 10px;
}
.phone-post-caption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}
.caption-line {
  height: 7px;
  background: var(--fg);
  border-radius: 4px;
  opacity: 0.08;
}
.caption-line.short { width: 65%; }
.phone-post-icons {
  display: flex;
  gap: 14px;
  padding: 0 2px;
}
.icon-heart, .icon-bubble, .icon-send {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--border);
}

/* Floating tags */
.floating-tag {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg);
  box-shadow: 0 4px 12px var(--shadow);
}
.tag-1 { bottom: 20px; left: -20px; }
.tag-2 { top: 20px; right: -20px; color: #2E7D32; }
.tag-2::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: #2E7D32;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

/* === STORY === */
.story {
  background: var(--fg);
  color: var(--cream);
  padding: var(--section-gap) var(--pad-x);
}
.story-inner { max-width: var(--max-w); margin: 0 auto; }
.story-eyebrow { color: var(--accent); }
.story-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  max-width: 560px;
  margin-bottom: 64px;
  letter-spacing: -0.02em;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.story-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: white;
}
.story-block p { font-size: 0.95rem; color: rgba(245,239,230,0.65); line-height: 1.65; }
.story-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  margin-bottom: 20px;
  position: relative;
}
.story-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  border: 2px solid white;
  border-radius: 3px;
}

/* === HOW === */
.how { padding: var(--section-gap) var(--pad-x); background: var(--bg); }
.how-inner { max-width: var(--max-w); margin: 0 auto; }
.how-eyebrow { color: var(--accent); }
.how-headline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  max-width: 400px;
}
.how-steps { display: flex; align-items: center; gap: 0; }
.step {
  flex: 1;
  padding: 36px 32px;
  background: var(--cream);
  border-radius: 16px;
  border: 1px solid var(--border);
}
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.step p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; }
.step-arrow {
  width: 48px;
  flex-shrink: 0;
  height: 2px;
  background: var(--border);
  position: relative;
}
.step-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--border);
}

/* === FEATURES === */
.features { padding: var(--section-gap) var(--pad-x); background: var(--bg-dark); }
.features-inner { max-width: var(--max-w); margin: 0 auto; }
.features-eyebrow { color: var(--accent); }
.features-headline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  max-width: 400px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 28px 32px;
  transition: box-shadow 0.2s ease;
}
.feature-card:hover {
  box-shadow: 0 8px 24px var(--shadow);
}
.feature-icon {
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === PRICING === */
.pricing { padding: var(--section-gap) var(--pad-x); background: var(--bg); }
.pricing-inner { max-width: var(--max-w); margin: 0 auto; }
.pricing-eyebrow { color: var(--accent); }
.pricing-headline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  max-width: 440px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
}
.pricing-card.featured {
  background: var(--fg);
  color: var(--cream);
  border-color: var(--fg);
  transform: scale(1.03);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}
.pricing-tier {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent);
}
.pricing-card.featured .pricing-tier { color: var(--accent); }
.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  line-height: 1;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.6;
  font-family: var(--font-body);
}
.pricing-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.pricing-card.featured .pricing-desc { color: rgba(245,239,230,0.65); }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 0.88rem;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}
.pricing-card.featured .pricing-features li { color: rgba(245,239,230,0.8); }
.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* === CLOSING === */
.closing {
  background: var(--accent);
  padding: 100px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.closing-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.closing-shape {
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border: 40px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}
.closing-headline {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
}

/* === FOOTER === */
.footer {
  background: var(--fg);
  color: var(--cream);
  padding: 60px var(--pad-x);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.footer-tagline { font-size: 0.85rem; color: rgba(245,239,230,0.5); }
.footer-meta { font-size: 0.75rem; color: rgba(245,239,230,0.3); margin-top: 8px; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px var(--pad-x) 80px;
    min-height: auto;
  }
  .hero-visual { display: none; }

  .story-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .how-steps { flex-direction: column; }
  .step-arrow {
    width: 2px; height: 32px;
    margin: 0 auto;
  }
  .step-arrow::after {
    right: auto; top: auto; bottom: 0; left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--border);
    border-left-color: transparent;
    border-right-color: transparent;
  }

  .pricing-card.featured { transform: scale(1); }
  .navbar-tagline { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .hero-stats { gap: 20px; }
  .stat-number { font-size: 1.6rem; }
}