/* ============================================================
   QANTRA Landing Page — Design System & Styles (v4)
   Brand Identity: #0B1220 · #25636B · #00C2C7 · #0CE3EA · #F2F4F7
   Font: Manrope · Premium · Minimalistic · Light Theme
   Restructured for proper UX flow + lead-gen form
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-primary: #25636B;
  --color-primary-dark: #1B4D54;
  --color-primary-light: #00C2C7;
  --color-primary-subtle: #E4F5F6;
  --color-primary-ghost: #F0FAFB;
  --color-accent: #0CE3EA;

  --color-text-primary: #0B1220;
  --color-text-secondary: #4A5568;
  --color-text-tertiary: #8899A6;
  --color-text-inverse: #FFFFFF;

  --color-bg-page: #F2F4F7;
  --color-bg-white: #FFFFFF;
  --color-bg-section-alt: #EDF6F7;
  --color-bg-dark: #0B1220;

  --color-border: #DDE3E8;
  --color-border-subtle: #E8EDF0;

  --color-success: #22C55E;
  --color-error: #EF4444;

  --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Manrope', -apple-system, sans-serif;

  --fs-hero: clamp(2.5rem, 5vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --fs-h3: clamp(1.125rem, 2vw, 1.375rem);
  --fs-body: 1rem;
  --fs-body-lg: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.15;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --section-padding: clamp(4rem, 8vw, 6rem) 0;

  --container-max: 1120px;
  --container-padding: clamp(1.25rem, 4vw, 2rem);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 194, 199, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 14px rgba(0, 194, 199, 0.07), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 40px rgba(0, 194, 199, 0.09), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 50px rgba(0, 194, 199, 0.1), 0 6px 16px rgba(0, 0, 0, 0.04);

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-text-primary);
  background: var(--color-bg-page);
}

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

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section { padding: var(--section-padding); }
.section--alt { background: var(--color-bg-section-alt); }
.section--white { background: var(--color-bg-white); }
.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.section-label--dark {
  background: rgba(0, 194, 199, 0.12);
  color: var(--color-accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 540px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  padding: 0.8125rem 1.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: 0 4px 16px rgba(0, 194, 199, 0.3);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 24px rgba(0, 194, 199, 0.4);
  transform: translateY(-2px);
}

.btn--white {
  background: white;
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.btn--white:hover {
  background: var(--color-primary-subtle);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn--outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: white;
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--large { padding: 0.9375rem 2.25rem; font-size: var(--fs-body-lg); }
.btn--full { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Transparent state over hero */
.nav--hero .nav__logo,
.nav--hero .nav__link,
.nav--hero .nav__mobile-toggle span {
  color: rgba(255, 255, 255, 0.9);
}

.nav--hero .nav__link:hover { color: white; }

.nav--hero .nav__logo-symbol--light { display: block; }
.nav--hero .nav__logo-symbol--dark { display: none; }

.nav--hero .btn--primary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav--hero .btn--primary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Scrolled / solid state */
.nav.scrolled {
  background: rgba(250, 250, 254, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav.scrolled .nav__logo,
.nav.scrolled .nav__link {
  color: var(--color-text-secondary);
}

.nav.scrolled .nav__logo { color: var(--color-text-primary); }
.nav.scrolled .nav__link:hover { color: var(--color-primary); }

.nav.scrolled .nav__logo-symbol--light { display: none; }
.nav.scrolled .nav__logo-symbol--dark { display: block; }

.nav.scrolled .btn--primary {
  background: var(--color-primary);
  border: none;
  box-shadow: 0 4px 16px rgba(0, 194, 199, 0.3);
  backdrop-filter: none;
}

.nav.scrolled .btn--primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 24px rgba(0, 194, 199, 0.4);
  transform: translateY(-2px);
}

.nav.scrolled .nav__mobile-toggle span {
  background: var(--color-text-primary);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  transition: color 0.4s ease;
  text-decoration: none;
}

.nav__logo-symbol {
  height: 32px;
  width: 32px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Default: show light, hide dark (hero state before JS) */
.nav__logo-symbol--dark { display: none; }

.nav__logo:hover .nav__logo-symbol {
  transform: scale(1.05);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav__link {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav__link:hover::after { width: 100%; }
.nav--hero .nav__link::after { background: white; }
.nav.scrolled .nav__link::after { background: var(--color-primary); }

.nav__cta { display: flex; align-items: center; gap: var(--space-md); }

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ============================================================
   CINEMATIC HERO
   ============================================================ */
.cinematic-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a14;
}

.cinematic-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cinematic-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cinematic-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: kenBurns 25s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -0.5%); }
}

