/* Drama Chat — Design System */
/* Fredoka + Nunito — Playful Creative */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --color-primary:       #FF1493;  /* Deep Pink */
  --color-primary-hover: #E0127E;
  --color-secondary:     #FF69B4;  /* Hot Pink */
  --color-accent:        #FF006E;  /* Magenta Pop */
  --color-accent2:       #C026D3;  /* Purple drama */
  --color-glow:          #FF69B4;

  /* Surfaces — dark base for drama */
  --color-surface:       #0D0014;  /* Almost black purple */
  --color-surface-2:     #1A002B;
  --color-surface-3:     #24003D;
  --color-card:          #1F0035;
  --color-card-hover:    #2A0048;
  --color-border:        rgba(255, 20, 147, 0.25);
  --color-border-bright: rgba(255, 20, 147, 0.6);

  /* Text */
  --color-text:          #FFE8F5;
  --color-text-secondary:#C084A8;
  --color-text-muted:    #8A5A75;

  /* Typography */
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body:    'Nunito', system-ui, sans-serif;

  /* Type Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.5rem;
  --text-5xl:  3.5rem;
  --text-6xl:  4.5rem;
  --text-hero: clamp(3rem, 8vw, 5.5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-pink: 0 0 30px rgba(255, 20, 147, 0.35);
  --shadow-glow: 0 0 60px rgba(255, 20, 147, 0.25), 0 0 120px rgba(192, 38, 211, 0.15);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.5);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--color-surface);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-surface-2); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 3px; }

/* ===== LAYOUT ===== */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow { max-width: 720px;  margin: 0 auto; padding: 0 var(--space-6); }
.container-wide   { max-width: 1400px; margin: 0 auto; padding: 0 var(--space-6); }

.section    { padding: var(--space-24) 0; }
.section-sm { padding: var(--space-16) 0; }

@media (max-width: 768px) {
  .section    { padding: var(--space-12) 0; }
  .section-sm { padding: var(--space-8) 0; }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { max-width: 68ch; line-height: 1.75; }

a { color: var(--color-secondary); text-decoration: none; }
a:hover { color: var(--color-primary); }

img { max-width: 100%; height: auto; display: block; opacity: 0; transition: opacity 0.4s ease; }
img.loaded { opacity: 1; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-8);
  background: rgba(13, 0, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: border-color 0.3s;
}
.nav.scrolled { border-color: var(--color-border-bright); }
.nav-logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(255,20,147,0.6);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--color-text); }
.nav-links {
  display: flex; align-items: center; gap: var(--space-6);
  list-style: none;
}
.nav-links a {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-primary); }
.nav-cta { margin-left: var(--space-4); }

/* Mobile Nav */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-mobile {
  display: none;
  position: fixed; inset: 0; top: 64px;
  background: rgba(13,0,20,0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-8);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-text);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--color-primary); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta.desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700; font-size: var(--text-base);
  text-decoration: none; cursor: pointer;
  border: none;
  min-height: 48px; min-width: 160px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  position: relative; overflow: hidden;
  letter-spacing: 0.02em;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0; transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent2) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(255,20,147,0.4);
}
.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(255,20,147,0.6);
}
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover {
  background: rgba(255,20,147,0.1);
  box-shadow: var(--shadow-pink);
}
.btn-lg {
  padding: 1.1rem 2.75rem;
  font-size: var(--text-lg);
}
.btn-xl {
  padding: 1.25rem 3.5rem;
  font-size: var(--text-xl);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: var(--space-32) 0 var(--space-16);
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(192,38,211,0.2) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(255,20,147,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(255,0,110,0.1) 0%, transparent 50%);
  animation: bgPulse 8s ease-in-out infinite alternate;
}
@keyframes bgPulse {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

/* Floating orbs */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; background: rgba(255,20,147,0.12); top: -100px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 300px; height: 300px; background: rgba(192,38,211,0.1); bottom: 50px; left: -50px; animation-delay: 2s; }
.orb-3 { width: 200px; height: 200px; background: rgba(255,0,110,0.08); top: 50%; right: 20%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 6px 16px;
  background: rgba(255,20,147,0.15);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: var(--space-6);
  letter-spacing: 0.05em;
}
.hero h1 {
  font-size: var(--text-hero);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}
.hero h1 .pink { color: var(--color-primary); text-shadow: 0 0 30px rgba(255,20,147,0.5); }
.hero p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* Hero phone mockups */
.hero-visual {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-4);
}

