/* ==========================================================================
   ThéoScript - Web Promotionnel Design System (Clair et Or)
   ========================================================================== */



/* Offset de défilement pour les ancres de la navbar fixe */
section[id], .feature-section[id] { scroll-margin-top: 80px; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Nuances de Brand en Gris Ardoise (Cool Slate) */
  --brand-50: #F8FAFC;
  --brand-100: #F1F5F9;
  --brand-200: #E2E8F0;
  --brand-300: #CBD5E1;
  --brand-400: #94A3B8;
  --brand-500: #64748B;
  --brand-600: #475569;
  --brand-700: #334155;
  --brand-800: #1E293B;
  --brand-900: #0F172A;

  /* Accentuation Indigo / Cobalt Tech */
  --gold-300: #60A5FA;
  --gold-400: #2563EB;
  --gold-500: #1D4ED8;
  --accent-rgb: 37, 99, 235; /* RGB of #2563EB */
  
  /* Arrière-plans & Textes */
  --bg-dark: #0B0F19; /* Deep Dark Slate-Navy (très moderne/tech) */
  --bg-hero: radial-gradient(circle at top, #FFFFFF 0%, #F5F7FA 60%, #E9EDF5 100%);
  --bg-light: #FFFFFF; /* Blanc pur */
  --bg-alt: #F3F4F6; /* Slate-100 */
  --text-dark: #0F172A; /* Slate-900 */
  --text-muted: #4B5563; /* Slate-600 */
  
  --radius: 10px;      /* Coins légèrement plus précis/carrés pour style IT */
  --radius-sm: 6px;
  --radius-xl: 16px;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.10);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.18);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typographie Prestigieuse */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', Georgia, serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

p {
  color: var(--text-muted);
}

a {
  color: var(--gold-500);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--gold-400);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 14px 0;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.12);
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.nav-logo span {
  font-family: 'Plus Jakarta Sans', serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold-500);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-400);
  transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Boutons de téléchargement généraux */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-download.primary {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: white;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.2);
}
.btn-download.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
}
.btn-download.secondary {
  background: rgba(var(--accent-rgb), 0.05);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  color: var(--brand-700);
}
.btn-download.secondary:hover {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: var(--gold-400);
  color: var(--brand-800);
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 120px 24px 80px;
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}
.hero-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.hero h1 .gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500), var(--gold-300));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 36px;
  font-weight: 350;
  line-height: 1.8;
}
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: 50px;
  padding: 6px 14px;
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 500;
}
.badge .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.hero-scroll-link {
  display: inline-block;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.7;
}
.hero-scroll-link:hover {
  color: var(--gold-500);
  opacity: 1;
}
.hero-scroll-link .arrow-down {
  display: inline-block;
  animation: bounceDown 1.5s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* SECTIONS COMMUNE */
section {
  padding: 100px 0;
  background: var(--bg-light);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
}

/* BIBLE QUOTE */
.bible-quote {
  background: var(--bg-alt);
  padding: 60px 0;
  text-align: center;
}
.bible-quote blockquote {
  font-family: 'Plus Jakarta Sans', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--brand-700);
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.5;
}
.bible-quote cite {
  font-style: normal;
  color: var(--gold-500);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* SOCIAL PROOF / COMPTEURS */
.social-proof {
  background: var(--bg-light);
  padding: 60px 24px;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.proof-item {
  text-align: center;
}
.proof-number {
  font-family: 'Inter', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.proof-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ABOUT / PILLARS */
#about {
  background: var(--bg-light);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pillar {
  background: white;
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.pillar .pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
  border: 1px solid rgba(var(--accent-rgb), 0.15);
}
.pillar h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.pillar p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* HOW IT WORKS */
#how-it-works {
  background: var(--bg-alt);
}
.how-it-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.step-card {
  background: white;
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.25);
  box-shadow: var(--shadow-md);
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(var(--accent-rgb), 0.2);
}
.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.step-arrow {
  position: absolute;
  top: 60px;
  font-size: 1.5rem;
  color: var(--gold-400);
  opacity: 0.5;
  pointer-events: none;
}
.step-arrow.arrow-1 { left: 31%; }
.step-arrow.arrow-2 { left: 64%; }

/* HIGHLIGHTS / LES FORCES */
#highlights {
  background: var(--bg-light);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.highlight-card {
  background: white;
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.highlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.highlight-card.full-width {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border-color: rgba(var(--accent-rgb), 0.25);
}
.highlight-card .card-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  width: 50px;
  height: 50px;
  background: rgba(var(--accent-rgb), 0.05);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.highlight-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.highlight-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.highlight-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.highlight-card .tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  color: var(--brand-700);
}

/* FEATURE SECTIONS & CAROUSELS */
.feature-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.feature-section:nth-child(odd) {
  background: var(--bg-alt);
}
.feature-section:nth-child(even) {
  background: var(--bg-light);
}
.feature-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.feature-header .feat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), 0.08) !important;
  border: 1px solid rgba(var(--accent-rgb), 0.25) !important;
  color: var(--gold-500) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.feature-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
}
.feature-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* Carousel layout */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.carousel-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: white;
  padding: 40px;
  gap: 40px;
  align-items: center;
}

