/* ============================================================
   FlashShare – styles.css
   Premium vibrant marketing website styles
   ============================================================ */

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

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Gradient: FlashShare Red */
  --brand-1: #812A29;
  --brand-2: #983536;
  --brand-3: #B04143;
  --gradient: linear-gradient(to right, #812A29, #B04143);
  --gradient-glow: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(129, 42, 41,0.3) 0%, rgba(176, 65, 67,0.15) 50%, transparent 80%);
  --gradient-subtle: linear-gradient(to right, rgba(129, 42, 41,0.15) 0%, rgba(176, 65, 67,0.1) 100%);

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-2xl: 36px;
  --radius-pill: 999px;

  /* Typography */
  --font-head: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-med:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.14);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.2);
  --shadow-xl:  0 24px 80px rgba(0,0,0,0.28);
  --shadow-brand: 0 8px 32px rgba(176, 65, 67, 0.35);
}

/* ----- DARK MODE (default) --------------------------------- */
[data-theme="dark"] {
  --bg-base:       #0a0a0d;
  --bg-surface:    #141418;
  --bg-elevated:   #1e1e24;
  --bg-glass:      rgba(14, 14, 18, 0.82);
  --bg-glass-card: rgba(22, 22, 28, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-brand:  rgba(176, 65, 67, 0.25);

  --text-primary:   #f0f0f5;
  --text-secondary: #9a9ab0;
  --text-tertiary:  #5c5c72;
  --text-inverse:   #0a0a0d;

  --btn-ghost-color:   #e0e0f0;
  --btn-ghost-hover:   rgba(255,255,255,0.07);
  --btn-ghost-border:  rgba(255,255,255,0.14);

  --mockup-bg:  #111118;
  --mockup-bar: #1c1c24;

  --faq-bg:     #141418;
  --faq-hover:  #1a1a20;

  --footer-bg:  #070709;
  --stats-bg:   #0e0e14;

  --scroll-track: rgba(255,255,255,0.04);
  --scroll-thumb: rgba(255,255,255,0.12);

  --sim-bg: #0f0f16;
  --sim-surface: #181820;
  --sim-border: rgba(255,255,255,0.08);

  color-scheme: dark;
}

/* ----- LIGHT MODE ------------------------------------------ */
[data-theme="light"] {
  --bg-base:       #f5f5fa;
  --bg-surface:    #ffffff;
  --bg-elevated:   #ededf5;
  --bg-glass:      rgba(255, 255, 255, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.75);
  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-medium: rgba(0, 0, 0, 0.12);
  --border-brand:  rgba(176, 65, 67, 0.2);

  --text-primary:   #0f0f18;
  --text-secondary: #50506a;
  --text-tertiary:  #9898b0;
  --text-inverse:   #ffffff;

  --btn-ghost-color:   #2e2e40;
  --btn-ghost-hover:   rgba(0,0,0,0.05);
  --btn-ghost-border:  rgba(0,0,0,0.13);

  --mockup-bg:  #ececf4;
  --mockup-bar: #e0e0ec;

  --faq-bg:     #ffffff;
  --faq-hover:  #f2f2f8;

  --footer-bg:  #ededf5;
  --stats-bg:   #f8f8fd;

  --scroll-track: rgba(0,0,0,0.04);
  --scroll-thumb: rgba(0,0,0,0.12);

  --sim-bg: #f0f0f8;
  --sim-surface: #ffffff;
  --sim-border: rgba(0,0,0,0.08);

  color-scheme: light;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-med), color var(--transition-med);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--scroll-track); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: var(--radius-pill); }

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.accent { color: #B04143; }

.section { padding: 110px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border-brand);
  color: #B04143;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.section-badge i { width: 13px; height: 13px; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.btn i { width: 16px; height: 16px; flex-shrink: 0; }
.btn-lg { padding: 15px 30px; font-size: 15px; }
.btn-lg i { width: 18px; height: 18px; }

/* Primary – vivid gradient */
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(176, 65, 67, 0.4);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.14);
  opacity: 0;
  transition: opacity var(--transition-fast);
  border-radius: inherit;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  box-shadow: 0 8px 36px rgba(176, 65, 67, 0.55);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

