/* ==========================================================================
   ALPHA NEWS - DESIGN SYSTEM & STYLESHEET
   Sleek Dark Cyber Trading & Telegram Intelligence Aesthetic
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-deep: #07090e;
  --bg-main: #0a0e17;
  --bg-card: rgba(14, 20, 32, 0.72);
  --bg-card-hover: rgba(20, 29, 46, 0.85);
  --bg-card-glass: rgba(16, 24, 40, 0.55);
  --bg-subtle: rgba(255, 255, 255, 0.03);

  /* Borders & Glows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 229, 255, 0.35);
  --border-focus: #00e5ff;

  /* Accent Colors */
  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.25);
  --accent-emerald: #00e676;
  --accent-emerald-glow: rgba(0, 230, 118, 0.25);
  --accent-telegram: #229ed9;
  --accent-telegram-hover: #1b85b8;
  --accent-amber: #ffb300;
  --accent-rose: #ff3366;
  --accent-purple: #7928ca;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-highlight: #ffffff;

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-neon-cyan: 0 0 30px rgba(0, 229, 255, 0.25);
  --shadow-neon-telegram: 0 0 35px rgba(34, 158, 217, 0.3);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Safe Area Insets for Notch / Home Indicator */
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
}

/* ==========================================================================
   BASE RESET & MOBILE FORMAT/TOUCH LOCK
   Prevents double-tap zoom, accidental gestures, text resize, and horizontal wobble.
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: manipulation;
  overscroll-behavior-x: none;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
}

/* Global Content & Media Bounds */
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, p, span, a, li, button {
  overflow-wrap: break-word;
}

/* Touch Action Optimization: eliminates tap delay & prevents zoom on interactive elements */
a, button, input, select, textarea, label, [role="button"], .sim-pill-btn, .faq-question-btn {
  touch-action: manipulation;
}

/* Strictly enforce 16px minimum font-size on form controls to prevent iOS Safari auto-zoom */
input, select, textarea, .form-control {
  font-size: 16px !important;
}

/* ==========================================================================
   AMBIENT BACKGROUND FX (Strictly contained against horizontal overflow)
   ========================================================================== */
.ambient-background-wrapper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.ambient-glow::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  max-width: 100%;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.12) 0%, rgba(34, 158, 217, 0.05) 45%, transparent 70%);
  filter: blur(80px);
}

.ambient-glow::after {
  content: '';
  position: absolute;
  top: 40%;
  right: -10%;
  width: 700px;
  max-width: 100%;
  height: 700px;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.08) 0%, rgba(0, 230, 118, 0.04) 50%, transparent 70%);
  filter: blur(90px);
}

.ambient-glow-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  max-width: 100%;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.07) 0%, transparent 60%);
  filter: blur(100px);
  pointer-events: none;
}

/* Subtle Grid Background Pattern */
.cyber-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Links & Buttons Global */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   TOP SYSTEM TICKER & STATUS BAR
   ========================================================================== */
.system-status-bar {
  background: rgba(8, 12, 20, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 7px 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.status-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.status-left, .status-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-emerald);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.status-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-tag.france {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.25);
}

.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.sound-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
}

/* ==========================================================================
   LIVE MARKET MARQUEE
   ========================================================================== */
