/* ============================================================
   mylinkplease — Premium Light Theme Stylesheet
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --ff-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ff-display: 'DM Serif Display', serif;

  /* Colors — from web_design.png */
  --c-bg: #f9faff;
  --c-white: #ffffff;
  --c-surface: #ffffff;
  --c-surface-alt: #f4f2ff;
  --c-border: rgba(27, 20, 60, .08);
  --c-border-hover: rgba(27, 20, 60, .16);
  --c-text: #1b143c;
  --c-text-muted: #6e688a;
  --c-text-dim: #9890b0;

  /* Brand */
  --c-brand: #8a2387;
  --c-accent: #e94057;
  --c-accent2: #f27121;
  --g-brand: linear-gradient(135deg, #8a2387, #e94057 50%, #f27121);
  --g-brand-text: linear-gradient(135deg, #8a2387, #e94057 50%, #f27121);
  --c-success: #10b981;
  --c-success-light: #ecfdf5;
  --c-purple: #8b5cf6;
  --c-purple-light: #f3f0ff;
  --c-blue: #2563eb;
  --c-blue-light: #eef4ff;

  /* Layout */
  --max-w: 1200px;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t-fast: .2s var(--ease);
  --t-normal: .35s var(--ease);
  --t-slow: .6s var(--ease);

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(27,20,60,.04);
  --sh-md: 0 10px 30px rgba(27,20,60,.06);
  --sh-lg: 0 20px 50px rgba(27,20,60,.08);
  --sh-xl: 0 35px 70px rgba(27,20,60,.12);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--ff-body); background: var(--c-bg); color: var(--c-text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: var(--t-fast); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
code { font-family: 'SF Mono', 'Fira Code', monospace; font-size: .85em; background: rgba(138, 35, 135, .08); color: var(--c-brand); padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── Gradient Text ─────────────────────────────────────────── */
.gradient-text { background: var(--g-brand-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn-brand {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 100px; font-weight: 700; font-size: 15px;
  color: #fff; background: var(--g-brand); background-size: 200% auto;
  box-shadow: 0 4px 18px rgba(233,64,87,.3);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background-position .5s ease;
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(233,64,87,.45); background-position: right center; }
.btn-brand:active { transform: translateY(0); }
.btn-brand.btn-lg { padding: 16px 36px; font-size: 16px; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: 100px; font-weight: 600; font-size: 15px;
  color: var(--c-text); border: 1.5px solid var(--c-border);
  background: var(--c-white); box-shadow: var(--sh-sm);
  transition: var(--t-fast);
}
.btn-outline:hover { border-color: var(--c-border-hover); transform: translateY(-2px); box-shadow: var(--sh-md); }
.play-circle { width: 24px; height: 24px; border-radius: 50%; background: var(--c-bg); border: 1px solid var(--c-border); display: inline-flex; align-items: center; justify-content: center; color: var(--c-brand); transition: var(--t-fast); }
.btn-outline:hover .play-circle { transform: scale(1.1); color: var(--c-accent); }

.btn-login { font-weight: 600; font-size: 14px; color: var(--c-text-muted); padding: 10px 24px; border-radius: 100px; border: 1.5px solid var(--c-border); transition: var(--t-fast); }
.btn-login:hover { color: var(--c-text); border-color: var(--c-border-hover); background: rgba(27,20,60,.02); }

/* ── Pill Badge ────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
  color: var(--c-brand); background: rgba(138,35,135,.06);
  border: 1px solid rgba(138,35,135,.12);
}
.pill-star { font-size: 12px; animation: pulse-star 2s infinite alternate; }
@keyframes pulse-star { 0% { opacity: .6; transform: scale(.9); } 100% { opacity: 1; transform: scale(1.2); } }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(249,250,255,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border); transition: var(--t-normal);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; }
.brand-img { height: 42px; width: auto; transition: var(--t-fast); }

.nav-desktop { display: block; }
.nav-list { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--c-text-muted); display: inline-flex; align-items: center; gap: 4px; }
.nav-link:hover { color: var(--c-text); }

.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-md);
  padding: 8px; min-width: 180px;
  opacity: 0; visibility: hidden; transition: var(--t-fast);
  box-shadow: var(--sh-lg);
}
.nav-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-panel a { display: block; padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--c-text-muted); border-radius: var(--r-sm); transition: var(--t-fast); }
.dropdown-panel a:hover { color: var(--c-text); background: var(--c-bg); }

.mobile-only { display: none !important; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 22px;
  padding: 4px 0;
  z-index: 1001;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
.burger span { display: block; height: 2px; width: 100%; background: var(--c-text); border-radius: 2px; transition: var(--t-normal); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero Section ──────────────────────────────────────────── */
.hero { position: relative; padding: 150px 0 80px; overflow: hidden; }

.hero-bg-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .45; pointer-events: none; animation: orb-drift 14s infinite alternate ease-in-out; }
.hero-orb-1 { width: 550px; height: 550px; top: -5%; left: -12%; background: radial-gradient(circle, rgba(138,35,135,.28), rgba(233,64,87,.08) 100%); }
.hero-orb-2 { width: 600px; height: 600px; top: 0; right: -12%; background: radial-gradient(circle, rgba(242,113,33,.2), rgba(233,64,87,.04) 100%); animation-delay: -4s; }
.hero-orb-3 { width: 400px; height: 400px; bottom: 5%; left: 40%; background: radial-gradient(circle, rgba(139,92,246,.18), rgba(236,72,153,.04) 100%); animation-delay: -8s; }
@keyframes orb-drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-40px) scale(1.1); } 100% { transform: translate(-20px,20px) scale(.9); } }

.hero-grid { display: grid; grid-template-columns: 1.1fr 1.3fr; align-items: center; gap: 48px; position: relative; z-index: 2; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff8ec; color: #d97706; border: 1.5px solid #fde68a; border-radius: 100px; padding: 6px 16px; font-size: 13px; font-weight: 700; margin-bottom: 24px; }
.badge-dot { width: 7px; height: 7px; background: #f59e0b; border-radius: 50%; animation: pulse-badge 2s infinite; }
@keyframes pulse-badge { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.3); } }

.hero-h1 { font-family: var(--ff-display); font-size: clamp(40px, 5.2vw, 68px); font-weight: normal; line-height: 1.12; letter-spacing: -1px; margin-bottom: 20px; color: var(--c-text); }
.hero-h1 em { font-style: italic; font-weight: normal; background: var(--g-brand-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.hero-sub { font-size: 18px; line-height: 1.65; color: var(--c-text-muted); max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

/* Trust row */
.hero-trust-row { display: flex; flex-wrap: wrap; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--c-text-muted); }
.trust-icon { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; }
.trust-green { background: rgba(16,185,129,.1); color: var(--c-success); }
.trust-purple { background: rgba(139,92,246,.1); color: var(--c-purple); }
.trust-brand { background: rgba(138,35,135,.1); color: var(--c-brand); }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: flex-end; }
.hero-mockup-wrap { position: relative; width: 100%; max-width: 680px; }
.mockup-backlight { position: absolute; top: 10%; left: 10%; width: 80%; height: 80%; background: linear-gradient(135deg, rgba(138,35,135,.25), rgba(242,113,33,.25)); filter: blur(50px); z-index: 0; border-radius: 20px; pointer-events: none; }
.hero-dashboard-img {
  position: relative; z-index: 1; width: 100%; border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,.8);
  box-shadow: var(--sh-xl), 0 5px 15px rgba(27,20,60,.04);
  transition: transform var(--t-slow), box-shadow var(--t-normal);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1.5deg);
}
.hero-dashboard-img:hover { transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-6px) scale(1.01); box-shadow: 0 45px 85px rgba(27,20,60,.16); }