/* Ghost */
.btn-ghost {
  background: var(--btn-ghost-hover);
  color: var(--btn-ghost-color);
  border: 1px solid var(--btn-ghost-border);
}
.btn-ghost:hover {
  background: var(--btn-ghost-hover);
  transform: translateY(-1px);
  border-color: var(--border-medium);
}

/* White */
.btn-white {
  background: #ffffff;
  color: #B04143;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

.btn-ghost-white {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.22); transform: translateY(-1px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-med), border-color var(--transition-med);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-link {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-link:hover {
  color: var(--text-primary);
  background: var(--btn-ghost-hover);
}

.nav-controls {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta { padding: 9px 20px; font-size: 13px; }
.nav-cta i { width: 14px; height: 14px; }

/* Theme Toggle */
.theme-toggle { background: none; border: none; padding: 2px; }
.toggle-track {
  display: flex;
  align-items: center;
  width: 52px; height: 28px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  padding: 3px;
  transition: background var(--transition-med);
  position: relative;
}
.toggle-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-med);
  flex-shrink: 0;
  position: absolute;
  left: 3px;
  box-shadow: 0 1px 6px rgba(176, 65, 67,0.4);
}
[data-theme="light"] .toggle-thumb { transform: translateX(24px); }
.toggle-thumb i { width: 12px; height: 12px; color: #fff; }
.toggle-thumb .icon-sun  { display: none; }
.toggle-thumb .icon-moon { display: block; }
[data-theme="light"] .toggle-thumb .icon-sun  { display: block; }
[data-theme="light"] .toggle-thumb .icon-moon { display: none; }

/* Footer small toggle */
.theme-toggle-sm {
  background: none;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 13px;
  transition: all var(--transition-fast);
}
.theme-toggle-sm:hover { color: var(--text-primary); }
.theme-toggle-sm i { width: 14px; height: 14px; }
.theme-toggle-sm .icon-sun  { display: none; }
.theme-toggle-sm .icon-moon { display: block; }
[data-theme="light"] .theme-toggle-sm .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle-sm .icon-moon { display: none; }

/* Mobile */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-left: auto;
}
.mobile-menu-btn i { width: 22px; height: 22px; }

.mobile-drawer {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border-subtle);
  gap: 4px;
}
.mobile-drawer.open { display: flex; }
.mobile-link { display: block; padding: 12px 4px; font-size: 16px; }
.mobile-cta { width: 100%; margin-top: 8px; justify-content: center; padding: 14px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

/* Animated mesh grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  animation: grid-drift 20s linear infinite;
}
@keyframes grid-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 56px 56px; }
}

/* Glowing orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(176, 65, 67,0.18), rgba(129, 42, 41,0.12) 50%, transparent 70%);
  top: -200px; right: -150px;
  animation: orb-float 9s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(176, 65, 67,0.14), rgba(129, 42, 41,0.08) 50%, transparent 70%);
  bottom: -50px; left: -100px;
  animation: orb-float 13s ease-in-out infinite reverse;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.08); }
  66%       { transform: translate(-15px, 20px) scale(0.96); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}

/* Hero text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border-brand);
  color: #B04143;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  animation: badge-pulse 3s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(176, 65, 67,0); }
  50%       { box-shadow: 0 0 0 6px rgba(176, 65, 67,0.08); }
}
.hero-badge i { width: 12px; height: 12px; }

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 40px;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.trust-item i { width: 14px; height: 14px; color: #B04143; }

/* Mockup */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-browser {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  background: var(--mockup-bg);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--border-subtle), 0 0 100px rgba(176, 65, 67,0.1);
  overflow: hidden;
  animation: mockup-float 6s ease-in-out infinite;
}

/* Image Carousel added for Hero Section */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--border-subtle), 0 0 100px rgba(176, 65, 67,0.1);
  overflow: hidden;
  animation: mockup-float 6s ease-in-out infinite;
}

