/*
Theme Name: MVEO
Theme URI: https://mveo.com
Author: MVEO
Description: Thème officiel MVEO - Video Automation Platform
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: mveo
*/

/* =============================================
   CSS VARIABLES
============================================= */
:root {
  --mint-leaf:    #1FBF90;
  --deep-twilight:#0D0053;
  --grey:         #808080;
  --mint-cream:   #F8FFFD;
  --onyx:         #0F1115;
  --racing-red:   #E30712;
  --white:        #FFFFFF;

  --font-main: 'Inter', sans-serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-card: 0 4px 24px rgba(13,0,83,0.10);
  --shadow-btn:  0 2px 12px rgba(31,191,144,0.25);

  --max-w: 1200px;
  --px: 20px;
}

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

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

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--onyx);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-main); }
input, textarea, select { font-family: var(--font-main); }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--onyx);
}
h1 { font-size: clamp(28px, 6vw, 52px); }
h2 { font-size: clamp(22px, 4vw, 36px); }
h3 { font-size: clamp(18px, 3vw, 24px); }
h4 { font-size: 18px; }

p { color: var(--grey); line-height: 1.7; }

.text-white p, .text-white h1, .text-white h2, .text-white h3 { color: var(--white); }
.text-white p { color: rgba(255,255,255,0.75); }

/* =============================================
   LAYOUT UTILITIES
============================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 80px 0; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

/* =============================================
   CTA "Book a demo" — uniformisé partout
============================================= */
.btn-primary,
.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--racing-red);
  color: var(--white) !important;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary:hover,
.btn-demo:hover {
  background: #c50610;
  transform: translateY(-1px);
  color: var(--white) !important;
}

/* Picto TV uniforme sur tous les Book a demo */
.btn-primary::before,
.btn-demo::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='m8 21 4-4 4 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

/* Centré dans les sections (CTA block, newsletter, etc.) */
.cta-block .btn-primary,
.demo-block .btn-primary,
.newsletter .btn-primary,
section .btn-primary { margin-left: auto; margin-right: auto; }

/* =============================================
   BUTTONS (base)
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--deep-twilight);
}

.btn-dark {
  background: var(--deep-twilight);
  color: var(--white) !important;
}
.btn-dark:hover { background: #1a0080; }

.btn-green {
  background: var(--mint-leaf);
  color: var(--white) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-green:hover {
  background: #18a87d;
  transform: translateY(-1px);
  color: var(--white) !important;
}

/* Flèche sur btn-arrow — uniquement ::after, pas de ::before */
.btn-arrow::after {
  content: '→';
  font-size: 16px;
  line-height: 1;
}
/* S'assurer que btn-green.btn-arrow n'hérite pas du ::before de btn-primary */
.btn-green::before { display: none !important; }

.btn-icon {
  padding: 12px 20px;
}

/* =============================================
   HEADER / NAV
============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--deep-twilight);
  padding: 14px var(--px);
  transition: box-shadow 0.2s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 16px;
}

/* --- LOGO --- */
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img { display: block; width: auto; }

/* Mobile : monogramme visible, logo complet caché */
.logo-mobile { display: flex; align-items: center; }
.logo-mobile img { height: 36px; }
.logo-desktop { display: none; }

/* --- NAV DESKTOP (centre) --- */
.header-nav-desktop { display: none; }

.header-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
}

.header-nav-links a {
  color: var(--mint-cream);          /* Mint Cream par défaut */
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.header-nav-links a:hover { color: var(--mint-leaf); }   /* Hover : Mint Leaf */
.header-nav-links a.active { color: var(--mint-leaf); font-weight: 600; }

/* --- ACTIONS (CTA + burger) --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* CTA "Book a demo" — Racing Red, texte Mint Cream, sans picto */
.header-cta {
  display: none;                      /* caché sur mobile */
  background: var(--racing-red);
  color: var(--mint-cream) !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.header-cta:hover {
  background: #c50610;
  transform: translateY(-1px);
  color: var(--mint-cream) !important;
}

/* Burger */
.nav-toggle {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(255,255,255,0.16); }

/* --- DESKTOP ≥ 768px --- */
@media (min-width: 768px) {
  /* Logo : monogramme caché, logo complet visible */
  .logo-mobile  { display: none; }
  .logo-desktop { display: flex; align-items: center; }
  .logo-desktop img { height: 30px; }

  /* Nav centrale visible */
  .header-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
  }

  /* CTA visible, burger caché */
  .header-cta   { display: inline-flex; }
  .nav-toggle   { display: none; }
}

/* --- MENU MOBILE OVERLAY --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--deep-twilight);
  z-index: 999;
  flex-direction: column;
  padding: 0;                        /* padding géré par les enfants */
  overflow-y: auto;
}
.nav-overlay.active { display: flex; }