.cinematic-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cinematic-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 20, 0.7) 0%,
      rgba(10, 10, 20, 0.45) 40%,
      rgba(10, 10, 20, 0.5) 60%,
      rgba(10, 10, 20, 0.85) 100%
    );
}

.cinematic-hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.cinematic-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  animation: grainDrift 0.5s steps(2) infinite;
}

@keyframes grainDrift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-2px, 1px); }
  100% { transform: translate(1px, -1px); }
}

/* Floating bokeh particles */
.cinematic-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 150, 0.5) 0%, rgba(255, 220, 150, 0) 70%);
  will-change: transform, opacity;
}

.particle--1 { width: 80px; height: 80px; top: 20%; left: 10%; animation: particleFloat 12s ease-in-out infinite, particlePulse 6s ease-in-out infinite; }
.particle--2 { width: 50px; height: 50px; top: 60%; left: 75%; animation: particleFloat 15s ease-in-out infinite reverse, particlePulse 8s ease-in-out infinite 1s; }
.particle--3 { width: 120px; height: 120px; top: 30%; right: 5%; animation: particleFloat 18s ease-in-out infinite, particlePulse 7s ease-in-out infinite 2s; background: radial-gradient(circle, rgba(0, 194, 199, 0.2) 0%, transparent 70%); }
.particle--4 { width: 40px; height: 40px; bottom: 25%; left: 30%; animation: particleFloat 10s ease-in-out infinite reverse, particlePulse 5s ease-in-out infinite 0.5s; }
.particle--5 { width: 60px; height: 60px; top: 15%; right: 30%; animation: particleFloat 14s ease-in-out infinite, particlePulse 9s ease-in-out infinite 3s; background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%); }
.particle--6 { width: 35px; height: 35px; bottom: 35%; right: 20%; animation: particleFloat 11s ease-in-out infinite reverse, particlePulse 6s ease-in-out infinite 1.5s; }
.particle--7 { width: 90px; height: 90px; bottom: 15%; left: 60%; animation: particleFloat 16s ease-in-out infinite, particlePulse 10s ease-in-out infinite 4s; background: radial-gradient(circle, rgba(0, 194, 199, 0.15) 0%, transparent 70%); }
.particle--8 { width: 25px; height: 25px; top: 50%; left: 45%; animation: particleFloat 9s ease-in-out infinite reverse, particlePulse 4s ease-in-out infinite 2s; }

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(15px, -20px) rotate(2deg); }
  50% { transform: translate(-10px, -35px) rotate(-1deg); }
  75% { transform: translate(20px, -15px) rotate(1deg); }
}

@keyframes particlePulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* Hero content */
.cinematic-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.cinematic-hero__logo {
  margin-bottom: var(--space-md);
}

.hero-logo-img,
.cinematic-hero__logo img {
  max-width: 240px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.cinematic-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: var(--fw-bold);
  line-height: 1.12;
  color: white;
  letter-spacing: -0.02em;
}

.cinematic-hero__sub {
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--lh-relaxed);
  max-width: 580px;
}

.hide-mobile { display: inline; }

.cinematic-hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-md);
}

.btn--glow {
  box-shadow: 0 4px 20px rgba(0, 194, 199, 0.45), 0 0 40px rgba(0, 194, 199, 0.15);
}

.btn--glow:hover {
  box-shadow: 0 6px 28px rgba(0, 194, 199, 0.55), 0 0 60px rgba(0, 194, 199, 0.2);
}

.cinematic-hero__scroll {
  display: none;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* Hero fade-in */
.hero-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-fade.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-fade--1 { transition-delay: 0.3s; }
.hero-fade--2 { transition-delay: 0.6s; }
.hero-fade--3 { transition-delay: 0.9s; }
.hero-fade--4 { transition-delay: 1.2s; }
.hero-fade--5 { transition-delay: 1.5s; }


/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: var(--space-2xl) 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.trust-bar__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-bar__number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  letter-spacing: -0.03em;
}

.trust-bar__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-bar__divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}


/* ============================================================
   HOW IT WORKS — 3-step flow
   ============================================================ */
.hiw-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: var(--space-3xl);
}

.hiw-step {
  text-align: center;
  flex: 0 1 240px;
  position: relative;
}

.hiw-step__number {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.hiw-step__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary-subtle);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.hiw-step:hover .hiw-step__icon {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 0 30px rgba(0, 194, 199, 0.25);
  transform: scale(1.05);
}

.hiw-step__icon svg { width: 26px; height: 26px; }

