/* ═══════════════════════════════════════════════════════
   HAIRDIARY — Botanical Journal Aesthetic
   Cormorant Garamond (display) + Outfit (body)
   ═══════════════════════════════════════════════════════ */

/* 1. VARIABLES
   ─────────────────────────────────────────────────────── */
:root {
  --bg:        #FAF6F1;
  --bg-2:      #F0E8DE;
  --bg-3:      #E8DDD2;
  --white:     #FFFFFF;

  --green:     #2D5A3D;
  --green-dk:  #1E3D28;
  --green-lt:  rgba(45, 90, 61, 0.07);
  --green-bdr: rgba(45, 90, 61, 0.14);

  --gold:      #C8963E;
  --gold-lt:   #E5B86A;

  --text:      #1C1A17;
  --text-2:    #5C5248;
  --text-3:    #9C9088;
  --border:    rgba(28, 26, 23, 0.09);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --pad:   clamp(20px, 5vw, 80px);
  --max-w: 1200px;

  --r1: 10px;
  --r2: 16px;
  --r3: 24px;
  --r4: 40px;

  --sh1: 0 1px 3px rgba(28,26,23,.06), 0 2px 8px rgba(28,26,23,.04);
  --sh2: 0 4px 16px rgba(28,26,23,.08), 0 1px 4px rgba(28,26,23,.04);
  --sh3: 0 12px 48px rgba(28,26,23,.12), 0 4px 16px rgba(28,26,23,.06);
}

/* 2. RESET & BASE
   ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; }
textarea { resize: vertical; }

.visually-hidden-focusable {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.visually-hidden-focusable:focus {
  position: static; width: auto; height: auto;
  overflow: visible; clip: auto; white-space: normal;
  background: var(--green); color: var(--white);
  padding: 8px 16px; border-radius: 4px; z-index: 9999;
}

/* 3. HEADER
   ─────────────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: 0 var(--pad);
  height: 64px;
  background: rgba(250, 246, 241, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-brand {
  display: flex; align-items: center; gap: 9px;
  flex-shrink: 0;
}
.brand-logo {
  border-radius: 8px;
  box-shadow: var(--sh1);
}
.brand-name {
  font-family: var(--serif);
  font-size: 20px; font-weight: 600;
  color: var(--green);
  letter-spacing: 0.01em;
}

.header-nav {
  display: flex; align-items: center; gap: 2px;
  flex: 1;
}
.nav-link {
  padding: 7px 13px;
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-link:hover      { color: var(--green); background: var(--green-lt); }
.nav-link--active    { color: var(--green); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  padding: 8px; border-radius: var(--r1);
  color: var(--text);
  margin-left: auto;
  transition: background .15s;
}
.nav-toggle:hover { background: var(--green-lt); }

/* Language Picker */
.lang-picker { position: relative; flex-shrink: 0; }
.lang-trigger {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 10px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  color: var(--text-2);
  cursor: pointer; background: none; border: none;
  list-style: none;
  transition: color .15s, background .15s;
  user-select: none;
}
.lang-trigger::-webkit-details-marker { display: none; }
.lang-trigger:hover { color: var(--green); background: var(--green-lt); }
.lang-code { font-weight: 600; font-size: 12px; letter-spacing: .04em; }
.lang-chevron { transition: transform .2s; }
details[open] .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  box-shadow: var(--sh3);
  padding: 8px; min-width: 200px; z-index: 200;
}
.lang-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.lang-option {
  padding: 8px 10px; border-radius: var(--r1);
  font-size: 13px; color: var(--text-2);
  transition: color .15s, background .15s; white-space: nowrap;
}
.lang-option:hover          { color: var(--green); background: var(--green-lt); }
.lang-option--active        { color: var(--green); font-weight: 600; background: var(--green-lt); }

/* 4. HERO
   ─────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px 64px;
  align-items: center;
  min-height: calc(100dvh - 64px);
  padding: 60px var(--pad) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-content { max-width: 520px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 5px;
  background: var(--green-lt);
  border: 1px solid var(--green-bdr);
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge-icon { border-radius: 6px; box-shadow: var(--sh1); }
.hero-badge-text {
  font-size: 13px; font-weight: 600;
  color: var(--green); letter-spacing: .02em;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.06;
  color: var(--text);
  letter-spacing: -.015em;
  margin-bottom: 20px;
}
.hero-headline em { font-style: italic; color: var(--green); }

.hero-sub {
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 36px;
  max-width: 440px;
}

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

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  background: var(--green); color: var(--white);
  border-radius: 100px;
  font-size: 15px; font-weight: 600; border: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(45,90,61,.28);
}
.btn-primary:hover {
  background: var(--green-dk);
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(45,90,61,.32);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 22px;
  background: transparent; color: var(--green);
  border-radius: 100px; font-size: 15px; font-weight: 500;
  border: 1.5px solid var(--green-bdr);
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--green); background: var(--green-lt); }

/* iPhone Mockup */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0;
}