/* Beautiful custom CSS mockups instead of plain emoji visuals */
.carousel-slide .slide-visual {
  background: #FFFFFF;
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide .slide-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    /* Simulated sidebar (25% width) */
    linear-gradient(90deg, #F1F5F9 25%, transparent 25%),
    /* Mock top bar (24px height) */
    linear-gradient(180deg, #E2E8F0 24px, transparent 24px);
  z-index: 1;
  opacity: 0.65;
}
.carousel-slide .slide-visual::after {
  content: '● ● ●';
  position: absolute;
  top: 8px;
  left: 12px;
  color: rgba(var(--accent-rgb), 0.5);
  font-size: 6px;
  letter-spacing: 2px;
  z-index: 2;
}
.carousel-slide .slide-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}
.carousel-slide .slide-visual .placeholder {
  font-size: 2.2rem;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.carousel-slide:hover .slide-visual .placeholder {
  transform: scale(1.08);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-glow);
}

.slide-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 600;
}
.slide-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.slide-content .slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.slide-content .slide-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(var(--accent-rgb), 0.05);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  color: var(--brand-700);
}

/* Navigation de carrousel */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: white;
  border-top: 1px solid rgba(var(--accent-rgb), 0.1);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-200);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dot.active {
  background: var(--gold-500);
  width: 24px;
  border-radius: 5px;
}
.carousel-controls {
  display: flex;
  gap: 8px;
}
.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  background: white;
  color: var(--brand-700);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.carousel-btn:hover {
  background: rgba(var(--accent-rgb), 0.05);
  border-color: var(--gold-400);
  transform: scale(1.05);
}
.slide-counter {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* SPECIFIC ID OVERRIDES FOR LIGHT THEME */
#feat-brain {
  background: var(--bg-alt) !important;
}

/* PRIVACY SECTION (HIGH CONTRAST DARK GOLD) */
.privacy-section {
  background: var(--bg-dark);
  padding: 100px 0;
}
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.privacy-text span.overline {
  color: var(--gold-300) !important;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 12px;
}
.privacy-text h2 {
  color: white;
  margin-bottom: 20px;
}
.privacy-text p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}
.privacy-text p.privacy-metaphor {
  color: var(--brand-100);
  font-style: italic;
  font-family: 'Plus Jakarta Sans', serif;
  font-size: 1.25rem;
  line-height: 1.6;
}
.privacy-text p.privacy-note-ai {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  font-style: italic;
}
.privacy-note {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 50px;
}

