/* ============================================================================
   CHILBOT — 1:1 PIXEL-PERFECT DESIGN SYSTEM & STYLESHEET
   ============================================================================ */

/* ============================================================================
   ⚙️  RÉGLAGES RAPIDES — LOGO & MOCKUPS DU HERO
   Modifie uniquement ces valeurs : tout le reste en découle.
   • Mockups : nombres SANS unité, en pixels sur un grand écran.
     Sous ~1090px de large, toute la composition rétrécit proportionnellement.
   • Netteté : au-delà de ~475 (desktop), ~510 (laptop), ~290 (phone)
     les PNG actuels (1080px) commencent à être agrandis sur écran Retina.
   ============================================================================ */
:root {
  --logo-height: 26px;              /* hauteur du logo Range Craft (navbar) */

  --mockup-desktop-width: 520;      /* écran desktop, au centre */
  --mockup-laptop-width: 400;       /* laptop, à gauche */
  --mockup-phone-width: 150;        /* téléphone, à droite */
  --mockup-laptop-offset: 280;      /* distance centre → centre du laptop (vers la gauche) */
  --mockup-phone-offset: 290;       /* distance centre → centre du téléphone (vers la droite) */
  --mockup-scene-width: 1060;       /* largeur totale de la scène (sert au rétrécissement auto) */
}

@media (max-width: 768px) {
  :root {
    --logo-height: 22px;

    --mockup-desktop-width: 240;
    --mockup-laptop-width: 170;
    --mockup-phone-width: 70;
    --mockup-laptop-offset: 100;
    --mockup-phone-offset: 112;
    --mockup-scene-width: 400;
  }
}

:root {
  /* Fonds principaux (Alternance ChilBot × RangeCraft) */
  --bg-dark: #080A14;               /* Noir / Bleu Nuit profond (Hero, Section 5, Footer) */
  --bg-dark-elevated: #101426;      /* Cartes sombres & surfaces sur fond noir */
  --bg-dark-card: #101426;          /* Fond de la carte tarifaire Free (Section 5) */
  --bg-navy-deep: #191A37;          /* Bleu nuit RangeCraft */
  --bg-cream: #EBE4DD;              /* Beige / Crème signature ChilBot (Sections 2, etc.) */
  --bg-white: #FFFFFF;              /* Blanc Pur (Section 3 Easy Create & cartes) */
  --bg-sticky-card: #F4F5F8;        /* Fond subtil carte sticky droite (Section 3) */

  /* Accents RangeCraft */
  --accent-lime: #94A3B8;           /* Gris ardoise épuré (remplace le néon #93C5FD) */
  --accent-electric: #2C4A8F;       /* Bleu Royal sobre (remplace le bleu électrique arcade) */
  --accent-forest: #1E3A6E;         /* Bleu Royal soutenu */
  --accent-gradient: linear-gradient(135deg, #2C4A8F 0%, #1E284A 50%, #0F1222 100%);
  --accent-gradient-bright: linear-gradient(135deg, #3563C9 0%, #3563c9 55%, #1E3A6E 100%);

  /* Couleurs de texte */
  --text-dark: #0A0E1A;             /* Titres et textes principaux sur fond clair */
  --text-muted-light: #5A657D;      /* Paragraphes secondaires sur fond clair */
  --text-white: #FFFFFF;            /* Titres et textes sur fond sombre/vert */
  --text-muted-dark: #94A3B8;

  /* Couleurs d'accentuation héritées ChilBot mappées sur RangeCraft */
  --green-primary: #3563c9;         /* Boutons CTA principaux & onglet actif */
  --green-pill: #3563c9;            /* Pilules UI */
  --green-italic-light: #1E3A6E;    /* Mots sur fond clair */
  --green-italic-dark: #94A3B8;     /* Mots sur fond sombre */
  --green-dot-cta: #3563C9;         /* Point sobre dans les boutons CTA */
  --green-dot-grid: #3563c9;        /* Points d'intersection des grilles */

  /* Bordures */
  --border-light: rgba(37, 99, 235, 0.12);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-subtle-light: rgba(10, 14, 26, 0.08);
  --border-subtle-dark: rgba(255, 255, 255, 0.08);

  /* Couleurs UI Spécifiques */
  --tan-squircle: #2E3B6D;
  --peach-error-bg: #E8EEF8;
  --peach-error-text: #2C4A8F;
  --gmail-header-dark: #0A0E1A;
  --gmail-send-blue: #3563c9;

  /* Typographie */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif-italic: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  width: 100%;
  overflow-x: clip;
  background-color: var(--bg-cream);
}

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

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

img,
svg {
  display: block;
  max-width: 100%;
}

/* ============================================================================
   MESH GRADIENTS & UTILITIES
   ============================================================================ */
.mesh-gradient-hero {
  background-color: #080A14;
  background-image:
    radial-gradient(ellipse at 50% 25%, rgba(59, 113, 188, 0.22) 0%, rgba(25, 26, 55, 0.35) 45%, rgba(8, 10, 20, 0) 75%),
    radial-gradient(ellipse 65% 70% at 18% 12%, rgba(59, 113, 188, 0.35) 0%, transparent 65%),
    radial-gradient(ellipse 60% 65% at 88% 28%, rgba(82, 140, 224, 0.28) 0%, transparent 62%),
    radial-gradient(ellipse 75% 75% at 82% 88%, rgba(37, 99, 235, 0.15) 0%, transparent 68%),
    radial-gradient(ellipse 65% 60% at 32% 68%, rgba(8, 10, 20, 0.96) 0%, transparent 70%);
}

.mesh-gradient-card {
  background-color: #191A37;
  background-image:
    radial-gradient(circle at 18% 18%, #3563c9 0%, transparent 60%),
    radial-gradient(circle at 88% 85%, #3563c9 0%, transparent 58%),
    radial-gradient(circle at 48% 58%, #101426 0%, #2E3B6D 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* 3D Decorative Assets Hue Filter (ChilBot green -> RangeCraft electric / ice blue) */
.rc-blue-3d,
img.rc-blue-3d,
.badge-item.b2.rc-blue-3d,
.pricing-diamond-3d.rc-blue-3d,
.project-card-right img.rc-blue-3d {
  filter: hue-rotate(118deg) saturate(1.25) brightness(1.05) drop-shadow(0 12px 24px rgba(8, 10, 20, 0.28)) !important;
}

.badge-item.b1.rc-blue-3d {
  filter: hue-rotate(175deg) saturate(1.22) brightness(1.05) drop-shadow(0 12px 24px rgba(8, 10, 20, 0.28)) !important;
}

.badge-item.b3.rc-blue-3d {
  filter: hue-rotate(190deg) saturate(1.2) brightness(1.06) drop-shadow(0 12px 24px rgba(8, 10, 20, 0.28)) !important;
}

/* ============================================================================
   SHARED TYPOGRAPHY & BUTTONS
   ============================================================================ */
.line-mask {
  display: block;
  overflow: hidden;
  line-height: 1.12;
  padding-bottom: 0.14em;
  margin-bottom: -0.10em;
}

.line-mask-overflow {
  overflow: hidden;
}

.line-inner {
  display: block;
  will-change: transform;
}

.line-flex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.italic-eyebrow {
  font-style: normal;
  font-weight: 500;
}

.italic-word {
  font-style: normal;
  font-weight: 500;
  color: var(--accent-lime);
}

.italic-green {
  font-style: normal;
  font-weight: inherit;
  color: var(--green-italic-light);
}

.italic-lime {
  font-style: normal;
  font-weight: inherit;
  color: var(--green-italic-dark);
}

.section-eyebrow {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--green-italic-light);
  margin-bottom: 14px;
}

.eyebrow-lime {
  color: var(--green-italic-dark);
}

.section-title {
  font-size: 64px;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text-dark);
}

.title-white {
  color: var(--text-white);
}

/* Standard Horizontal Pill Buttons (All buttons straight by default) */
.btn-green-tilted,
.btn-outline-tilted,
.feature-cta-tilted,
.stats-cta-btn,
.final-cta-btn,
.footer-signup-btn,
.section-tilted-cta,
.btn-pricing-free,
.btn-pricing-premium,
.btn-pricing-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  padding: 16px 30px;
  border-radius: 999px !important;
  transform: none !important;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-green-tilted {
  background-color: var(--green-primary);
  color: var(--text-white);
  border: 1.5px solid transparent;
  box-shadow: none;
}

.btn-green-tilted:hover {
  transform: translateY(-2px) scale(1.02) !important;
  background-color: #214081;
  box-shadow: none;
}

.btn-outline-tilted {
  background-color: transparent;
  color: var(--text-dark);
  border: 1.5px solid rgba(59, 113, 188, 0.45);
}

.btn-outline-tilted:hover {
  transform: translateY(-2px) scale(1.02) !important;
  background-color: rgba(59, 113, 188, 0.08);
  border-color: var(--accent-electric);
}

/* EXCEPTION CHIRURGICALE : Seul le bouton CTA du Hero reste subtilement incliné */
.hero-cta-btn {
  transform: rotate(-6deg) !important;
  transform-origin: center center;
  margin-left: 24px !important;
  margin-top: 10px !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero-cta-btn:hover {
  transform: rotate(-3deg) scale(1.03) !important;
  background-color: #214081;
}

.cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--green-dot-cta);
  flex-shrink: 0;
}

.cta-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--green-italic-light);
  flex-shrink: 0;
}

/* ============================================================================
   SECTION 0 — FIXED ADAPTIVE NAVBAR (#navbar)
   ============================================================================ */
/* ============================================================================
   SECTION 0 — FIXED ADAPTIVE NAVBAR (#navbar)
   ============================================================================ */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: all 0.35s ease;
  pointer-events: none;
  box-sizing: border-box;
}

