/* ==========================================================================
   Chat Story Maker - Modern Landing Website Stylesheet
   Vibrant Gradient & Modern Typography Edition
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Brand Gradient Tokens */
  --primary: #00A884;
  --primary-hover: #008f6f;
  --primary-dark: #047857;
  --primary-light: #25D366;
  --primary-subtle: #ECFDF5;
  --primary-border: #A7F3D0;
  
  /* Gradient Accents */
  --grad-primary: linear-gradient(135deg, #00A884 0%, #059669 50%, #047857 100%);
  --grad-text: linear-gradient(135deg, #00A884 0%, #06B6D4 50%, #6366F1 100%);
  --grad-hero-text: linear-gradient(135deg, #00C896 0%, #00A884 40%, #0284C7 80%, #6366F1 100%);
  --grad-glow: linear-gradient(135deg, rgba(0, 168, 132, 0.4) 0%, rgba(6, 182, 212, 0.3) 50%, rgba(99, 102, 241, 0.3) 100%);
  
  /* Feature Gradients */
  --grad-emerald: linear-gradient(135deg, #00A884 0%, #10B981 100%);
  --grad-blue: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --grad-purple: linear-gradient(135deg, #7C3AED 0%, #C026D3 100%);
  --grad-amber: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  --grad-sunset: linear-gradient(135deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
  --grad-telegram: linear-gradient(135deg, #229ED9 0%, #0088CC 100%);
  --grad-snap: linear-gradient(135deg, #FFFC00 0%, #FFB800 100%);
  --grad-tiktok: linear-gradient(135deg, #00F2FE 0%, #4FACFE 50%, #FE2C55 100%);

  /* Surface & Background */
  --bg-main: #FAFCFE;
  --card-bg: #FFFFFF;
  --card-bg-alt: #F8FAFC;
  --card-border: #E2E8F0;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 12px 32px -4px rgba(0, 168, 132, 0.35);

  /* Typography */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --container-max: 1220px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 10% 10%, rgba(0, 168, 132, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 20%, rgba(99, 102, 241, 0.07) 0px, transparent 50%),
    radial-gradient(at 50% 60%, rgba(6, 182, 212, 0.06) 0px, transparent 50%),
    radial-gradient(at 80% 90%, rgba(16, 185, 129, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Typography & Gradient Text
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-gradient-text {
  background: var(--grad-hero-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Ambient Backdrop Glow Effect */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.glow-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 168, 132, 0.3) 0%, rgba(6, 182, 212, 0) 70%);
  top: -100px;
  left: -100px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(168, 85, 247, 0) 70%);
  top: 100px;
  right: -120px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
}

.logo-img {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 16px rgba(0, 168, 132, 0.25);
  object-fit: cover;
  border: 2px solid #FFFFFF;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.brand-name span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu-btn {
  display: none;
  background: var(--card-bg-alt);
  border: 1px solid var(--card-border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -4px rgba(0, 168, 132, 0.45);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1.5px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--card-bg-alt);
  border-color: var(--primary-border);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-coming-soon {
  background: #F1F5F9;
  color: #64748B;
  cursor: default;
  border: 1.5px solid #E2E8F0;
  font-weight: 600;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.9) 0%, rgba(240, 253, 250, 0.9) 100%);
  color: var(--primary-dark);
  border: 1.5px solid var(--primary-border);
  box-shadow: 0 2px 10px rgba(0, 168, 132, 0.1);
  margin-bottom: 20px;
}

.pill-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(0, 168, 132, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 168, 132, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 168, 132, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 168, 132, 0); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.6rem;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  line-height: 1.15;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 28px;
  border-top: 1.5px solid rgba(226, 232, 240, 0.8);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--primary);
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 168, 132, 0.3));
}

/* Phone Mockup Showcase in Hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-ambient-backdrop {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 168, 132, 0.25) 0%, rgba(99, 102, 241, 0.15) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
}

.phone-mockup-wrap {
  width: 100%;
  max-width: 350px;
  background: #FFFFFF;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 
    0 24px 60px -12px rgba(15, 23, 42, 0.2),
    0 12px 28px -6px rgba(0, 168, 132, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  border: 6px solid #0F172A;
  position: relative;
  z-index: 2;
  transform: rotate(-1deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-mockup-wrap:hover {
  transform: rotate(0deg) translateY(-6px);
}

.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Floating interactive pills */
.floating-card-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  z-index: 10;
  animation: floatUpDown 4.5s ease-in-out infinite;
}

.floating-pill-left {
  top: 14%;
  left: -28px;
  border-left: 4px solid var(--primary);
}

.floating-pill-right {
  bottom: 18%;
  right: -28px;
  border-left: 4px solid #6366F1;
  animation-delay: 2.2s;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   Creator Metrics & Stats Bar
   ========================================================================== */
.stats-banner {
  padding: 24px 0 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--card-border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: 2.6rem;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.section-head p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Features Section (Gradient Card Grid)
   ========================================================================== */
.features-section {
  padding: 90px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.feature-card {
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-emerald);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:nth-child(2)::before { background: var(--grad-blue); }
.feature-card:nth-child(3)::before { background: var(--grad-purple); }
.feature-card:nth-child(4)::before { background: var(--grad-amber); }
.feature-card:nth-child(5)::before { background: var(--grad-sunset); }
.feature-card:nth-child(6)::before { background: var(--grad-emerald); }

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 168, 132, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.6rem;
  color: #FFFFFF;
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.15);
}

.icon-emerald { background: var(--grad-emerald); box-shadow: 0 8px 20px -4px rgba(0, 168, 132, 0.35); }
.icon-blue { background: var(--grad-blue); box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.35); }
.icon-purple { background: var(--grad-purple); box-shadow: 0 8px 20px -4px rgba(124, 58, 237, 0.35); }
.icon-amber { background: var(--grad-amber); box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.35); }
.icon-sunset { background: var(--grad-sunset); box-shadow: 0 8px 20px -4px rgba(220, 39, 67, 0.35); }

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ==========================================================================
   How It Works (Visual Step Showcase)
   ========================================================================== */
.how-it-works-section {
  padding: 90px 0;
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
}

.step-card {
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

.step-img-box {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 400px;
  background: #F1F5F9;
  overflow: hidden;
  position: relative;
}

.step-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover .step-img-box img {
  transform: scale(1.04);
}

.step-content {
  padding: 28px;
}

.step-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
  background: var(--primary-subtle);
  border: 1px solid var(--primary-border);
  padding: 5px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Supported Platforms Grid (Gradient Badges)
   ========================================================================== */
.platforms-section {
  padding: 90px 0;
  position: relative;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}

.platform-pill-card {
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.platform-pill-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.platform-pill-card.wa:hover { border-color: #25D366; }
.platform-pill-card.ig:hover { border-color: #E1306C; }
.platform-pill-card.tg:hover { border-color: #229ED9; }
.platform-pill-card.tt:hover { border-color: #00F2FE; }
.platform-pill-card.sc:hover { border-color: #FFB800; }

.platform-thumb {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  margin: 0 auto 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  border: 2px solid #FFFFFF;
  transition: transform 0.3s ease;
}

.platform-pill-card:hover .platform-thumb {
  transform: scale(1.08);
}

.platform-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platform-pill-card h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.platform-pill-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Play Store Compliance & Zero Rejection Guarantee
   ========================================================================== */
.compliance-section {
  padding: 70px 0;
}

.compliance-box {
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 50%, #EFF6FF 100%);
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-xl);
  padding: 52px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.compliance-box h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: var(--primary-dark);
}

.compliance-box p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.compliance-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.safety-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.safety-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.7);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(167, 243, 208, 0.6);
}

.safety-check-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 90px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 28px 24px;
  font-size: 1rem;
  color: var(--text-muted);
  display: none;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   CTA Download Banner (Deep Gradient Mesh)
   ========================================================================== */
.cta-section {
  padding: 90px 0;
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, #0F172A 0%, #064E3B 50%, #022C22 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 68px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px -12px rgba(6, 78, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 168, 132, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-box h2 {
  color: #FFFFFF;
  font-size: 2.8rem;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta-box p {
  color: #A7F3D0;
  font-size: 1.2rem;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-box .hero-buttons {
  justify-content: center;
  margin-bottom: 0;
}

/* ==========================================================================
   Legal Pages Styling (Privacy, Terms, Data Safety, Child Safety)
   ========================================================================== */
.legal-page-wrap {
  padding: 70px 0 120px;
}

.legal-card {
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 56px;
  box-shadow: var(--shadow-md);
  max-width: 920px;
  margin: 0 auto;
}

.legal-card h1 {
  font-size: 2.8rem;
  margin-bottom: 8px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-card .updated-date {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--card-border);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 14px;
  color: var(--text-main);
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

.legal-content p, .legal-content li {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content .highlight-box {
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
  border: 1.5px solid var(--primary-border);
  border-left: 5px solid var(--primary);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin: 28px 0;
  font-size: 1.02rem;
  color: var(--primary-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #FFFFFF;
  border-top: 1.5px solid var(--card-border);
  padding: 70px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 16px 0 24px;
  max-width: 340px;
  line-height: 1.65;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--card-bg-alt);
  border: 1.5px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-btn:hover {
  background: var(--grad-primary);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 168, 132, 0.35);
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1.5px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons, .hero-trust-row {
    justify-content: center;
  }
  .compliance-grid {
    grid-template-columns: 1fr;
  }
  .floating-pill-left {
    left: -10px;
  }
  .floating-pill-right {
    right: -10px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 28px 24px;
    border-bottom: 1.5px solid var(--card-border);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    gap: 20px;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 24px;
  }
  .cta-box {
    padding: 48px 24px;
  }
  .cta-box h2 {
    font-size: 2.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .legal-card {
    padding: 28px;
  }
}