.hiw-step__title {
  font-weight: var(--fw-bold);
  font-size: var(--fs-body-lg);
  margin-bottom: var(--space-xs);
}

.hiw-step__desc {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 200px;
  margin: 0 auto;
}

.hiw-connector {
  display: flex;
  align-items: center;
  padding-top: 48px; /* center vertically with icon */
  color: var(--color-border);
  flex: 0 0 48px;
}

.hiw-connector svg {
  width: 40px;
  height: 12px;
}


/* ============================================================
   PRODUCT SHOWCASE — Clean 2-Column Side-by-Side Split
   ============================================================ */
.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  align-items: stretch;
}

.product-col {
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border-subtle);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-xl);
}

.product-col:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.product-col__eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  align-self: flex-start;
}

/* Attendee Screenshots 3-Column Grid Inside Left Card */
.attendee-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
  align-items: start;
  max-width: 480px;
  margin: 0 auto;
}

.carousel-dots {
  display: none;
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.screenshot-card__frame {
  width: 100%;
  max-width: 140px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  background: #FFFFFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-card__frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.screenshot-card__frame img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.screenshot-card__label {
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  color: #475569;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Organizer Widescreen Dashboard Frame Inside Right Card — Scrollable Preview */
.organizer-dashboard-frame {
  width: 100%;
  height: 400px;
  max-height: 400px;
  border-radius: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: auto;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  background: #FFFFFF;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 194, 199, 0.4) transparent;
}

.organizer-dashboard-frame::-webkit-scrollbar {
  width: 6px;
}

.organizer-dashboard-frame::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
}

.organizer-dashboard-frame::-webkit-scrollbar-thumb {
  background: rgba(0, 194, 199, 0.35);
  border-radius: 3px;
}

.organizer-dashboard-frame::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 194, 199, 0.6);
}

.organizer-dashboard-frame:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.organizer-dashboard-frame img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.product-col__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.product-col__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.product-col__features li svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--color-primary);
  margin-top: 1px;
}


/* ============================================================
   WHY QANTRA — 3-column values
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.value-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-bg-page);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-lg);
  background: var(--color-primary-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.value-card__icon svg { width: 24px; height: 24px; }

.value-card__title {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  margin-bottom: var(--space-sm);
}

.value-card__text {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}


/* ============================================================
   CONTACT — dark CTA + lead form
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-left {
  padding-top: var(--space-md);
}

.contact-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: white;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.contact-desc {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-xl);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.contact-channel:hover { color: var(--color-accent); }

.contact-channel svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
}

/* Lead form card */
.contact-right {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(12px);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

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

.lead-form .form-label {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.7);
}

.lead-form .form-label .optional {
  font-weight: var(--fw-regular);
  color: rgba(255, 255, 255, 0.35);
  font-size: var(--fs-xs);
}

.lead-form .form-input,
.lead-form .form-select,
.lead-form .form-textarea {
  width: 100%;
  padding: 0.75rem var(--space-md);
  font-family: var(--font-primary);
  font-size: var(--fs-small);
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.lead-form .form-input:focus,
.lead-form .form-select:focus,
.lead-form .form-textarea:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(0, 194, 199, 0.15);
}

.lead-form .form-input::placeholder,
.lead-form .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.lead-form .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.25rem;
  cursor: pointer;
}

.lead-form .form-select option {
  background: var(--color-bg-dark);
  color: white;
}

.lead-form .form-textarea {
  min-height: 80px;
  resize: vertical;
  line-height: var(--lh-normal);
}

.lead-form__note {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-top: -4px;
}

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.form-success.active { display: block; }

.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: rgba(34, 197, 94, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
}

.form-success__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
  color: white;
}

.form-success__text {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.55);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #080E18;
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-2xl) 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: white;
}