/* ===== PHONE MOCKUP ===== */
.phone {
  width: 200px;
  background: var(--color-card);
  border-radius: 28px;
  border: 2px solid var(--color-border-bright);
  box-shadow: var(--shadow-pink), var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.phone:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 40px rgba(255,20,147,0.5), var(--shadow-card);
}
.phone-notch {
  height: 18px;
  background: var(--color-surface);
  display: flex; align-items: center; justify-content: center;
}
.phone-notch::after {
  content: '';
  width: 60px; height: 6px;
  background: var(--color-surface-3);
  border-radius: 3px;
}
.phone-screen {
  padding: var(--space-3);
  min-height: 340px;
  background: var(--color-surface-2);
}
.phone-profile {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  margin: 0 calc(-1 * var(--space-3)) var(--space-3);
  background: var(--color-card);
}
.phone-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent2));
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
}
.phone-name { font-size: var(--text-xs); font-weight: 700; color: var(--color-text); }
.phone-status { font-size: 9px; color: var(--color-secondary); }

/* Chat bubbles */
.chat-msg {
  margin-bottom: var(--space-2);
  display: flex;
  flex-direction: column;
}
.chat-msg.them { align-items: flex-start; }
.chat-msg.me { align-items: flex-end; }
.chat-bubble {
  max-width: 85%;
  padding: 6px 10px;
  border-radius: 14px;
  font-size: 10px;
  line-height: 1.4;
  font-family: var(--font-body);
}
.chat-msg.them .chat-bubble {
  background: var(--color-surface-3);
  color: var(--color-text);
  border-bottom-left-radius: 4px;
}
.chat-msg.me .chat-bubble {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent2));
  color: white;
  border-bottom-right-radius: 4px;
}
.typing-indicator {
  display: flex; gap: 3px; align-items: center;
  padding: 8px 12px;
  background: var(--color-surface-3);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  width: fit-content;
  margin-top: var(--space-2);
}
.typing-dot {
  width: 5px; height: 5px;
  background: var(--color-secondary);
  border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* Phone cascade layout */
.phone-stage {
  display: flex; align-items: flex-end; gap: var(--space-4);
  justify-content: center;
}
.phone-stage .phone:nth-child(1) { transform: rotate(-5deg) translateY(20px); }
.phone-stage .phone:nth-child(2) { transform: rotate(0deg); z-index: 2; }
.phone-stage .phone:nth-child(3) { transform: rotate(5deg) translateY(15px); }
.phone-stage .phone:nth-child(1):hover { transform: rotate(-2deg) translateY(10px) scale(1.03); }
.phone-stage .phone:nth-child(2):hover { transform: translateY(-8px) scale(1.05); }
.phone-stage .phone:nth-child(3):hover { transform: rotate(2deg) translateY(5px) scale(1.03); }

/* ===== SECTION HEADINGS ===== */
.section-label {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  display: block;
}
.section-heading {
  font-size: var(--text-4xl);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.section-subhead {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 55ch;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center p, .text-center .section-subhead { margin: 0 auto; }

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent2));
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-bright);
  box-shadow: var(--shadow-pink);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(255,20,147,0.12);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--space-4);
  transition: background 0.3s;
}
.feature-card:hover .feature-icon {
  background: rgba(255,20,147,0.2);
}
.feature-card h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.feature-card p { font-size: var(--text-sm); color: var(--color-text-secondary); max-width: none; }

/* Span 2 card */
.feature-card.span-2 { grid-column: span 2; }

@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.span-2 { grid-column: span 1; }
}

/* ===== LIVE DEMO / CHAT SECTION ===== */
.demo-section {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.demo-phones {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  align-items: flex-end;
}
.demo-phone {
  width: 180px;
  background: var(--color-card);
  border-radius: 24px;
  border: 1px solid var(--color-border-bright);
  box-shadow: var(--shadow-pink);
  overflow: hidden;
}
.demo-phone .phone-screen { min-height: 280px; }

@media (max-width: 768px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-phones { flex-direction: column; align-items: center; }
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  max-width: 820px;
  margin: var(--space-12) auto 0;
}
.pricing-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10, 2.5rem);
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.pricing-card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-pink), var(--shadow-card);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent2));
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 20px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-tier {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.pricing-price {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.pricing-price span { font-size: var(--text-xl); color: var(--color-text-secondary); font-weight: 400; }
.pricing-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}
.pricing-features {
  list-style: none;
  margin-bottom: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.pricing-features li {
  font-size: var(--text-sm);
  display: flex; align-items: flex-start; gap: var(--space-2);
  color: var(--color-text);
}
.pricing-features li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-features li.locked { color: var(--color-text-muted); }
.pricing-features li.locked::before { content: '✕'; color: var(--color-text-muted); }

@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ===== HOW IT WORKS ===== */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 36px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent2));
  opacity: 0.4;
}
.step-card { text-align: center; position: relative; }
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 2px solid var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 auto var(--space-4);
  box-shadow: var(--shadow-pink);
  position: relative; z-index: 1;
}
.step-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.step-card p { font-size: var(--text-sm); color: var(--color-text-secondary); max-width: none; }

