/* ═══════════════════════════════════════════════════
   Velora — Landing Page Styles
   Aesthetic: Neon Romance / Digital Intimacy
   ═══════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input { font-family: inherit; }

/* ── Theme Variables ── */
:root {
  /* Dark (default) */
  --bg: #0D0D1A;
  --bg-elevated: #14142B;
  --text: #FFFFFF;
  --text-secondary: #B0B0C0;
  --text-muted: #6B6B80;
  --accent-1: #E91E63;
  --accent-2: #9C27B0;
  --accent-3: #FF6B9D;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover-bg: rgba(255, 255, 255, 0.07);
  --glass-bg: rgba(13, 13, 26, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(233, 30, 99, 0.15);
  --scrollbar-track: rgba(255, 255, 255, 0.03);
  --scrollbar-thumb: rgba(233, 30, 99, 0.3);
  --blob-opacity: 0.45;
  --gradient-primary: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
  --gradient-accent: linear-gradient(135deg, #FF6B9D 0%, #9C27B0 100%);
  --gradient-text: linear-gradient(135deg, #FF6B9D 0%, #E91E63 40%, #9C27B0 100%);
  --gradient-soft: linear-gradient(135deg, rgba(233, 30, 99, 0.12), rgba(156, 39, 176, 0.12));
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --max-width: 1200px;
  --nav-height: 72px;
}

[data-theme="light"] {
  --bg: #FAF5F9;
  --bg-elevated: #FFFFFF;
  --text: #1A1A2E;
  --text-secondary: #5A5A6E;
  --text-muted: #9A9AAB;
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(233, 30, 99, 0.08);
  --card-hover-bg: rgba(255, 255, 255, 0.95);
  --glass-bg: rgba(255, 250, 253, 0.75);
  --glass-border: rgba(233, 30, 99, 0.06);
  --shadow-soft: 0 8px 32px rgba(180, 100, 140, 0.1);
  --shadow-glow: 0 0 40px rgba(233, 30, 99, 0.08);
  --scrollbar-track: rgba(0, 0, 0, 0.03);
  --scrollbar-thumb: rgba(233, 30, 99, 0.2);
  --blob-opacity: 0.22;
}

/* ── Base ── */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-1); }

/* Selection */
::selection { background: rgba(233, 30, 99, 0.3); color: var(--text); }

/* ── Background Effects ── */
.bg-mesh { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: var(--blob-opacity);
  will-change: transform;
}
.blob-1 { width: 550px; height: 550px; background: #E91E63; top: -8%; left: -5%; animation: float1 24s ease-in-out infinite; }
.blob-2 { width: 450px; height: 450px; background: #9C27B0; top: 25%; right: -8%; animation: float2 28s ease-in-out infinite; }
.blob-3 { width: 400px; height: 400px; background: #FF6B9D; bottom: -5%; left: 25%; animation: float3 22s ease-in-out infinite; }
.blob-4 { width: 350px; height: 350px; background: #6366F1; bottom: 15%; right: 10%; animation: float4 30s ease-in-out infinite; }

@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(60px,40px) scale(1.1)} }
@keyframes float2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-50px,60px) scale(1.15)} }
@keyframes float3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(40px,-50px) scale(1.1)} }
@keyframes float4 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-60px,-30px) scale(1.2)} }

.noise-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--gradient-primary);
  z-index: 1000; transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(233, 30, 99, 0.5);
}

/* ── Navigation ── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height);
  z-index: 100; display: flex; align-items: center;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, height 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--glass-border);
  height: 64px;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; }
.logo-mark { display: flex; align-items: center; filter: drop-shadow(0 2px 8px rgba(233, 30, 99, 0.3)); }
.logo-text { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Nav links */
.nav-links { display: flex; gap: 8px; }
.nav-links a {
  padding: 8px 16px; font-size: 0.92rem; font-weight: 500; color: var(--text-secondary);
  border-radius: 100px; transition: all 0.25s ease; position: relative;
}
.nav-links a:hover { color: var(--text); background: var(--card-bg); }
.nav-links a.active { color: var(--accent-3); background: var(--card-bg); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle, .theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--card-bg); border: 1px solid var(--card-border); color: var(--text-secondary);
  font-size: 0.8rem; font-weight: 600; transition: all 0.25s ease;
}
.lang-toggle:hover, .theme-toggle:hover { color: var(--accent-3); border-color: var(--accent-1); background: var(--card-hover-bg); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Mobile menu toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--card-bg); border: 1px solid var(--card-border); }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s ease; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px; font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary); color: #fff;
  box-shadow: 0 4px 20px rgba(233, 30, 99, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(233, 30, 99, 0.5); }