/* Barre du haut : espace pour la croix */
.nav-overlay-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 16px var(--px);
  flex-shrink: 0;
}

/* Croix fermeture */
.nav-close {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-close:hover { background: rgba(255,255,255,0.18); }
.nav-close svg { pointer-events: none; }

/* Liens en colonne */
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px var(--px) 0;
  list-style: none;
  flex: 1;
}
.nav-links a {
  display: block;
  color: var(--mint-cream);
  font-size: 26px;
  font-weight: 700;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active { color: var(--mint-leaf); }

/* CTA juste sous les liens */
.nav-cta-mobile {
  padding: 28px var(--px) 40px;
  flex-shrink: 0;
}

/* Overlay masqué sur desktop */
@media (min-width: 768px) {
  .nav-overlay,
  .nav-overlay.active { display: none !important; }
}

/* (Mobile nav overlay — voir section HEADER ci-dessus) */

/* Desktop nav — géré via .header-nav-desktop (voir section HEADER) */

/* Breadcrumb */
.breadcrumb {
  padding: 8px var(--px);
  background: var(--deep-twilight);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb span { color: var(--mint-leaf); }

/* =============================================
   HERO
============================================= */
.hero {
  background: linear-gradient(160deg, var(--deep-twilight) 0%, #060030 50%, var(--mint-leaf) 100%);
  padding: 48px var(--px) 56px;
  color: var(--white);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(31,191,144,0.15);
  border: 1px solid rgba(31,191,144,0.3);
  color: var(--mint-leaf);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  margin-bottom: 32px;
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.3);
  font-size: 14px;
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(31,191,144,0.2);
  border: 2px solid var(--mint-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-leaf);
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s;
}
.play-btn:hover {
  background: var(--mint-leaf);
  color: var(--white);
  transform: scale(1.05);
}

/* =============================================
   TRUSTED LOGOS
============================================= */
.trusted {
  padding: 32px var(--px);
  text-align: center;
}

.trusted-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

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

.logo-item {
  opacity: 0.5;
  filter: grayscale(1);
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 700;
  color: var(--onyx);
  letter-spacing: -0.5px;
}
.logo-item:hover { opacity: 1; filter: grayscale(0); }

.logo-item img { height: 28px; width: auto; }

/* Hero Homepage — dégradé standard (identique aux autres pages) */
.hero-homepage {
  background: linear-gradient(160deg, var(--deep-twilight) 0%, #060030 50%, var(--mint-leaf) 100%);
}

/* Section Broadcast & Corporate (Homepage) */
/* Showcase cards — empilées, hauteur image uniforme */
.showcase-section .showcase-card {
  background: var(--white);
  box-shadow: 0 4px 32px rgba(13,0,83,0.12);
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}
.showcase-section .showcase-card:last-child { margin-bottom: 0; }

.showcase-section .showcase-media {
  height: 220px;       /* hauteur fixe identique sur les deux cartes */
}

.showcase-section .showcase-body h3 { color: var(--deep-twilight); }
.showcase-section .showcase-body p  { color: var(--grey); }
.img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f0faf7;
  border: 2px dashed #77d8bc;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #77d8bc;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.img-placeholder-inner svg { color: #77d8bc; opacity: 0.7; }
============================================= */
.features { background: var(--mint-cream); }

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  background: var(--deep-twilight);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: rgba(31,191,144,0.15);
  border: 2px solid rgba(31,191,144,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.feature-card h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.feature-card p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* =============================================
   BENEFITS
============================================= */
.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mint-cream);
  border: 2px solid var(--mint-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.benefit-item h4 { font-size: 16px; margin-bottom: 8px; }

@media (min-width: 768px) {
  .benefits-grid { flex-direction: row; flex-wrap: wrap; }
  .benefit-item { flex: 1; min-width: 200px; }
}

/* =============================================
   PRODUCT SHOWCASE (Broadcast / Corporate cards)
============================================= */
/* Showcase cards — hauteur uniforme, images identiques */
.showcase-section { overflow: hidden; }

.showcase-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.showcase-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.showcase-media {
  width: 100%;
  height: 220px;        /* hauteur fixe identique pour les deux cartes */
  overflow: hidden;
  flex-shrink: 0;
}
.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.showcase-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.showcase-body .btn-primary { margin-top: auto; align-self: flex-start; }

@media (min-width: 768px) {
  .showcase-cards-grid {
    flex-direction: row;
  }
  .showcase-card {
    flex: 1;              /* même largeur */
  }
  .showcase-media {
    height: 240px;
  }
}

@media (min-width: 1024px) {
  .showcase-media { height: 280px; }
}

.showcase-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mint-leaf);
  margin-bottom: 10px;
}

.showcase-body h3 { color: var(--white); margin-bottom: 10px; }
.showcase-body p { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 20px; }

/* =============================================
   COMPARISON TABLE (Before / After)
============================================= */
.comparison {
  background: var(--mint-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
}

.comparison-col {
  padding: 24px 20px;
}

.comparison-col:first-child {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 15px;
}

.comparison-header .dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.dot-red { background: var(--racing-red); }
.dot-green { background: var(--mint-leaf); }

.comparison-list { display: flex; flex-direction: column; gap: 10px; }

.comparison-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--onyx);
}

.comparison-item .icon-x { color: var(--racing-red); font-size: 16px; font-weight: 700; }
.comparison-item .icon-check { color: var(--mint-leaf); font-size: 16px; font-weight: 700; }

@media (min-width: 768px) {
  .comparison { display: grid; grid-template-columns: 1fr 1fr; }
  .comparison-col:first-child { border-bottom: none; border-right: 1px solid rgba(0,0,0,0.08); }
}

/* =============================================
   PRACTICAL CASES SLIDER — horizontal
============================================= */

/* Wrapper global */
.cases-slider-wrap {
  margin-top: 24px;
  position: relative;
}

/* Boutons flèches (cachés sur mobile, visibles desktop) */
.slider-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-60%); /* légèrement au-dessus du centre pour compenser les dots */
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(13,0,83,0.12);
  box-shadow: 0 2px 12px rgba(13,0,83,0.12);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--deep-twilight);
  font-size: 18px;
}
.slider-arrow:hover {
  background: var(--mint-leaf);
  border-color: var(--mint-leaf);
  color: var(--white);
}
.slider-arrow-prev { left: -22px; }
.slider-arrow-next { right: -22px; }
.slider-arrow.hidden { opacity: 0.3; pointer-events: none; }