/* RAG flow list */
.rag-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rag-step {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  transition: var(--transition);
}
.rag-step:hover {
  background: rgba(var(--accent-rgb), 0.05);
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateX(4px);
}
.rag-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-rgb), 0.1) !important;
  border: 1px solid rgba(var(--accent-rgb), 0.3) !important;
  color: var(--gold-300) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.rag-step h4 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}
.rag-step p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  margin-top: 2px;
}

/* Comparison Table inside Privacy */
.comparison {
  max-width: 800px;
  margin: 48px auto 0;
}
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.comparison-col {
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
}
.comparison-col.generic {
  border-color: rgba(239, 68, 68, 0.1);
}
.comparison-col.theoscript {
  border-color: rgba(var(--accent-rgb), 0.25);
  background: rgba(var(--accent-rgb), 0.03);
}
.comparison-col h4 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 600;
}
.comparison-col.theoscript h4 {
  color: var(--gold-300);
}
.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}
.comparison-col.theoscript .comp-item {
  color: var(--gold-300);
}

/* SEPARATION WAVE */
.wave-separator {
  position: relative;
  line-height: 0;
  background: transparent;
}
.wave-separator svg {
  width: 100%;
  height: 60px;
}
.wave-separator.flip {
  transform: scaleY(-1);
}

/* DOWNLOAD SECTION */
.download-section {
  background: var(--bg-alt);
  padding: 100px 0;
  text-align: center;
}
.download-section h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.download-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 48px;
}
.download-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 60px;
}
.dl-card {
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  text-align: center;
  background: white;
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}
.dl-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.dl-card .dl-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.dl-card h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 600;
}
.dl-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.dl-card .coming-soon {
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  color: var(--brand-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* TRUST BANNER */
.trust-banner {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
  opacity: 0.75;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-item .icon {
  font-size: 1.1rem;
  color: var(--gold-500);
}

/* FAQ SECTION */
#faq {
  background: var(--bg-light);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  background: white;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.faq-item:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
  box-shadow: var(--shadow-md);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  outline: none;
  font-family: inherit;
}
.faq-question:hover {
  background: rgba(var(--accent-rgb), 0.03);
}
.faq-question .arrow {
  transition: transform 0.3s;
  font-size: 0.8rem;
  color: var(--gold-400);
}
.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* EMOTIONAL CTA / BREATHE */
.emotional-cta {
  background: var(--bg-alt);
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid rgba(var(--accent-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
}
.emotional-cta h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 500;
  margin-bottom: 16px;
}
.emotional-cta p {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}
.breathe {
  margin: 40px auto 0;
  max-width: 600px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: white;
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  box-shadow: var(--shadow-sm);
}
.breathe .breathe-text {
  font-family: 'Plus Jakarta Sans', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--brand-700);
}

/* SITE FOOTER */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 40px;
  font-size: 0.9rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand {
  max-width: 320px;
}
.footer-brand .nav-logo span {
  color: white;
}
.footer-brand p {
  margin-top: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  gap: 60px;
}
.footer-links h4 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  padding: 6px 0;
  transition: var(--transition);
  font-size: 0.85rem;
}
.footer-links a:hover {
  color: var(--gold-300);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  text-align: center;
}
.footer-disclaimer {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* ANIMATIONS & REVEALS */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.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; }

/* RESPONSIVE ADDITIONS */
@media (max-width: 992px) {
  .pillars, .how-it-works, .download-cards {
    grid-template-columns: 1fr 1fr;
  }
  .how-it-works {
    gap: 40px 24px;
  }
  .step-arrow {
    display: none;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .carousel-slide {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .pillars, .how-it-works, .download-cards, .social-proof .container, .comparison-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  .footer-links {
    gap: 40px;
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-light);
  z-index: 1001;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 40px;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  font-family: 'Plus Jakarta Sans', serif;
  font-size: 1.8rem;
  color: var(--text-dark);
  font-weight: 500;
}
.mobile-nav .close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

.carousel-slide .slide-visual .placeholder svg,
.pillar-icon svg,
.feat-icon svg,
.rag-icon svg,
.dl-icon svg,
.badge .icon svg,
.trust-item .icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.carousel-slide .slide-visual .placeholder svg {
  width: 32px;
  height: 32px;
}
.badge .icon svg,
.trust-item .icon svg {
  width: 16px;
  height: 16px;
}

.comp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  vertical-align: middle;
  flex-shrink: 0;
}
.comp-icon svg {
  width: 100%;
  height: 100%;
}
.comp-icon.error {
  color: #94A3B8; /* cool slate grey */
}
.comp-icon.success {
  color: var(--gold-400); /* gold champagne */
}

.icon-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── Modern IT/Developer Monospace Typography overrides ─── */
.badge,
.tag,
.slide-tag,
.step-number,
.coming-soon,
.metric-number,
.footer-bottom p,
.lang-btn {
  font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
}

.metric-number {
  font-weight: 700 !important;
  letter-spacing: -1px;
}


/* ═══ UNIFIED FEATURES SHOWCASE ═══ */
.feature-showcase {
  padding: 80px 0 60px;
  background: var(--bg-light);
}
.showcase-header {
  text-align: center;
  margin-bottom: 40px;
}
.showcase-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.showcase-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto;
}

/* Tabs row */
.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.showcase-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--brand-200);
  border-radius: 999px;
  background: white;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}