.site-navbar > * {
  pointer-events: auto;
}

.site-navbar.theme-light {
  color: var(--text-white);
}

.site-navbar.theme-dark {
  color: var(--text-dark);
}

/* Brand Logo (Unboxed, free, 38px icon, with invert on light background) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  transition: opacity 0.25s ease;
}

.brand-logo:hover {
  opacity: 0.88;
}

/* The logo is a wide wordmark (≈3.27:1) — size it by height, never in a square box */
.site-logo-img {
  width: auto;
  height: var(--logo-height);   /* ⚙️ réglé en haut du fichier */
  max-width: none;
  object-fit: contain;
  display: block;
  transition: filter 0.35s ease;
}

/* Invert white logo to dark when over light sections */
.site-navbar.theme-dark .site-logo-img {
  filter: invert(1);
}

.site-navbar.theme-light .site-logo-img {
  filter: none;
}

.brand-wordmark {
  font-family: var(--font-primary, var(--rc-font-sans, 'Plus Jakarta Sans', sans-serif));
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  transition: color 0.35s ease;
}

.site-navbar.theme-dark .brand-wordmark {
  color: #0A0E1A;
}

.site-navbar.theme-light .brand-wordmark {
  color: #FFFFFF;
}

/* Center Navigation Menu (Mathematically centered with absolute positioning) */
.navbar-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.nav-link {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap; /* CJK labels (機能, ダウンロード) would otherwise wrap letter by letter */
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  opacity: 0.92;
  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none;
}

.site-navbar.theme-light .nav-link:hover,
.site-navbar.theme-light .nav-link.active {
  opacity: 1;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.site-navbar.theme-dark .nav-link {
  color: #0A0E1A;
}

.site-navbar.theme-dark .nav-link:hover,
.site-navbar.theme-dark .nav-link.active {
  opacity: 1;
  color: #0A0E1A;
  background: rgba(10, 14, 26, 0.06);
  border-color: rgba(10, 14, 26, 0.12);
  box-shadow: none;
}

/* Dropdown menus for Roadmap & Support */
.nav-dropdown-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 18px;
  background: transparent;
  pointer-events: auto;
}

.nav-dropdown-trigger {
  font-family: inherit;
  background: none;
  border: none;
}

.dropdown-arrow {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.nav-dropdown-item:hover .dropdown-arrow,
.nav-dropdown-item.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 185px;
  padding: 8px;
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1050;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
  pointer-events: auto;
}

.nav-dropdown-item:hover .nav-dropdown-menu,
.nav-dropdown-item.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.site-navbar.theme-light .nav-dropdown-menu {
  background: rgba(10, 14, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.site-navbar.theme-light .dropdown-link {
  color: var(--text-white);
}

.site-navbar.theme-light .dropdown-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.site-navbar.theme-dark .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(59, 113, 188, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 48px rgba(10, 14, 26, 0.14);
}

.site-navbar.theme-dark .dropdown-link {
  color: var(--text-dark);
}

.site-navbar.theme-dark .dropdown-link:hover {
  background: rgba(59, 113, 188, 0.1);
  color: var(--accent-forest);
}

.dropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

/* Right Action: Log In */
.navbar-actions {
  display: flex;
  align-items: center;
}

.nav-login-btn {
  font-size: 15px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px !important;
  border: 1px solid transparent;
  cursor: pointer;
  color: inherit;
  background: none;
  transition: all 0.25s ease;
}

.site-navbar.theme-light .nav-login-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.site-navbar.theme-dark .nav-login-btn:hover {
  background: rgba(59, 113, 188, 0.12);
  border-color: rgba(59, 113, 188, 0.28);
}

/* Glassmorphism on scroll */
.site-navbar.is-scrolled .navbar-links {
  padding: 8px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-navbar.is-scrolled .nav-login-btn {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Scrolled themes */
.site-navbar.theme-dark.is-scrolled {
  color: #0A0E1A !important;
}

.site-navbar.theme-dark.is-scrolled .navbar-links,
.site-navbar.theme-dark.is-scrolled .nav-login-btn {
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 14, 26, 0.08);
  box-shadow: 0 8px 24px rgba(10, 14, 26, 0.08);
  color: #0A0E1A !important;
}

.site-navbar.theme-dark.is-scrolled .nav-link {
  color: #0A0E1A !important;
  /* same weight as on dark backgrounds, so the navbar keeps exactly the same size */
}

.site-navbar.theme-light.is-scrolled .navbar-links,
.site-navbar.theme-light.is-scrolled .nav-login-btn {
  background-color: rgba(10, 14, 26, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  color: #FFFFFF !important;
}

.site-navbar.theme-light.is-scrolled .nav-link {
  color: #FFFFFF !important;
}

/* ============================================================================
   SECTION 1 — HERO & INTERACTIVE GMAIL WINDOW (#hero-pin-master)
   ============================================================================ */
.hero-pin-master {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 820px;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.hero-section {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 4vh;
}

.hero-content {
  position: relative;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  will-change: transform, opacity;
}

.hero-eyebrow {
  font-size: 15px;
  font-weight: 500;
  color: var(--green-italic-dark);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 96px;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.038em;
  color: var(--text-white);
  padding-bottom: 8px;
}

.hero-title .line-mask {
  height: auto;
  min-height: 126px;
  padding-top: 6px;
  padding-bottom: 24px;
  margin-bottom: -16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-title .line-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
}

/* Explicit Typographical Word Spacings */
.hero-title .word-create-your {
  margin-right: 0.28em;
  display: inline-block;
}

.hero-title .word-ranges {
  display: inline-block;
  padding-bottom: 0.12em;
}

.hero-title .word-master-your {
  margin-right: 0.28em;
  display: inline-block;
}

.hero-title .word-game {
  display: inline-block;
  padding-bottom: 0.12em;
}

.hero-title .italic-lime {
  display: inline-block;
  padding-bottom: 0.12em;
}

/* ============================================================================
   FLOATING POKER CARDS (real card renders from assets/images/hero)
   Sizes are capped at ~half the source width so they stay sharp on retina.
   ============================================================================ */
.hero-floating-stage {
  position: absolute;       /* spans the whole hero viewport, independent of .hero-content width */
  inset: 0;
  pointer-events: none;
  z-index: 5;               /* above the title AND the mockups (mockups z 4 pass behind the cards) */
  overflow: hidden;
}

/* Voile qui assombrit le fond du hero au scroll (opacité animée 0 → 1 dans app.js).
   ⚙️ Pour un fond plus ou moins sombre en fin de montée, change l'alpha ci-dessous. */
.hero-dim-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: rgba(3, 4, 10, 0.82);
}

/* .hero-float-card = wrapper (entrée + sortie au scroll) · img = lévitation + parallaxe souris */
.hero-float-card {
  position: absolute;
  display: block;
  will-change: transform;
}

.hfc-inner {
  display: block;
  will-change: transform, opacity;
}

.hero-float-card img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.55));
  will-change: transform;
}

/* 1 — Ace of spades: big, half off-screen on the left */
.hfc-1 { width: clamp(150px, 15vw, 236px); left: -4.5vw; top: 54vh; }
/* 2 — Ten of hearts: top-right corner, almost off-screen */
.hfc-2 { width: clamp(110px, 10.5vw, 156px); right: -2.5vw; top: 9vh; }
/* 3 — Queen: close to the title, upper left */
.hfc-3 { width: clamp(84px, 8vw, 128px); left: 8vw; top: 13vh; }
/* 4 — Diamond: close to the subtitle, right */
.hfc-4 { width: clamp(62px, 5.6vw, 92px); right: 15vw; top: 56vh; }
/* 5 — Club: small, near the CTA, lower left */
.hfc-5 { width: clamp(52px, 4.4vw, 72px); left: 24vw; top: 72vh; }

@media (max-width: 1100px) {
  .hfc-3 { left: 3vw; top: 12vh; }
  .hfc-4 { right: 6vw; top: 60vh; }
  .hfc-5 { left: 10vw; top: 78vh; }
}

@media (max-width: 768px) {
  .hfc-1 { width: 110px; left: -48px; top: auto; bottom: 14vh; }
  .hfc-2 { width: 84px; right: -26px; top: 13vh; }
  .hfc-3 { width: 54px; left: -14px; top: 11vh; }
  .hfc-4 { width: 48px; right: 4vw; top: auto; bottom: 22vh; }
  .hfc-5 { display: none; }
}

/* 3D Badges Fan Slot */
.hero-badges-slot,
.cta-badges-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 0px;
  height: 78px;
  margin: 0;
  vertical-align: middle;
  overflow: visible;
  will-change: width, margin, opacity;
}