@media (min-width: 768px) {
  .slider-arrow { display: flex; }
}

/* Track : overflow horizontal, scroll snap */
.cases-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;          /* Firefox */
  padding-bottom: 4px;            /* évite le clip de box-shadow */
  cursor: grab;
}
.cases-slider::-webkit-scrollbar { display: none; }
.cases-slider.is-dragging { cursor: grabbing; scroll-snap-type: none; }

/* Chaque carte : largeur fixe, snap */
.case-card {
  flex: 0 0 calc(85%);            /* mobile : presque plein écran */
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white);
}

@media (min-width: 600px) {
  .case-card { flex: 0 0 calc(50% - 10px); }   /* 2 cartes visibles */
}
@media (min-width: 1024px) {
  .case-card { flex: 0 0 calc(33.333% - 14px); } /* 3 cartes visibles */
}

.case-media { aspect-ratio: 16/9; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; }

.case-body { padding: 20px; }
.case-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mint-leaf);
  margin-bottom: 8px;
}
.case-body h4 { margin-bottom: 8px; }
.case-body p { font-size: 14px; }

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grey);
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  padding: 0;
}
.slider-dot.active {
  opacity: 1;
  background: var(--mint-leaf);
  width: 24px;
  border-radius: 4px;
}

/* Demo block — layout split texte|vidéo */
.demo-block-split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.demo-block-content {
  flex: 1;
}