.showcase-tab svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.showcase-tab:hover {
  border-color: var(--gold-400);
  color: var(--text-dark);
  background: var(--brand-50);
}
.showcase-tab.active {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: white;
}
.showcase-tab.active svg {
  stroke: white;
}
.showcase-tab.active svg path[stroke="var(--gold-400)"] {
  stroke: rgba(255,255,255,0.7);
}

/* Viewer */
.showcase-viewer {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
.showcase-slide {
  display: none;
  gap: 0;
  animation: showcaseFadeIn 0.4s ease;
}
.showcase-slide.active {
  display: flex;
  flex-direction: column;
}
@keyframes showcaseFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Screenshot container */
.showcase-img {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  background: white;
}
.showcase-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Placeholder for sections without screenshots */
.showcase-img.placeholder-slide {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
}
.showcase-img.placeholder-slide svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

/* Info text below screenshot */
.showcase-info {
  text-align: center;
  padding: 24px 0 8px;
}
.showcase-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.showcase-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .showcase-tabs {
    gap: 4px;
  }
  .showcase-tab {
    padding: 8px 12px;
    font-size: 0.78rem;
  }
  .showcase-tab span {
    display: none;
  }
  .showcase-tab svg {
    width: 20px;
    height: 20px;
  }
  .showcase-header h2 {
    font-size: 1.6rem;
  }
}