@media (max-width: 768px) {
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row::before { display: none; }
}
@media (max-width: 480px) { .steps-row { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-list { margin-top: var(--space-8); max-width: 720px; margin-left: auto; margin-right: auto; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-6) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  gap: var(--space-4);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--color-primary); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,20,147,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(255,20,147,0.25); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: var(--space-6); }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, rgba(255,20,147,0.15) 0%, rgba(192,38,211,0.1) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.cta-band h2 { margin-bottom: var(--space-4); font-size: var(--text-4xl); }
.cta-band p { margin: 0 auto var(--space-8); color: var(--color-text-secondary); }

/* ===== FOOTER ===== */
.footer {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-brand .nav-logo { margin-bottom: var(--space-4); display: block; }
.footer-brand p { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.7; }
.footer-col h4 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col ul li a { font-size: var(--text-sm); color: var(--color-text-secondary); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--color-primary); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
  display: flex; align-items: center; justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
}

/* ===== CHARACTER CREATION PAGE ===== */
.create-section {
  padding: var(--space-24) 0;
  min-height: 100vh;
  display: flex; align-items: center;
}
.creator-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-card);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-pink);
}
.creator-card h1 { font-size: var(--text-4xl); text-align: center; margin-bottom: var(--space-4); }
.creator-card .subtitle { text-align: center; color: var(--color-text-secondary); margin: 0 auto var(--space-8); }

/* Avatar picker */
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.avatar-option {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: var(--color-surface-3);
  transition: border-color 0.2s, transform 0.2s;
}
.avatar-option:hover, .avatar-option.selected {
  border-color: var(--color-primary);
  transform: scale(1.1);
}
.avatar-option.selected { box-shadow: var(--shadow-pink); }

/* Form fields */
.form-group { margin-bottom: var(--space-6); }
.form-label { display: block; font-size: var(--text-sm); font-weight: 700; margin-bottom: var(--space-2); color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.08em; }
.form-input {
  width: 100%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255,20,147,0.15);
}
.form-input::placeholder { color: var(--color-text-muted); }

/* Color picker */
.color-picker {
  display: flex; gap: var(--space-3); flex-wrap: wrap;
}
.color-swatch {
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
}
.color-swatch:hover, .color-swatch.selected {
  transform: scale(1.2);
  border-color: white;
}

/* ===== PLAY PAGE ===== */
.play-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 64px);
  overflow: hidden;
}
.sidebar {
  background: var(--color-surface-2);
  border-right: 1px solid var(--color-border);
  overflow-y: auto;
  padding: var(--space-4) 0;
}
.sidebar-header {
  padding: var(--space-4) var(--space-4) var(--space-3);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  font-weight: 700;
}
.char-row {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  transition: background 0.2s;
  border-left: 3px solid transparent;
}
.char-row:hover { background: rgba(255,20,147,0.08); }
.char-row.active {
  background: rgba(255,20,147,0.12);
  border-left-color: var(--color-primary);
}
.char-avatar-sm {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}
.char-info { flex: 1; min-width: 0; }
.char-name { font-size: var(--text-sm); font-weight: 700; color: var(--color-text); }
.char-preview { font-size: var(--text-xs); color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.char-unread {
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  flex-shrink: 0;
}

/* Chat window */
.chat-window {
  display: flex; flex-direction: column;
  background: var(--color-surface);
}
.chat-header {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}
.chat-header-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-header-name { font-weight: 700; font-size: var(--text-base); }
.chat-header-status { font-size: var(--text-xs); color: var(--color-secondary); }

.chat-messages {
  flex: 1; overflow-y: auto;
  padding: var(--space-6);
  display: flex; flex-direction: column;
  gap: var(--space-4);
}
.msg-row {
  display: flex;
  gap: var(--space-3);
  align-items: flex-end;
}
.msg-row.user { flex-direction: row-reverse; }
.msg-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}
.msg-bubble {
  max-width: 70%;
  padding: var(--space-3) var(--space-4);
  border-radius: 18px;
  font-size: var(--text-sm);
  line-height: 1.5;
  position: relative;
}
.msg-row.ai .msg-bubble {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
  color: var(--color-text);
}
.msg-row.user .msg-bubble {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent2));
  color: white;
  border-bottom-right-radius: 4px;
}
.msg-meta { font-size: 10px; color: var(--color-text-muted); margin-top: 4px; }
.msg-row.user .msg-meta { text-align: right; }