.market-marquee {
  background: linear-gradient(90deg, #090e18, #0e1626, #090e18);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 90;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: marquee-slide 42s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-forex {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-crypto {
  background: rgba(255, 179, 0, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(255, 179, 0, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-macro {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-geopolitics {
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-rose);
  border: 1px solid rgba(255, 51, 102, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

.market-val-up {
  color: var(--accent-emerald);
}

.market-val-down {
  color: var(--accent-rose);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
  transition: var(--transition-bounce);
}

.logo-badge:hover {
  transform: scale(1.06) rotate(2deg);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.45);
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-fast);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.nav-links a.nav-app-link {
  color: var(--accent-cyan);
  white-space: nowrap;
}

@media (min-width: 769px) and (max-width: 1240px) {
  .nav-app-item {
    display: none;
  }
}

.member-access {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  margin: 22px 0 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.member-access a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(0, 229, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--accent-cyan);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.member-access a:hover {
  background: rgba(0, 229, 255, 0.16);
  border-color: var(--accent-cyan);
}

@media (max-width: 480px) {
  .member-access {
    flex-direction: column;
  }
}

.site-install {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid rgba(0, 229, 255, 0.45);
  border-radius: 14px;
  background: #101826;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: var(--text-primary);
  font-size: 0.875rem;
  line-height: 1.4;
}

.site-install[hidden] {
  display: none;
}

.site-install span {
  flex: 1;
}

.site-install button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-install .site-install-action {
  padding: 8px 12px;
  background: var(--accent-cyan);
  color: #04121a;
}

.site-install .site-install-action[hidden] {
  display: none;
}

.site-install .site-install-close {
  min-width: 44px;
  background: none;
  color: var(--text-primary);
}

.form-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.45;
  cursor: pointer;
}

.form-terms-label input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent-cyan);
}

.form-terms-label a {
  color: var(--accent-cyan);
}

.faq-answer a {
  color: var(--accent-cyan);
}

.form-field-error {
  margin: 8px 0 0;
  color: #ff6b85;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

[data-app-access][aria-busy="true"] {
  opacity: 0.6;
  cursor: progress;
}

.pay-reminder-card {
  position: relative;
  text-align: center;
}

.pay-reminder-card .btn-tier {
  width: 100%;
  margin-top: 8px;
}

.pay-reminder-code {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  color: var(--accent-cyan);
  font-size: 0.92rem;
  font-weight: 600;
}

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

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

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

.btn-telegram-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #229ed9 0%, #1e88e5 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

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

.btn-telegram-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(34, 158, 217, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 55px 0 65px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.28);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.12);
}

.hero-pill-badge span.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-highlight);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #00e5ff 0%, #38bdf8 50%, #229ed9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(0, 229, 255, 0.35));
}

.hero-lead {
  font-size: 1.16rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-lead strong {
  color: var(--text-primary);
  font-weight: 600;
}

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

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #229ed9 0%, #0088cc 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 34px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-neon-telegram), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: var(--transition-bounce);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 40px rgba(34, 158, 217, 0.6);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.15);
}

/* Hero Key Badges List */
.hero-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.hero-badge-item .icon {
  font-size: 1.1rem;
}

.hero-badge-item strong {
  color: var(--text-primary);
}

/* ==========================================================================
   HERO INTERACTIVE PREVIEW & PHONE MOCKUP
   ========================================================================== */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-container {
  position: relative;
  width: 100%;
  max-width: 340px;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 229, 255, 0.2);
  backdrop-filter: blur(25px);
  animation: float-phone 6s ease-in-out infinite;
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.6deg); }
}

.phone-screen-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 26px;
  display: block;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

/* Floating interactive badges over the hero */
.floating-chip {
  position: absolute;
  background: rgba(14, 20, 32, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-chip 5s ease-in-out infinite alternate;
}

@keyframes float-chip {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.floating-chip-1 {
  top: 15%;
  left: -35px;
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.15);
}

.floating-chip-2 {
  bottom: 12%;
  right: -30px;
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

.chip-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chip-icon.green {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent-emerald);
}

.chip-icon.cyan {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
}

.chip-text {
  display: flex;
  flex-direction: column;
}

.chip-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.chip-sub {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION HEADINGS COMMON
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 229, 255, 0.2);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-highlight);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE TELEGRAM BOT SIMULATOR
   ========================================================================== */
.simulator-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 229, 255, 0.06);
  backdrop-filter: blur(20px);
}

.sim-controls-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.sim-headline h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-headline p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.sim-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sim-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.sim-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.sim-pill-btn.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(34, 158, 217, 0.25));
  border-color: var(--accent-cyan);
  color: var(--text-highlight);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

/* Simulator Grid: Pipeline Left & Telegram Mock Right */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: stretch;
}