.btn-ghost { background: var(--card-bg); border-color: var(--card-border); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--card-hover-bg); border-color: var(--accent-3); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--card-border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent-1); background: var(--card-bg); }
.btn-gradient { background: var(--gradient-accent); color: #fff; box-shadow: 0 4px 20px rgba(255, 107, 157, 0.35); }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 107, 157, 0.5); }
.btn-block { width: 100%; }

/* ── Section Base ── */
.section { padding: 120px 0; position: relative; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--gradient-soft); padding: 6px 18px; border-radius: 100px;
  color: var(--accent-3); margin-bottom: 20px; border: 1px solid var(--card-border);
}
.section-eyebrow.light { color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.1); }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; }

/* Gradient text helper */
.gradient-text { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Hero ── */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: var(--nav-height); position: relative; overflow: hidden; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 100px;
  background: var(--card-bg); border: 1px solid var(--card-border); backdrop-filter: blur(10px);
  font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 28px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); animation: pulse-ring 2s infinite; }
@keyframes pulse-ring { 0%{box-shadow:0 0 0 0 rgba(74,222,128,0.7)} 70%{box-shadow:0 0 0 8px rgba(74,222,128,0)} 100%{box-shadow:0 0 0 0 rgba(74,222,128,0)} }

.hero-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-title span { display: block; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 36px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 36px; background: var(--card-border); }

/* Scroll hint */
.scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-muted); }
.scroll-mouse { width: 24px; height: 38px; border: 2px solid var(--text-muted); border-radius: 14px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-wheel { width: 4px; height: 8px; background: var(--text-muted); border-radius: 2px; animation: scroll-wheel 2s ease-in-out infinite; }
@keyframes scroll-wheel { 0%{opacity:1;transform:translateY(0)} 50%{opacity:0.3;transform:translateY(8px)} 100%{opacity:1;transform:translateY(0)} }

/* ── Chat Mockup ── */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.chat-mockup {
  width: 360px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 20, 40, 0.9), rgba(15, 12, 25, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(233, 30, 99, 0.15);
  backdrop-filter: blur(20px);
  position: relative;
}
[data-theme="light"] .chat-mockup { background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 245, 249, 0.95)); border-color: rgba(233, 30, 99, 0.1); }
.chat-glow { position: absolute; top: -40%; left: -20%; width: 140%; height: 60%; background: radial-gradient(ellipse, rgba(233, 30, 99, 0.2), transparent 60%); pointer-events: none; }

.chat-header { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--card-border); background: rgba(255, 255, 255, 0.02); }
[data-theme="light"] .chat-header { background: rgba(233, 30, 99, 0.02); }
.chat-avatar { position: relative; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #A78BFA, #EC4899); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.chat-avatar-status { position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; border-radius: 50%; background: #4ADE80; border: 2px solid var(--bg-elevated); }
.chat-header-info { flex: 1; }
.chat-name { font-weight: 600; font-size: 1rem; }
.chat-status { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; }
.chat-header-actions { color: var(--text-muted); }

.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; height: 380px; overflow: hidden; }
.chat-date { text-align: center; font-size: 0.7rem; color: var(--text-muted); padding: 4px 0; }
.chat-bubble { max-width: 80%; padding: 12px 16px; border-radius: 18px; font-size: 0.88rem; line-height: 1.5; animation: bubbleIn 0.5s ease-out backwards; }
.chat-bubble.ai { align-self: flex-start; background: rgba(255, 255, 255, 0.06); border-bottom-left-radius: 6px; color: var(--text); }
[data-theme="light"] .chat-bubble.ai { background: rgba(233, 30, 99, 0.06); }
.chat-bubble.user { align-self: flex-end; background: var(--gradient-primary); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 4px 16px rgba(233, 30, 99, 0.3); }
.chat-bubble:nth-child(2) { animation-delay: 0.1s; }
.chat-bubble:nth-child(3) { animation-delay: 0.25s; }
.chat-bubble:nth-child(4) { animation-delay: 0.4s; }
.chat-bubble:nth-child(5) { animation-delay: 0.55s; }
.chat-bubble:nth-child(6) { animation-delay: 0.7s; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

.chat-typing { display: flex; gap: 4px; align-self: flex-start; padding: 12px 16px; background: rgba(255, 255, 255, 0.06); border-radius: 18px; border-bottom-left-radius: 6px; }
[data-theme="light"] .chat-typing { background: rgba(233, 30, 99, 0.06); }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: typing-bounce 1.4s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-6px); opacity: 1; } }