/* Floating cards */
.float-card {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85); box-shadow: var(--sh-lg);
  pointer-events: none; animation: chip-float 5s ease-in-out infinite;
}
#hero-float-badge-1 { top: 12%; left: -40px; }
#hero-float-badge-2 { bottom: 18%; right: -25px; animation-delay: -2.5s; }
#hero-float-badge-3 { bottom: 50%; right: -40px; animation-delay: -1.2s; }

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

.fc-streak .streak-fire { font-size: 20px; }
.fc-streak .streak-info strong { display: block; font-size: 14px; font-weight: 800; color: var(--c-accent2); }
.fc-streak .streak-info span { font-size: 11px; color: var(--c-text-muted); }

.fc-score p { font-size: 11px; color: var(--c-text-muted); font-weight: 600; margin-bottom: 2px; }
.fc-score strong { font-size: 18px; font-weight: 800; color: var(--c-success); }

.fc-recent .chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-success); box-shadow: 0 0 8px var(--c-success); animation: pulse-badge 1.5s infinite; }
.fc-recent strong { display: block; font-size: 12px; font-weight: 700; color: var(--c-text); }
.fc-recent span { font-size: 10px; color: var(--c-text-muted); }

/* ── Stats Strip ───────────────────────────────────────────── */
.stats-strip { background: var(--c-white); border-top: 1.5px solid var(--c-border); border-bottom: 1.5px solid var(--c-border); padding: 36px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { padding: 0 16px; border-right: 1.5px solid var(--c-border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--ff-display); font-size: 38px; font-weight: normal; color: var(--c-brand); line-height: 1.1; margin-bottom: 4px; }
.stat-num span { color: var(--c-accent2); }
.stat-desc { font-size: 13px; font-weight: 600; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: .05em; }

/* ── Sections Common ───────────────────────────────────────── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header .pill { margin-bottom: 20px; }
.section-h2 { font-family: var(--ff-display); font-size: clamp(32px, 4.2vw, 48px); font-weight: normal; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 14px; color: var(--c-text); }
.section-sub { font-size: 16px; color: var(--c-text-muted); line-height: 1.7; }

/* ── Interactive Tour Section ──────────────────────────────── */
.tour-section { padding: 100px 0; position: relative; overflow: hidden; background: #fafbfe; border-bottom: 1.5px solid var(--c-border); }
.tour-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }

/* Left Mockup Screen Simulator */
.tour-visual-wrapper { position: relative; width: 100%; display: flex; justify-content: center; }
.tour-mockup-screen {
  position: relative; z-index: 2; width: 100%; max-width: 440px; height: 460px;
  background: var(--c-white); border-radius: var(--r-xl);
  border: 1.5px solid var(--c-border); box-shadow: var(--sh-xl);
  overflow: hidden; display: flex; flex-direction: column;
}
.screen-backlight { position: absolute; top: 10%; left: 10%; width: 80%; height: 80%; background: linear-gradient(135deg, rgba(138,35,135,.15), rgba(37,99,235,.15)); filter: blur(40px); z-index: 0; pointer-events: none; }

.simulator-state {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; z-index: 1; transition: opacity .4s ease, visibility .4s ease;
  background: var(--c-white);
}
.simulator-state.active { opacity: 1; visibility: visible; z-index: 2; }

/* State 1: Instagram Post */
.sim-phone-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--c-border); font-size: 14px; font-weight: 700; color: var(--c-text); }
.sim-phone-body { padding: 16px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.sim-instagram-post { border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; background: var(--c-white); box-shadow: var(--sh-sm); }
.sim-post-user { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid rgba(27,20,60,.04); }
.sim-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid var(--c-border); }
.sim-post-user div { display: flex; flex-direction: column; }
.sim-post-user strong { font-size: 12px; color: var(--c-text); }
.sim-post-user span { font-size: 10px; color: var(--c-text-muted); }
.sim-post-image { height: 160px; background: linear-gradient(135deg, #f4f2ff, #fdf8f5); display: flex; align-items: center; justify-content: center; color: var(--c-text-muted); font-weight: 700; font-size: 15px; border-bottom: 1px solid rgba(27,20,60,.04); }
.sim-post-content { padding: 12px 14px; font-size: 11px; line-height: 1.4; color: var(--c-text-muted); }
.sim-post-content strong { color: var(--c-text); margin-right: 4px; }
.sim-pulsing-action { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; position: relative; }
.sim-pulsing-action .pulse-ring { position: absolute; width: 140px; height: 36px; border-radius: 100px; border: 2px solid var(--c-brand); animation: pulse-ring-anim 1.5s infinite; opacity: 0; }
@keyframes pulse-ring-anim { 0% { transform: scale(0.95); opacity: 0.5; } 100% { transform: scale(1.15); opacity: 0; } }
.pulse-btn { background: var(--c-brand); color: white; font-size: 12px; font-weight: 700; padding: 8px 24px; border-radius: 100px; }

/* State 2: Dashboard Sync */
.sim-dashboard-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--c-border); }
.sim-logo-img { height: 26px; }
.sim-sync-status-badge { font-size: 11px; font-weight: 700; color: var(--c-blue); background: var(--c-blue-light); padding: 4px 12px; border-radius: 100px; animation: pulse-badge 1.8s infinite; }
.sim-dashboard-body { padding: 32px 24px; flex: 1; display: flex; align-items: center; justify-content: center; }
.sim-sync-progress-box { width: 100%; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 24px; background: var(--c-bg); text-align: center; }
.sim-sync-progress-box h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.sim-sync-progress-box p { font-size: 12px; color: var(--c-text-muted); margin-bottom: 18px; }
.sim-bar-container { height: 8px; background: rgba(27,20,60,.06); border-radius: 4px; overflow: hidden; margin-bottom: 18px; }
.sim-bar-fill { height: 100%; width: 0; background: var(--g-brand); border-radius: 4px; transition: width 0.1s linear; }
.sim-sync-items { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.sim-sync-item { font-size: 12px; font-weight: 600; color: var(--c-text-dim); }
.sim-sync-item.done { color: var(--c-success); }
.sim-sync-item.active { color: var(--c-blue); font-weight: 700; }

/* State 3: Rule Builder */
.sim-rules-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--c-border); font-size: 12px; font-weight: 700; color: var(--c-text-muted); }
.sim-rules-body { padding: 24px 20px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.sim-rule-builder { display: flex; flex-direction: column; gap: 4px; }
.sim-rule-row { display: flex; align-items: stretch; gap: 12px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; background: var(--c-bg); }
.rule-lbl { font-size: 11px; font-weight: 800; color: white; display: flex; align-items: center; justify-content: center; width: 56px; flex-shrink: 0; text-transform: uppercase; }
.rule-lbl.if { background: var(--c-brand); }
.rule-lbl.then { background: var(--c-accent); }
.rule-lbl.and { background: var(--c-accent2); }
.rule-content { padding: 10px 14px; font-size: 12px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.rule-content span { font-size: 10px; color: var(--c-text-muted); font-weight: 600; }
.rule-keyword { font-size: 11px; align-self: flex-start; }
.rule-reply-text { font-weight: 700; color: var(--c-text); }
.rule-dm-preview { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-sm); padding: 4px 10px; font-size: 11px; font-weight: 600; color: var(--c-brand); }
.sim-rule-arrow { text-align: center; font-size: 14px; color: var(--c-text-dim); font-weight: 800; line-height: 1; }

/* State 4: Watch Live */
.sim-live-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--c-border); font-size: 13px; font-weight: 700; }
.sim-live-pulse { color: var(--c-success); background: var(--c-success-light); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.sim-live-body { padding: 20px 16px; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.sim-chat-message { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--c-border); font-size: 12px; }
.chat-avatar { font-size: 18px; flex-shrink: 0; }
.chat-text strong { font-size: 11px; display: block; margin-bottom: 2px; }
.chat-text p { color: var(--c-text-muted); margin: 0; line-height: 1.4; }
.sim-chat-message.user { background: rgba(233,64,87,.03); border-color: rgba(233,64,87,.08); }
.sim-chat-message.bot { background: rgba(138,35,135,.04); border-color: rgba(138,35,135,.12); position: relative; }
.bot-tag { display: block; margin-top: 4px; font-size: 9px; font-weight: 700; color: var(--c-brand); text-transform: uppercase; }
.sim-chat-arrow { font-size: 11px; font-weight: 700; text-align: center; color: var(--c-text-dim); text-transform: uppercase; }
.sim-dm-delivered-toast { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--c-white); border: 1.5px solid var(--c-success); border-radius: var(--r-md); box-shadow: var(--sh-md); animation: dm-toast-slide 0.5s ease-out; }
@keyframes dm-toast-slide { 0% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
.toast-icon { font-size: 16px; }
.sim-dm-delivered-toast strong { font-size: 11px; color: var(--c-success); display: block; }
.sim-dm-delivered-toast p { font-size: 10px; color: var(--c-text-muted); }

/* Right Stepper controls */
.tour-chapters { display: flex; flex-direction: column; gap: 16px; }
.chapter-row {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  border: 1.5px solid var(--c-border); border-radius: var(--r-lg);
  background: var(--c-white); transition: all var(--t-normal); text-align: left;
}
.chapter-row:hover { transform: translateY(-3px); border-color: var(--c-border-hover); box-shadow: var(--sh-md); }
.chapter-row.active { border-color: var(--c-brand); box-shadow: var(--sh-lg); background: #fafbfe; }

.chapter-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; flex-shrink: 0; border: 2px solid transparent;
  transition: var(--t-normal);
}
.cn-todo { background: var(--c-bg); border-color: var(--c-border); color: var(--c-text-muted); }
.cn-active { background: var(--c-brand); color: white; border-color: transparent; box-shadow: 0 0 10px rgba(138,35,135,.3); }
.cn-done { background: var(--c-success-light); color: var(--c-success); border-color: transparent; }

.chapter-text { flex: 1; }
.chapter-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; flex-wrap: wrap; gap: 6px; }
.chapter-text h4 { font-family: var(--ff-body); font-size: 16px; font-weight: 700; color: var(--c-text); }
.chapter-text p { font-size: 13px; color: var(--c-text-muted); line-height: 1.5; }