.iphone {
  width: 268px; flex-shrink: 0; position: relative;
  filter: drop-shadow(0 28px 64px rgba(28,26,23,.20))
          drop-shadow(0 8px 20px rgba(28,26,23,.10));
  transform: rotate(2deg);
  animation: phone-float 5s ease-in-out infinite;
}
@keyframes phone-float {
  0%,100% { transform: rotate(2deg) translateY(0); }
  50%      { transform: rotate(2deg) translateY(-10px); }
}

.iphone-frame {
  background: #1A1A1A;
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    0 0 0 1px rgba(0,0,0,.25);
}
.iphone-screen {
  background: var(--bg);
  border-radius: 37px;
  overflow: hidden;
  position: relative;
  width: 244px;
  aspect-ratio: 9/19.5;
  display: flex; align-items: center; justify-content: center;
}
.iphone-island {
  position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 94px; height: 28px;
  background: #1A1A1A; border-radius: 20px; z-index: 10;
}
.iphone-screenshot {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.iphone-screen--fallback {
  background: linear-gradient(160deg, #FAF6F1 0%, #F0E8DE 45%, #EEF5F1 100%);
}

/* Botanical leaves */
.hero-leaves {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden; z-index: -1;
}
.leaf { position: absolute; }
.leaf--1 {
  top: -60px; right: -80px; width: 260px;
  color: var(--green); opacity: .05;
  transform: rotate(12deg);
}
.leaf--2 {
  bottom: 20px; left: -60px; width: 200px;
  color: var(--gold); opacity: .06;
  transform: rotate(-18deg);
}
.leaf--3 {
  top: 35%; right: -40px; width: 130px;
  color: var(--green); opacity: .04;
  transform: rotate(35deg);
}

/* 5. STATS BAR
   ─────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--green);
  padding: 18px var(--pad);
}
.stats-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 32px 56px; flex-wrap: wrap;
}
.stat-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.80);
}
.stat-icon {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.10);
  border-radius: var(--r1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-label { font-size: 14px; font-weight: 400; }
.stat-dot {
  width: 4px; height: 4px;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  flex-shrink: 0;
}

/* 6. FEATURES
   ─────────────────────────────────────────────────────── */
.features {
  padding: 100px var(--pad);
  max-width: var(--max-w); margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-kicker {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500; line-height: 1.1;
  color: var(--text); letter-spacing: -.01em;
}
.section-sub {
  font-size: 16px; color: var(--text-2); line-height: 1.65;
  margin-top: 12px; max-width: 540px;
  margin-left: auto; margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh3);
  border-color: var(--green-bdr);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--bg-2); border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-title {
  font-family: var(--serif);
  font-size: 22px; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
  line-height: 1.2;
}
.feature-text {
  font-size: 15px; line-height: 1.65; color: var(--text-2);
}

/* 7. PRO SECTION
   ─────────────────────────────────────────────────────── */
.pro-section {
  background: var(--green);
  padding: 80px var(--pad);
  position: relative; overflow: hidden;
}
.pro-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}

.pro-kicker {
  display: inline-block;
  background: rgba(200,150,62,.18);
  color: var(--gold-lt);
  border: 1px solid rgba(200,150,62,.28);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .10em; text-transform: uppercase;
  margin-bottom: 18px;
}
.pro-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 500; line-height: 1.1;
  color: var(--white); margin-bottom: 12px;
}
.pro-sub {
  font-size: 16px; color: rgba(255,255,255,.70);
  line-height: 1.65; margin-bottom: 32px;
}
.pro-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 24px;
}
.pro-feature {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: rgba(255,255,255,.85);
}
.pro-feature-check {
  width: 22px; height: 22px;
  background: rgba(200,150,62,.22);
  border: 1.5px solid rgba(200,150,62,.38);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold-lt);
}
.pro-tagline {
  font-size: 14px; color: rgba(255,255,255,.50);
  font-style: italic;
}