.hero-carousel img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-carousel .carousel-base {
  visibility: hidden;
  position: relative;
}

.hero-carousel .carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-carousel .carousel-image.active {
  opacity: 1;
  z-index: 2;
}

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

.mockup-browser-bar {
  background: var(--mockup-bar);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-red    { background: #ff5f56; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #27c93f; }

.url-bar {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 11px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  white-space: nowrap;
}
.url-bar i { width: 10px; height: 10px; flex-shrink: 0; }

.mockup-content { padding: 14px; position: relative; }

.yt-player {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #12002a 0%, #1a0040 50%, #0d0030 100%);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
}
.yt-player-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.yt-play-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(176, 65, 67,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 24px rgba(176, 65, 67,0.4);
}
.yt-play-icon i { width: 22px; height: 22px; }
.yt-player-label { color: rgba(255,255,255,0.5); font-size: 11px; font-weight: 500; }

.yt-action-bar {
  display: flex;
  align-items: center;
  padding: 6px 2px;
  margin-bottom: 8px;
}
.yt-action-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.yt-btn-placeholder {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}
.yt-btn-placeholder i { width: 13px; height: 13px; }

/* FlashShare Button in mockup */
.flashshare-btn-preview {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--gradient);
  color: white;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-head);
  box-shadow: 0 2px 14px rgba(176, 65, 67,0.45);
}

.mini-flashshare-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--gradient);
  color: white;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-head);
  box-shadow: 0 2px 14px rgba(176, 65, 67,0.45);
}

/* Share card */
.mockup-share-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-md);
}
.share-card-header { margin-bottom: 12px; }
.share-card-title {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.share-card-sub { font-size: 11px; color: var(--text-tertiary); }
.share-card-contacts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.contact-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.contact-chip.selected {
  background: rgba(176, 65, 67,0.1);
  border-color: rgba(176, 65, 67,0.35);
  color: #B04143;
}
.contact-chip i { width: 12px; height: 12px; }
.contact-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.share-card-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient);
  color: white;
  border-radius: var(--radius-pill);
  padding: 9px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-head);
}
.share-card-send i { width: 14px; height: 14px; }

/* Pulse glow */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 2px 14px rgba(176, 65, 67,0.4); }
  50%       { box-shadow: 0 4px 32px rgba(176, 65, 67,0.75); }
}
.pulse-glow { animation: pulse-glow 2.5s ease-in-out infinite; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--stats-bg);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 44px 0;
}
.stats-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 12px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
}
.stat-divider {
  width: 1px;
  height: 52px;
  background: var(--border-medium);
  flex-shrink: 0;
}

/* ============================================================
   INTERACTIVE SIMULATOR SECTION
   ============================================================ */
.simulator-section {
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.simulator-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0.6;
  pointer-events: none;
}

.simulator-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(176, 65, 67,0.08);
  position: relative;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