.chapter-badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 5px; }
.cb-live { background: rgba(233,64,87,.08); color: var(--c-accent); }
.cb-auto { background: rgba(138,35,135,.08); color: var(--c-brand); }
.cb-rule { background: rgba(242,113,33,.08); color: var(--c-accent2); }
.cb-success { background: var(--c-success-light); color: var(--c-success); }

/* Progress bar inside active stepper */
.chapter-progress-bar { height: 3px; background: rgba(27,20,60,.06); border-radius: 2px; margin-top: 12px; overflow: hidden; display: none; }
.chapter-row.active .chapter-progress-bar { display: block; }
.chapter-progress-fill { height: 100%; width: 0; background: var(--g-brand); border-radius: 2px; }

/* ── Interactive Comment/DM Tester Widget ────────────────── */
.tester-section { padding: 100px 0; border-bottom: 1.5px solid var(--c-border); position: relative; overflow: hidden; }
.tester-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tester-content { display: flex; flex-direction: column; align-items: flex-start; }

.tester-actions-box { width: 100%; margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.comment-trigger-buttons { display: flex; flex-direction: column; gap: 12px; width: 100%; }

.btn-tester-trigger {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: var(--r-md);
  background: var(--c-white); border: 1.5px solid var(--c-border);
  box-shadow: var(--sh-sm); font-size: 14px; font-weight: 700; color: var(--c-text);
  transition: all var(--t-fast); text-align: left;
}
.btn-tester-trigger:hover { transform: translateY(-2px); border-color: var(--c-brand); box-shadow: var(--sh-md); color: var(--c-brand); }
.btn-tester-trigger:active { transform: translateY(0); }
.btn-emoji { font-size: 18px; }

.custom-input-group { display: flex; gap: 8px; width: 100%; margin-top: 8px; }
.custom-input-group input {
  flex: 1; padding: 14px 20px; border-radius: 100px;
  border: 1.5px solid var(--c-border); background: var(--c-white);
  font-family: inherit; font-size: 14px; color: var(--c-text); outline: none;
  transition: var(--t-fast);
}
.custom-input-group input:focus { border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(138,35,135,.08); }
.custom-input-group button {
  padding: 0 28px; border-radius: 100px; background: var(--c-brand); color: white;
  font-size: 14px; font-weight: 700; transition: var(--t-fast);
}
.custom-input-group button:hover { background: var(--c-accent); transform: scale(1.02); }

/* Phone Mockup Frame */
.tester-visual { display: flex; justify-content: center; width: 100%; }
.phone-frame {
  position: relative; width: 100%; max-width: 320px; height: 560px;
  background: #0f172a; border-radius: 40px; border: 8px solid #1e293b;
  box-shadow: var(--sh-xl), 0 10px 25px rgba(0,0,0,.08);
  overflow: hidden; display: flex; flex-direction: column;
}
/* Screen bezel */
.phone-screen { position: relative; width: 100%; height: 100%; background: #ffffff; display: flex; flex-direction: column; overflow: hidden; }

/* Status Bar */
.phone-status { height: 26px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 700; color: #1e293b; background: #f8fafc; border-bottom: 1px solid rgba(0,0,0,.03); }
.phone-icons { display: flex; gap: 4px; }

/* Instagram header */
.phone-header { height: 42px; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--c-border); background: #ffffff; }
.ph-back { font-size: 20px; font-weight: 500; cursor: pointer; color: var(--c-text); }
.ph-title { font-size: 13px; font-weight: 700; color: var(--c-text); }
.ph-send { font-size: 14px; color: var(--c-text); }

/* Comments Feed area */
.phone-feed { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 14px; background: #ffffff; }
.tester-post { display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--c-border); padding-bottom: 12px; }
.post-user-info { display: flex; align-items: flex-start; gap: 10px; }
.tester-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid var(--c-border); }
.post-user-info div { display: flex; flex-direction: column; }
.post-user-info strong { font-size: 11px; color: var(--c-text); }
.post-user-info span { font-size: 11px; color: var(--c-text-muted); line-height: 1.35; margin-top: 1px; }
.post-date { font-size: 9px; color: var(--c-text-dim); margin-left: 38px; }

.tester-empty-state { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--c-text-muted); }
.empty-state-graphic { font-size: 32px; animation: bounce-arrow 1.8s infinite; margin-bottom: 12px; }
@keyframes bounce-arrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.tester-empty-state p { font-size: 12px; line-height: 1.5; font-weight: 500; }

/* Message items */
.comment-bubble { display: flex; align-items: flex-start; gap: 8px; animation: bubble-pop .3s cubic-bezier(.175, .885, .32, 1.275); }
@keyframes bubble-pop { 0% { transform: scale(0.9) translateY(8px); opacity: 0; } 100% { transform: scale(1) translateY(0); opacity: 1; } }
.cb-avatar { width: 24px; height: 24px; border-radius: 50%; background: #e2e8f0; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cb-details { display: flex; flex-direction: column; background: var(--c-bg); border: 1px solid var(--c-border); padding: 8px 12px; border-radius: 14px; max-width: 85%; }
.cb-details.bot-reply { background: rgba(138,35,135,.04); border-color: rgba(138,35,135,.1); }
.cb-details strong { font-size: 10px; color: var(--c-text); margin-bottom: 1px; }
.cb-details p { font-size: 11px; color: var(--c-text-muted); line-height: 1.3; }
.cb-meta { display: flex; gap: 8px; font-size: 9px; color: var(--c-text-dim); margin-top: 3px; margin-left: 32px; }
.cb-meta span.active-tag { color: var(--c-brand); font-weight: 700; }

/* Phone DM Notification Alert */
.phone-dm-alert {
  position: absolute; top: -75px; left: 10px; right: 10px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(27,20,60,.08); border-radius: var(--r-md);
  padding: 10px 14px; box-shadow: var(--sh-lg);
  z-index: 100; transition: top 0.4s cubic-bezier(.175, .885, .32, 1.15);
}
.phone-dm-alert.slide-down { top: 32px; }
.dm-alert-header { display: flex; justify-content: space-between; font-size: 9px; font-weight: 700; color: var(--c-brand); text-transform: uppercase; margin-bottom: 3px; letter-spacing: 0.5px; }
.dm-alert-time { color: var(--c-text-dim); font-weight: normal; }
.dm-alert-body strong { display: block; font-size: 11px; color: var(--c-text); }
.dm-alert-body p { font-size: 11px; color: var(--c-text-muted); line-height: 1.3; margin: 0; }

/* ── Capabilities Grid / Feature Cards ────────────────────── */
.features-bar { background: var(--c-white); border-top: 1.5px solid var(--c-border); padding: 100px 0; border-bottom: 1.5px solid var(--c-border); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.feat-card {
  padding: 36px 28px; border-radius: var(--r-lg); background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  transition: transform var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal);
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative;
}
.feat-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: rgba(138,35,135,.18); }
.feat-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: transform var(--t-fast); }
.feat-card:hover .feat-icon { transform: scale(1.1) rotate(4deg); }
.fi-purple { background: rgba(138,35,135,.08); }
.fi-orange { background: rgba(242,113,33,.08); }
.fi-pink { background: rgba(233,64,87,.08); }
.fi-amber { background: rgba(255,159,67,.08); }

