:root {
  --black: #0A0A0B;
  --deep: #111214;
  --amber: #E8830A;
  --amber-light: #F5A023;
  --cream: #F2EAD8;
  --warm-white: #FAF7F2;
  --muted: #7A7570;
  --card-bg: #161719;
  --border: rgba(232,131,10,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* GRAIN OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.5;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 5vw;
  background: linear-gradient(to bottom, rgba(10,10,11,0.95) 0%, transparent 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-logo span {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  margin-left: 3px;
  vertical-align: middle;
  margin-bottom: 4px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.lang-toggle {
  display: flex;
  gap: 0.1rem;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  padding: 0.25rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--amber);
  color: var(--black);
}

.nav-cta {
  background: var(--amber);
  color: var(--black);
  border: none;
  border-radius: 100px;
  padding: 0.65rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.25s;
}

.nav-cta:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232,131,10,0.3);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 7rem 5vw 5rem;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,131,10,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--amber);
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--warm-white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.35s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(242,234,216,0.6);
  max-width: 460px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.9s 0.65s forwards;
}

.btn-primary {
  background: var(--amber);
  color: var(--black);
  border: none;
  border-radius: 100px;
  padding: 1rem 2.2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232,131,10,0.35);
}

.btn-ghost {
  background: none;
  border: 1px solid rgba(242,234,216,0.2);
  color: var(--cream);
  border-radius: 100px;
  padding: 1rem 2.2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: rgba(242,234,216,0.5);
  background: rgba(242,234,216,0.05);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero-image {
  position: relative;
  opacity: 0;
  animation: fadeIn 1.2s 0.5s forwards;
}

.hero-image img {
  width: 100%;
  max-width: 560px;
  border-radius: 20px;
  display: block;
  margin-left: auto;
  filter: brightness(0.92) contrast(1.05);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(232,131,10,0.3), transparent 60%);
  z-index: -1;
}

.floating-badge {
  position: absolute;
  bottom: 1.5rem; left: -1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  animation: floatBadge 3s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.badge-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--amber), #C06A00);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.badge-text .badge-num {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--warm-white);
  line-height: 1;
}

.badge-text .badge-desc {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ─── SECTION COMMONS ─── */
section { padding: 7rem 5vw; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.2rem;
}

.section-label::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--amber);
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--warm-white);
  margin-bottom: 1.2rem;
}

.section-title em {
  font-style: italic;
  color: var(--amber);
}

.section-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(242,234,216,0.55);
  max-width: 540px;
}

/* ─── PROBLEM ─── */
.problem {
  background: var(--deep);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-top: 1rem;
}

.problem-image img {
  width: 100%;
  border-radius: 16px;
  filter: brightness(0.85) saturate(0.9);
}

.problem-image {
  position: relative;
}

.problem-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(to right, var(--deep) 0%, transparent 40%);
  pointer-events: none;
}

.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.problem-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.25s;
}

.problem-card:hover {
  border-color: var(--border);
}

.problem-card-icon {
  font-size: 1.5rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.problem-card-title {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.problem-card-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ─── HOW IT WORKS ─── */
.how-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem;
}

.how-header .section-label { justify-content: center; }
.how-header .section-label::before { display: none; }

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

.steps-container::before {
  content: '';
  position: absolute;
  top: 3.5rem;
  left: calc(16.66% + 2rem);
  right: calc(16.66% + 2rem);
  height: 1px;
  background: linear-gradient(to right, var(--amber) 0%, rgba(232,131,10,0.3) 50%, var(--amber) 100%);
  z-index: 0;
}

.step {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 2.5rem 2rem 2.5rem;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(232,131,10,0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.step:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.step:hover::before { opacity: 1; }

.step-number {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--amber), #C06A00);
  color: var(--black);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 1;
}

.step-title {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--warm-white);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ─── IMPACT ─── */
.impact {
  background: var(--deep);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.impact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.impact-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.impact-num-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.8rem;
  transition: border-color 0.3s;
}

.impact-num-card:hover { border-color: var(--border); }

.impact-num-card .big-num {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.impact-num-card .num-label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.impact-image {
  position: relative;
}

.impact-image img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.impact-image::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, transparent 60%, rgba(232,131,10,0.25));
  pointer-events: none;
  z-index: 1;
}

/* ─── TESTIMONIAL ─── */
.testimonial-section {
  padding: 5rem 5vw;
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(232,131,10,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.testimonial-card {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 8rem;
  line-height: 0.5;
  color: var(--amber);
  opacity: 0.25;
  margin-bottom: 1.5rem;
  display: block;
}

.testimonial-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: 2rem;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ─── CTA ─── */
.cta-section {
  padding: 7rem 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(232,131,10,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section .section-label { justify-content: center; }
.cta-section .section-label::before { display: none; }

.cta-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--warm-white);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.cta-title em { color: var(--amber); font-style: italic; }

.cta-sub {
  font-size: 1rem;
  color: rgba(242,234,216,0.5);
  max-width: 440px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.help-block {
  max-width: 780px;
  margin: 2.25rem auto 0;
  text-align: left;
}

.help-intro {
  font-size: 0.95rem;
  color: rgba(242,234,216,0.7);
  margin-bottom: 0.9rem;
}

.help-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.help-list li {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  color: rgba(242,234,216,0.85);
  line-height: 1.65;
}

.help-list li:hover {
  border-color: var(--border);
}

.help-free {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(242,234,216,0.6);
}

.help-ai {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(232,131,10,0.95);
  font-weight: 500;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 0.9rem 1.8rem;
  color: var(--cream);
  text-decoration: none;
  transition: all 0.25s;
}

.app-badge:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.app-badge-icon { font-size: 1.6rem; }

.app-badge-text .small { font-size: 0.68rem; color: var(--muted); display: block; margin-bottom: 0.1rem; }
.app-badge-text .large { font-size: 0.95rem; font-weight: 500; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amber);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-ai {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(242,234,216,0.45);
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--cream); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── DIVIDER ─── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent);
  margin: 0 5vw;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding-top: 6rem; }
  .hero h1 { font-size: 3rem; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 100%; }
  .floating-badge { left: 0.5rem; }
  .problem-grid,
  .impact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .steps-container { grid-template-columns: 1fr; gap: 1rem; }
  .steps-container::before { display: none; }
  .impact-numbers { grid-template-columns: 1fr 1fr; }
  .nav-cta { display: none; }
  footer { padding: 2.5rem 5vw; }
}