/* ---- Left: Player ---- */
.sim-player-pane {
  padding: 28px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-video-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.sim-video-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sim-video-display {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #12002a, #1a004a, #08001a);
  cursor: pointer;
}

.sim-video-stream {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a001e, #1e0040, #050015);
  transition: background 4s ease;
}
.sim-video-stream.playing {
  animation: video-colors 8s linear infinite;
}
@keyframes video-colors {
  0%   { background: linear-gradient(135deg, #0a001e, #1e0040, #050015); }
  25%  { background: linear-gradient(135deg, #001020, #003040, #000d15); }
  50%  { background: linear-gradient(135deg, #1a0020, #3a0050, #0d0018); }
  75%  { background: linear-gradient(135deg, #001a10, #003020, #000d08); }
  100% { background: linear-gradient(135deg, #0a001e, #1e0040, #050015); }
}

.sim-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  z-index: 2;
  transition: opacity 0.3s ease;
}
.sim-video-overlay.hidden { opacity: 0; pointer-events: none; }

.sim-play-overlay-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 24px rgba(176, 65, 67,0.5);
}
.sim-play-overlay-btn:hover { transform: scale(1.1); box-shadow: 0 8px 36px rgba(176, 65, 67,0.7); }
.sim-play-overlay-btn i { width: 26px; height: 26px; margin-left: 3px; }

.sim-video-watermark {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  z-index: 1;
  pointer-events: none;
}
.sim-video-watermark i { width: 12px; height: 12px; }

.sim-video-time {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-head);
  z-index: 3;
  pointer-events: none;
}

.sim-video-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.sim-control-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: var(--bg-elevated);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.sim-control-btn:hover { background: var(--gradient); color: #fff; border-color: transparent; }
.sim-control-btn i { width: 14px; height: 14px; }

.sim-progress-container {
  flex: 1;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.sim-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--border-medium);
  border-radius: var(--radius-pill);
  position: relative;
  overflow: visible;
  transition: height 0.2s ease;
}
.sim-progress-container:hover .sim-progress-bar { height: 6px; }
.sim-progress-bar::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--gradient);
  border-radius: var(--radius-pill);
  width: var(--progress, 0%);
  transition: width 0.1s linear;
}
.sim-progress-thumb {
  position: absolute;
  top: 50%;
  left: var(--progress, 0%);
  transform: translate(-50%, -50%) scale(0);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #B04143;
  box-shadow: 0 0 8px rgba(176, 65, 67,0.6);
  transition: transform 0.2s ease;
}
.sim-progress-container:hover .sim-progress-thumb { transform: translate(-50%, -50%) scale(1); }

.sim-time-display {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  font-family: var(--font-head);
  white-space: nowrap;
}

/* Action bar */
.sim-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.sim-yt-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sim-action-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  cursor: default;
}
.sim-action-item i { width: 13px; height: 13px; }

/* THE FlashShare Button in sim */
.sim-flashshare-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 800;
  font-family: var(--font-head);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sim-flashshare-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(176, 65, 67,0.55);
}
.sim-flashshare-btn:active { transform: scale(0.97); }

/* ---- Right: Extension Pane ---- */
.sim-extension-pane {
  display: flex;
  flex-direction: column;
  background: var(--sim-bg);
}

.sim-ext-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--sim-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sim-ext-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}
.sim-ext-logo-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
}

.sim-ext-tabs {
  display: flex;
  gap: 4px;
  background: var(--sim-surface);
  border: 1px solid var(--sim-border);
  border-radius: var(--radius-md);
  padding: 4px;
}
.sim-tab-btn {
  flex: 1;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
}
.sim-tab-btn.active {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 2px 10px rgba(176, 65, 67,0.35);
}
.sim-tab-btn:not(.active):hover {
  color: var(--text-primary);
  background: var(--btn-ghost-hover);
}

.sim-badge {
  background: #B04143;
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  min-width: 18px;
  text-align: center;
  animation: badge-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes badge-pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

.sim-panel {
  flex: 1;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.sim-form-group { display: flex; flex-direction: column; gap: 8px; }
.sim-row { flex-direction: row; align-items: center; }

.sim-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sim-contacts-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sim-contact-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--sim-surface);
  border: 1px solid var(--sim-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-head);
  user-select: none;
}
.sim-contact-chip .check-icon {
  width: 13px; height: 13px;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-fast);
}
.sim-contact-chip.selected {
  background: rgba(176, 65, 67,0.1);
  border-color: rgba(176, 65, 67,0.35);
  color: #B04143;
}
.sim-contact-chip.selected .check-icon { opacity: 1; transform: scale(1); }
.sim-contact-chip:hover:not(.selected) {
  border-color: var(--border-medium);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.sim-contact-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  color: white;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sim-textarea {
  width: 100%;
  min-height: 72px;
  border-radius: var(--radius-md);
  background: var(--sim-surface);
  border: 1px solid var(--sim-border);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-primary);
  resize: vertical;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.sim-textarea::placeholder { color: var(--text-tertiary); }
.sim-textarea:focus {
  border-color: rgba(176, 65, 67,0.4);
  box-shadow: 0 0 0 3px rgba(176, 65, 67,0.08);
}

.sim-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
}
.sim-checkbox-label input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: #B04143;
  cursor: pointer;
  flex-shrink: 0;
}
.sim-checkbox-label strong { color: #B04143; font-weight: 800; }

.sim-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(176, 65, 67,0.35);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}
.sim-send-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.sim-send-btn:hover::before { opacity: 1; }
.sim-send-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(176, 65, 67,0.5); }
.sim-send-btn:active { transform: scale(0.98); }
.sim-send-btn i { width: 17px; height: 17px; }
.sim-send-btn.sending {
  pointer-events: none;
  opacity: 0.85;
}