.demo-block-video {
  flex: 1;
}

.demo-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 14px;
}

@media (min-width: 768px) {
  .demo-block-split {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
  .demo-media { height: 100%; min-height: 220px; }
}
============================================= */
.testimonials { background: var(--mint-cream); }

.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint-leaf), var(--deep-twilight));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-meta { flex: 1; }
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--onyx); }

.stars { color: #F5C518; font-size: 13px; letter-spacing: 1px; }
.testimonial-text { font-size: 14px; color: var(--grey); line-height: 1.6; }

@media (min-width: 768px) {
  .testimonials-grid { flex-direction: row; }
  .testimonial-card { flex: 1; }
}

/* =============================================
   PRODUCT DEMO BLOCK
============================================= */
.demo-block {
  background: var(--deep-twilight);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 32px;
}

.demo-block-header { color: var(--mint-leaf); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.demo-block h3 { color: var(--white); margin-bottom: 16px; font-size: 20px; }

.demo-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.demo-feature {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}
.demo-feature::before { content: '✓'; color: var(--mint-leaf); font-weight: 700; flex-shrink: 0; }

.demo-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.05);
  margin-bottom: 20px;
}

/* =============================================
   FAQ
============================================= */
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 24px; }

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--onyx);
  gap: 12px;
  background: none;
}

.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--mint-cream);
  border: 2px solid var(--mint-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-leaf);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.2s;
  padding: 0;
}

.faq-item.active .faq-icon {
  background: var(--mint-leaf);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 200px; }

.faq-answer p {
  padding-bottom: 18px;
  font-size: 14px;
  color: var(--grey);
}

/* =============================================
   CTA BLOCK
============================================= */
.cta-block {
  background: var(--mint-cream);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
}

.cta-block h2 { color: var(--deep-twilight); margin-bottom: 16px; }
.cta-block p { margin-bottom: 24px; }

.cta-features { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; text-align: left; }
.cta-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.cta-feature-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(31,191,144,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--mint-leaf);
  flex-shrink: 0;
}
.cta-feature-text h5 { font-size: 14px; color: var(--onyx); margin-bottom: 2px; }
.cta-feature-text p { font-size: 13px; color: var(--grey); margin: 0; }

/* =============================================
   NEWSLETTER
============================================= */
.newsletter {
  background: var(--deep-twilight);
  padding: 48px var(--px);
  text-align: center;
}

.newsletter h2 { color: var(--white); margin-bottom: 12px; }
.newsletter p { color: rgba(255,255,255,0.65); margin-bottom: 24px; }

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-xl);
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 15px;
  outline: none;
  border: 1px solid rgba(255,255,255,0.15);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus { border-color: var(--mint-leaf); }

.newsletter-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--mint-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.newsletter-btn:hover { background: #18a87d; transform: scale(1.05); }

/* =============================================
   TEAM / ABOUT CARDS
============================================= */
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}

.team-card-inner {
  display: flex;
  gap: 16px;
  padding: 16px;
  align-items: center;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--mint-cream);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-info { flex: 1; }
.team-name { font-size: 16px; font-weight: 700; color: var(--onyx); }
.team-role { font-size: 13px; color: var(--mint-leaf); font-weight: 600; margin-bottom: 6px; }
.team-bio { font-size: 13px; color: var(--grey); line-height: 1.5; }

.team-card-footer {
  padding: 12px 16px;
  background: var(--deep-twilight);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.team-card-footer:hover { background: var(--mint-leaf); }

.team-card-footer svg { margin-left: auto; }

/* Team slider dots */
.team-slider { position: relative; }

/* =============================================
   CONTACT FORM
============================================= */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  margin-top: 24px;
}

.contact-form-label {
  color: var(--mint-leaf);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.contact-form-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--onyx);
  margin-bottom: 24px;
}