.feat-card h3 { font-family: var(--ff-body); font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--c-text); }
.feat-card p { font-size: 14px; line-height: 1.6; color: var(--c-text-muted); margin-bottom: 20px; flex: 1; }

.cap-tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.tag-purple { background: var(--c-purple-light); color: var(--c-brand); }
.tag-blue { background: var(--c-blue-light); color: var(--c-blue); }

/* ── CTA Section (Redesigned Card Layout) ──────────────────── */
.cta-section { padding: 100px 0; background: var(--c-bg); }
.cta-card {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 48px;
  background: linear-gradient(135deg, #1b143c 0%, #2b1c62 100%);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  text-align: center;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
}
.cta-card-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}
.cta-orb-1 {
  width: 250px;
  height: 250px;
  background: var(--c-brand);
  top: -80px;
  left: -80px;
}
.cta-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--c-accent);
  bottom: -100px;
  right: -100px;
}
.cta-card-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-h2 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: normal;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--c-white);
}
.cta-sub {
  font-size: 18px;
  color: #c9c4e0;
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px; font-weight: 700; font-size: 15px;
  color: var(--c-brand); background: var(--c-white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  background: var(--c-purple-light);
}
.btn-cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px; font-weight: 600; font-size: 15px;
  color: var(--c-white); border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transition: var(--t-fast);
}
.btn-cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.cta-note {
  font-size: 13px;
  color: #9890b0;
  margin-top: 20px;
}