/* Success state */
.sim-send-btn.success {
  background: linear-gradient(135deg, #00C853, #00E676);
  box-shadow: 0 4px 20px rgba(0,200,83,0.4);
}

/* Inbox */
.sim-inbox-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sim-inbox-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 16px;
  text-align: center;
  color: var(--text-tertiary);
}
.sim-inbox-empty i { width: 36px; height: 36px; opacity: 0.4; }
.sim-inbox-empty p { font-size: 13px; line-height: 1.6; }

/* Inbox message card */
.sim-inbox-msg {
  background: var(--sim-surface);
  border: 1px solid var(--sim-border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: msg-pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes msg-pop-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.sim-inbox-msg-header {
  display: flex;
  align-items: center;
  gap: 9px;
}
.sim-inbox-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  color: white;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sim-inbox-msg-meta {
  flex: 1;
}
.sim-inbox-sender {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-primary);
}
.sim-inbox-time {
  font-size: 11px;
  color: var(--text-tertiary);
}
.sim-inbox-note {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.sim-inbox-ts {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #B04143;
  background: rgba(176, 65, 67,0.1);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}
.sim-inbox-ts i { width: 11px; height: 11px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { background: var(--bg-base); }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
  overflow: hidden;
}
.step-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition-med);
  border-radius: inherit;
  z-index: 0;
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(176, 65, 67,0.1);
  border-color: var(--border-brand);
}
.step-card > * { position: relative; z-index: 1; }

.featured-step {
  border-color: rgba(176, 65, 67,0.3);
  background: var(--bg-surface);
  box-shadow: 0 0 0 1px rgba(176, 65, 67,0.12), var(--shadow-md);
}
.featured-step:hover { border-color: rgba(176, 65, 67,0.5); }

.step-number {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  display: block;
}

.step-icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(176, 65, 67,0.35);
  transition: box-shadow var(--transition-med), transform var(--transition-med);
}
.step-card:hover .step-icon-wrap { transform: scale(1.1); box-shadow: 0 10px 32px rgba(176, 65, 67,0.5); }
.step-icon-wrap i { width: 26px; height: 26px; }

.step-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.step-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.step-tag i { width: 12px; height: 12px; }

.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 90px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  width: 40px;
}
.step-connector i { width: 22px; height: 22px; }
.connector-line { display: none; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--bg-elevated); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition-med);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(176, 65, 67,0.06);
  border-color: var(--border-brand);
}
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }

.feature-card-large { grid-column: span 2; }
.feature-card-wide  { grid-column: span 2; }

.feature-card-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  background: rgba(176, 65, 67,0.1);
  border: 1px solid rgba(176, 65, 67,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B04143;
  margin-bottom: 20px;
  transition: all var(--transition-med);
}
.feature-card:hover .feature-card-icon {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 6px 20px rgba(176, 65, 67,0.4);
}
.feature-card-icon i { width: 22px; height: 22px; }

.feature-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.feature-visual { margin-top: 24px; }
.mini-action-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mini-yt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 7px 10px;
  color: var(--text-tertiary);
}
.mini-yt-btn i { width: 14px; height: 14px; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial-section {
  background: var(--bg-base);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.testimonial-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0.4;
  pointer-events: none;
}

.testimonial-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-2xl);
  padding: 60px 72px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(176, 65, 67,0.06);
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}