/* ═══ DARK SECTION THEME ═══ */
.dark-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%) !important;
  color: #E2E8F0;
}
.dark-section .section-header .overline {
  color: var(--gold-400) !important;
}
.dark-section .section-header h2 {
  color: #F1F5F9 !important;
}
.dark-section .highlight-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}
.dark-section .highlight-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(var(--accent-rgb), 0.3);
}
.dark-section .highlight-card h3 {
  color: #F1F5F9;
}
.dark-section .highlight-card p,
.dark-section .highlight-card .card-tags span,
.dark-section p {
  color: #94A3B8;
}
.dark-section .highlight-card .icon-circle {
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
}
.dark-section .card-tags span {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #CBD5E1 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}


/* ═══ CINEMATIC HERO ANIMATION ═══ */
.cinema-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 9999;
  background: #0a0a14;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s ease;
}
.cinema-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Coin container — holds perspective */
.coin-container {
  perspective: 1200px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The coin element */
.coin {
  position: relative;
  width: 90vw;
  height: 60vh;
  max-width: 900px;
  transform-style: preserve-3d;
  transform: scale(2.2);
  transition: none;
}

/* Phase 1: Zoom out */
.coin.zoom-out {
  animation: coinZoomOut 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes coinZoomOut {
  0% { transform: scale(2.2); }
  100% { transform: scale(1); }
}

/* Phase 2: Coin flip */
.coin.flip {
  animation: coinFlip 0.8s cubic-bezier(0.42, 0, 0.58, 1) forwards;
}
@keyframes coinFlip {
  0% { transform: scale(1) rotateY(0deg); }
  50% { transform: scale(0.85) rotateY(90deg); }
  100% { transform: scale(1) rotateY(180deg); }
}

/* Phase 3: Shrink to logo */
.coin.shrink-to-logo {
  animation: coinShrink 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes coinShrink {
  0% { transform: scale(1) rotateY(180deg); width: 90vw; height: 60vh; border-radius: 16px; }
  100% { transform: scale(1) rotateY(180deg); width: 100px; height: 100px; border-radius: 22px; }
}

/* Front and back faces */
.coin-front, .coin-back {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.coin-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.coin-back {
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1E1B4B;
  border-radius: 22px;
}
.coin-back img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}


/* FIX: Remove white corners from logo in coin-back */
.coin-back {
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a14;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.coin-back img {
  width: auto;
  height: 65%;
  max-width: 80%;
  object-fit: contain;
  border-radius: 22px;
  filter: none;
}
.coin-front {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* FIX: Shrink animation should keep the logo fixed at center */
@keyframes coinShrink {
  0% { transform: scale(1) rotateY(180deg); }
  100% { transform: scale(0.3) rotateY(180deg); }
}

/* FIX: Cinema overlay should have same bg as hero section */
.cinema-overlay {
  background: #0a0a14;
}

/* NEW: Tagline that appears after animation */
.cinema-tagline {
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 10;
}
.cinema-tagline.visible {
  opacity: 1;
}
.cinema-tagline h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #E2E8F0;
  letter-spacing: -0.5px;
}
.cinema-tagline h2 span {
  color: var(--gold-400);
}

/* Higher quality rendering */
.coin img,
.coin-back img,
.coin-front img {
  image-rendering: -webkit-optimize-contrast;

}


/* ═══ HERO DARK THEME + SPACING ═══ */
.hero-dark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  gap: 2.5rem;
}

/* Dark theme for hero section */
.hero {
  background: linear-gradient(135deg, #0a0a14 0%, #111827 50%, #0a0a14 100%) !important;
}
.hero h1 {
  color: #F1F5F9 !important;
  letter-spacing: -1px;
  margin-top: 1rem;
}
.hero .hero-subtitle {
  color: #94A3B8 !important;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.15rem;
}

/* Dark navbar to match */
.navbar {
  background: rgba(10, 10, 20, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(20px);
}
.navbar a,
.navbar .nav-logo span {
  color: #E2E8F0 !important;
}
.navbar a:hover {
  color: var(--gold-400) !important;
}
.navbar .mobile-menu-btn svg {
  stroke: #E2E8F0;
}

/* Logo 1.5x bigger */
.hero-logo-large {
  width: 150px !important;
  height: 150px !important;
}

/* Remove wave separator after dark hero (unnecessary) */
.wave-separator {
  display: none;
}


/* ═══ IA DISCLAIMER ═══ */
.ia-disclaimer {
  text-align: center;
  font-size: 0.9rem;
  color: #64748B;
  font-style: italic;
  padding: 1rem 2rem;
  margin: 1.5rem auto 2rem;
  max-width: 600px;
  background: rgba(100, 116, 139, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(100, 116, 139, 0.1);
  line-height: 1.6;
}


/* ═══ TIPS SECTION ═══ */
.tips-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  color: #E2E8F0;
  padding: 6rem 0;
}
.tips-section .section-header .overline {
  color: var(--gold-400);
}
.tips-section .section-header h2 {
  color: #F1F5F9;
  font-size: 2.4rem;
}
.tips-intro {
  color: #94A3B8;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 650px;
  margin: 0.5rem auto 0;
  text-align: center;
}
.tips-intro strong {
  color: #E2E8F0;
}
.tips-intro em {
  color: var(--gold-400);
  font-style: normal;
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .tips-grid {
    grid-template-columns: 1fr;
  }
}

/* Tip Card */
.tip-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tip-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.tip-card:hover::before {
  opacity: 1;
}

/* Objective cards accent */
.tip-objective {
  border-left: 3px solid rgba(var(--accent-rgb), 0.3);
}
.tip-objective:hover {
  border-left-color: var(--accent);
}

/* Warning cards accent */
.tip-warning {
  border-left: 3px solid rgba(200, 160, 60, 0.25);
}
.tip-warning:hover {
  border-left-color: var(--gold-400);
}

/* Tip Icon */
.tip-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.tip-icon svg {
  width: 24px;
  height: 24px;
  color: #94A3B8;
}
.warning-icon {
  background: rgba(200, 160, 60, 0.1);
}

/* Tip Content */
.tip-card h3 {
  color: #F1F5F9;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}
.tip-card p {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.7;
}
.tip-card p strong {
  color: #CBD5E1;
}
.tip-card p em {
  color: var(--gold-400);
  font-style: normal;
}

/* Divider */
.tips-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 3.5rem auto;
  max-width: 960px;
}
.tips-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
.tips-divider-label {
  color: var(--gold-400);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

/* Global focus-visible styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 4px;
}

/* Skip Intro Button */
.skip-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1010;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px;
  color: #E2E8F0;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.skip-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  transform: translateY(-2px);
}

/* Hero Buttons spacing */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Sticky Download Button in Nav */
.nav-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: var(--gold-400);
  color: white !important;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  box-shadow: 0 4px 10px rgba(var(--accent-rgb), 0.15);
}
.nav-download-btn:hover {
  background: var(--gold-500);
  color: white !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-glow);
}
.navbar.scrolled .nav-download-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Mobile Menu Button on Desktop */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #E2E8F0;
  padding: 8px;
  transition: var(--transition);
}
.mobile-menu-btn:hover {
  color: var(--gold-400);
  transform: scale(1.05);
}

/* Media Queries overrides */
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  .mobile-menu-btn {
    display: block !important;
  }
  .nav-download-btn {
    display: none !important;
  }
  .highlights-grid {
    grid-template-columns: 1fr !important;
  }
  .download-cards {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 992px) {
  .download-cards {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Credits Modal styles */
.credits-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.credits-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.credits-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.credits-modal-content {
  position: relative;
  width: 90%;
  max-width: 540px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(var(--accent-rgb), 0.15);
  z-index: 2001;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: #E2E8F0;
}
.credits-modal.open .credits-modal-content {
  transform: translateY(0);
}
.credits-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}
.credits-modal-close:hover {
  color: white;
  transform: scale(1.1);
}
.credits-modal h3 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.credits-modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.credits-section h4 {
  color: var(--gold-300);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.credits-section p {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.6;
}
.credits-section p strong {
  color: #CBD5E1;
}

/* Styles pour le bouton de test ThéoScript */
.btn-download.test-btn {
  background: linear-gradient(135deg, #6B5583 0%, #443553 100%) !important;
  color: white !important;
  box-shadow: 0 4px 14px rgba(107, 85, 131, 0.3) !important;
  border: none !important;
}
.btn-download.test-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #7c6499 0%, #4f3e61 100%) !important;
  box-shadow: 0 6px 20px rgba(107, 85, 131, 0.45) !important;
}
.btn-download.test-btn svg {
  stroke: #FCD34D !important; /* Gold icon to match the premium theme */
}

/* ==========================================
   🎁 DONATION MODAL STYLES 🎁
   ========================================== */
.donation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.donation-modal.active {
  opacity: 1;
  pointer-events: all;
}

.donation-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 10, 15, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.donation-modal-content {
  position: relative;
  width: 90%;
  max-width: 580px;
  max-height: 90vh;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  color: #E2E8F0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.donation-modal.active .donation-modal-content {
  transform: scale(1) translateY(0);
}

.donation-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #94A3B8;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.donation-modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: #EF4444;
  transform: rotate(90deg);
}

.donation-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.donation-icon-wrapper {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #F59E0B;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donation-modal-header h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.donation-modal-subtitle {
  color: #94A3B8;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.donation-modal-body h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #F59E0B;
  margin-bottom: 12px;
}

.presets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
  color: #E2E8F0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.preset-btn.active {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border-color: transparent;
  color: #080A0F;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.custom-amount-wrapper {
  margin-bottom: 24px;
}

#custom-amount-input {
  width: 100%;
  background: rgba(8, 10, 15, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  color: white;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

#custom-amount-input:focus {
  outline: none;
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.stripe-btn {
  background: #635BFF;
  color: white;
  box-shadow: 0 4px 12px rgba(99, 91, 255, 0.2);
}

.stripe-btn:hover {
  background: #7a73ff;
  transform: translateY(-1px);
}

.paypal-btn {
  background: #FFC439;
  color: #111;
  box-shadow: 0 4px 12px rgba(255, 196, 57, 0.2);
}

.paypal-btn:hover {
  background: #ffd05c;
  transform: translateY(-1px);
}

.collapsible-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
}

.collapsible-trigger {
  width: 100%;
  background: none;
  border: none;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 4px 0;
  text-align: left;
}

.collapsible-trigger .trigger-text {
  font-size: 15px;
  font-weight: 600;
  flex-grow: 1;
}

.collapsible-trigger .arrow-icon {
  font-size: 11px;
  color: #64748B;
  transition: transform 0.3s ease;
}

.collapsible-section.active .arrow-icon {
  transform: rotate(180deg);
}

.collapsible-content {
  margin-top: 14px;
}

.info-card {
  background: rgba(8, 10, 15, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.info-label {
  color: #64748B;
  font-weight: 500;
  min-width: 90px;
}

.info-value {
  color: #E2E8F0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  flex-grow: 1;
  word-break: break-all;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #94A3B8;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 12px;
}

.copy-btn:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
}

/* Toast/Copied popup notification */
.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(16, 185, 129, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
  opacity: 0;
  z-index: 2000;
}

.copy-toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Accent for Nav Trigger */
#donation-nav-trigger {
  color: #F59E0B !important;
  font-weight: 600 !important;
}
#donation-nav-trigger:hover {
  color: #FBBF24 !important;
}

#donation-mobile-trigger {
  color: #F59E0B !important;
  font-weight: 600 !important;
}

/* ─── Donation Type Toggle (once / monthly) ─── */
.donation-type-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.08);
}
.donation-type-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.donation-type-btn:hover {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.05);
}
.donation-type-btn.active {
  background: linear-gradient(135deg, rgba(168,85,247,0.35), rgba(236,72,153,0.25));
  color: #fff;
  box-shadow: 0 4px 15px rgba(168,85,247,0.2);
}
.type-icon {
  font-size: 18px;
}
.type-label {
  font-size: 13px;
}

/* ─── Monthly Encouragement Card ─── */
.monthly-encouragement {
  margin-bottom: 16px;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); max-height: 0; }
  to { opacity: 1; transform: translateY(0); max-height: 200px; }
}
.encouragement-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(250,204,21,0.12), rgba(251,146,60,0.08));
  border: 1px solid rgba(250,204,21,0.2);
  border-radius: 12px;
}
.encouragement-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.encouragement-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
}

/* ─── Preset monthly sub-label ─── */
.preset-btn small {
  display: block;
  font-size: 10px;
  opacity: 0.6;
  font-weight: 400;
  margin-top: 2px;
}