/* Pricing panel */
.pro-pricing-panel {
  display: flex; flex-direction: column; gap: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r3);
  padding: 32px;
}
.pro-pricing {
  display: flex; gap: 12px;
}
.price-card {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r2);
  padding: 20px 16px; text-align: center;
  position: relative;
}
.price-card--popular {
  border-color: var(--gold);
  background: rgba(200,150,62,.14);
}
.price-popular-badge {
  position: absolute; top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold); color: #1C1A17;
  font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
  white-space: nowrap;
}
.price-period { font-size: 12px; color: rgba(255,255,255,.50); margin-bottom: 6px; }
.price-amount {
  font-family: var(--serif);
  font-size: 34px; font-weight: 600;
  color: var(--white); line-height: 1;
}
.price-unit { font-size: 12px; color: rgba(255,255,255,.50); margin-top: 6px; }

.btn-primary-light {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  background: var(--white); color: var(--green);
  border-radius: 100px;
  font-size: 15px; font-weight: 600;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  text-align: center;
}
.btn-primary-light:hover {
  background: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(0,0,0,.20);
}

/* Pro decorative leaf */
.pro-leaf {
  position: absolute;
  right: -60px; top: -80px;
  width: 300px; pointer-events: none;
}

/* 8. DOWNLOAD CTA
   ─────────────────────────────────────────────────────── */
.download-cta {
  padding: 100px var(--pad);
  text-align: center;
  background: var(--bg-2);
}
.download-cta-inner {
  max-width: 560px; margin: 0 auto;
}
.download-cta-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500; line-height: 1.1;
  color: var(--text); margin-bottom: 16px;
}
.download-cta-title em { font-style: italic; color: var(--green); }
.download-cta-sub {
  font-size: 16px; color: var(--text-2);
  margin-bottom: 40px; line-height: 1.65;
}

.appstore-badge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 28px;
  background: var(--text); color: var(--white);
  border-radius: 18px;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 4px 20px rgba(28,26,23,.22);
}
.appstore-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(28,26,23,.28);
  background: #2D2A26;
}
.appstore-badge--disabled {
  opacity: .5; pointer-events: none;
}
.appstore-badge-text { text-align: left; }
.appstore-badge-line1 {
  display: block; font-size: 11px; font-weight: 400;
  opacity: .65; letter-spacing: .02em;
}
.appstore-badge-line2 {
  display: block; font-size: 20px; font-weight: 600;
  letter-spacing: -.01em;
  font-family: var(--serif);
}
.download-note {
  margin-top: 16px; font-size: 14px; color: var(--text-3);
}

/* 9. DOWNLOAD PAGE
   ─────────────────────────────────────────────────────── */
.download-hero {
  min-height: calc(100dvh - 64px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 80px var(--pad);
}
.download-app-icon {
  width: 88px; height: 88px; margin: 0 auto 28px;
  border-radius: 22px;
  box-shadow: var(--sh3);
  overflow: hidden;
}
.download-app-icon img { width: 100%; height: 100%; border-radius: 22px; }
.download-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500; line-height: 1.1;
  color: var(--text); margin-bottom: 16px;
}
.download-intro {
  font-size: 18px; color: var(--text-2);
  max-width: 420px; margin: 0 auto 44px;
  line-height: 1.65;
}
.download-stores {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 20px;
}
.download-free-note { font-size: 14px; color: var(--text-3); }

/* 10. PROSE (Support, Privacy)
   ─────────────────────────────────────────────────────── */
.prose-page {
  max-width: 740px; margin: 0 auto;
  padding: 60px var(--pad) 100px;
}
.prose-header { margin-bottom: 48px; }
.prose-header h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 500; line-height: 1.1;
  color: var(--text); margin-bottom: 12px;
}
.prose-meta { font-size: 14px; color: var(--text-3); }

.support-intro { font-size: 17px; color: var(--text-2); line-height: 1.65; }
.support-grid  { display: flex; flex-direction: column; gap: 28px; }

.support-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 36px;
}
.support-card h2 {
  font-family: var(--serif);
  font-size: 26px; font-weight: 600;
  color: var(--text); margin-bottom: 20px;
}
.contact-row {
  display: flex; gap: 12px;
  font-size: 15px; align-items: center;
}
.contact-label { color: var(--text-3); font-weight: 500; }
.contact-row a { color: var(--green); transition: opacity .15s; }
.contact-row a:hover { opacity: .7; }

/* 11. FORMS
   ─────────────────────────────────────────────────────── */