.chat-input-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--card-border); background: rgba(255, 255, 255, 0.02); }
[data-theme="light"] .chat-input-bar { background: rgba(233, 30, 99, 0.02); }
.chat-input-icon { color: var(--text-muted); display: flex; }
.chat-input-field { flex: 1; font-size: 0.85rem; color: var(--text-muted); }
.chat-send-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3); }

/* Floating decorations */
.float-deco { position: absolute; font-size: 1.5rem; animation: float-deco 6s ease-in-out infinite; filter: drop-shadow(0 4px 12px rgba(233, 30, 99, 0.3)); }
.float-heart { top: 5%; right: 8%; animation-delay: 0s; }
.float-star { bottom: 15%; left: 5%; animation-delay: -2s; }
.float-msg { top: 45%; left: -3%; animation-delay: -4s; }
@keyframes float-deco { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(8deg); } }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 36px 28px; border-radius: var(--radius-md);
  background: var(--card-bg); border: 1px solid var(--card-border);
  backdrop-filter: blur(12px); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; inset: 0; background: var(--gradient-soft); opacity: 0; transition: opacity 0.4s ease; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(233, 30, 99, 0.3); box-shadow: var(--shadow-glow); background: var(--card-hover-bg); }
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.icon-pink { background: linear-gradient(135deg, rgba(233, 30, 99, 0.2), rgba(255, 107, 157, 0.1)); color: #FF6B9D; }
.icon-purple { background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(167, 139, 250, 0.1)); color: #C084FC; }
.icon-blue { background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(96, 165, 250, 0.1)); color: #60A5FA; }
.icon-emerald { background: linear-gradient(135deg, rgba(52, 211, 153, 0.2), rgba(16, 185, 129, 0.1)); color: #34D399; }
.icon-amber { background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(249, 115, 22, 0.1)); color: #FBBF24; }
.icon-indigo { background: linear-gradient(135deg, rgba(129, 140, 248, 0.2), rgba(99, 102, 241, 0.1)); color: #818CF8; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.65; }

/* ── Characters ── */
.characters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.char-card {
  padding: 32px 28px; border-radius: var(--radius-md);
  background: var(--card-bg); border: 1px solid var(--card-border);
  backdrop-filter: blur(12px); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.char-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--char-grad); opacity: 0; transition: opacity 0.4s ease; }
.char-card:hover { transform: translateY(-6px); border-color: rgba(233, 30, 99, 0.2); box-shadow: var(--shadow-glow); }
.char-card:hover::after { opacity: 1; }
.char-avatar { width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; background: var(--char-grad); margin-bottom: 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }
.char-body { display: flex; flex-direction: column; gap: 10px; }
.char-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.char-top h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.char-type { font-size: 0.72rem; font-weight: 600; color: var(--accent-3); white-space: nowrap; }
.char-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 0.72rem; font-weight: 500; padding: 4px 12px; border-radius: 100px; background: var(--card-bg); border: 1px solid var(--card-border); color: var(--text-secondary); }
.char-body p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.characters-note { text-align: center; margin-top: 40px; }
.characters-note p { font-size: 0.95rem; color: var(--text-muted); font-style: italic; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pricing-card {
  padding: 36px 24px; border-radius: var(--radius-md);
  background: var(--card-bg); border: 1px solid var(--card-border);
  backdrop-filter: blur(12px); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column; position: relative;
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(233, 30, 99, 0.2); }
.pricing-popular { border-color: rgba(233, 30, 99, 0.4); background: linear-gradient(180deg, rgba(233, 30, 99, 0.08), var(--card-bg)); box-shadow: var(--shadow-glow); }
.pricing-popular::before { content: ''; position: absolute; inset: 0; border-radius: var(--radius-md); padding: 1px; background: var(--gradient-primary); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pricing-best { border-color: rgba(255, 107, 157, 0.3); }
.popular-badge, .best-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 100px; white-space: nowrap;
}
.popular-badge { background: var(--gradient-primary); color: #fff; box-shadow: 0 4px 16px rgba(233, 30, 99, 0.4); }
.best-badge { background: var(--gradient-accent); color: #fff; box-shadow: 0 4px 16px rgba(255, 107, 157, 0.4); }
.pricing-header { margin-bottom: 24px; }
.pricing-header h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 8px; }
.pricing-price { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-display); }
.pricing-price .currency { font-size: 1.1rem; font-weight: 500; color: var(--text-secondary); }
.pricing-price .amount { font-size: 2.4rem; font-weight: 700; }
.pricing-period { font-size: 0.85rem; color: var(--text-muted); }
.pricing-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; flex: 1; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-secondary); }
.pricing-features li .check { width: 18px; height: 18px; border-radius: 50%; background: rgba(74, 222, 128, 0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pricing-features li .check::after { content: ''; width: 8px; height: 5px; border-left: 2px solid #4ADE80; border-bottom: 2px solid #4ADE80; transform: rotate(-45deg) translate(1px, -1px); }
.pricing-features li strong { color: var(--text); font-weight: 700; }

/* ── Download CTA ── */
.download-cta { padding: 80px 0 120px; }
.download-card {
  position: relative; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(156, 39, 176, 0.15));
  border: 1px solid rgba(233, 30, 99, 0.2); padding: 80px 48px; text-align: center; overflow: hidden;
}
.download-glow { position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 120%; height: 100%; background: radial-gradient(ellipse at center, rgba(233, 30, 99, 0.15), transparent 60%); pointer-events: none; }
.download-content { position: relative; z-index: 1; }
.download-title { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; }
.download-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.download-buttons { display: flex; justify-content: center; gap: 16px; margin-bottom: 28px; }
.google-play-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 28px;
  background: #000; border-radius: 12px; color: #fff; transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.google-play-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
.google-play-btn svg { color: #34D399; }
.gp-text { display: flex; flex-direction: column; align-items: flex-start; }
.gp-text small { font-size: 0.65rem; opacity: 0.8; }
.gp-text strong { font-size: 1.2rem; font-weight: 600; }
.download-trust { display: flex; align-items: center; justify-content: center; gap: 8px; }
.trust-stars { display: flex; gap: 2px; color: #FBBF24; }
.download-trust span { font-size: 0.85rem; color: var(--text-secondary); }

/* ── Footer ── */
.footer { border-top: 1px solid var(--card-border); padding-top: 64px; background: var(--bg-elevated); }
.footer-container { display: grid; grid-template-columns: 1.5fr 2fr; gap: 60px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-tagline { font-size: 0.9rem; color: var(--text-secondary); max-width: 280px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--card-bg); border: 1px solid var(--card-border); color: var(--text-secondary); transition: all 0.3s ease; }
.footer-social a:hover { color: var(--accent-3); border-color: var(--accent-1); transform: translateY(-2px); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--text-secondary); padding: 5px 0; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent-3); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-top: 1px solid var(--card-border); max-width: var(--max-width); margin: 0 auto; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); transition-delay: var(--reveal-delay, 0s); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .features-grid, .characters-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--glass-bg); backdrop-filter: blur(20px); padding: 20px; gap: 4px; border-bottom: 1px solid var(--glass-border); }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 14px 20px; font-size: 1rem; }
  .menu-toggle { display: flex; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 40px; }
  .features-grid, .characters-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid { max-width: 400px; margin: 0 auto; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .chat-mockup { width: 320px; }
  .download-card { padding: 48px 24px; }
  .hero-stats { gap: 16px; }
  .float-deco { display: none; }
  .scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { width: 60px; height: 1px; }
  .footer-links { grid-template-columns: 1fr; }
  .chat-mockup { width: 100%; max-width: 320px; }
}