.chat-input-bar {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
}
.chat-input {
  flex: 1;
  background: var(--color-surface-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--color-primary); }
.chat-input::placeholder { color: var(--color-text-muted); }
.send-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent2));
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.send-btn:hover { transform: scale(1.1); box-shadow: var(--shadow-pink); }

@media (max-width: 768px) {
  .play-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .sidebar.mobile-open { display: block; position: fixed; inset: 64px 0 0 0; z-index: 90; overflow-y: auto; }
}

/* ===== HERO TWO-COL ===== */
.hero-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  min-height: 90vh;
  padding: var(--space-16) 0;
}
@media (max-width: 1024px) {
  .hero-split-layout { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { margin-top: var(--space-8); }
}
@media (max-width: 640px) {
  .phone { width: 160px; }
  .phone-stage .phone:nth-child(3) { display: none; }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== DRAMA TICKER ===== */
.drama-ticker {
  background: var(--color-primary);
  padding: var(--space-2) 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.drama-ticker-inner {
  display: flex; gap: var(--space-8);
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}
.drama-ticker-item {
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
  opacity: 0.9;
  display: flex; align-items: center; gap: var(--space-2);
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== PULSE GLOW ===== */
.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,20,147,0.3); }
  50% { box-shadow: 0 0 40px rgba(255,20,147,0.6), 0 0 60px rgba(192,38,211,0.3); }
}

/* ===== GROUP CHAT SECTION ===== */
.group-chat-demo {
  background: var(--color-card);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-pink);
  max-width: 600px;
  margin: 0 auto;
}
.group-chat-header {
  background: var(--color-surface-2);
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; gap: var(--space-3);
}
.group-avatars { display: flex; }
.group-avatars .ga {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-card);
  margin-left: -8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.group-avatars .ga:first-child { margin-left: 0; }
.group-chat-name { font-weight: 700; font-size: var(--text-sm); }
.group-chat-count { font-size: var(--text-xs); color: var(--color-secondary); }

.group-messages {
  padding: var(--space-4);
  min-height: 300px;
  display: flex; flex-direction: column; gap: var(--space-3);
}
.group-msg {
  display: flex; gap: var(--space-2); align-items: flex-start;
}
.group-msg.user { flex-direction: row-reverse; }
.gm-av {
  width: 28px; height: 28px; border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.gm-content {}
.gm-name { font-size: 10px; color: var(--color-text-muted); margin-bottom: 2px; }
.gm-bubble {
  padding: var(--space-2) var(--space-3);
  border-radius: 14px;
  font-size: var(--text-sm);
  max-width: 280px;
}
.group-msg:not(.user) .gm-bubble {
  background: var(--color-surface-3);
  border-radius: 14px;
  border-top-left-radius: 4px;
}
.group-msg.user .gm-bubble {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent2));
  color: white;
  border-top-right-radius: 4px;
  border-radius: 14px;
}

/* ===== PERSONALITY CARDS ===== */
.personality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-12);
}
.personality-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}
.personality-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-bright);
  box-shadow: var(--shadow-pink);
}
.personality-emoji { font-size: 3rem; margin-bottom: var(--space-3); display: block; }
.personality-name { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); }
.personality-desc { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.5; max-width: none; }
.personality-tag {
  display: inline-block;
  margin-top: var(--space-3);
  padding: 2px 12px;
  background: rgba(255,20,147,0.12);
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 1024px) { .personality-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .personality-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== STATS BAND ===== */
.stats-band {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-12) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
  text-shadow: 0 0 20px rgba(255,20,147,0.4);
}
.stat-label { font-size: var(--text-sm); color: var(--color-text-secondary); font-weight: 600; }

@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== CONTACT SECTION ===== */
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-card);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-pink);
}
.contact-email {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
  margin: var(--space-4) 0 var(--space-6);
}

/* ===== UTILITY ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