.form-field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 20px;
}
.form-field label {
  font-size: 14px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.form-field input,
.form-field textarea {
  padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r1);
  font-family: var(--sans); font-size: 15px; color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,90,61,.10);
}
.form-field textarea { min-height: 140px; }
.form-submit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--green); color: var(--white);
  border-radius: 100px; font-size: 15px; font-weight: 600;
  border: none;
  transition: background .2s, transform .15s;
  box-shadow: 0 2px 12px rgba(45,90,61,.25);
}
.form-submit:hover { background: var(--green-dk); transform: translateY(-1px); }
.field-error { color: #B03A2E; font-size: 12px; font-weight: 500; }
.alert-success {
  padding: 12px 16px;
  background: rgba(45,90,61,.08);
  border: 1px solid rgba(45,90,61,.20);
  border-radius: var(--r1); font-size: 14px; color: var(--green);
  margin-bottom: 20px;
}
.alert-error {
  padding: 12px 16px;
  background: rgba(176,58,46,.07);
  border: 1px solid rgba(176,58,46,.20);
  border-radius: var(--r1); font-size: 14px; color: #922B21;
  margin-bottom: 20px;
}

/* 12. PRIVACY
   ─────────────────────────────────────────────────────── */
.privacy-content { line-height: 1.75; }
.privacy-content h2 {
  font-family: var(--serif);
  font-size: 26px; font-weight: 600;
  margin-top: 44px; margin-bottom: 12px; color: var(--text);
}
.privacy-content p  { margin-bottom: 16px; font-size: 15px; color: var(--text-2); }
.privacy-content ul { padding-left: 20px; margin-bottom: 16px; font-size: 15px; color: var(--text-2); }
.privacy-content li { margin-bottom: 6px; }
.privacy-content a  { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.privacy-content strong { color: var(--text); }

/* 13. ERROR PAGES
   ─────────────────────────────────────────────────────── */
.error-page {
  min-height: calc(100dvh - 64px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 60px var(--pad);
}
.error-code {
  font-family: var(--serif);
  font-size: 96px; font-weight: 300;
  color: var(--border); line-height: 1; margin-bottom: 16px;
}
.error-title {
  font-family: var(--serif);
  font-size: 32px; font-weight: 500;
  color: var(--text); margin-bottom: 12px;
}
.error-sub { font-size: 16px; color: var(--text-2); margin-bottom: 32px; }

/* 14. FOOTER
   ─────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px var(--pad);
  background: var(--bg);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--serif);
  font-size: 16px; font-weight: 600; color: var(--green);
}
.footer-copy { font-size: 13px; color: var(--text-3); }
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--text-2); transition: color .15s; }
.footer-links a:hover { color: var(--green); }

/* 15. SCROLL ANIMATIONS
   ─────────────────────────────────────────────────────── */
[data-animate] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-animate].is-visible { opacity: 1; transform: none; }
[data-animate][data-delay="1"] { transition-delay: .08s; }
[data-animate][data-delay="2"] { transition-delay: .16s; }
[data-animate][data-delay="3"] { transition-delay: .24s; }
[data-animate][data-delay="4"] { transition-delay: .32s; }
[data-animate][data-delay="5"] { transition-delay: .40s; }
[data-animate][data-delay="6"] { transition-delay: .48s; }

/* 16. RESPONSIVE
   ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 48px;
    min-height: auto;
    gap: 48px;
  }
  .hero-content { max-width: 100%; }
  .hero-sub     { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-badge   { margin-left: auto; margin-right: auto; }
  .hero-visual  { order: -1; }

  .iphone {
    width: 210px;
    animation: none;
    transform: rotate(0deg);
  }
  .iphone-screen { width: 186px; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .pro-inner     { grid-template-columns: 1fr; }
  .stats-bar-inner { gap: 20px 36px; }
}

@media (max-width: 600px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column; align-items: stretch;
    padding: 8px 0 16px;
    gap: 0; z-index: 50;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(28,26,23,.10);
  }
  .header-nav.nav-open { display: flex; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-link { padding: 13px var(--pad); font-size: 16px; width: 100%; border-radius: 0; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card  { padding: 24px 20px; }

  .pro-pricing       { flex-direction: column; }
  .pro-pricing-panel { padding: 24px 20px; }

  .support-card { padding: 24px 20px; }

  .lang-grid { grid-template-columns: 1fr 1fr 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { gap: 14px; flex-wrap: wrap; }

  .stat-dot { display: none; }
}

/* 17. REDUCED MOTION
   ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .iphone { animation: none; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