.badge-item {
  position: absolute;
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
  will-change: transform, opacity;
  pointer-events: none;
}

.badge-item.b1 {
  z-index: 1;
}

.badge-item.b2 {
  z-index: 2;
}

.badge-item.b3 {
  z-index: 3;
}

/* Hero CTA Button on Line 3 */
.word-ai-writing {
  word-spacing: 0.08em;
}

.hero-cta-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  vertical-align: middle;
  margin-top: 8px;
}

.hero-cta-btn,
.final-cta-btn {
  padding: 16px 26px;
  width: max-content;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  vertical-align: middle;
}

/* 4 Sparkle Stars */
.hero-stars-tl {
  position: absolute;
  top: -10px;
  left: 34px;
  pointer-events: none;
}

.star-tl-main {
  position: absolute;
  top: 0;
  left: 0;
}

.star-tl-sub {
  position: absolute;
  top: 22px;
  left: -14px;
}

.hero-stars-br {
  position: absolute;
  right: -26px;
  bottom: -24px;
  pointer-events: none;
}

.star-br-main {
  position: relative;
}

.star-br-sub {
  position: absolute;
  top: -10px;
  right: -12px;
}

/* Glassmorphic Rating Pill */
.hero-rating-pill {
  margin: 42px auto 0;
  width: fit-content;
  padding: 11px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-white);
  font-size: 13.5px;
  font-weight: 400;
}

.rating-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.highlight-metric {
  color: var(--accent-lime);
  font-weight: 600;
}

.pill-divider {
  opacity: 0.45;
}

/* Hero Clean Subtext & Straight Actions */
.hero-subtext-lead {
  max-width: 660px;
  margin: 18px auto 26px;
  font-size: 16.5px;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
  text-align: center;
}

.hero-cta-action-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.btn-hero-straight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  background-color: var(--rc-blue-primary, #3563c9);
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-straight:hover {
  background-color: #3563c9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* OS-aware download button logo */
.os-btn-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* Trustpilot — simple clickable image, just above the download button */
.hero-tp-badge {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-tp-badge:hover {
  opacity: 0.85;
}

.hero-tp-img {
  display: block;
  height: 20px;
  width: auto;
}

/* Hero download button — larger */
.hero-cta-action-row .btn-hero-straight {
  padding: 18px 38px;
  font-size: 17px;
  gap: 12px;
}

.hero-cta-action-row .btn-hero-straight .os-btn-logo {
  width: 22px;
  height: 22px;
}

.tp-reviews-btn .tp-reviews-img {
  display: block;
  height: 18px;
  width: auto;
  /* image has white text: give it a dark chip on light sections */
  background: #191919;
  padding: 5px 8px;
  border-radius: 6px;
  box-sizing: content-box;
}

.social-ico-trustpilot img {
  display: block;
  height: 18px;
  width: auto;
}

/* Gmail / RangeCraft Studio Window & Clean Mockup */
.gmail-card-wrapper {
  position: absolute;
  top: calc(100vh - 104px);
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 4;
  will-change: top, transform, opacity;
}

.gmail-glass-frame {
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.55);
}

.hero-clean-frame {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* Three-device composition — sizes come from the ⚙️ variables at the top of this file.
   --mu = 1 "unité mockup" : 1px sur grand écran, moins quand la fenêtre est plus étroite que la scène. */
.hero-device-showcase {
  --mu: min(1px, calc((100vw - 24px) / var(--mockup-scene-width)));
  position: relative;
  width: 100%;
  /* hauteur = le plus haut des trois appareils (ratios des PNG : 746/952, 659/1021, 909/581) */
  height: max(
    calc(var(--mockup-desktop-width) * 0.7836 * var(--mu)),
    calc(var(--mockup-laptop-width) * 0.6455 * var(--mu)),
    calc(var(--mockup-phone-width) * 1.5645 * var(--mu))
  );
  margin: 0 auto;
  overflow: visible;
}

.hero-device {
  position: absolute;
  bottom: 0;
  height: auto;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
  max-width: none;
}

/* Center — large */
.hero-device-desktop {
  width: calc(var(--mockup-desktop-width) * var(--mu));
  left: calc(50% - var(--mockup-desktop-width) * var(--mu) / 2);
  z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.75));
}

/* Left — medium, overlapping the desktop foot */
.hero-device-laptop {
  width: calc(var(--mockup-laptop-width) * var(--mu));
  left: calc(50% - (var(--mockup-laptop-offset) + var(--mockup-laptop-width) / 2) * var(--mu));
  z-index: 2;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.8));
}

/* Right — small */
.hero-device-phone {
  width: calc(var(--mockup-phone-width) * var(--mu));
  left: calc(50% + (var(--mockup-phone-offset) - var(--mockup-phone-width) / 2) * var(--mu));
  z-index: 3;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.85));
}

@media (max-width: 768px) {
  .hero-title {
    font-size: min(44px, 10.4vw) !important;
    letter-spacing: -0.025em;
  }
  .hero-title .line-mask {
    min-height: 60px !important;
    padding-bottom: 12px !important;
    margin-bottom: -6px !important;
  }
  .hero-badges-slot {
    height: 44px !important;
  }
  .badge-item {
    width: 40px !important;
    height: 40px !important;
  }
  .hero-title .line-inner { white-space: nowrap; flex-wrap: nowrap; }
}

.author-avatar-initials {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3563c9;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.gmail-window {
  background: #080A14;
  border-radius: 16px;
  overflow: hidden;
  color: var(--text-white);
}

.gmail-titlebar {
  background: #101426;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  height: 46px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}

.poker-spot-tag {
  color: var(--accent-lime);
  font-family: var(--font-mono);
  font-size: 11.5px;
  margin-left: 6px;
}

.gmail-window-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.8;
}

.poker-studio-body {
  padding: 16px 18px 18px;
  background: #0A0E1A;
  position: relative;
}

.poker-preview-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
  background: #080A14;
}

.poker-preview-img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.gmail-footer {
  padding: 12px 18px 16px;
  background: #101426;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.poker-action-pill {
  background: rgba(59, 113, 188, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.poker-action-pill .dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27C93F;
  box-shadow: 0 0 8px #27C93F;
}

.gmail-chilbot-widget {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.gmail-fix-tooltip {
  position: absolute;
  bottom: 44px;
  right: 0;
  background: #3563c9;
  color: var(--text-white);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.gmail-widget-badges {
  display: inline-flex;
  align-items: center;
}

.widget-count-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3563c9;
  color: var(--text-white);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.widget-bot-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #101426;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  z-index: 1;
}

.gmail-cursor {
  position: absolute;
  bottom: 18px;
  right: 54px;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.gmail-scroll-caption {
  margin-top: 32px;
  text-align: center;
  color: var(--text-white);
  font-size: 18px;
  line-height: 1.48;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.caption-highlight {
  color: var(--accent-lime);
  font-weight: 500;
}

/* ============================================================================
   SECTION 2 — "8 TOOLS — ONE PLATFORM" & LOGOS BAR
   ============================================================================ */
.products-overlay-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-cream);
  z-index: 5;
  clip-path: circle(0% at 50% 50%);
  will-change: clip-path;
}

.products-inner-stage {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 28px;
  padding-bottom: 0;
}

.products-header {
  text-align: center;
  margin-bottom: 28px;
}

.green-title-part {
  color: var(--green-italic-light);
  font-weight: 500;
}

/* 4x2 Tools Grid */
.tools-grid {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, clamp(200px, 27vh, 240px));
  position: relative;
}

/* Internal borders ONLY */
.tool-card:nth-child(-n+7) {
  /* Wait: first 3 children in .tools-grid are the 3 .grid-intersection-dot elements! */
}

.tools-grid .tool-card {
  isolation: isolate;
  overflow: hidden;          /* the hover illustration is partly cropped by the card */
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  border-right: 1px solid var(--border-subtle-light);
  border-bottom: 1px solid var(--border-subtle-light);
}

/* Remove outer right border on col 4 (cards 4 and 8) */
.tools-grid .tool-card[data-tool="04"],
.tools-grid .tool-card[data-tool="08"] {
  border-right: none;
}

/* Remove outer bottom border on row 2 (cards 5, 6, 7, 8) */
.tools-grid .tool-card[data-tool="05"],
.tools-grid .tool-card[data-tool="06"],
.tools-grid .tool-card[data-tool="07"],
.tools-grid .tool-card[data-tool="08"] {
  border-bottom: none;
}

/* 3 Signature Olive Green Dots at Internal Grid Crossings */
.grid-intersection-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--green-dot-grid);
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  pointer-events: none;
}