.footer__logo-symbol {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.footer__tagline {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
  max-width: 280px;
}

.footer__right {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.footer__links {
  display: flex;
  gap: var(--space-xl);
}

.footer__links a {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer__links a:hover { color: white; }

.footer__socials {
  display: flex;
  gap: var(--space-sm);
}

.footer__social {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.footer__social:hover {
  background: var(--color-primary);
  color: white;
}

.footer__social svg { width: 16px; height: 16px; }

.footer__copyright {
  width: 100%;
  text-align: center;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.3);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: var(--space-sm);
}


/* ============================================================
   ADVANCED MASTER LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  user-select: none;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__stage {
  width: 100%;
  height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  position: relative;
}

.lightbox__image {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  cursor: zoom-in;
  display: block;
}

.lightbox__spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: lightbox-spin 0.8s linear infinite;
  z-index: 10001;
}

@keyframes lightbox-spin {
  to { transform: rotate(360deg); }
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10002;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10002;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.lightbox__bar {
  position: absolute;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 10002;
  pointer-events: none;
}

.lightbox__caption {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.lightbox__hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}


/* ============================================================
   SCROLL ANIMATIONS (Replayable)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cinematic-hero__logo img { max-width: 220px; }

  .hiw-flow { gap: 0; flex-wrap: wrap; justify-content: center; }
  .hiw-step { flex: 0 1 200px; }
  .hiw-connector { flex: 0 0 32px; }

  .product-split { grid-template-columns: 1fr; }

  .values-grid { grid-template-columns: repeat(3, 1fr); }

  .contact-wrap { grid-template-columns: 1fr; }
  .contact-left { text-align: center; }
  .contact-channels { align-items: center; }
}

@media (max-width: 768px) {
  .nav__inner {
    height: 64px;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(11, 18, 32, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl) var(--container-padding);
    gap: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
  }

  .nav__links.open { display: flex; }
  .nav__links.open .nav__link {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    font-weight: 600;
  }
  .nav__links.open .nav__link:hover { color: var(--color-accent); }
  .nav__mobile-toggle { display: flex; }
  .nav__cta .btn--primary { display: none; }

  .cinematic-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .cinematic-hero__content {
    gap: 1.25rem;
    padding: 0 1.25rem;
  }

  .hero-logo-img,
  .cinematic-hero__logo img { max-width: 180px; }
  
  .cinematic-hero__headline {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    line-height: 1.15;
  }

  .cinematic-hero__sub {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
  }

  .hide-mobile { display: none; }

  .cinematic-hero__ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-top: 0.5rem;
    gap: 0.875rem;
  }

  .cinematic-hero__ctas .btn { width: 100%; }

  .hiw-flow { flex-direction: column; align-items: center; gap: var(--space-lg); }
  .hiw-connector { transform: rotate(90deg); padding-top: 0; }

  .showcase-block {
    padding: var(--space-lg);
  }
  .product-split {
    grid-template-columns: 1fr;
  }

  .attendee-screenshots-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
  }

  .attendee-screenshots-grid::before,
  .attendee-screenshots-grid::after {
    content: '';
    flex: 0 0 calc(50% - 35% - 0.5rem);
  }

  .screenshot-card {
    flex: 0 0 70%;
    scroll-snap-align: center;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 0.875rem;
    margin-bottom: 0.5rem;
    width: 100%;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CBD5E1;
    transition: background var(--transition-fast), transform var(--transition-fast);
  }

  .carousel-dot.active {
    background: var(--color-primary);
    transform: scale(1.15);
  }

  .values-grid { grid-template-columns: 1fr; }

  .lead-form__row { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; text-align: center; gap: 2rem; }
  .footer__brand { flex-direction: column; }
  .footer__right { flex-direction: column; gap: 1.5rem; width: 100%; max-width: 100%; }
  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .cinematic-hero {
    padding-top: 90px;
    padding-bottom: 50px;
  }

  .hero-logo-img,
  .cinematic-hero__logo img { max-width: 145px; }
  .cinematic-hero__headline { font-size: 1.75rem; }

  .attendee-screenshots-grid::before,
  .attendee-screenshots-grid::after {
    content: '';
    flex: 0 0 calc(50% - 42.5%);
  }

  .screenshot-card {
    flex: 0 0 85%;
  }
}

@media (max-width: 350px) {
  .attendee-screenshots-grid::before,
  .attendee-screenshots-grid::after {
    flex: 0 0 calc(50% - 42.5% - 1.25rem);
  }
}

/* ============================================================
   NEW CINEMATIC UPGRADES: SLIDESHOW, WRISTBAND 3D, TIMELINE
   ============================================================ */

/* Hero Slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform;
}

.hero-slide.ken-burns img {
  animation: kenBurns 25s ease-in-out infinite alternate;
}

/* Section Glow */
.section-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px;
  height: 250px;
  background: radial-gradient(ellipse at top, rgba(0, 194, 199, 0.15) 0%, rgba(37, 99, 107, 0.05) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Timeline Progress in How It Works */
.hiw-timeline-container {
  position: relative;
  margin-top: var(--space-2xl);
}

.hiw-timeline-progress {
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: rgba(0, 194, 199, 0.15);
  border-radius: 2px;
  z-index: 0;
  display: block;
}

.hiw-timeline-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), #38bdf8);
  border-radius: 2px;
  transition: width 0.3s ease-out;
  box-shadow: 0 0 12px rgba(0, 194, 199, 0.6);
}

@media (max-width: 768px) {
  .hiw-timeline-progress { display: none; }
}

/* Wristband Hardware Showcase */
.wristband-showcase {
  position: relative;
  background: linear-gradient(180deg, #0a0a14 0%, #0d151c 100%);
  overflow: hidden;
  padding: 6rem 0;
}

.wristband-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.wristband-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: white;
  margin-block: var(--space-sm) var(--space-md);
  letter-spacing: -0.02em;
}

.wristband-desc {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-xl);
}

.wristband-specs {
  display: flex;
  gap: var(--space-xl);
}

.wristband-spec {
  display: flex;
  flex-direction: column;
}

.wristband-spec__val {
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--color-primary-light);
  letter-spacing: -0.02em;
}