.sim-pipeline-box {
  background: rgba(7, 10, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pipeline-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.pipeline-step.step-active {
  background: rgba(0, 229, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateX(4px);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pipeline-step.step-active .step-num {
  background: var(--accent-cyan);
  color: #07090e;
  box-shadow: 0 0 12px var(--accent-cyan);
}

.step-info h5 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

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

.pipeline-latency-box {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.latency-val {
  color: var(--accent-emerald);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Telegram Live Card Preview */
.telegram-mock-window {
  background: #0f1624;
  border: 1px solid rgba(34, 158, 217, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(34, 158, 217, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tg-window-header {
  background: #172133;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tg-channel-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tg-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.tg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tg-meta {
  display: flex;
  flex-direction: column;
}

.tg-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tg-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tg-verified-icon {
  color: var(--accent-telegram);
  font-size: 0.9rem;
}

.tg-chat-body {
  padding: 24px 20px;
  min-height: 360px;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(34, 158, 217, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.04) 0%, transparent 40%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Telegram Message Bubble */
.tg-bubble {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px 14px 14px 4px;
  padding: 18px 20px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  animation: slide-in-bubble 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-in-bubble {
  0% { opacity: 0; transform: translateY(12px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.tg-bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tg-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.tg-impact-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.tg-impact-badge.high {
  background: rgba(255, 51, 102, 0.2);
  color: #ff3366;
  border: 1px solid rgba(255, 51, 102, 0.4);
}

.tg-impact-badge.medium {
  background: rgba(255, 179, 0, 0.2);
  color: #ffb300;
  border: 1px solid rgba(255, 179, 0, 0.4);
}

.tg-msg-headline {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 12px;
}

.tg-msg-summary {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Impacted Currencies Chips Box */
.tg-pairs-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.pairs-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pairs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pair-chip {
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.25);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.tg-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tg-meta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.anti-duplicate-badge {
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tg-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 158, 217, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(34, 158, 217, 0.4);
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.tg-btn-link:hover {
  background: rgba(34, 158, 217, 0.4);
  color: #ffffff;
  border-color: #38bdf8;
}

/* ==========================================================================
   FEATURES GRID (LES 8-9 PILIERS FONDAMENTAUX)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 229, 255, 0.08);
}

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

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.3);
  transform: scale(1.08);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-highlight);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.06);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
}

/* ==========================================================================
   TARGET AUDIENCE (POUR QUI ?)
   ========================================================================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.audience-card {
  background: rgba(14, 20, 32, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition-smooth);
}

.audience-card:hover {
  transform: translateY(-4px);
  background: rgba(20, 29, 46, 0.8);
  border-color: rgba(34, 158, 217, 0.4);
}

.audience-avatar {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.audience-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.audience-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   BEFORE VS AFTER COMPARISON
   ========================================================================== */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.comparison-box {
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(16px);
  position: relative;
}

.box-before {
  background: rgba(25, 14, 20, 0.4);
  border: 1px solid rgba(255, 51, 102, 0.2);
}

.box-after {
  background: rgba(10, 30, 26, 0.4);
  border: 1px solid rgba(0, 230, 118, 0.35);
  box-shadow: 0 0 40px rgba(0, 230, 118, 0.1);
}

.comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.box-before .comparison-badge {
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-rose);
  border: 1px solid rgba(255, 51, 102, 0.3);
}

.box-after .comparison-badge {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.comparison-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

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

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.box-before .comparison-list li {
  color: #fda4af;
}

.box-before .list-icon {
  color: var(--accent-rose);
  font-weight: 800;
}

.box-after .comparison-list li {
  color: #86efac;
}

.box-after .list-icon {
  color: var(--accent-emerald);
  font-weight: 800;
}

/* ==========================================================================
   ROI & TIME SAVED CALCULATOR
   ========================================================================== */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  backdrop-filter: blur(16px);
}

.slider-container {
  margin: 28px 0;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
}

.slider-value-display {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

.custom-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 14px var(--accent-cyan);
  transition: transform 0.1s;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results-box {
  background: rgba(8, 12, 20, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.calc-stat-block {
  margin-bottom: 24px;
}

.calc-stat-block:last-child {
  margin-bottom: 0;
}

.calc-stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  line-height: 1;
  margin-bottom: 6px;
}

.calc-stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SUPPORTED MARKETS & CURRENCIES
   ========================================================================== */
.assets-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.asset-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.asset-tag:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.15);
}

.asset-flag {
  font-size: 1.1rem;
}

/* ==========================================================================
   PRICING & MEMBERSHIP TIERS
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  backdrop-filter: blur(16px);
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(14, 25, 42, 0.9) 0%, rgba(10, 16, 28, 0.9) 100%);
  border-color: rgba(34, 158, 217, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(34, 158, 217, 0.25);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #229ed9, #00e5ff);
  color: #07090e;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
}

.tier-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.tier-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 42px;
}

.tier-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.tier-features li strong {
  color: var(--text-primary);
}

.tier-check {
  color: var(--accent-emerald);
  font-weight: bold;
}

.btn-tier {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
  transition: var(--transition-bounce);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-tier-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
}

.btn-tier-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-tier-primary {
  background: linear-gradient(135deg, #229ed9 0%, #0088cc 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.4);
}

.btn-tier-primary:hover {
  box-shadow: 0 8px 30px rgba(34, 158, 217, 0.6);
  transform: translateY(-2px);
}

/* Coming Soon / Unavailable Plan Badge & Styles */
.pricing-card.is-coming-soon {
  border-color: rgba(255, 179, 0, 0.35);
  background: linear-gradient(180deg, rgba(255, 179, 0, 0.04) 0%, rgba(14, 20, 32, 0.75) 100%);
}

.pricing-card.is-coming-soon:hover {
  border-color: rgba(255, 179, 0, 0.6);
  box-shadow: 0 12px 35px rgba(255, 179, 0, 0.12);
}

.badge-status-upcoming {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff9100, #ffb300);
  color: #07090e;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(255, 179, 0, 0.4);
  white-space: nowrap;
}

.tier-availability-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 179, 0, 0.1);
  border: 1px solid rgba(255, 179, 0, 0.28);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 0.8rem;
  color: #fbbf24;
  margin-bottom: 20px;
  font-weight: 600;
}

.pulse-dot-amber {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb300;
  box-shadow: 0 0 8px #ffb300;
  flex-shrink: 0;
  animation: pulse-amber 1.8s infinite;
}

@keyframes pulse-amber {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.6); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 179, 0, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 179, 0, 0); }
}

.tag-upcoming-sub {
  font-size: 0.78rem;
  color: #fbbf24;
  font-style: italic;
  font-weight: 500;
}

.btn-tier-amber {
  background: rgba(255, 179, 0, 0.12);
  border: 1px solid rgba(255, 179, 0, 0.45);
  color: #ffca28;
}

.btn-tier-amber:hover {
  background: rgba(255, 179, 0, 0.22);
  border-color: #ffb300;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 179, 0, 0.25);
}

/* ==========================================================================
   TESTIMONIALS & SOCIAL PROOF
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(14px);
}

.test-stars {
  color: #facc15;
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.test-quote {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #229ed9, #00e5ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #07090e;
}

.author-info h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.author-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  transition: var(--transition-fast);
}

.faq-question-btn:hover {
  color: var(--accent-cyan);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.final-cta-banner {
  background: linear-gradient(135deg, rgba(14, 25, 45, 0.9) 0%, rgba(8, 14, 24, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 229, 255, 0.12);
}

.final-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.final-cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.15;
}

.final-cta-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 36px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040609;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 35px;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.footer-disclaimer {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODAL (REJOINDRE LE CANAL TELEGRAM)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #0f1624;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 229, 255, 0.2);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent-rose);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  margin: 0 auto 16px;
  border: 1px solid rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  overflow: hidden;
}

.modal-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.modal-qr-box {
  background: #ffffff;
  padding: 10px;
  border-radius: var(--radius-md);
  width: 180px;
  height: 180px;
  margin: 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.modal-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.qr-caption {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 20px;
}

.btn-modal-join {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #229ed9 0%, #1e88e5 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 25px rgba(34, 158, 217, 0.5);
  transition: var(--transition-bounce);
}

.btn-modal-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(34, 158, 217, 0.7);
}

/* ==========================================================================
   TOAST NOTIFICATION (ALERT SIMULATION)
   ========================================================================== */
.alert-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #141c2c;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 229, 255, 0.2);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  max-width: 380px;
}

.alert-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.6rem;
  color: var(--accent-cyan);
}

.toast-content h6 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.toast-content p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   Optimized for mobile: locked format, zero wobble, sleek native-app feel.
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-badges-list {
    justify-content: center;
  }

  /* Strictly hide floating chips on tablet/mobile to prevent horizontal protrusion */
  .floating-chip {
    display: none !important;
  }

  .sim-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 24px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .calc-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
    overflow-x: clip;
  }

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

  .hero-title {
    font-size: clamp(2rem, 5.5vw, 2.35rem);
    line-height: 1.18;
  }

  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.05rem);
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Mobile Navigation Drawer */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    flex-direction: column;
    padding: 18px 16px;
    gap: 10px;
    z-index: 100;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .nav-links.mobile-open {
    display: flex;
    animation: slideDownMenu 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.mobile-open li {
    width: 100%;
  }

  .nav-links.mobile-open a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
  }

  .nav-links.mobile-open a:hover,
  .nav-links.mobile-open a:active {
    background: rgba(0, 229, 255, 0.08);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 8px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
  }

  .mobile-menu-btn span {
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Grid adaptations */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .comparison-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .comparison-box {
    padding: 22px 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Simulator Mobile Optimizations */
  .simulator-wrapper {
    padding: 20px 14px;
    border-radius: var(--radius-md);
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .sim-controls-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .sim-headline h3 {
    font-size: 1.15rem;
  }

  .sim-headline p {
    font-size: 0.82rem;
  }

  .sim-category-pills {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-bottom: 8px;
    padding-right: 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to right, black 86%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 86%, transparent 100%);
  }

  .sim-category-pills::-webkit-scrollbar {
    display: none;
  }

  .sim-pill-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* Pipeline steps in 1 full-width column on mobile for clean readability */
  .pipeline-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pipeline-step {
    padding: 10px 12px;
    gap: 10px;
  }

  .pipeline-step .step-info h5 {
    font-size: 0.86rem;
  }

  .pipeline-step .step-info p {
    font-size: 0.76rem;
    display: block;
    line-height: 1.35;
    margin-top: 2px;
  }

  .pipeline-latency-box {
    margin-top: 14px;
    padding-top: 12px;
    font-size: 0.8rem;
  }

  .tg-window-header {
    padding: 10px 14px;
  }

  .tg-avatar {
    width: 34px;
    height: 34px;
  }

  .tg-title {
    font-size: 0.88rem;
  }

  .tg-sub {
    font-size: 0.68rem;
  }

  .tg-chat-body {
    padding: 16px 12px;
    min-height: auto;
  }

  .tg-bubble {
    padding: 14px 12px;
    border-radius: 12px 12px 12px 4px;
  }

  .tg-msg-headline {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .tg-msg-summary {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .tg-pairs-box {
    margin: 12px 0;
  }

  .pairs-title {
    font-size: 0.72rem;
  }

  .pair-chip {
    font-size: 0.74rem;
    padding: 2px 7px;
  }

  .tg-footer-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .tg-meta-left {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
  }

  .tg-btn-link {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.82rem;
    box-sizing: border-box;
  }

  /* Calculator Mobile */
  .calc-card {
    padding: 22px 16px;
    gap: 24px;
  }

  .custom-range-slider {
    height: 10px;
  }

  .custom-range-slider::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }

  .calc-results-box {
    padding: 20px 16px;
  }

  .calc-stat-num {
    font-size: 2.3rem;
  }

  /* Modals Mobile */
  .modal-backdrop {
    padding: 12px;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  @media (max-height: 680px) {
    .modal-backdrop {
      align-items: flex-start;
    }
  }

  .modal-content, .auth-modal-card {
    padding: 22px 16px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
  }

  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }

  .modal-logo {
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
  }

  .modal-title {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .modal-desc {
    font-size: 0.82rem;
  }

  .modal-qr-box {
    width: 150px;
    height: 150px;
    margin: 12px auto;
    padding: 8px;
  }

  .form-control {
    font-size: 16px !important; /* Strictly prevents auto-zoom on iOS */
    padding: 12px 14px 12px 42px;
  }

  .btn-auth-submit {
    padding: 14px;
    font-size: 0.95rem;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  /* FAQ Accordion Mobile */
  .faq-question-btn {
    padding: 15px 14px;
    font-size: 0.92rem;
    gap: 10px;
  }

  .faq-answer {
    padding: 0 14px 15px;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  /* Final CTA Mobile */
  .final-cta-banner {
    padding: 34px 18px;
  }

  .final-cta-title {
    font-size: 1.8rem;
  }

  .final-cta-desc {
    font-size: 0.92rem;
    margin-bottom: 22px;
  }

  /* Alert Toast Mobile */
  .alert-toast {
    left: 12px;
    right: 12px;
    bottom: calc(16px + var(--sab, 0px));
    max-width: none;
    width: auto;
    box-sizing: border-box;
    padding: 12px 16px;
  }
}

@media (max-width: 580px) {
  /* Ultra-clean top system status bar on mobile */
  .status-indicator-text {
    display: none;
  }

  .status-latency, .status-antidup {
    display: none;
  }

  .status-left, .status-right {
    gap: 10px;
  }

  .status-tag.france {
    font-size: 0.72rem;
    padding: 2px 6px;
  }

  .sound-toggle-btn {
    padding: 2px 7px;
    font-size: 0.72rem;
  }

  #soundLabel {
    display: none;
  }

  .btn-telegram-primary span {
    display: none;
  }

  .btn-telegram-primary {
    padding: 8px 12px;
    gap: 0;
    border-radius: var(--radius-full);
  }

  .nav-actions {
    gap: 8px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-sub {
    font-size: 0.6rem;
  }

  .logo-badge {
    width: 36px;
    height: 36px;
  }

  .user-pill-info {
    display: none;
  }

  .user-pill {
    padding: 3px 6px;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 44px 0;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-pill-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
    line-height: 1.3;
    white-space: normal;
  }

  .hero-lead {
    font-size: 0.94rem;
    margin-bottom: 22px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.95rem;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero-visual-container {
    max-width: 270px;
    border-radius: 26px;
    padding: 8px;
    margin: 0 auto;
  }

  .phone-screen-img {
    border-radius: 20px;
  }

  .asset-tag {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .comparison-box {
    padding: 20px 14px;
  }

  /* Pricing Cards Mobile */
  .pricing-card {
    padding: 28px 16px 20px;
  }

  .popular-badge, .badge-status-upcoming {
    font-size: 0.65rem;
    padding: 3px 10px;
    max-width: 90%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .price-amount {
    font-size: 2.2rem;
  }

  .tier-desc {
    font-size: 0.82rem;
  }

  .tier-features li {
    font-size: 0.84rem;
  }

  .btn-tier {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .auth-selected-plan-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .final-cta-banner {
    padding: 32px 16px;
    border-radius: var(--radius-md);
  }

  .final-cta-title {
    font-size: 1.6rem;
  }

  .final-cta-desc {
    font-size: 0.9rem;
  }

  /* Footer Mobile */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .price-amount {
    font-size: 1.95rem;
  }

  .calc-stat-num {
    font-size: 1.95rem;
  }
}

@keyframes slideDownMenu {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   SUPABASE AUTH & STRIPE CHECKOUT MODAL STYLES
   ========================================================================== */
.auth-modal-card {
  max-width: 490px;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.98) 0%, rgba(9, 13, 22, 0.98) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 229, 255, 0.15);
}

.auth-modal-header {
  text-align: center;
  margin-bottom: 22px;
}

.auth-selected-plan-box {
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.auth-selected-plan-box .plan-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.auth-selected-plan-box .plan-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.auth-selected-plan-box .plan-name {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.auth-selected-plan-box .plan-price {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.auth-error-banner {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  margin-bottom: 18px;
  text-align: left;
}

.auth-form-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 1.05rem;
  pointer-events: none;
  opacity: 0.8;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px 12px 44px;
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}

.form-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.btn-auth-submit {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #229ed9 0%, #0088cc 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 6px 25px rgba(34, 158, 217, 0.45);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
}

.btn-auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 158, 217, 0.65);
}

.btn-auth-submit.loading {
  opacity: 0.7;
  cursor: wait;
}

.auth-modal-footer {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.auth-toggle-link {
  color: var(--accent-cyan);
  font-size: 0.88rem;
  text-decoration: underline;
  transition: var(--transition-fast);
}

.auth-toggle-link:hover {
  color: #fff;
}

.auth-trust-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-badge {
  font-size: 0.74rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Navbar User Section */
.btn-nav-login {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-nav-login:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--accent-cyan);
  color: #fff;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 20, 32, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 10px 4px 6px;
}

.user-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e5ff, #229ed9);
  color: #07090e;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.user-pill-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.user-email-text {
  font-size: 0.78rem;
  color: #fff;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-plan-tag {
  font-size: 0.68rem;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-weight: 700;
}

.btn-logout {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.btn-logout:hover {
  color: #ff3366;
}