.grid-intersection-dot.dot-1 {
  left: 25%;
}

.grid-intersection-dot.dot-2 {
  left: 50%;
}

.grid-intersection-dot.dot-3 {
  left: 75%;
}

/* Feature icons — inline SVGs in the pages (white line icons, currentColor).
   Inline markup works everywhere, including pages opened locally (file://). */
.rc-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--rc-feature-icon-color, #1E3A6E);
}

.rc-feature-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tools-grid .tool-icon {
  width: 24px;
  height: 24px;
}

/* Whole card clickable through the title link (stretched link) */
.tool-link {
  color: inherit;
  text-decoration: none;
}

.tool-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.tool-link:focus-visible {
  outline: none;
}

.tools-grid .tool-card:has(.tool-link:focus-visible) {
  outline: 2px solid #3563c9;
  outline-offset: -2px;
}

/* Hover mockup (assets/mockups/features) — slides in from the bottom-right corner,
   only partly visible. Per-card tweaks via inline vars: --art-w, --art-rot, --art-r, --art-b */
.tool-art {
  position: absolute;
  right: var(--art-r, -8%);
  bottom: var(--art-b, -14%);
  width: var(--art-w, 56%);
  height: auto;
  max-width: none;
  z-index: -1;               /* behind the text, above the card background (card is isolated) */
  pointer-events: none;
  opacity: 0;
  transform: translate(18%, 18%) rotate(var(--art-rot, 0deg)) scale(0.94);
  transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5));
}

/* Optional top anchor: a card that sets --art-t pins its illustration under the text
   (constant offset from the top), so shorter cards crop the bottom instead of pushing
   the mockup up into the title. Cards without --art-t keep the bottom anchor above. */
.tools-grid .tool-card[style*="--art-t"] .tool-art {
  top: var(--art-t);
  bottom: auto;
}

.tool-icon-wrap {
  margin: 6px 0;
  max-height: 60px;
  overflow: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), margin 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Flexible gap between icon and text — shrinks to 0 on hover so the text rises to the top */
.tool-card-spacer {
  flex: 1 1 0;
  min-height: 0;
  transition: flex-grow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.tool-card-bottom {
  flex-shrink: 0;
}

.tool-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  transition: color 0.25s ease;
}

.tool-desc {
  font-size: 13px;
  color: var(--text-muted-light);
  transition: color 0.25s ease;
}