.wristband-spec__lbl {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.wristband-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.wristband-3d {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  cursor: grab;
}

.wristband-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 194, 199, 0.25));
  transition: transform 0.3s ease;
  transform: translateZ(30px);
}

/* NFC Pulse Rings */
.nfc-pulse-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 194, 199, 0.4);
  animation: nfcPulse 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

.nfc-pulse-ring.delay-1 {
  animation-delay: 1.5s;
}

@keyframes nfcPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}


/* ============================================================
   TRUSTED BY BAR — Dark Premium
   ============================================================ */
.trusted-bar {
  position: relative;
  background: linear-gradient(135deg, #0B1220 0%, #111D33 50%, #0E1829 100%) !important;
  padding: 2.5rem 0;
  overflow: hidden;
  border-block: 1px solid rgba(0, 194, 199, 0.12);
  color: #FFFFFF;
}

.trusted-bar__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 600px 120px at 30% 50%, rgba(0, 194, 199, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 600px 120px at 70% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
}

.trusted-bar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.trusted-bar__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
}

.trusted-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.trusted-bar__dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.trusted-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  opacity: 0.88;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.trusted-logo-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* STUDLUX logo */
.trusted-logo--studlux {
  height: 44px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
  display: block;
}

.trusted-logo-item:hover .trusted-logo--studlux {
  filter: brightness(1.25) drop-shadow(0 0 16px rgba(200, 169, 110, 0.4));
}

/* IMPERIA brand */
.imperia-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.imperia-brand__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.imperia-brand__icon svg {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  filter: drop-shadow(0 2px 6px rgba(124, 58, 237, 0.4));
  transition: filter 0.35s ease, transform 0.35s ease;
}

.trusted-logo-item:hover .imperia-brand__icon svg {
  filter: drop-shadow(0 4px 16px rgba(124, 58, 237, 0.6));
  transform: scale(1.04);
}

.imperia-brand__text {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1;
}

.imperia-brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FFFFFF !important;
}

.imperia-brand__studio {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.65) !important;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .trusted-bar {
    padding: 1.75rem 0;
  }

  .trusted-bar__inner {
    flex-direction: column;
    gap: 1.25rem;
  }

  .trusted-bar__logos {
    gap: 1.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .trusted-bar__dot {
    display: none;
  }

  .trusted-logo--studlux {
    height: 38px;
  }

  .imperia-brand {
    gap: 0.5rem;
  }

  .imperia-brand__name,
  .imperia-brand__studio {
    font-size: 1.05rem;
  }

  .imperia-brand__icon svg {
    width: 32px;
    height: 32px;
  }
}

/* ===== Legal Modals (Privacy Policy & Terms of Use) — Dark Premium ===== */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.legal-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.legal-modal__dialog {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 720px;
  max-height: 84vh;
  background: #0B1220 !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 194, 199, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal.active .legal-modal__dialog {
  transform: scale(1) translateY(0);
}

.legal-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF !important;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 20;
}

.legal-modal__close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.legal-modal__content {
  padding: 2.5rem 2.5rem 2.5rem;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: var(--font-main);
  line-height: 1.7;
  background: #0B1220 !important;
}

.legal-modal__content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-bottom: 0.25rem;
}

.legal-modal__date {
  font-size: 0.85rem;
  color: #00C2C7 !important;
  margin-bottom: 1.75rem;
  font-weight: 600;
}

.legal-modal__content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-modal__content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78) !important;
  margin-bottom: 1rem;
}

.legal-modal__content strong {
  color: #FFFFFF !important;
}

.legal-modal__content a {
  color: #00C2C7 !important;
  text-decoration: underline;
}

/* ============================================================
   FAQ & AI KNOWLEDGE RETRIEVAL SECTION
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.faq-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border-subtle);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 194, 199, 0.3);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