/* ── Legal Pages ── */
.legal-page {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  min-height: 100vh;
}
.legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-header {
  text-align: center;
  margin-bottom: 48px;
}
.legal-header .section-eyebrow {
  margin-bottom: 16px;
}
.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.legal-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(12px);
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text);
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--accent-3);
}
.legal-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-content ul {
  list-style: none;
  margin-bottom: 16px;
}
.legal-content ul li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
}
.legal-content a {
  color: var(--accent-3);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  color: var(--accent-1);
}
.legal-content strong {
  color: var(--text);
  font-weight: 600;
}
.legal-toc {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 40px;
}
.legal-toc h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
}
.legal-toc ol li {
  counter-increment: toc;
  margin-bottom: 8px;
}
.legal-toc ol li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: inline-block;
}
.legal-toc ol li a::before {
  content: counter(toc) '. ';
  color: var(--accent-3);
  font-weight: 600;
}
.legal-toc ol li a:hover {
  color: var(--accent-3);
}
.legal-contact {
  margin-top: 40px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--gradient-soft);
  border: 1px solid var(--card-border);
  text-align: center;
}
.legal-contact h3 {
  color: var(--text);
  margin-top: 0;
}
.legal-contact p {
  margin-bottom: 8px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 12px 28px;
  border-radius: 100px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.legal-back:hover {
  color: var(--accent-3);
  border-color: var(--accent-1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .legal-content { padding: 32px 24px; }
  .legal-content h2 { font-size: 1.2rem; }
  .legal-content p, .legal-content ul li { font-size: 0.88rem; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