.quote-icon {
  font-family: Georgia, serif;
  font-size: 140px;
  line-height: 0.5;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.12;
  position: absolute;
  top: 48px; left: 48px;
  user-select: none;
}
.testimonial-text {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary);
  font-style: normal;
  position: relative;
  z-index: 1;
  margin-bottom: 36px;
}
.testimonial-text em { font-style: italic; color: #B04143; }
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(176, 65, 67,0.4);
}
.author-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.author-tag { font-size: 12px; color: var(--text-tertiary); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--bg-elevated); }

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

.faq-item {
  background: var(--faq-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.faq-item:hover { border-color: var(--border-medium); }
.faq-item.open {
  border-color: rgba(176, 65, 67,0.3);
  box-shadow: 0 0 0 1px rgba(176, 65, 67,0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
  transition: background var(--transition-fast);
}
.faq-question:hover { background: var(--faq-hover); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.faq-icon i { width: 14px; height: 14px; }
.faq-icon .icon-minus { display: none; }
.faq-item.open .faq-icon {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  transform: rotate(0deg);
}
.faq-item.open .faq-icon .icon-plus  { display: none; }
.faq-item.open .faq-icon .icon-minus { display: block; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-answer { max-height: 360px; }
.faq-answer p {
  padding: 0 26px 22px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}
.faq-answer p strong { color: var(--text-primary); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: var(--bg-base); padding: 100px 0; }
.cta-card {
  background: var(--gradient);
  border-radius: var(--radius-2xl);
  padding: 80px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(176, 65, 67,0.4), 0 8px 24px rgba(129, 42, 41,0.2);
}
.cta-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
  top: -200px; right: -200px;
  animation: orb-float 8s ease-in-out infinite;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.cta-sub { font-size: 18px; color: rgba(255,255,255,0.82); margin-bottom: 40px; }
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-subtle);
}
.footer-container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 64px;
  align-items: start;
}
.footer-logo { margin-bottom: 12px; }
.footer-tagline { font-size: 14px; color: var(--text-tertiary); max-width: 220px; line-height: 1.6; }
.footer-links { display: flex; gap: 52px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.footer-link:hover { color: var(--text-primary); }
.footer-link i { width: 14px; height: 14px; }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-tertiary); }
.footer-bottom-right { display: flex; align-items: center; gap: 8px; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Native scroll-driven animations where supported */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from { opacity: 0; transform: translateY(28px); }
    }
    .feature-card, .step-card, .faq-item {
      animation: reveal-up auto linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 25%;
    }
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
    padding: 80px 24px;
  }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-sub  { text-align: center; }
  .hero-badge { align-self: center; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .hero-mockup { justify-content: center; }
  .mockup-browser { max-width: 480px; }

  .simulator-grid { grid-template-columns: 1fr; }
  .sim-player-pane { border-right: none; border-bottom: 1px solid var(--border-subtle); }

  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-connector { display: none; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-large,
  .feature-card-wide { grid-column: span 2; }

  .footer-container { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 680px) {
  .section { padding: 80px 0; }

  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .theme-toggle { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero-headline { font-size: clamp(32px, 8vw, 48px); }
  .hero-sub { font-size: 16px; }

  .stats-container { gap: 0; }
  .stat-item { padding: 12px 24px; }
  .stat-divider { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card-large,
  .feature-card-wide { grid-column: span 1; }

  .testimonial-card { padding: 40px 28px; }
  .testimonial-text { font-size: 17px; }
  .quote-icon { font-size: 90px; top: 24px; left: 24px; }

  .cta-card { padding: 56px 28px; }
  .cta-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }

  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .section-header { margin-bottom: 52px; }

  .simulator-grid { min-height: auto; }
  .sim-player-pane { padding: 20px; }
  .sim-panel { padding: 16px 18px; }
  .sim-contacts-list { gap: 6px; }
}