/* ── Content Sub-Page Layout Utilities ─────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, rgba(138, 35, 135, 0.04) 0%, transparent 100%);
  text-align: center;
  border-bottom: 1.5px solid var(--c-border);
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}
.breadcrumb-separator {
  color: var(--c-text-dim);
}
.breadcrumb a:hover {
  color: var(--c-brand);
}
.page-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: normal;
  line-height: 1.15;
  color: var(--c-text);
  margin-bottom: 12px;
}
.page-subtitle {
  font-size: 18px;
  color: var(--c-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Policy Documents Layout */
.policy-wrapper {
  padding: 80px 0;
  background: var(--c-bg);
}
.policy-container {
  max-width: 840px;
  margin: 0 auto;
  background: var(--c-white);
  padding: 60px 50px;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--c-border);
  box-shadow: var(--sh-md);
}
.policy-meta {
  font-size: 13px;
  color: var(--c-text-dim);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid var(--c-border);
  font-weight: 600;
}
.policy-section {
  margin-bottom: 36px;
}
.policy-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.policy-section h2::before {
  content: '✦';
  color: var(--c-brand);
  font-size: 14px;
}
.policy-section p {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.policy-list {
  margin: 16px 0 16px 24px;
  list-style: disc;
}
.policy-list li {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Contact Grid & Form Layout */
.contact-wrapper {
  padding: 80px 0;
  background: var(--c-bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-info-card {
  background: var(--c-white);
  padding: 48px 40px;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--c-border);
  box-shadow: var(--sh-md);
}
.contact-info-card h3 {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: normal;
  color: var(--c-text);
  margin-bottom: 16px;
}
.contact-info-desc {
  font-size: 15px;
  color: var(--c-text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}
.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(138, 35, 135, 0.06);
  border: 1px solid rgba(138, 35, 135, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-brand);
  font-size: 20px;
  flex-shrink: 0;
}
.contact-detail-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}
.contact-detail-content p, .contact-detail-content a {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.5;
}
.contact-detail-content a:hover {
  color: var(--c-brand);
}

.contact-form-card {
  background: var(--c-white);
  padding: 48px;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--c-border);
  box-shadow: var(--sh-md);
}
.contact-form-card h3 {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: normal;
  color: var(--c-text);
  margin-bottom: 10px;
}
.contact-form-subtitle {
  font-size: 15px;
  color: var(--c-text-muted);
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group.full-width {
  grid-column: span 2;
}
.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--c-border);
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: 14px;
  transition: var(--t-fast);
}
.form-input::placeholder {
  color: var(--c-text-dim);
}
.form-input:focus {
  outline: none;
  background: var(--c-white);
  border-color: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(138, 35, 135, 0.12);
}
textarea.form-input {
  resize: vertical;
  min-height: 120px;
}
.form-submit-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 15px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--g-brand);
  box-shadow: 0 4px 18px rgba(233,64,87,.3);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  border: none;
  cursor: pointer;
}
.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(233,64,87,.45);
}
.form-submit-btn:active {
  transform: translateY(0);
}

