@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;1,9..144,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --surface-warm: #F5F2EC;
  --text: #2C2C2C;
  --text-muted: #7A7570;
  --accent: #6B8F71;       /* sage green */
  --accent-light: #E8F0E9;
  --gold: #D4A96A;          /* warm gold */
  --gold-light: #FDF3E3;
  --border: #E8E4DC;
  --shadow: 0 2px 16px rgba(44,44,44,0.07);
  --shadow-md: 0 4px 32px rgba(44,44,44,0.10);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 300;
}

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.nav-logo img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.nav-logo-placeholder {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.nav-logo span {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-muted);
  font-size: 0.9rem; font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent); color: white !important;
  padding: 8px 18px; border-radius: 8px;
  font-weight: 500 !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: #5a7a60 !important; color: white !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ─── LAYOUT ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 5vw; }
section { padding: 80px 0; }

/* ─── HERO ─── */
.hero {
  padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, #E8F0E9 0%, transparent 70%);
  border-radius: 50%; z-index: 0;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-light); border: 1px solid #e8d3b0;
  color: #a07840; border-radius: 20px;
  padding: 5px 14px; font-size: 0.82rem; font-weight: 500;
  margin-bottom: 20px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500; line-height: 1.18;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: white;
  padding: 13px 24px; border-radius: 12px;
  text-decoration: none; font-size: 0.95rem; font-weight: 500;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { background: #444; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 13px 24px; border-radius: 12px;
  text-decoration: none; font-size: 0.95rem; font-weight: 400;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.hero-mockup {
  display: flex; justify-content: center; align-items: center;
}

.phone-frame {
  width: 240px; height: 480px;
  background: var(--surface);
  border-radius: 36px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-md), 0 0 0 8px var(--surface-warm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--text-muted); position: relative; overflow: hidden;
}
.phone-frame::before {
  content: ''; position: absolute; top: 16px;
  width: 80px; height: 4px; background: var(--border); border-radius: 4px;
}
.phone-screen-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px;
  text-align: center;
}
.phone-screen-placeholder .app-icon-lg {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--accent-light); border: 2px dashed var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.phone-screen-placeholder p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* ─── SECTION LABELS ─── */
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-label::before { content: ''; display: block; width: 16px; height: 2px; background: var(--accent); border-radius: 2px; }

h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500; line-height: 1.2;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 14px;
}
.section-intro { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; }

/* ─── FEATURES ─── */
.features { background: var(--surface-warm); }

.features-header { text-align: center; margin-bottom: 56px; }
.features-header .section-intro { margin: 0 auto; }

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

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.feature-card.premium {
  background: linear-gradient(135deg, #FDF3E3 0%, #FFF9F0 100%);
  border-color: #e8d3b0;
  grid-column: span 3;
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
}

.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px; flex-shrink: 0;
}
.feature-card.premium .feature-icon {
  background: var(--gold-light); width: 52px; height: 52px; font-size: 26px; margin-bottom: 0;
}

.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--text);
}
.feature-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

.premium-tag {
  display: inline-block; background: var(--gold); color: white;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 20px;
  margin-bottom: 8px;
}

/* ─── HOW IT WORKS ─── */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 640px; margin: 40px auto 0; }
.step {
  display: grid; grid-template-columns: 48px 1fr; gap: 20px;
  padding-bottom: 32px; position: relative;
}
.step:not(:last-child)::before {
  content: ''; position: absolute; left: 23px; top: 48px; bottom: 0;
  width: 2px; background: var(--border);
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 600;
  flex-shrink: 0; position: relative; z-index: 1;
}
.step-content h3 { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 500; margin-bottom: 4px; }
.step-content p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* ─── SUPPORT ─── */
.support { background: var(--surface-warm); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }

.support-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.support-card h3 {
  font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 500; margin-bottom: 16px;
}
.support-card ul { list-style: none; }
.support-card li {
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 0.92rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.support-card li:last-child { border-bottom: none; }
.support-card li::before { content: '→'; color: var(--accent); font-size: 0.85rem; }

.contact-card {
  background: var(--text); color: white;
  border-radius: var(--radius); padding: 32px;
}
.contact-card h3 { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; }
.contact-card p { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 20px; }
.contact-card a {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--text); text-decoration: none;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 500; font-size: 0.9rem; transition: opacity 0.2s;
}
.contact-card a:hover { opacity: 0.9; }

.ai-note {
  background: var(--gold-light); border: 1px solid #e8d3b0;
  border-radius: var(--radius-sm); padding: 16px 20px;
  margin-top: 20px; font-size: 0.88rem; color: #8a6840; line-height: 1.5;
  display: flex; gap: 10px; align-items: flex-start;
}
.ai-note .icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* ─── POLICY PAGES ─── */
.policy-hero { padding: 60px 0 40px; border-bottom: 1px solid var(--border); }
.policy-hero h1 { font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 500; }
.policy-hero .meta { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }

.policy-content { padding: 48px 0 80px; }
.policy-body { max-width: 720px; }
.policy-body h2 {
  font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 600;
  margin: 36px 0 12px; color: var(--text);
  padding-top: 36px; border-top: 1px solid var(--border);
}
.policy-body h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.policy-body p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.policy-body ul { padding-left: 20px; margin-bottom: 12px; }
.policy-body li { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 4px; }
.policy-body a { color: var(--accent); text-decoration: underline; }

.icon-img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  display: inline-block;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand .nav-logo-placeholder { width: 26px; height: 26px; font-size: 14px; }
.footer-brand span { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 600; }

.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--text-muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.premium { grid-column: span 2; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 12px 0; z-index: 99;
  }
  .nav-links.open a { padding: 12px 24px; font-size: 1rem; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-mockup { order: -1; }
  .phone-frame { width: 180px; height: 360px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card.premium { grid-column: span 1; grid-template-columns: 1fr; }

  section { padding: 56px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ─── PAGE TRANSITIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner, .features-header, .feature-card {
  animation: fadeUp 0.5s ease both;
}
.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.15s; }
.feature-card:nth-child(4) { animation-delay: 0.2s; }
.feature-card:nth-child(5) { animation-delay: 0.25s; }
.feature-card:nth-child(6) { animation-delay: 0.3s; }