.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--onyx);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--onyx);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus { border-color: var(--mint-leaf); box-shadow: 0 0 0 3px rgba(31,191,144,0.1); }
.form-input::placeholder,
.form-textarea::placeholder { color: #9CA3AF; }

.form-textarea { resize: vertical; min-height: 120px; }

/* Select dropdowns */
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
select.form-input:invalid,
select.form-input option[value=""] { color: #9CA3AF; }

/* Contact info column */
.contact-info {
  margin-top: 40px;
}
.contact-info h3 { font-size: 16px; color: var(--deep-twilight); }
.contact-info p { font-size: 15px; line-height: 1.7; }

@media (min-width: 1024px) {
  .contact-info { margin-top: 0; }
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--deep-twilight);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-xl);
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: var(--font-main);
}
.form-submit:hover { background: #1a0080; }

.form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--grey);
}
.form-note-icon { color: var(--mint-leaf); }

/* =============================================
   SOCIAL MEDIA ICONS
============================================= */
.social-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--deep-twilight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  transition: all 0.2s;
  text-decoration: none;
}
.social-icon:hover { background: var(--mint-leaf); transform: translateY(-2px); }

/* Footer social (small, outlined) */
.social-icon-sm {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: all 0.2s;
}
.social-icon-sm:hover { border-color: var(--mint-leaf); color: var(--mint-leaf); }

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: var(--deep-twilight);
  padding: 48px var(--px) 24px;
  color: var(--white);
}

.footer-top { margin-bottom: 40px; }

.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 28px; }

.footer-desc {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-tagline {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  margin-bottom: 20px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 24px 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--mint-leaf); }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item span:first-child { color: var(--mint-leaf); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

@media (min-width: 768px) {
  .footer-columns { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================
   BOOKING MODAL (Book a demo / discovery call)
============================================= */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.booking-modal.active { display: flex; }

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 0, 83, 0.6);
  backdrop-filter: blur(4px);
}

.booking-modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  height: 90vh;
  max-height: 760px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.booking-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.booking-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--onyx);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.booking-modal-close:hover {
  background: var(--racing-red);
  color: var(--white);
}

@media (min-width: 768px) {
  .booking-modal-content { height: 80vh; }
}

/* =============================================
   404 PAGE
============================================= */
.page-404 {
  min-height: 60vh;
  background: linear-gradient(160deg, var(--deep-twilight) 0%, #060030 50%, var(--mint-leaf) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--px);
  color: var(--white);
}

.error-number {
  font-size: clamp(80px, 20vw, 160px);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 16px;
}

.page-404 h2 { color: var(--white); margin-bottom: 16px; }
.page-404 p { color: rgba(255,255,255,0.7); max-width: 340px; margin: 0 auto 32px; }

/* =============================================
   LEGAL PAGE
============================================= */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px var(--px);
}

.legal-content h2 {
  font-size: 20px;
  color: var(--deep-twilight);
  margin: 40px 0 16px;
  scroll-margin-top: 90px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 16px; font-size: 15px; }
.legal-content a { color: var(--mint-leaf); text-decoration: underline; }
.legal-content strong { color: var(--onyx); }

/* =============================================
   SECTION TITLES
============================================= */
.section-title {
  font-size: clamp(22px, 5vw, 32px);
  color: var(--onyx);
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 15px;
  color: var(--grey);
  max-width: 600px;
}

/* =============================================
   UTILITIES
============================================= */
.bg-dark    { background: var(--deep-twilight); }
.bg-green   { background: var(--mint-leaf); }
.bg-light   { background: var(--mint-cream); }
.bg-black   { background: var(--onyx); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.rounded-full { border-radius: 100px; }
.rounded-lg   { border-radius: var(--radius-lg); }

/* =============================================
   ANIMATIONS
============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fadeup {
  animation: fadeUp 0.5s ease forwards;
  opacity: 0;
}

/* =============================================
   RESPONSIVE — TABLET (768px)
============================================= */
@media (min-width: 768px) {
  :root { --px: 40px; }
  .section { padding: 80px 0; }

  .hero { padding: 64px var(--px) 72px; }

  .showcase-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .showcase-media { aspect-ratio: auto; }
}

/* =============================================
   RESPONSIVE — DESKTOP (1024px)
============================================= */
@media (min-width: 1024px) {
  :root { --px: 60px; }

  .hero { padding: 80px var(--px) 96px; }
  .hero-content { max-width: 560px; }

  .hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

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

  .cta-features { flex-direction: row; }

  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
}

@media (min-width: 1280px) {
  :root { --px: 80px; }
}