/* Contact success message box */
.contact-success-box {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  animation: bubble-pop .4s cubic-bezier(.175, .885, .32, 1.275);
}
.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--c-success);
  margin-bottom: 24px;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.contact-success-box h3 {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: normal;
  color: var(--c-text);
  margin-bottom: 12px;
}
.contact-success-box p {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.6;
  max-width: 360px;
}

/* About Page Specific Styles */
.about-mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.about-card {
  background: var(--c-white);
  padding: 36px 28px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--c-border);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}
.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: rgba(138, 35, 135, 0.15);
}
.about-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(138, 35, 135, 0.06);
  color: var(--c-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
}
.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 12px;
}
.about-card p {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

.about-story-section {
  padding: 90px 0;
  background: var(--c-white);
  border-top: 1.5px solid var(--c-border);
  border-bottom: 1.5px solid var(--c-border);
}
.about-story-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-story-content h2 {
  font-family: var(--ff-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: normal;
  color: var(--c-text);
  margin-bottom: 20px;
}
.about-story-content p {
  font-size: 16px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.about-story-content p:last-child {
  margin-bottom: 0;
}
.about-story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about-stat-box {
  background: var(--c-bg);
  padding: 32px 24px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--c-border);
  text-align: center;
}
.about-stat-num {
  font-family: var(--ff-display);
  font-size: 38px;
  color: var(--c-brand);
  margin-bottom: 6px;
}
.about-stat-lbl {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text-muted);
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer,
footer {
  background: var(--c-text);
  color: rgba(255, 255, 255, .6);
  padding: 60px 5% 32px;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand-name {
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255, 255, 255, .55);
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.footer-col ul li a:hover { color: white; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s;
}
.footer-bottom-links a:hover { color: white; }
.footer-bottom-links a.active { color: rgba(255, 255, 255, .7); }

/* ── Scroll Reveal ─────────────────────────────────────────── */
.tour-grid, .feat-card, .cta-card, .tester-grid { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.tour-grid.visible, .feat-card.visible, .cta-card.visible, .tester-grid.visible { opacity: 1; transform: translateY(0); }
.feat-card:nth-child(2) { transition-delay: .08s; }
.feat-card:nth-child(3) { transition-delay: .16s; }
.feat-card:nth-child(4) { transition-delay: .24s; }

/* ============================================================
   Responsive Layouts
   ============================================================ */
@media(max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  .hero-copy { align-items: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-trust-row { justify-content: center; }
  .hero-visual { justify-content: center; }
  .hero-mockup-wrap { max-width: 560px; }
  .hero-dashboard-img { transform: none; }
  .hero-dashboard-img:hover { transform: translateY(-5px); }
  .float-card { display: none; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(3) { border-right: 1.5px solid var(--c-border); }

  .tour-grid { grid-template-columns: 1fr; gap: 48px; }
  .tour-visual-wrapper { order: 2; }
  .tour-chapters { order: 1; }

  .tester-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .tester-content { align-items: center; }
  .tester-actions-box { align-items: center; }
  .comment-trigger-buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .btn-tester-trigger { width: auto; justify-content: center; }

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

  /* Sub-page responsive */
  .about-mission-grid { grid-template-columns: repeat(2, 1fr); }
  .about-story-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-card { padding: 60px 32px; }
}

@media(max-width: 768px) {
  .mobile-only { display: flex !important; }
  .mobile-cta-container {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1.5px solid var(--c-border);
  }
  .hero { padding: 120px 0 60px; }
  .burger { display: flex; }
  .nav-desktop {
    position: fixed; top: 76px; left: 0; width: 100%;
    max-height: calc(100vh - 76px); overflow-y: auto;
    background: rgba(249, 250, 255, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--c-border); padding: 24px;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: var(--t-normal); box-shadow: var(--sh-lg);
  }
  .nav-desktop.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav-dropdown .dropdown-panel { position: static; transform: none; box-shadow: none; border: none; background: transparent; display: none; opacity: 1; visibility: visible; }
  .nav-dropdown.active .dropdown-panel { display: block; }
  .header-actions .btn-login, .header-actions .btn-brand { display: none; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  /* Sub-page responsive */
  .policy-container { padding: 40px 24px; }
  .about-mission-grid { grid-template-columns: 1fr; }
  .contact-info-card, .contact-form-card { padding: 36px 24px; }
}

@media(max-width: 480px) {
  .hero-h1 { font-size: 38px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn-brand, .hero-actions .btn-outline { width: 100%; justify-content: center; }

  .stats-inner { grid-template-columns: 1fr; gap: 24px; }
  .stat-item { border-right: none !important; padding: 16px 0; border-bottom: 1.5px solid var(--c-border); }
  .stat-item:last-child { border-bottom: none; }

  .comment-trigger-buttons { flex-direction: column; width: 100%; }
  .btn-tester-trigger { width: 100%; }
  .custom-input-group { flex-direction: column; border-radius: 0; }
  .custom-input-group input { width: 100%; }
  .custom-input-group button { padding: 14px; width: 100%; }

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

  /* Sub-page responsive */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group.full-width { grid-column: span 1; }
  .cta-card { padding: 48px 20px; }
  .cta-actions { flex-direction: column; width: 100%; gap: 12px; }
  .cta-actions .btn-cta-primary, .cta-actions .btn-cta-secondary { width: 100%; justify-content: center; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}