.tool-arrow-btn {
  position: absolute;
  bottom: 24px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-white);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  opacity: 0;
  transform: scale(0.6) translateY(8px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Active / Hover State on any of the 8 Tool Cards */
.tools-grid .tool-card.is-active,
.tools-grid .tool-card:hover {
  background-color: #070B1C;
  background-image:
    radial-gradient(120% 90% at 0% 0%, #214081 0%, rgba(37, 99, 235, 0) 60%),
    linear-gradient(135deg, #16245A 0%, #0C1433 48%, #050816 100%);
  border-color: rgba(255, 255, 255, 0.14);
  z-index: 4;
}

.tools-grid .tool-card.is-active .tool-art,
.tools-grid .tool-card:hover .tool-art {
  opacity: 1;
  transform: translate(0, 0) rotate(var(--art-rot, 0deg)) scale(1);
}

.tools-grid .tool-card.is-active .tool-icon-wrap,
.tools-grid .tool-card:hover .tool-icon-wrap {
  opacity: 0;
  transform: scale(0.8);
  max-height: 0;
  margin: 0;
  pointer-events: none;
}

.tools-grid .tool-card.is-active .tool-card-spacer,
.tools-grid .tool-card:hover .tool-card-spacer {
  flex-grow: 0;
}

.tools-grid .tool-card.is-active .tool-name,
.tools-grid .tool-card:hover .tool-name {
  color: var(--text-white);
}

.tools-grid .tool-card.is-active .tool-desc,
.tools-grid .tool-card:hover .tool-desc {
  color: rgba(255, 255, 255, 0.8);
}

.tools-grid .tool-card.is-active .tool-arrow-btn,
.tools-grid .tool-card:hover .tool-arrow-btn {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Section 2 Part B: Tilted CTA & Logos Bar */
.products-bottom-continuation {
  background-color: var(--bg-cream);
  padding: 48px 24px 130px;
  text-align: center;
}

.products-cta-row {
  margin-bottom: 56px;
}

/* CTA placed inside the pinned features overlay, right under the grid */
.products-inner-stage .products-cta-row {
  display: flex;
  justify-content: center;
  margin: 30px 0 0;
}

.logos-bar-container {
  max-width: 980px;
  margin: 0 auto;
}

.logos-bar-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.015em;
  margin-bottom: 38px;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.brand-partner-logo {
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

.brand-partner-logo:hover {
  opacity: 1;
}

.platform-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.platform-item:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: var(--accent-forest);
}

.platform-badge-status {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(59, 113, 188, 0.12);
  color: var(--accent-electric);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================================
   PARALLAX CONVEX ARCH DOME (SECTIONS 3, 4 & 5)
   ============================================================================ */
.section-arch-dome {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 148vw;
  height: 340px;
  background-color: inherit;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translate(-50%, -100%) scaleY(0);
  transform-origin: bottom center;
  pointer-events: none;
  z-index: 2;
  will-change: transform;
}

/* ============================================================================
   SECTION 3 — STICKY SCROLL-JACKING FEATURE SHOWCASE
   ============================================================================ */
.features-white-wrapper {
  background-color: var(--bg-cream);
  padding: 100px 0 0;
  position: relative;
  z-index: 5;
  margin-top: 0;
  overflow: visible;
}

.features-two-col {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 440px 500px;
  justify-content: space-between;
  align-items: start;
}

.features-left-scroll {
  display: flex;
  flex-direction: column;
}

.features-left-scroll::after {
  content: '';
  display: block;
  height: 115vh;
  flex-shrink: 0;
}

.feature-step-block.intro-block {
  min-height: 420px;
  padding-top: 0;
  padding-bottom: 20px;
  margin-bottom: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.feature-step-block:not(.intro-block) {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 320px;
}

#step-block-03 {
  position: sticky;
  top: calc(50vh - 140px);
  width: 100%;
  max-width: 440px;
  margin-bottom: 0;
}

.features-intro-title {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted-light);
  margin-bottom: 52px;
}

.feature-step-title {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.feature-step-desc {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text-dark);
  opacity: 0.85;
  max-width: 380px;
  margin-bottom: 34px;
}

.feature-cta-tilted {
  margin-left: 4px;
}

/* Sticky Right Visual Container (500 x 520 px) */
.features-right-sticky {
  position: sticky;
  top: calc(50vh - 260px);
  margin-top: 180px;
  width: 500px;
  height: 520px;
  background-color: var(--bg-sticky-card);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-visual-panel {
  position: absolute;
  inset: 0;
  background-color: var(--bg-sticky-card);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.sticky-visual-panel.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Shared macOS UI Window inside Section 3 */
.macos-ui-window {
  background-color: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(19, 20, 20, 0.05);
}

.macos-titlebar {
  background-color: var(--gmail-header-dark);
  height: 36px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.macos-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mdot-1 {
  background-color: #F3E2D3;
}

.mdot-2 {
  background-color: #CA9E62;
}

.mdot-3 {
  background-color: #6D8649;
}

.macos-expand-ico {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

/* ============================================================================
   SECTION 3 — RANGECRAFT STICKY PANELS (#fcard-01, #fcard-02, #fcard-03)
   ============================================================================ */
.panel-rangecraft {
  padding: 16px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-sticky-card);
}

.rc-sticky-full-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  display: block;
  filter: drop-shadow(0 14px 35px rgba(10, 14, 26, 0.12));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.panel-rangecraft:hover .rc-sticky-full-img {
  transform: scale(1.02);
}

.choice-error {
  background-color: var(--peach-error-bg);
  color: var(--peach-error-text);
}

.choice-correct {
  background-color: var(--green-primary);
  color: var(--text-white);
}

.spelling-cursor {
  position: absolute;
  bottom: -14px;
  right: 18px;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}

/* ============================================================================
   SECTION 4 — ARCH TRANSITION, "PERFECT ANY PROJECT" & STATS
   ============================================================================ */
.projects-section {
  background-color: #FFFFFF;
  padding: 130px 24px 0;
  position: relative;
  z-index: 6;
  margin-top: 0;
  overflow: visible;
}

.projects-section .section-arch-dome {
  background-color: #FFFFFF;
}

.projects-section::after {
  content: '';
  display: block;
  height: 120vh;
}

.projects-section .projects-header {
  max-width: 1080px;
  margin: 0 auto 44px;
  text-align: center;
}

/* 5 Interactive Audience Pill Tabs */
.audience-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.audience-tab-btn {
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid rgba(19, 20, 20, 0.11);
  background-color: transparent;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.audience-tab-btn:hover {
  border-color: rgba(19, 20, 20, 0.3);
}

.tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(19, 20, 20, 0.14);
  transition: background-color 0.28s ease;
}

.audience-tab-btn.is-active {
  background-color: var(--green-primary);
  color: var(--text-white);
  border-color: var(--text-dark);
}

.audience-tab-btn.is-active .tab-dot {
  background-color: var(--green-dot-cta);
}

/* Large White Showcase Card ("01 Ace your essays") */
.project-showcase-card {
  max-width: 1080px;
  height: 430px;
  margin: 0 auto;
  background-color: #F4F5F8;
  border: 1px solid rgba(10, 14, 26, 0.08);
  border-radius: 28px;
  padding: 44px 0 44px 52px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(19, 20, 20, 0.03);
}

.project-card-left {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.project-card-text {
  will-change: transform, opacity;
}

/* Les 5 panneaux sont dans le HTML ; seul l'onglet actif est affiché */
.project-card-text:not(.is-active) {
  display: none;
}

.project-card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted-light);
}

.project-card-title {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.project-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  opacity: 0.86;
}

.project-card-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  pointer-events: none;
}

/* One mockup per tab, stacked; the card's overflow:hidden crops them (never fully visible).
   ⚙️ Per-image inline vars: --pm-w (width, % of this area), --pm-r (right), --pm-b (bottom, negative = more cropped) */
.project-mockup {
  position: absolute;
  right: var(--pm-r, 0%);
  bottom: var(--pm-b, -40%);
  width: var(--pm-w, 90%);
  height: auto;
  max-width: none;
  opacity: 0;
  visibility: hidden;
  filter: drop-shadow(0 24px 48px rgba(10, 14, 26, 0.28));
  will-change: transform, opacity;
}

.project-mockup.is-active {
  opacity: 1;
  visibility: visible;
}

.project-card-right img.project-capsules-bg {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 90%;
  height: auto;
  opacity: 0.9;
}

.project-card-right img.project-laptop-float {
  position: relative;
  z-index: 2;
  width: 84%;
  height: auto;
  margin-right: 36px;
  filter: drop-shadow(0 20px 40px rgba(10, 14, 26, 0.22));
  border-radius: 12px;
}

/* Subsection: Statistics (2x2 Grid) */
.stats-subsection {
  position: sticky;
  top: calc(50vh - 190px);
  max-width: 1080px;
  margin: 260px auto 0;
  display: grid;
  grid-template-columns: 420px 520px;
  justify-content: space-between;
  align-items: start;
}

.stats-heading {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 42px;
}

.stats-cta-btn {
  background-color: var(--green-primary);
  color: var(--text-white);
  border: 1.5px solid transparent;
}

.stats-cta-btn:hover {
  background-color: #214081;
  transform: translateY(-2px) scale(1.02) !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  row-gap: 54px;
}

.stat-cell {
  padding-top: 8px;
}

.stat-number {
  font-size: 72px;
  font-weight: 600;
  line-height: 1.15;
  padding-bottom: 0.08em;
  letter-spacing: -0.035em;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.stat-number-inner {
  display: block;
  will-change: transform;
}

.stat-label {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted-light);
}

/* ============================================================================
   SECTION 5 — DARK DOME ARCH & "CHILBOT PREMIUM"
   ============================================================================ */
.premium-section {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 140px 24px 150px;
  position: relative;
  z-index: 7;
  margin-top: -65vh;
  overflow: visible;
}

.premium-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 42px;
}

.premium-includes-label {
  margin-top: 52px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
}

/* 7 Tools Cascade Row */
.premium-tools-row {
  max-width: 1000px;
  margin: 0 auto 78px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  padding: 20px 0;
}

.premium-tool-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.premium-tool-name {
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}

.more-label {
  color: var(--green-italic-dark);
  font-weight: 500;
}

/* 2 Pricing Cards Grid */
.pricing-cards-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.pricing-card-box {
  border-radius: 26px;
  padding: 46px 44px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card-box.free-box {
  background-color: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-card-box.premium-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-diamond-3d {
  position: absolute;
  top: -32px;
  right: 26px;
  width: 158px;
  height: 147px;
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.plan-name {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 10px;
}

.plan-sub-badge {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-lime);
  margin-bottom: 26px;
}

.plan-sub-badge.lime-badge {
  color: var(--accent-lime);
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 34px;
}

.plan-price {
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

.plan-price .currency {
  font-size: 48px;
  font-weight: 500;
}

.plan-period {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.plan-cta-wrap {
  margin-bottom: 38px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-pricing-free {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: #3563c9;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-pricing-free:hover {
  transform: translateY(-2px);
  background-color: #3563c9;
}

.btn-pricing-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  background-color: #3563c9;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-pricing-premium:hover {
  transform: translateY(-2px);
  background-color: #3563c9;
}

.btn-pricing-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.btn-pricing-secondary:hover {
  background-color: rgba(255, 255, 255, 0.14);
}

.plan-summary-copy {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
}

.plan-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 26px;
}

.plan-list-heading {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 20px;
}

.pricing-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
}

.pricing-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-ico {
  color: var(--accent-lime);
  font-weight: 700;
}

.compare-features-row {
  margin-top: 56px;
  text-align: center;
}

.compare-features-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.compare-features-link:hover {
  opacity: 1;
}

/* ============================================================================
   SECTION 6 — BG COLOR MORPH & "WHY WRITERS LOVE US" TESTIMONIALS
   ============================================================================ */
.testimonials-section {
  background-color: var(--bg-cream);
  padding: 120px 24px 115px;
  position: relative;
  z-index: 8;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

/* 3x2 Testimonials Grid */
.testimonials-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}

/* 2 Signature Olive Green Dots at Internal Grid Crossings */
.grid-intersection-dot.t-dot-1 {
  left: 33.3333%;
  top: 50%;
}

.grid-intersection-dot.t-dot-2 {
  left: 66.6666%;
  top: 50%;
}

.testimonial-card {
  padding: 38px 38px 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--border-subtle-light);
  border-bottom: 1px solid var(--border-subtle-light);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
  opacity: 1;
}

/* Same dark hover as the features cards (light top-left → dark bottom-right) */
.testimonial-card:hover,
.testimonial-card:focus-visible {
  background-color: #070B1C;
  background-image:
    radial-gradient(120% 90% at 0% 0%, #214081 0%, rgba(37, 99, 235, 0) 60%),
    linear-gradient(135deg, #16245A 0%, #0C1433 48%, #050816 100%);
  border-color: rgba(255, 255, 255, 0.14);
  outline: none;
  z-index: 4;
}

/* Header: comment icon + name */
.testimonial-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 56px;      /* room for the hover arrow */
  margin-bottom: 18px;
}

.testimonial-icon {
  width: 24px;
  height: 24px;
  transition: color 0.25s ease;
}

.testimonial-card:hover .testimonial-icon {
  --rc-feature-icon-color: #93C5FD;
}

.testimonial-head .author-name {
  font-family: inherit;
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.25s ease;
}

/* Arrow shown on hover (same button as the features cards), top-right */
.testimonial-card .testimonial-arrow {
  top: 20px;
  right: 22px;
  bottom: auto;
  left: auto;
}

.testimonial-card:hover .testimonial-arrow,
.testimonial-card:focus-visible .testimonial-arrow {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.testimonial-card:hover .testimonial-quote,
.testimonial-card:hover .author-name {
  color: #FFFFFF !important;
}

.testimonial-card:hover .q-mark {
  color: #94A3B8 !important;
}

.testimonial-card:hover .author-role {
  color: rgba(255, 255, 255, 0.78) !important;
}

.testimonial-card:hover .quote-mark-icon circle:last-of-type,
.testimonial-card:hover .quote-mark-icon path:last-of-type {
  fill: #94A3B8;
  stroke: #94A3B8;
}

.testimonial-card:hover .quote-mark-icon circle:first-of-type,
.testimonial-card:hover .quote-mark-icon path:first-of-type {
  fill: rgba(255, 255, 255, 0.4);
  stroke: rgba(255, 255, 255, 0.4);
}

/* Remove right border on 3rd and 6th cards */
.testimonials-grid .testimonial-card:nth-of-type(3n) {
  border-right: none;
}

/* Remove bottom border on bottom row (4th, 5th, 6th cards) */
.testimonials-grid .testimonial-card:nth-of-type(n+4) {
  border-bottom: none;
}

.quote-mark-icon {
  margin-bottom: 26px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card:hover .quote-mark-icon {
  transform: translateY(-4px) scale(1.08) rotate(-4deg);
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  font-weight: 400;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.q-mark {
  color: var(--green-italic-light);
  font-weight: 600;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card:hover .testimonial-author {
  transform: translateX(6px);
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px var(--green-primary);
}

.author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  text-transform: uppercase;
}

.author-role {
  font-size: 12px;
  color: var(--text-muted-light);
}

.more-testimonials-row {
  margin-top: 64px;
  text-align: center;
}

/* ============================================================================
   SECTIONS 7 & 8 — CURTAIN CTA CARD ("GET STARTED") & STICKY FOOTER
   ============================================================================ */
/* True Motionless Curtain Reveal for Homepage Footer */
body:not(.rc-subpage) .site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

body:not(.rc-subpage) .hero-pin-master,
body:not(.rc-subpage) .products-bottom-continuation,
body:not(.rc-subpage) #projects-section,
body:not(.rc-subpage) #premium-section,
body:not(.rc-subpage) #testimonials-section,
body:not(.rc-subpage) .final-cta-section {
  position: relative;
  z-index: 10;
}

.cta-footer-wrapper {
  position: relative;
  background-color: transparent;
}

/* Section 7 acts as the rising theater curtain (z-index: 10) */
.final-cta-section {
  position: relative;
  z-index: 10;
  background-color: var(--bg-cream);
  padding: 0 32px 72px;
  box-shadow: none;
  margin-top: -2px;
  margin-bottom: 420px;
}

/* Final CTA Compact Banner (replaces 760px curtain card) */
.final-cta-compact {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #101426 0%, #191A37 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 44px 52px;
  box-shadow: 0 20px 50px rgba(8, 10, 20, 0.4);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta-text-col {
  flex: 1;
  text-align: left;
}

.final-cta-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #93C5FD;
  border-radius: 999px;
  margin-bottom: 12px;
}

.final-cta-headline {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.25;
}

.final-cta-subline {
  font-size: 15px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.5;
}

.final-cta-actions-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}

.final-cta-btn-straight {
  padding: 14px 32px;
  font-size: 15px;
}

.final-os-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.final-os-tag {
  font-size: 11.5px;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.75);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

@media (max-width: 860px) {
  .final-cta-compact {
    padding: 36px 24px;
  }
  .final-cta-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 24px;
  }
  .final-cta-text-col {
    text-align: center;
  }
  .final-cta-actions-col {
    align-items: center;
  }
  .final-os-pills {
    justify-content: center;
  }
}

/* Section 8 Sticky Footer underneath the Curtain (z-index: 1) */
.site-footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 64px 48px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.7fr 1fr 1fr;
  row-gap: 46px;
  column-gap: 32px;
  padding-bottom: 54px;
}
/* The last column ends on the right edge of the footer, like the copyright of the bottom bar
   (in its 1fr track, the short links left an empty strip on the right: the grid looked shifted left) */
.footer-links-grid > .footer-col:last-child {
  justify-self: end; /* the column shrinks to its links and moves to the end of its track */
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

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

.footer-link-list a {
  font-size: 13.5px;
  color: var(--text-muted-dark);
  opacity: 0.88;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-link-list a:hover {
  opacity: 1;
  color: var(--accent-lime);
}

.footer-middle-bar {
  padding: 28px 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-logo {
  color: #FFFFFF;
}

.footer-social-Action-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.social-ico-link {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-muted-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-ico-link:hover {
  opacity: 1;
  color: #3563C9;
  transform: translateY(-2px);
}

.footer-signup-btn {
  padding: 14px 24px;
  font-size: 13.5px;
}

.footer-bottom-bar {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-muted-dark);
  gap: 20px;
}

/* Partners (left) — add links in the HTML, they line up automatically */
.footer-partners {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* Same typography as the former "Powered by" line */
.footer-partners-label {
  font-size: 12.5px;
  color: var(--text-muted-dark);
  opacity: 0.85;
}

.footer-partners a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.88;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-partners a:hover {
  color: #3563C9;
  opacity: 1;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: start;
}

.footer-powered-by {
  margin: 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted-dark);
  opacity: 0.85;
  justify-self: center;
}

.footer-powered-by a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-powered-by a:hover {
  color: #3563C9;
}

.footer-copyright {
  margin: 0;
  justify-self: end;
  text-align: right;
}

@media (max-width: 860px) {
  .footer-bottom-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-partners {
    justify-content: center;
  }
  .footer-bottom-left {
    justify-content: center;
    justify-self: center;
    flex-wrap: wrap;
  }
  .footer-copyright {
    justify-self: center;
    text-align: center;
  }
}

.lang-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.lang-selector-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-white);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-selector-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.lang-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  max-height: 226px;            /* ≈ 6 languages visible, the rest scrolls */
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  background: #101426;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 2500;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lang-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.lang-dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.lang-dropdown-menu > * {
  flex-shrink: 0;
}

.lang-dropdown-menu.is-open {
  display: flex;
  animation: rcFadeInUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rcFadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown-item {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.lang-dropdown-item:hover {
  background: rgba(59, 113, 188, 0.28);
  color: var(--accent-lime);
}

.lang-dropdown-item.is-selected {
  background: var(--accent-electric);
  color: #FFFFFF;
  font-weight: 600;
}

.footer-legal-link {
  color: var(--text-muted-dark);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-legal-link:hover {
  opacity: 1;
  color: var(--accent-lime);
}

.footer-email-link {
  color: var(--accent-lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================================
   RESPONSIVE SAFEGUARDS
   ============================================================================ */
@media (max-width: 1140px) {
  .hero-title,
  .final-cta-title {
    font-size: 68px;
  }

  .features-two-col {
    grid-template-columns: 1fr 460px;
    gap: 32px;
  }

  .features-right-sticky {
    width: 460px;
  }

  .stats-subsection {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ============================================================================
   MOBILE RESPONSIVE NAVBAR & HAMBURGER DRAWER SYSTEM
   ============================================================================ */
.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(16, 20, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  z-index: 1002;
  outline: none;
}

.mobile-nav-toggle:hover {
  background: rgba(59, 113, 188, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}

.mobile-nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

@media (max-width: 992px) {
  .site-navbar {
    padding: 0 20px !important;
  }
  .site-navbar .navbar-links {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
  }
  .site-navbar .navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .site-navbar .nav-login-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* Mobile Nav Fullscreen Glass Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 20, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
  overflow-y: auto;
  overscroll-behavior: contain;      /* the end of the menu does not scroll the page behind it */
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  font-family: var(--font-primary, 'Plus Jakarta Sans', sans-serif);
}

.mobile-nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}

.mobile-nav-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.mobile-nav-item-link {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(16, 20, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.mobile-nav-item-link:hover,
.mobile-nav-item-link.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transform: translateX(4px);
}

.mobile-nav-accordion-header {
  width: 100%;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(16, 20, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.mobile-nav-accordion-header:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
  .project-showcase-card {
    height: auto;
    flex-direction: column;
    padding: 36px 28px;
    gap: 32px;
  }
  .project-card-left {
    max-width: 100%;
  }
  .project-card-right {
    position: relative;
    width: 100%;
    justify-content: center;
  }
  .project-card-right {
    height: 250px;
    margin: -8px -28px -36px;
    width: calc(100% + 56px);
  }
  .project-mockup {
    bottom: calc(var(--pm-b, -40%) * 0.35);
  }
  .stats-subsection {
    position: relative;
    top: auto;
    margin: 80px auto 0;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-grid {
    column-gap: 32px;
    row-gap: 36px;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-number {
    font-size: 54px;
  }
}

.mobile-nav-subitems {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0 8px 16px;
}

.mobile-nav-accordion.open .mobile-nav-subitems {
  display: flex;
}

.mobile-nav-subitem-link {
  font-size: 15px;
  font-weight: 500;
  color: #CBD5E1;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-subitem-link:hover {
  color: #FFFFFF;
  background: rgba(59, 113, 188, 0.16);
}

.mobile-nav-bottom-actions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Global Suppression of Neon Dots, Bullets, and Blue Shadows */
.cta-dot,
.cta-dot-green,
.tab-dot,
.rc-modal-tag::before {
  display: none !important;
}

/* ============================================================================
   NAVBAR — FEATURES DROPDOWN (built by modals.js from RC_FEATURES)
   ============================================================================ */
.rc-fdd {
  position: relative;
  display: inline-flex;
}

.rc-fdd-chevron {
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.rc-fdd.is-open .rc-fdd-chevron {
  transform: rotate(180deg);
}

.rc-fdd-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 600px;
  max-width: calc(100vw - 32px);
  padding: 12px;
  border-radius: 20px;
  background: #0C0F1E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #FFFFFF;
  opacity: 0;
  visibility: hidden;
  transform: translate(-28%, 8px);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.25s;
  z-index: 1100;
  --rc-feature-icon-color: var(--green-italic-dark);   /* dark menu: same colour as "for every player" (#94A3B8) */
}

/* invisible bridge so the menu doesn't close while the mouse travels to it */
.rc-fdd-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.rc-fdd.is-open .rc-fdd-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-28%, 0);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.rc-fdd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.rc-fdd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #FFFFFF !important;
  transition: background-color 0.18s ease;
}

.rc-fdd-item:hover,
.rc-fdd-item:focus-visible,
.rc-fdd-item.is-current {
  background: rgba(37, 99, 235, 0.18);
  outline: none;
}

.rc-fdd-item .rc-feature-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.rc-fdd-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rc-fdd-text strong {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #FFFFFF;
}

.rc-fdd-text small {
  font-size: 12.5px;
  line-height: 1.35;
  color: #94A3B8;
}

.rc-fdd-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
  font-weight: 600;
  color: #93C5FD !important;
  text-decoration: none;
}

.rc-fdd-all:hover {
  color: #FFFFFF !important;
}

/* Single-column variant (Documentation menu) */
.rc-fdd--single .rc-fdd-menu {
  width: 380px;
  transform: translate(-50%, 8px);
}

.rc-fdd--single.is-open .rc-fdd-menu {
  transform: translate(-50%, 0);
}

.rc-fdd--single .rc-fdd-grid {
  grid-template-columns: 1fr;
}

/* Light variant — navbar over light / white / beige backgrounds (theme-dark = dark text) */
.site-navbar.theme-dark .rc-fdd-menu {
  background: #FFFFFF;
  border: 1px solid rgba(10, 14, 26, 0.08);
  box-shadow: 0 24px 60px rgba(10, 14, 26, 0.16), 0 2px 8px rgba(10, 14, 26, 0.06);
  color: #0A0E1A;
  --rc-feature-icon-color: #1E3A6E;
}

.site-navbar.theme-dark .rc-fdd-item {
  color: #0A0E1A !important;
}

.site-navbar.theme-dark .rc-fdd-item:hover,
.site-navbar.theme-dark .rc-fdd-item:focus-visible,
.site-navbar.theme-dark .rc-fdd-item.is-current {
  background: rgba(37, 99, 235, 0.08);
}

.site-navbar.theme-dark .rc-fdd-text strong {
  color: #0A0E1A;
}

.site-navbar.theme-dark .rc-fdd-text small {
  color: #5A657D;
}

.site-navbar.theme-dark .rc-fdd-all {
  border-top-color: rgba(10, 14, 26, 0.08);
  color: #3563c9 !important;
}

.site-navbar.theme-dark .rc-fdd-all:hover {
  color: #1E3A6E !important;
}

/* Mobile drawer — features accordion */
.mobile-nav-accordion-header .mobile-nav-acc-chevron {
  transition: transform 0.25s ease;
}

.mobile-nav-accordion.open .mobile-nav-acc-chevron {
  transform: rotate(180deg);
}

.mobile-nav-sub-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  --rc-feature-icon-color: #93C5FD;
}

.mobile-nav-sub-label .rc-feature-icon {
  width: 18px;
  height: 18px;
}

.mobile-nav-sub-all {
  color: #93C5FD !important;
  font-weight: 600 !important;
}

/* ============================================================================
   FEATURES GRID — MOBILE (2 columns inside the pinned overlay)
   ============================================================================ */
@media (max-width: 768px) {
  .products-header {
    margin-bottom: 18px;
  }
  .products-header .section-title {
    font-size: 34px !important;
    line-height: 1.1;
  }
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 132px;
    padding: 0 12px;
    box-sizing: border-box;
  }
  .tools-grid .grid-intersection-dot {
    display: none;
  }
  .tools-grid .tool-card {
    padding: 14px 16px;
    border-right: 1px solid var(--border-subtle-light) !important;
    border-bottom: 1px solid var(--border-subtle-light) !important;
  }
  .tools-grid .tool-card:nth-of-type(2n) {
    border-right: none !important;
  }
  .tools-grid .tool-card:nth-last-of-type(-n+2) {
    border-bottom: none !important;
  }
  .tools-grid .tool-icon {
    width: 22px;
    height: 22px;
  }
  .tools-grid .tool-name {
    font-size: 15px;
    line-height: 1.25;
  }
  .tools-grid .tool-desc {
    font-size: 11.5px;
    line-height: 1.35;
  }
  .tools-grid .tool-arrow-btn {
    display: none;
  }
  .tools-grid .tool-card[style*="--art-t"] .tool-art {
    top: var(--art-t-m, 74px);
  }

}

/* Stats block — Trustpilot (dark-text version for light backgrounds) right above the download button */
.stats-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 0;
}

.stats-tp-link {
  display: inline-block;
  line-height: 0;
}

.stats-tp-img {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.stats-tp-link:hover .stats-tp-img {
  opacity: 0.85;
}

.stats-tp-img {
  display: block;
  height: 28px;
  width: auto;
}

.stats-cta-stack .btn-hero-straight {
  padding: 16px 32px;
  font-size: 16px;
}

@media (max-width: 900px) {
  .stats-cta-stack {
    align-items: center;
  }
}

/* ============================================================================
   SECTION 5 — FREE vs PREMIUM (cloud) : intro, icons, crown & sapphire
   ============================================================================ */
.premium-intro {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.premium-tool-icon {
  width: 34px;
  height: 34px;
  --rc-feature-icon-color: #93C5FD;
  transition: transform 0.25s ease;
}

a.premium-tool-item:hover .premium-tool-icon {
  transform: translateY(-3px);
}

a.premium-tool-item:hover .premium-tool-name {
  color: #FFFFFF;
}

.plan-sub-badge.premium-badge {
  color: #FCD34D;
}

/* Premium card decorations — the card keeps overflow visible so they can stick out */
.pricing-card-box.premium-box {
  overflow: visible;
}

.pricing-deco {
  position: absolute;
  pointer-events: none;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.45));
}

.pricing-crown {
  width: 190px;
  top: -74px;
  right: -26px;
  transform: rotate(14deg);
  animation: rc-deco-float-a 6s ease-in-out infinite;
}

.pricing-sapphire {
  width: 78px;
  bottom: -44px;
  right: -22px;
  transform: rotate(-12deg);
  animation: rc-deco-float-b 5s ease-in-out infinite;
}

@keyframes rc-deco-float-a {
  0%, 100% { transform: rotate(14deg) translateY(0); }
  50%      { transform: rotate(10deg) translateY(-10px); }
}

@keyframes rc-deco-float-b {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50%      { transform: rotate(-6deg) translateY(-8px); }
}

@media (max-width: 900px) {
  .premium-tools-row {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 28px;
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }
  .pricing-card-box {
    padding: 38px 28px;
  }
  .pricing-crown {
    width: 130px;
    top: -56px;
    right: -6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-crown,
  .pricing-sapphire {
    animation: none;
  }
}

/* Footer — Features list on two columns */
.footer-link-list.footer-link-list--2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 12px;
}

@media (max-width: 560px) {
  .footer-link-list.footer-link-list--2col {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   DOWNLOAD BUTTONS — ONE identical style everywhere (.os-auto-download-btn)
   Solid, flat, no visible border, no movement on hover:
   hover = slightly darker blue · press = darker + inset · keyboard focus = ring.
   ⚙️ Colours / size are set once here.
   ============================================================================ */
:root {
  --dl-bg: #3563c9;
  --dl-bg-hover: #2c4a8f;
  --dl-bg-active: #2c4a8f;
  --dl-text: #FFFFFF;
}

html body a.os-auto-download-btn,
html body button.os-auto-download-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px !important;
  min-height: 48px;
  padding: 0 26px !important;
  white-space: nowrap;
  box-sizing: border-box;
  border-radius: 999px !important;
  border: none !important;
  background: var(--dl-bg) !important;
  color: var(--dl-text) !important;
  font-family: inherit;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  /* hairline top highlight + very small shadow: reads as a button without looking "glossy" */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(10, 14, 26, 0.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background-color 0.15s ease, box-shadow 0.15s ease !important;
}

html body a.os-auto-download-btn:hover,
html body button.os-auto-download-btn:hover {
  background: var(--dl-bg-hover) !important;
  transform: none !important;     /* no movement */
  translate: none !important;
  scale: none !important;
}

html body a.os-auto-download-btn:active,
html body button.os-auto-download-btn:active {
  background: var(--dl-bg-active) !important;
  box-shadow: inset 0 1px 3px rgba(10, 14, 26, 0.28) !important;
  transform: none !important;
}

html body a.os-auto-download-btn:focus-visible,
html body button.os-auto-download-btn:focus-visible {
  outline: 2px solid #93C5FD;
  outline-offset: 2px;
}

html body a.os-auto-download-btn .os-btn-logo,
html body button.os-auto-download-btn .os-btn-logo,
html body button.os-auto-download-btn .btn-smart-download-icon {
  width: 18px !important;
  height: 18px !important;
  filter: none !important;
  opacity: 1 !important;
}

/* App not published yet on this store (iPhone / iPad: App Store): greyed out, not clickable (modals.js) */
html body a.os-auto-download-btn[aria-disabled="true"],
html body button.os-auto-download-btn[aria-disabled="true"],
html body a.os-auto-download-btn[aria-disabled="true"]:hover,
html body button.os-auto-download-btn[aria-disabled="true"]:hover,
html body a.os-auto-download-btn[aria-disabled="true"]:active,
html body button.os-auto-download-btn[aria-disabled="true"]:active {
  background: #4B5563 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}
html body .os-auto-download-btn[aria-disabled="true"] .os-btn-logo,
html body .os-auto-download-btn[aria-disabled="true"] .btn-smart-download-icon {
  filter: grayscale(1) !important;
}

/* Language menu open → footer temporarily above the page so the menu is never hidden */
body.rc-lang-open .site-footer {
  z-index: 60 !important;
}

/* ============================================================================
   SECONDARY BUTTON ON THE PREMIUM CARD — white, same size/behaviour as Download
   ============================================================================ */
html body .btn-pricing-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: none !important;
  background: #FFFFFF !important;
  color: #0F1B3D !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(10, 14, 26, 0.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
  transition: background-color 0.15s ease !important;
}

html body .btn-pricing-secondary:hover {
  background: #E8EEF8 !important;
  transform: none !important;
}

html body .btn-pricing-secondary:active {
  background: #DCE5F5 !important;
}

html body .btn-pricing-secondary:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

/* ============================================================================
   LANGUAGE SELECTOR — same family as the navbar pills & the Features/Docs menus
   ============================================================================ */
html body .lang-selector-btn {
  height: 40px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #E2E8F0;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

html body .lang-selector-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

html body .lang-selector-btn:focus-visible {
  outline: 2px solid #93C5FD;
  outline-offset: 2px;
}

html body .lang-dropdown-menu {
  min-width: 220px;
  padding: 8px;
  gap: 2px;
  border-radius: 16px;
  background: #0C0F1E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 60px rgba(0, 0, 0, 0.45);
}

html body .lang-dropdown-item {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #E2E8F0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

html body .lang-dropdown-item:hover,
html body .lang-dropdown-item:focus-visible {
  background: rgba(37, 99, 235, 0.18);
  color: #FFFFFF;
  outline: none;
}

html body .lang-dropdown-item.is-selected {
  background: rgba(37, 99, 235, 0.18);
  color: #FFFFFF;
  font-weight: 600;
}

html body .lang-dropdown-item.is-selected span[style] {
  color: #93C5FD !important;
}

/* ============================================================================
   CARDS — features & testimonials (same family as the "Master any format" card
   and the dark-blue final CTA): separate rounded cards, light glass at rest,
   dark navy on hover, flat white arrow button. No movement on hover.
   ============================================================================ */
:root {
  --card-radius: 22px;
  --card-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.5) 100%);
  --card-border: rgba(255, 255, 255, 0.9);
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 2px rgba(10, 14, 26, 0.04), 0 12px 32px rgba(10, 14, 26, 0.05);
  --card-hover-bg:
    radial-gradient(120% 140% at 0% 0%, rgba(59, 130, 246, 0.28) 0%, rgba(59, 130, 246, 0) 55%),
    linear-gradient(135deg, #142A61 0%, #0E1C44 55%, #0A1433 100%);
}

/* Grids: gaps instead of divider lines */
.tools-grid,
.testimonials-grid {
  gap: 14px;
}

.tools-grid .tool-card,
.testimonial-card {
  border: 1px solid var(--card-border) !important;
  border-radius: var(--card-radius) !important;
  background: var(--card-bg) !important;
  box-shadow: var(--card-shadow) !important;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  transform: none !important;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.tools-grid .tool-card.is-active,
.tools-grid .tool-card:hover,
.testimonial-card:hover,
.testimonial-card:focus-visible {
  background: #10204A !important;
  background-image: var(--card-hover-bg) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 40px rgba(10, 14, 26, 0.16) !important;
  transform: none !important;
}

/* Home: the cards sit inside the circular wipe (#products-overlay-circle, animated clip-path).
   Chrome draws backdrop-filter layers outside a parent's clip-path (clipped to a rectangle
   instead of the circle). The background there is plain cream, so the blur was invisible anyway:
   removing it keeps the reveal round and saves GPU work. */
#products-overlay-circle .tools-grid .tool-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Arrow: flat white circle, same family as the white "Discover Cloud Sync" button */
html body .tool-arrow-btn {
  background: #FFFFFF !important;
  background-image: none !important;
  color: #0F1B3D !important;
  border: none !important;
  box-shadow: 0 1px 2px rgba(10, 14, 26, 0.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    padding: 26px 24px 28px !important;
  }
}

@media (max-width: 768px) {
  .tools-grid,
  .testimonials-grid {
    gap: 10px;
  }
  .tools-grid .tool-card,
  .testimonial-card {
    border-radius: 16px !important;
  }
}

/* ============================================================================
   SECTION 6B — HOME FAQ (native <details>, accessible without JS)
   ============================================================================ */
.home-faq-section {
  background-color: var(--bg-cream);
  padding: 0 24px 120px;
  position: relative;
  z-index: 8;
}

.home-faq-header {
  text-align: center;
  margin-bottom: 48px;
}

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

.home-faq details {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 2px rgba(10, 14, 26, 0.04);
}

.home-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.home-faq summary::-webkit-details-marker { display: none; }

.home-faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231E3A6E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}

.home-faq details[open] summary::after { transform: rotate(180deg); }

.home-faq summary:focus-visible {
  outline: 2px solid #93C5FD;
  outline-offset: 2px;
  border-radius: 18px;
}

.home-faq .home-faq-a {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: #5A657D;
}

.home-faq .home-faq-a a { color: var(--green-italic-light); font-weight: 600; }

@media (max-width: 640px) {
  .home-faq-section { padding: 0 16px 88px; }
  .home-faq summary { padding: 18px 18px; font-size: 15px; }
  .home-faq .home-faq-a { padding: 0 18px 18px; }
}

/* ============================================================================
   FOOTER: IDENTICAL ON EVERY PAGE (same values as the home page)
   ============================================================================ */
.site-footer .footer-link-list a { color: var(--text-muted-dark) !important; opacity: 0.88; }
.site-footer .footer-link-list a:hover { color: var(--accent-lime) !important; opacity: 1; }
.site-footer .footer-partners-label { color: var(--text-muted-dark) !important; opacity: 0.85; }
.site-footer .footer-partners a { color: #FFFFFF !important; font-weight: 500; opacity: 0.88; }
.site-footer .footer-partners a:hover { color: #3563C9 !important; opacity: 1; }
.site-footer .footer-copyright { color: var(--text-muted-dark) !important; }
.site-footer, .site-footer * { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; }

/* ============================================================================
   DESIGN CONSISTENCY LAYER (whole site)
   Radius scale: inner 16 · card 22 · large card 28 · input 12 · pill 999
   Buttons: 48px pills (36px "sm") · Inputs: 44px, radius 12
   ============================================================================ */
:root {
  --rc-radius-inner: 16px;
  --rc-radius-card: 22px;
  --rc-radius-lg: 28px;
  --rc-radius-input: 12px;
  --rc-blue: #3563C9;
  --rc-blue-hover: #2C4A8F;
  --rc-navy: #1E3A6E;
  --rc-ice: #93C5FD;
  --rc-slate: #94A3B8;
  --rc-ink: #0A0E1A;
  --rc-ink-2: #1E293B;
  --rc-muted-light: #5A657D;
}

/* Primary / secondary action buttons used in modals, forms and docs */
.rc-btn-primary,
.rc-btn-secondary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px !important;
  border-radius: 999px !important;
  font-family: inherit;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(10, 14, 26, 0.18) !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
  transform: none !important;
}
.rc-btn-primary { background: var(--rc-blue) !important; background-image: none !important; border: 1px solid transparent !important; color: #FFFFFF !important; }
.rc-btn-primary:hover { background: var(--rc-blue-hover) !important; }
.rc-btn-secondary { background: rgba(255, 255, 255, 0.06) !important; border: 1px solid rgba(255, 255, 255, 0.16) !important; color: #FFFFFF !important; }
.rc-btn-secondary:hover { background: rgba(255, 255, 255, 0.12) !important; }

/* Form fields */
.rc-form-input,
.rc-form-select {
  min-height: 44px;
  border-radius: var(--rc-radius-input) !important;
  font-size: 14.5px !important;
}
.rc-form-textarea { border-radius: var(--rc-radius-input) !important; font-size: 14.5px !important; }

/* FAQ rows (home + subpages) */
.home-faq details,
.st-faq details { border-radius: var(--rc-radius-inner) !important; }
.home-faq summary:focus-visible,
.st-faq summary:focus-visible { border-radius: var(--rc-radius-inner) !important; }

/* Large cards */
.pricing-card-box,
.project-showcase-card,
.final-cta-compact { border-radius: var(--rc-radius-lg) !important; }
