/* ==========================================================================
   UNIVEXA MARKETING — DESIGN SYSTEM & SECTION 1: HEADER / NAVIGATION
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Accents (Modern High-End Tech Agency Palette - No AI tropes) */
  --color-accent-1: #00b4d8; /* Primary Accent (Electric Ice-Cyan) */
  --color-accent-1-hover: #0096b7;
  --color-accent-1-light: rgba(0, 180, 216, 0.08);
  --color-accent-1-glow: rgba(0, 180, 216, 0.25);

  --color-accent-2: #0949e3; /* Secondary Accent (Electric Royal Blue) */
  --color-accent-2-hover: #0738b3;
  --color-accent-2-light: rgba(9, 73, 227, 0.08);
  --color-accent-2-glow: rgba(9, 73, 227, 0.25);

  --gradient-brand: linear-gradient(
    135deg,
    #0949e3 0%,
    #0284c7 48%,
    #00b4d8 100%
  );
  --gradient-brand-subtle: linear-gradient(
    135deg,
    rgba(9, 73, 227, 0.06) 0%,
    rgba(0, 180, 216, 0.06) 100%
  );
  --gradient-text: linear-gradient(135deg, #0949e3 0%, #0284c7 48%, #00b4d8 100%);

  /* Base & Surface Neutrals (Light/Bright aesthetic) */
  --color-bg-base: #ffffff;
  --color-bg-subtle: #f8fafc;
  --color-bg-muted: #f1f5f9;
  --color-surface-glass: rgba(255, 255, 255, 0.85);
  --color-surface-glass-border: rgba(226, 232, 240, 0.8);

  /* Typography Colors */
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-text-inverse: #ffffff;

  /* Borders & Dividers */
  --color-border: #e2e8f0;
  --color-border-subtle: rgba(15, 23, 42, 0.06);

  /* Typography */
  --font-sans:
    "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  --font-display:
    "Outfit", "Plus Jakarta Sans", sans-serif;
  --font-size-xs: 0.75rem; /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-md: 1.125rem; /* 18px */
  --font-size-lg: 1.25rem; /* 20px */
  --font-size-xl: 1.5rem; /* 24px */
  --font-size-2xl: 2rem; /* 32px */
  --font-size-3xl: 2.5rem; /* 40px */
  --font-size-4xl: 3.25rem; /* 52px */

  /* Spacing */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-7: 1.75rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg:
    0 10px 25px -3px rgba(15, 23, 42, 0.08),
    0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl:
    0 20px 35px -5px rgba(15, 23, 42, 0.1),
    0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 8px 24px -4px rgba(0, 180, 216, 0.28);
  --shadow-glow-blue: 0 8px 24px -4px rgba(9, 73, 227, 0.25);

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

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width-container: 1240px;
  --header-height: 92px;
  --header-height-scrolled: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Attractive & Advanced Custom Scrollbars (Global & Cross-Browser)
   -------------------------------------------------------------------------- */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(9, 73, 227, 0.45) transparent;
}

/* Global WebKit Scrollbars (Chrome, Edge, Safari, Brave, Opera) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(9, 73, 227, 0.38) 0%,
    rgba(163, 0, 163, 0.42) 100%
  );
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0949e3 0%, #00b4d8 100%);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 12px rgba(9, 73, 227, 0.45);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #0738b3 0%, #0096b7 100%);
}

::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-6);
  padding-right: var(--spacing-6);
}

/* --------------------------------------------------------------------------
   3. Section 1: Sticky Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background-color: transparent;
  pointer-events: none;
  transition:
    transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 400ms cubic-bezier(0.16, 1, 0.3, 1),
    height var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

/* Auto-hide header when showcase video section is active */
.site-header.is-hidden-by-video {
  transform: translateY(-110%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Scrolled state: Container remains transparent so ONLY the menu pill floats fixed */
.site-header.is-scrolled {
  height: var(--header-height-scrolled);
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

/* Hide brand logo when scrolled (shows only in Section 1) */
.site-header.is-scrolled .brand-link {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-30px);
  visibility: hidden;
}

/* Hide CTA button when scrolled (shows only in Section 1) */
.site-header.is-scrolled .header-actions .btn-primary-accent {
  opacity: 0;
  pointer-events: none;
  transform: translateX(30px);
  visibility: hidden;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  width: 100%;
  position: relative;
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}

.site-header .brand-link,
.site-header .nav-desktop,
.site-header .header-actions {
  pointer-events: auto;
}

/* Brand Logo */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-3);
  text-decoration: none;
  z-index: 1002;
  transition:
    opacity 350ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-link:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-smooth);
}

.site-header.is-scrolled .brand-logo-img {
  height: 70px;
}

/* Desktop Navigation — perfectly centered floating pill */
.nav-desktop {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(248, 250, 252, 0.7);
  padding: 3px 4px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  z-index: 1001;
}

.site-header.is-scrolled .nav-desktop {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 10px 30px -4px rgba(15, 23, 42, 0.1),
    0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

.nav-item-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--color-text-secondary);
  border-radius: var(--radius-full);
  position: relative;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.nav-item-link:hover {
  color: var(--color-text-primary);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-item-link.is-active {
  color: #0949e3;
  font-weight: 700;
  background: rgba(9, 73, 227, 0.14);
  border: 1px solid rgba(9, 73, 227, 0.32);
  box-shadow: 0 2px 10px rgba(9, 73, 227, 0.18);
}

/* Header navigation on dark hero background (before user scrolls) */
.site-header:not(.is-scrolled) .nav-desktop {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 4px;
  gap: 4px;
}

.site-header:not(.is-scrolled) .nav-item-link {
  color: #d6dbf5;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid transparent;
}

.site-header:not(.is-scrolled) .nav-item-link:hover {
  color: #ffffff;
  background-color: transparent;
  box-shadow: none;
}

.site-header:not(.is-scrolled) .nav-item-link.is-active {
  color: #ffffff;
  background: #1e5bff;
  border-color: transparent;
  box-shadow: none;
}

.site-header:not(.is-scrolled) .header-actions .btn-primary-accent {
  background: #1e5bff;
  box-shadow: none;
}

.site-header:not(.is-scrolled) .mobile-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.site-header:not(.is-scrolled) .mobile-toggle .hamburger-lines span {
  background-color: #ffffff;
}

/* Header Actions / CTA Button */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
}

/* Primary Accent CTA Button ("Beratungstermin vereinbaren") */
.btn-primary-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: 12px 22px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1;
  color: var(--color-text-inverse);
  background: var(--gradient-brand);
  background-size: 200% 200%;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
  transition:
    opacity 350ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
    background var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.btn-primary-accent span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

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

.btn-primary-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -2px rgba(163, 0, 163, 0.35);
  background-position: right center;
}

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

.btn-primary-accent:active {
  transform: translateY(0);
}

.btn-icon-arrow {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.btn-primary-accent:hover .btn-icon-arrow {
  transform: translateX(3px);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  z-index: 1002;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--color-bg-muted);
}

.hamburger-lines {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-lines span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-text-primary);
  border-radius: 2px;
  transition:
    transform var(--transition-smooth),
    opacity var(--transition-fast);
  transform-origin: center;
}

/* Hamburger Open Animation */
.mobile-toggle.is-active .hamburger-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.is-active .hamburger-lines span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active .hamburger-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer Menu */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-height) + 24px) var(--spacing-6) var(--spacing-10);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity var(--transition-smooth),
    transform var(--transition-smooth);
}

.mobile-nav-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  margin-top: var(--spacing-4);
}

.mobile-nav-link {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover {
  color: var(--color-accent-2);
  background: var(--color-bg-subtle);
}

.mobile-nav-link.is-active {
  color: #0949e3;
  background: rgba(9, 73, 227, 0.12);
  border: 1px solid rgba(9, 73, 227, 0.28);
}

.mobile-nav-link::after {
  content: "→";
  font-size: var(--font-size-lg);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  padding-top: var(--spacing-6);
  border-top: 1px solid var(--color-border);
}

.mobile-drawer-footer .btn-primary-accent {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: var(--font-size-base);
}

.mobile-contact-hints {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   4. Direct Contact Modal (Briefing Compliant: No Forms, Direct Contact)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: var(--spacing-8);
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-smooth);
}

.modal-overlay.is-visible .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: var(--spacing-5);
  right: var(--spacing-5);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  padding: 0;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: all var(--transition-fast);
}

.modal-close-btn svg {
  width: 15px;
  height: 15px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.4;
  pointer-events: none;
}

.modal-close-btn:hover {
  background: var(--color-bg-muted);
  border-color: var(--color-accent-1);
  color: var(--color-accent-1);
  transform: rotate(90deg);
  box-shadow: 0 2px 8px rgba(163, 0, 163, 0.15);
}

.modal-header-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--color-accent-1-light);
  color: var(--color-accent-1);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-3);
}

.modal-title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-2);
  line-height: 1.2;
}

.modal-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-6);
  line-height: 1.5;
}

.modal-contact-channels {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-6);
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-4) var(--spacing-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-subtle);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.contact-card:hover {
  border-color: var(--color-accent-2);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.08);
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card-icon.phone {
  color: #10b981;
}

.contact-card-icon.email {
  color: var(--color-accent-2);
}

.contact-card-info {
  display: flex;
  flex-direction: column;
}

.contact-card-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card-value {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text-primary);
}

.contact-card-action {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-accent-2);
  display: flex;
  align-items: center;
  gap: 4px;
}

.modal-footer-note {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
}

.modal-footer-note .dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   5. Section 2: Hero (Client design "Variante 04" — dark, offset video,
      rotating "Mehr …" headline)
   -------------------------------------------------------------------------- */
.section-hero {
  --hero-bg: #05060f;
  --hero-blue: #1e5bff;
  --hero-cyan: #1ec8ff;
  --hero-muted: #b9c0e0;
  position: relative;
  font-family: 'Urbanist', var(--font-sans);
  min-height: max(100vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 104px) 0 64px;
  background: var(--hero-bg);
  color: #ffffff;
  overflow: hidden;
}

.hero-v-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(22%, 12%) scale(1.05);
  transform-origin: center;
  z-index: 0;
  pointer-events: none;
}

/* Hide native play overlays (e.g. iOS Low Power Mode) — no controls ever */
.hero-v-video::-webkit-media-controls,
.hero-v-video::-webkit-media-controls-start-playback-button,
.hero-v-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
}

.hero-v-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      var(--hero-bg) 0%,
      var(--hero-bg) 20%,
      rgba(5, 6, 15, 0.82) 38%,
      rgba(5, 6, 15, 0.25) 58%,
      rgba(5, 6, 15, 0) 72%
    ),
    linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg) 10%, rgba(5, 6, 15, 0) 26%);
}

.hero-v-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.hero-v-content {
  flex: 999 1 600px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-v-spacer {
  flex: 1 1 340px;
}

.hero-headline {
  margin: 0;
  font-size: clamp(56px, 7.4vw, 112px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.hero-headline-static {
  display: block;
}

.hero-headline-word {
  display: inline-block;
  color: var(--hero-cyan);
  text-shadow: 0 0 40px rgba(30, 200, 255, 0.45);
}

.hero-headline-word.is-in {
  animation: hero-word-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes hero-word-in {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.hero-bars {
  display: flex;
  gap: 8px;
  max-width: 420px;
}

.hero-bars span {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.4s;
}

.hero-slogan {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.hero-slogan::before {
  content: '';
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--hero-cyan);
  flex: none;
}

.hero-lead {
  margin: -10px 0 0;
  max-width: 560px;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--hero-muted);
}

.hero-cta {
  display: inline-block;
  padding: 16px 28px;
  border: none;
  border-radius: 999px;
  background: var(--hero-blue);
  color: #ffffff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(30, 91, 255, 0.45);
  transition: filter 0.2s, transform 0.2s;
}

.hero-cta:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.hero-cta:focus-visible {
  outline: 2px solid var(--hero-cyan);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-v-video {
    transform: translateY(8%);
  }

  .hero-v-shade {
    background: linear-gradient(
      180deg,
      var(--hero-bg) 0%,
      var(--hero-bg) 9%,
      rgba(5, 6, 15, 0.72) 22%,
      rgba(5, 6, 15, 0.72) 100%
    );
  }

  .hero-v-spacer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-headline-word.is-in {
    animation: none;
  }
}

.growth-metric-text {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  font-weight: 700;
}

/* Grid Layout (Fallback / Legacy) */
.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(var(--spacing-6), 3vw, var(--spacing-12));
  margin-bottom: 0;
  width: 100%;
}

.hero-content {
  min-width: 0;
  position: relative;
  z-index: 2;
}

/* Badges: Default high-contrast vivid style for light sections */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(9, 73, 227, 0.08);
  border: 1px solid rgba(9, 73, 227, 0.22);
  box-shadow: 0 4px 16px rgba(9, 73, 227, 0.06);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: #0949e3;
  margin-bottom: var(--spacing-4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    background var(--transition-normal),
    box-shadow var(--transition-normal);
}

.hero-badge .badge-text {
  color: #0949e3;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.hero-badge .badge-sparkle {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0949e3;
}

.hero-badge .badge-sparkle svg {
  stroke: #0949e3;
}

.hero-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(9, 73, 227, 0.38);
  background: rgba(9, 73, 227, 0.12);
  box-shadow: 0 6px 20px rgba(9, 73, 227, 0.12);
}

/* Dark Hero Section Badge Override */
.section-hero .hero-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: #e2e8f0;
  margin-bottom: var(--spacing-6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.section-hero .hero-badge .badge-text {
  color: #e2e8f0;
  font-weight: 600;
}

.section-hero .hero-badge .badge-sparkle {
  color: #60a5fa;
}

.section-hero .hero-badge .badge-sparkle svg {
  stroke: #60a5fa;
}

.section-hero .hero-badge:hover {
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.badge-sparkle svg {
  width: 14px;
  height: 14px;
}

.status-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
  margin-right: 6px;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.7;
  }
}

.badge-separator {
  color: rgba(255, 255, 255, 0.3);
}

.badge-sub {
  color: #60a5fa;
  font-weight: 700;
}

/* Headline */
.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: clamp(14px, 2.2vh, var(--spacing-6));
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, #38bdf8 60%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Description */
.hero-description {
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  color: #94a3b8;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: clamp(16px, 2.8vh, var(--spacing-8));
}

/* CTA Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  flex-wrap: wrap;
  margin-bottom: clamp(16px, 2.8vh, var(--spacing-8));
}

.btn-hero-cta {
  padding: 15px 30px;
  font-size: var(--font-size-base);
  box-shadow: 0 8px 30px rgba(163, 0, 163, 0.45);
}

.hero-actions .btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: 15px 28px;
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.hero-actions .btn-secondary-outline span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.hero-actions .btn-secondary-outline:hover {
  border-color: rgba(96, 165, 250, 0.6);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9, 73, 227, 0.3);
}

.btn-icon-down {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.hero-actions .btn-secondary-outline:hover .btn-icon-down {
  transform: translateY(2px);
}

/* Trust checkmarks */
.hero-trust-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-6);
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: #cbd5e1;
}

.trust-item .trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

/* Right Media Column / Seamless 3D Particle Video Integration */
.hero-media-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ambient glow directly positioned behind the particle "U" */
.hero-media-wrapper::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(9, 73, 227, 0.28) 0%,
    rgba(163, 0, 163, 0.18) 45%,
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: hero-glow-pulse 8s ease-in-out infinite alternate;
}

@keyframes hero-glow-pulse {
  0% {
    transform: scale(0.94);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.06);
    opacity: 1;
  }
}

.hero-video-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: transparent;
  border-radius: var(--radius-xl);
  padding: 0;
  border: none;
  box-shadow: none;
  z-index: 1;
}

.video-container {
  position: relative;
  width: 100%;
  min-height: 320px;
  max-height: min(440px, 48vh);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: transparent;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  mix-blend-mode: screen; /* Seamlessly dissolves black/dark video background into the hero canvas */
  filter: contrast(1.08) brightness(1.05);
}

.video-overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 65%,
    rgba(8, 12, 22, 0.5) 100%
  );
  pointer-events: none;
}

/* Floating Micro-Widgets (Frosted Dark Glassmorphism) */
.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(9, 73, 227, 0.15);
  z-index: 2;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal);
}

.floating-chip:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.chip-top-right {
  top: -16px;
  right: -16px;
  animation: hero-chip-float 6s ease-in-out infinite;
}

.chip-bottom-left {
  bottom: -16px;
  left: -16px;
  animation: hero-chip-float 6s ease-in-out infinite reverse;
}

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

.chip-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chip-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.chip-icon-wrap.blue {
  background: rgba(9, 73, 227, 0.25);
  color: #60a5fa;
}

.chip-icon-wrap.magenta {
  background: rgba(163, 0, 163, 0.25);
  color: #f472b6;
}

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

.chip-val {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.chip-lbl {
  font-size: var(--font-size-xs);
  color: #94a3b8;
  line-height: 1.2;
}

/* Bottom Pillars Bar (Dark Frosted Glass Grid) */
.hero-pillars-bar {
  position: relative;
  z-index: 2;
  padding-top: var(--spacing-8);
  padding-bottom: var(--spacing-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #080c16;
  background: linear-gradient(180deg, #080c16 0%, #0b1120 100%);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-6);
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-3);
  padding: var(--spacing-4);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-2px);
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 10px 25px -5px rgba(9, 73, 227, 0.2);
}

.pillar-number {
  font-size: var(--font-size-xs);
  font-weight: 800;
  color: #60a5fa;
  background: rgba(9, 73, 227, 0.25);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  line-height: 1;
  flex-shrink: 0;
}

.pillar-content {
  display: flex;
  flex-direction: column;
}

.pillar-title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.pillar-desc {
  font-size: var(--font-size-xs);
  color: #94a3b8;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   6. Section 3: Jeton-Inspired Scroll Convergence Stage
   Central slogan + 6 cards orbiting and converging inward on scroll
   -------------------------------------------------------------------------- */

/* Section wrapper — sticky container driving smooth scroll convergence */
.section-visibility {
  position: relative;
  background: radial-gradient(
    ellipse 100% 60% at 50% 0%,
    #e8eeff 0%,
    #f8fafc 40%,
    #ffffff 100%
  );
  --vis-progress: 0;
  --card-opacity: 0;
  --card-scale: 0.75;
  --enter-spread: 1;
  --converge-prog: 0;
  --tighten-prog: 0;
  --exit-scale: 1;
  --exit-y: 0px;
  --slogan-opacity: 1;
  --slogan-scale: 1;
  --slogan-blur: 0px;
  --slogan-pointer-events: auto;
}

/* Dedicated Pinned Scroll Track (Extended 250vh track for slower, smoother scroll) */
.vis-track {
  position: relative;
  min-height: 250vh;
}

/* Ambient glow accents */
.visibility-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
}

.glow-left {
  top: 10%;
  left: -100px;
  background: radial-gradient(
    circle,
    var(--color-accent-2) 0%,
    transparent 70%
  );
}

.glow-right {
  bottom: 5%;
  right: -100px;
  background: radial-gradient(
    circle,
    var(--color-accent-1) 0%,
    transparent 70%
  );
}

/* ── Sticky Stage (Pinned while user scrolls through the 180vh track) ── */
.vis-sticky-stage {
  position: sticky;
  top: var(--header-height-scrolled, 76px);
  z-index: 2;
  height: calc(100vh - var(--header-height-scrolled, 76px));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  padding: 10px 0;
}

/* ── The scene: relative canvas for central slogan & overlapping cluster cards ── */
.vis-scene {
  position: relative;
  width: min(1200px, 94vw);
  height: min(680px, calc(100vh - var(--header-height-scrolled, 76px) - 20px));
  margin: 0 auto;
  transform: translateY(var(--exit-y, 0px)) scale(var(--exit-scale, 1));
  transform-origin: center center;
  will-change: transform;
}

/* ── Central Anchor Slogan: visible immediately, then slowly hides as cards converge on scroll ── */
.vis-center-slogan {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--slogan-scale, 1));
  transform-origin: center center;
  z-index: 1; /* Sits in background layer so converging cards cluster cleanly */
  text-align: center;
  width: min(780px, 92%);
  pointer-events: var(--slogan-pointer-events, auto);
  opacity: var(--slogan-opacity, 1);
  filter: blur(var(--slogan-blur, 0px));
  will-change: opacity, transform;
}

.vis-center-slogan .hero-badge {
  justify-content: center;
  margin-bottom: var(--spacing-3);
}

.visibility-title {
  font-family: var(--font-display, var(--font-sans));
  font-size: clamp(2.75rem, 5.2vw, 4.6rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #0f172a;
  margin-top: var(--spacing-3);
  margin-bottom: var(--spacing-4);
}

.visibility-subtitle {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  color: #475569;
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

/* ── Widget Cards: Converging Dashboard Cards (Organic Staggered Collage) ── */
.widget-card {
  position: absolute;
  background: #ffffff;
  border-radius: 20px;
  padding: 11px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 20px 45px -10px rgba(15, 23, 42, 0.12),
    0 0 20px rgba(9, 73, 227, 0.04);
  display: flex;
  flex-direction: column;
  width: clamp(190px, 17vw, 245px);
  will-change: transform, opacity, translate;
  cursor: pointer;
  transition:
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: var(--card-opacity, 0);
  transform: translate(
      calc(
        var(--enter-x, 0px) * var(--enter-spread, 1) + var(--center-x, 0px) *
          var(--converge-prog, 0) + var(--tighten-x, 0px) *
          var(--tighten-prog, 0)
      ),
      calc(
        var(--enter-y, 0px) * var(--enter-spread, 1) + var(--center-y, 0px) *
          var(--converge-prog, 0) + var(--tighten-y, 0px) *
          var(--tighten-prog, 0)
      )
    )
    rotate(calc(var(--card-rot, 0deg) * var(--converge-prog, 0)))
    scale(var(--card-scale, 0.75));
  translate: 0 0;
}

.widget-card:hover {
  z-index: 12 !important;
  border-color: rgba(9, 73, 227, 0.35);
  box-shadow:
    0 32px 70px -10px rgba(15, 23, 42, 0.22),
    0 0 35px rgba(9, 73, 227, 0.12);
  translate: 0 -8px;
}

/* ── Flanking Coordinates, Staggered Center Convergence & Tightening Offsets ── */

/* Card 1: Top-Left (SEO & Google Visibility) — high up, search bar & ranks clearly visible */
.widget-card-1 {
  left: 2%;
  top: 4%;
  z-index: 3;
  --enter-x: -30px;
  --enter-y: -15px;
  --center-x: 160px;
  --center-y: 35px;
  --tighten-x: 55px;
  --tighten-y: 30px;
  --card-rot: -2.5deg;
}

/* Card 2: Top-Right (Conversion Funnel) — high up, funnel graphic clearly visible */
.widget-card-2 {
  right: 2%;
  top: 4%;
  z-index: 4;
  --enter-x: 30px;
  --enter-y: -15px;
  --center-x: -160px;
  --center-y: 30px;
  --tighten-x: -55px;
  --tighten-y: 30px;
  --card-rot: 2.5deg;
}

/* Card 3: Mid-Left (Community Engagement) — outer-left, donut circle & metrics clearly visible */
.widget-card-3 {
  left: 1%;
  top: 38%;
  z-index: 5;
  --enter-x: -35px;
  --enter-y: 0px;
  --center-x: 65px;
  --center-y: -30px;
  --tighten-x: 85px;
  --tighten-y: -10px;
  --card-rot: -4deg;
}

/* Card 4: Front-Center-Left (Social Analytics) — bridges into center gap, multi-channel icons */
.widget-card-4 {
  left: 5%;
  top: 68%;
  z-index: 7;
  --enter-x: -25px;
  --enter-y: 20px;
  --center-x: 235px;
  --center-y: -160px;
  --tighten-x: 35px;
  --tighten-y: -20px;
  --card-rot: -1.5deg;
}

/* Card 5: Front-Center-Right (Watchtime & Retention) — bridges into center gap, wave graph */
.widget-card-5 {
  right: 5%;
  top: 66%;
  z-index: 6;
  --enter-x: 25px;
  --enter-y: 20px;
  --center-x: -235px;
  --center-y: -150px;
  --tighten-x: -35px;
  --tighten-y: -20px;
  --card-rot: 1.5deg;
}

/* Card 6: Mid-Right (Content-Planung & Kalender) — outer-right, calendar days clearly visible */
.widget-card-6 {
  right: 1%;
  top: 36%;
  z-index: 5;
  --enter-x: 35px;
  --enter-y: 0px;
  --center-x: -65px;
  --center-y: -30px;
  --tighten-x: -85px;
  --tighten-y: -10px;
  --card-rot: 3.5deg;
}

/* Subtle micro-floating on image wrapper */
.float-anim-1 .widget-img-wrap {
  animation: widget-inner-float-1 7s ease-in-out infinite;
}

.float-anim-2 .widget-img-wrap {
  animation: widget-inner-float-2 8s ease-in-out infinite 1.5s;
}

.float-anim-3 .widget-img-wrap {
  animation: widget-inner-float-3 7.5s ease-in-out infinite 3s;
}

@keyframes widget-inner-float-1 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes widget-inner-float-2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes widget-inner-float-3 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Image Wrap & Frame */
.widget-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
  background-color: #0f172a;
  position: relative;
}

.widget-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.widget-card:hover .widget-img {
  transform: scale(1.035);
}

.widget-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%
  );
  pointer-events: none;
}

/* Widget Card Content Info */
.widget-info {
  padding: 12px 6px 4px;
  display: flex;
  flex-direction: column;
}

.widget-badge-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.widget-badge-tag.blue {
  background: rgba(9, 73, 227, 0.08);
  color: var(--color-accent-2);
}

.widget-badge-tag.magenta {
  background: rgba(163, 0, 163, 0.08);
  color: var(--color-accent-1);
}

.widget-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 3px;
  line-height: 1.3;
}

.widget-desc {
  font-size: 11px;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

/* Bottom CTA area below the sticky track */
.visibility-cta-container {
  position: relative;
  z-index: 5;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Bottom Potential Analysis CTA Card */
.visibility-cta-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #0f172a 0%, #171c35 60%, #1a1230 100%);
  border-radius: var(--radius-xl);
  padding: var(--spacing-8) var(--spacing-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-8);
  box-shadow:
    0 25px 50px -12px rgba(15, 23, 42, 0.25),
    0 0 40px rgba(9, 73, 227, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.visibility-cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
}

.cta-card-content {
  display: flex;
  flex-direction: column;
}

.cta-card-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.cta-card-title {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.cta-card-desc {
  font-size: var(--font-size-sm);
  color: #94a3b8;
  max-width: 620px;
  line-height: 1.5;
}

.visibility-cta-card .btn-primary-accent {
  flex-shrink: 0;
  white-space: nowrap;
}

.visibility-cta-container {
  padding: 100px 0 80px;
  position: relative;
  z-index: 3;
}




/* --------------------------------------------------------------------------
   7. Section 4: How We Work (3-Step Workflow)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   7. Section 4: How We Work (Sequential Scroll-Driven Workflow)
   -------------------------------------------------------------------------- */
.section-workflow {
  position: relative;
  padding: 80px 0 24px;
  background-color: var(--color-bg-base);
  overflow: clip;
}

/* Ambient glow accent */
.workflow-bg-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 450px;
  background: radial-gradient(
    circle,
    rgba(9, 73, 227, 0.06) 0%,
    rgba(163, 0, 163, 0.05) 50%,
    transparent 70%
  );
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
}

/* 2-Column Sequential Layout */
.workflow-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--spacing-16);
  align-items: start;
  min-height: 280vh;
  margin-bottom: 0;
}

/* Left Sticky Guide & Milestone Rail */
.workflow-sticky-col {
  position: sticky;
  top: calc(var(--header-height-scrolled, 76px) + 20px);
  z-index: 2;
}

.workflow-sticky-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.workflow-sticky-inner .workflow-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin-top: var(--spacing-4);
  margin-bottom: var(--spacing-4);
}

.workflow-sticky-inner .workflow-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: var(--spacing-6);
}

/* Milestone Rail */
.workflow-rail-wrap {
  position: relative;
  display: flex;
  width: 100%;
  margin-bottom: var(--spacing-8);
}

.rail-track {
  position: absolute;
  left: 27px;
  top: 26px;
  bottom: 26px;
  width: 2.5px;
  background: rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-full);
  z-index: 0;
}

.rail-indicator-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(
    180deg,
    var(--color-accent-2) 0%,
    #7622c4 50%,
    var(--color-accent-1) 100%
  );
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(9, 73, 227, 0.4);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rail-items-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  width: 100%;
  z-index: 1;
}

.rail-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-normal);
  width: 100%;
}

.rail-item:hover {
  background: rgba(248, 250, 252, 0.9);
}

.rail-item.is-active {
  background: #ffffff;
  border-color: rgba(226, 232, 240, 0.95);
  box-shadow:
    0 10px 25px -5px rgba(15, 23, 42, 0.08),
    0 0 15px rgba(9, 73, 227, 0.03);
}

.rail-item-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

.rail-item-badge.badge-blue {
  background: var(--color-accent-2);
  box-shadow: 0 4px 12px rgba(9, 73, 227, 0.3);
}

.rail-item-badge.badge-purple {
  background: #7622c4;
  box-shadow: 0 4px 12px rgba(118, 34, 196, 0.3);
}

.rail-item-badge.badge-magenta {
  background: var(--color-accent-1);
  box-shadow: 0 4px 12px rgba(163, 0, 163, 0.3);
}

.rail-item.is-active .rail-item-badge {
  transform: scale(1.12);
}

.rail-item-info {
  display: flex;
  flex-direction: column;
}

.rail-item-phase {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 2px;
  transition: color var(--transition-normal);
}

.rail-item.is-active .rail-item-phase {
  color: var(--color-accent-2);
}

.rail-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-secondary);
  line-height: 1.3;
  transition: color var(--transition-normal);
}

.rail-item.is-active .rail-item-title {
  color: var(--color-text-primary);
}

.workflow-sticky-cta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  width: 100%;
}

.sticky-cta-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.hint-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

/* Right Column: Sticky Card Deck Stage */
.workflow-stream-col {
  position: sticky;
  top: calc(var(--header-height-scrolled, 76px) + 20px);
  z-index: 2;
  width: 100%;
  padding-bottom: 140px;
}

.workflow-step-card {
  background: #ffffff !important;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 15px 35px -5px rgba(15, 23, 42, 0.08),
    0 0 20px rgba(9, 73, 227, 0.03);
  display: flex;
  flex-direction: column;
  transform-origin: top center;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
  will-change: transform, box-shadow;
  opacity: 1 !important;
}

/* Card 1: Static base card in stack establishing height */
.step-card-1 {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Card 2: Stacked over Card 1 with 70px tab peek showing Card 1's badge, phase & icon */
.step-card-2 {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  z-index: 3;
  transform: translateY(110vh);
  box-shadow:
    0 -12px 35px -5px rgba(15, 23, 42, 0.1),
    0 25px 60px -10px rgba(15, 23, 42, 0.12);
}

/* Card 3: Stacked over Card 2 with 140px tab peek showing Card 1 and Card 2 headers */
.step-card-3 {
  position: absolute;
  top: 140px;
  left: 0;
  width: 100%;
  z-index: 4;
  transform: translateY(110vh);
  box-shadow:
    0 -15px 40px -5px rgba(15, 23, 42, 0.12),
    0 30px 65px -10px rgba(15, 23, 42, 0.14);
}

/* When a card is stacked directly under the active top card */
.workflow-step-card.is-stacked {
  transform: scale(0.985);
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 25px -5px rgba(15, 23, 42, 0.06);
  cursor: pointer;
}

/* When a card is two levels down in the stack (Card 1 when Card 3 is active) */
.workflow-step-card.is-stacked-deep {
  transform: scale(0.97);
  border-color: rgba(226, 232, 240, 0.75);
  box-shadow: 0 4px 15px -5px rgba(15, 23, 42, 0.04);
  cursor: pointer;
}

.workflow-step-card.is-active {
  opacity: 1 !important;
  border-color: rgba(9, 73, 227, 0.32);
  box-shadow:
    0 25px 60px -10px rgba(15, 23, 42, 0.14),
    0 0 30px rgba(9, 73, 227, 0.08);
}

.step-card-2.is-active {
  border-color: rgba(118, 34, 196, 0.35);
  box-shadow:
    0 25px 60px -10px rgba(15, 23, 42, 0.14),
    0 0 30px rgba(118, 34, 196, 0.08);
}

.step-card-3.is-active {
  border-color: rgba(163, 0, 163, 0.35);
  box-shadow:
    0 25px 60px -10px rgba(15, 23, 42, 0.14),
    0 0 30px rgba(163, 0, 163, 0.08);
}

.workflow-step-card:hover {
  transform: translateY(-2px) scale(1.005);
  box-shadow:
    0 30px 70px -10px rgba(15, 23, 42, 0.16),
    0 0 35px rgba(9, 73, 227, 0.1);
}

.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-5);
}

.step-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.step-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  color: #ffffff;
  line-height: 1;
  text-transform: uppercase;
}

.step-badge-1 {
  background: var(--color-accent-2);
  box-shadow: 0 4px 14px rgba(9, 73, 227, 0.35);
}

.step-badge-2 {
  background: #7622c4;
  box-shadow: 0 4px 14px rgba(118, 34, 196, 0.35);
}

.step-badge-3 {
  background: var(--color-accent-1);
  box-shadow: 0 4px 14px rgba(163, 0, 163, 0.35);
}

.step-phase-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.step-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.workflow-step-card:hover .step-icon-wrap {
  transform: scale(1.08) rotate(3deg);
}

.step-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.step-title {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-6);
}

.step-points-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--spacing-6);
}

.step-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.point-check {
  color: #10b981;
  font-weight: 800;
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

.step-footer-meta {
  padding-top: var(--spacing-4);
  border-top: 1px solid var(--color-border);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

/* Step Visual Preview Widgets (Fintech & Dashboard Inspired) */
.step-visual-preview {
  margin: var(--spacing-4) 0 var(--spacing-6);
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.95) 0%,
    rgba(241, 245, 249, 0.9) 100%
  );
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.workflow-step-card.is-active .step-visual-preview {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    rgba(248, 250, 252, 0.95) 100%
  );
  border-color: rgba(9, 73, 227, 0.18);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.05);
}

.step-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.step-visual-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-size: 11px;
  font-weight: 700;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Step 1 Tags Cluster */
.step-tags-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.step-tag-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--color-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.step-tag-pill.highlight-blue {
  background: rgba(9, 73, 227, 0.06);
  border-color: rgba(9, 73, 227, 0.2);
  color: var(--color-accent-2);
}

.step-tag-pill.highlight-purple {
  background: rgba(118, 34, 196, 0.06);
  border-color: rgba(118, 34, 196, 0.2);
  color: #7622c4;
}

.step-mini-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.mini-progress-track {
  height: 6px;
  background: rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.mini-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-accent-2) 0%, #7622c4 100%);
  width: 100%;
  transition: width 0.6s ease;
}

/* Step 2 Funnel Stages Flow */
.step-funnel-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.funnel-stage-box {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.funnel-stage-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-primary);
  display: block;
}

.funnel-stage-sub {
  font-size: 10px;
  color: var(--color-text-muted);
  line-height: 1.2;
}

.funnel-arrow {
  color: #7622c4;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.step-kpi-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 8px 16px;
}

.kpi-item {
  display: flex;
  flex-direction: column;
}

.kpi-val {
  font-weight: 800;
  color: #7622c4;
  font-size: 13px;
  line-height: 1.2;
}

.kpi-lbl {
  color: var(--color-text-muted);
  font-size: 10px;
}

/* Step 3 Live Metrics Strip */
.step-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-strip-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-strip-val {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.metric-strip-val.text-magenta {
  color: var(--color-accent-1);
}

.metric-strip-val.text-blue {
  color: var(--color-accent-2);
}

.metric-strip-val.text-green {
  color: #10b981;
}

.metric-strip-lbl {
  font-size: 10px;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Workflow Bottom Action Box */
.workflow-action-box {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: var(--spacing-6) var(--spacing-8);
  border: 1.5px solid rgba(9, 73, 227, 0.15);
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-6);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.workflow-action-box:hover {
  box-shadow: 0 20px 40px -5px rgba(9, 73, 227, 0.1);
}

.action-box-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
}

.action-box-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(240, 90, 40, 0.1);
  color: var(--color-accent-1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(240, 90, 40, 0.2);
  transition: transform var(--transition-normal);
}

.workflow-action-box:hover .action-box-icon-wrap {
  transform: scale(1.1) rotate(6deg);
}

.action-box-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.action-box-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.action-box-title {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.action-box-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.workflow-action-box .btn-primary-accent {
  flex-shrink: 0;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   8. Section 5: Core Services (Interactive Services Hub)
   -------------------------------------------------------------------------- */
.section-services {
  position: relative;
  padding: 50px 0 50px;
  background-color: var(--color-bg-subtle);
  overflow: hidden;
}

/* Ambient glow accents */
.services-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.services-bg-glow.glow-blue {
  top: -100px;
  left: -150px;
  background: radial-gradient(
    circle,
    rgba(9, 73, 227, 0.09) 0%,
    transparent 70%
  );
  animation: services-glow-float-1 12s ease-in-out infinite alternate;
}

.services-bg-glow.glow-magenta {
  bottom: -100px;
  right: -150px;
  background: radial-gradient(
    circle,
    rgba(163, 0, 163, 0.09) 0%,
    transparent 70%
  );
  animation: services-glow-float-2 14s ease-in-out infinite alternate;
}

@keyframes services-glow-float-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(45px, 35px) scale(1.15);
  }
  100% {
    transform: translate(15px, 60px) scale(0.95);
  }
}

@keyframes services-glow-float-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-50px, -40px) scale(1.18);
  }
  100% {
    transform: translate(-20px, -70px) scale(0.92);
  }
}

.services-header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto var(--spacing-16);
}

.services-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin-top: var(--spacing-4);
  margin-bottom: var(--spacing-4);
}

.services-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   8. Section 5: Core Services (Cards Grid Section)
   -------------------------------------------------------------------------- */
.services-cards-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  margin-bottom: var(--spacing-8);
}

/* Card column span on desktop: 3 cards in row 1, 2 cards in row 2 */
.service-grid-card:nth-child(1),
.service-grid-card:nth-child(2),
.service-grid-card:nth-child(3) {
  grid-column: span 4;
}

.service-grid-card:nth-child(4),
.service-grid-card:nth-child(5) {
  grid-column: span 6;
}

/* Card Container */
.service-grid-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
  will-change: transform;
  transform-style: preserve-3d;
}

/* Dynamic Cursor-Tracking Spotlight Glow */
.service-grid-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--card-spotlight-color, rgba(9, 73, 227, 0.09)),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.service-grid-card:hover::before {
  opacity: 1;
}

/* Blooming Gradient Accent on Top Border */
.service-grid-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--theme-color, #0949e3),
    transparent
  );
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: center;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
  z-index: 2;
}

.service-grid-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Theme Accent Variables & Glows */
.service-grid-card.theme-blue {
  --theme-color: #0949e3;
  --card-spotlight-color: rgba(9, 73, 227, 0.1);
}
.service-grid-card.theme-purple {
  --theme-color: #7622c4;
  --card-spotlight-color: rgba(118, 34, 196, 0.1);
}
.service-grid-card.theme-magenta {
  --theme-color: #a300a3;
  --card-spotlight-color: rgba(163, 0, 163, 0.1);
}
.service-grid-card.theme-cyan {
  --theme-color: #06b6d4;
  --card-spotlight-color: rgba(6, 182, 212, 0.12);
}
.service-grid-card.theme-emerald {
  --theme-color: #10b981;
  --card-spotlight-color: rgba(16, 185, 129, 0.12);
}

/* Subtle corner ambient glow */
.service-card-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(35px);
  z-index: 0;
}

.service-grid-card:hover .service-card-glow {
  opacity: 1;
}

.service-grid-card.theme-blue .service-card-glow {
  background: radial-gradient(
    circle,
    rgba(9, 73, 227, 0.18) 0%,
    transparent 70%
  );
}
.service-grid-card.theme-purple .service-card-glow {
  background: radial-gradient(
    circle,
    rgba(118, 34, 196, 0.18) 0%,
    transparent 70%
  );
}
.service-grid-card.theme-magenta .service-card-glow {
  background: radial-gradient(
    circle,
    rgba(163, 0, 163, 0.18) 0%,
    transparent 70%
  );
}
.service-grid-card.theme-cyan .service-card-glow {
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.2) 0%,
    transparent 70%
  );
}
.service-grid-card.theme-emerald .service-card-glow {
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.2) 0%,
    transparent 70%
  );
}

/* Hover lift and border glow */
.service-grid-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 50px -10px rgba(15, 23, 42, 0.12),
    0 0 30px rgba(9, 73, 227, 0.06);
}

.service-grid-card.theme-blue:hover {
  border-color: rgba(9, 73, 227, 0.4);
}
.service-grid-card.theme-purple:hover {
  border-color: rgba(118, 34, 196, 0.4);
}
.service-grid-card.theme-magenta:hover {
  border-color: rgba(163, 0, 163, 0.4);
}
.service-grid-card.theme-cyan:hover {
  border-color: rgba(6, 182, 212, 0.45);
}
.service-grid-card.theme-emerald:hover {
  border-color: rgba(16, 185, 129, 0.45);
}

/* Header */
.service-card-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-3);
  margin-bottom: 22px;
}

/* Animated Floating Icon Box */
.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
  animation: service-icon-float 4.5s ease-in-out infinite;
}

.service-grid-card:nth-child(1) .service-icon-box {
  animation-delay: 0s;
}
.service-grid-card:nth-child(2) .service-icon-box {
  animation-delay: 0.9s;
}
.service-grid-card:nth-child(3) .service-icon-box {
  animation-delay: 1.8s;
}
.service-grid-card:nth-child(4) .service-icon-box {
  animation-delay: 2.7s;
}
.service-grid-card:nth-child(5) .service-icon-box {
  animation-delay: 3.6s;
}

@keyframes service-icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.service-grid-card:hover .service-icon-box {
  animation-play-state: paused;
  transform: scale(1.12) rotate(4deg);
  box-shadow: 0 8px 24px -4px
    var(--card-spotlight-color, rgba(9, 73, 227, 0.25));
}

.service-icon-box.icon-blue {
  background: rgba(9, 73, 227, 0.08);
  color: var(--color-accent-2);
  border: 1px solid rgba(9, 73, 227, 0.15);
}

.service-icon-box.icon-purple {
  background: rgba(118, 34, 196, 0.08);
  color: #7622c4;
  border: 1px solid rgba(118, 34, 196, 0.15);
}

.service-icon-box.icon-magenta {
  background: rgba(163, 0, 163, 0.08);
  color: var(--color-accent-1);
  border: 1px solid rgba(163, 0, 163, 0.15);
}

.service-icon-box.icon-cyan {
  background: rgba(6, 182, 212, 0.08);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.service-icon-box.icon-emerald {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.service-icon-box svg {
  width: 24px;
  height: 24px;
}

.service-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card-number {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  background: rgba(15, 23, 42, 0.04);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.service-category-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.service-category-tag.tag-blue {
  background: rgba(9, 73, 227, 0.08);
  color: var(--color-accent-2);
}
.service-category-tag.tag-purple {
  background: rgba(118, 34, 196, 0.08);
  color: #7622c4;
}
.service-category-tag.tag-magenta {
  background: rgba(163, 0, 163, 0.08);
  color: var(--color-accent-1);
}
.service-category-tag.tag-cyan {
  background: rgba(6, 182, 212, 0.08);
  color: #06b6d4;
}

/* Body */
.service-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: clamp(1.25rem, 1.6vw, 1.45rem);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.service-grid-card:hover .service-card-title {
  color: var(--theme-color, var(--color-accent-2));
}

.service-card-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  min-height: 66px;
}

/* Metric Highlight Capsule with Hover Pulse */
.service-card-metric {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.95) 0%,
    rgba(241, 245, 249, 0.9) 100%
  );
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  margin-bottom: 20px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-grid-card:hover .service-card-metric {
  background: #ffffff;
  border-color: rgba(9, 73, 227, 0.22);
  box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.service-card-metric .metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card-metric .metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.3s ease;
}

.service-grid-card:hover .service-card-metric .metric-val {
  transform: scale(1.06);
}

.metric-val.text-blue {
  color: var(--color-accent-2);
}

.metric-val.text-magenta {
  color: var(--color-accent-1);
}

.service-card-metric .metric-lbl {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.service-card-metric .metric-divider {
  width: 1px;
  height: 26px;
  background: rgba(226, 232, 240, 0.9);
}

/* Checklist with Staggered Hover Bounce */
.service-card-checklist {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}

.service-card-checklist .checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--color-text-secondary);
  line-height: 1.45;
  transition:
    transform 0.25s ease,
    color 0.2s ease;
}

.service-card-checklist .checklist-item:hover {
  color: var(--color-text-primary);
  transform: translateX(4px);
}

.service-card-checklist .check-icon {
  color: #10b981;
  font-weight: 800;
  font-size: 13px;
  margin-top: 1px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-grid-card:hover .checklist-item:nth-child(1) .check-icon {
  transform: scale(1.22);
}
.service-grid-card:hover .checklist-item:nth-child(2) .check-icon {
  transform: scale(1.22);
  transition-delay: 0.05s;
}
.service-grid-card:hover .checklist-item:nth-child(3) .check-icon {
  transform: scale(1.22);
  transition-delay: 0.1s;
}
.service-grid-card:hover .checklist-item:nth-child(4) .check-icon {
  transform: scale(1.22);
  transition-delay: 0.15s;
}

/* Platform Tags with Hover Pop */
.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.service-card-tags .service-tag {
  font-size: 11px;
  font-weight: 600;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.85);
  color: var(--color-text-secondary);
  border-radius: 6px;
  padding: 3px 9px;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  cursor: default;
}

.service-card-tags .service-tag:hover {
  background: #ffffff;
  border-color: var(--theme-color, var(--color-accent-2));
  color: var(--color-text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
}

/* Footer & Action Button */
.service-card-footer {
  position: relative;
  z-index: 2;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  margin-top: auto;
}

.btn-service-action {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  background: rgba(9, 73, 227, 0.05);
  color: var(--color-accent-2);
  border: 1.5px solid rgba(9, 73, 227, 0.2);
  transition: all var(--transition-normal);
}

.btn-service-action .btn-icon-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-normal);
}

.btn-service-action:hover {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 24px -4px rgba(9, 73, 227, 0.35);
  transform: translateY(-2px);
}

.btn-service-action:hover .btn-icon-arrow {
  transform: translateX(4px);
}

/* Combined Packages Reassurance Banner */
.services-combined-banner {
  position: relative;
  z-index: 1;
  margin-top: var(--spacing-8);
  background: linear-gradient(
    135deg,
    rgba(9, 73, 227, 0.04) 0%,
    rgba(163, 0, 163, 0.04) 100%
  );
  border: 1.5px dashed rgba(9, 73, 227, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--spacing-6) var(--spacing-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-6);
}

.combined-banner-content {
  max-width: 720px;
}

.combined-banner-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent-1);
  margin-bottom: 6px;
}

.combined-banner-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.combined-banner-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.services-combined-banner .btn-primary-accent {
  flex-shrink: 0;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   9. Section 6: Full-Screen Background Video Showcase
   -------------------------------------------------------------------------- */
.section-showcase {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  background-color: var(--color-bg-base, #ffffff);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Ambient glow accents */
.showcase-bg-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 3;
  opacity: 0.45;
}

.showcase-bg-glow.glow-blue {
  top: 10%;
  left: -200px;
  background: radial-gradient(
    circle,
    rgba(9, 73, 227, 0.12) 0%,
    transparent 70%
  );
}

.showcase-bg-glow.glow-magenta {
  bottom: 0%;
  right: -200px;
  background: radial-gradient(
    circle,
    rgba(163, 0, 163, 0.1) 0%,
    transparent 70%
  );
}

/* Standalone Showcase Video Container (Edge-to-Edge Full-Screen Background) */
.showcase-standalone-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
  cursor: default;
  user-select: none;
  z-index: 1;
}

.showcase-full-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* No fade at all on the video (top or bottom) */
.showcase-video-vignette {
  display: none;
}

/* Hide all browser native video controls and timelines */
.showcase-full-video::-webkit-media-controls,
.showcase-full-video::-webkit-media-controls-enclosure,
.showcase-full-video::-webkit-media-controls-panel,
.showcase-full-video::-webkit-media-controls-play-button,
.showcase-full-video::-webkit-media-controls-timeline,
.showcase-full-video::-webkit-media-controls-current-time-display,
.showcase-full-video::-webkit-media-controls-time-remaining-display,
.showcase-full-video::-webkit-media-controls-mute-button,
.showcase-full-video::-webkit-media-controls-fullscreen-button,
.showcase-full-video::-webkit-media-controls-start-playback-button,
.showcase-full-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Restart Button (fades in shortly before the video ends, lower half of the frame).
   No dimming or blur — the logo on the final frame stays fully visible. */
.video-restart-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-restart-overlay.is-active {
  opacity: 1;
}

.video-restart-overlay.is-active .video-restart-btn {
  pointer-events: auto;
}

.video-restart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display, inherit);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  pointer-events: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-restart-btn svg {
  width: 16px;
  height: 16px;
}

.video-restart-btn:hover,
.video-restart-btn:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* Main 2-Column Grid */
.showcase-main-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: var(--spacing-12);
  align-items: center;
}

/* ==========================================================================
   Realistic 3D Smartphone Frame
   ========================================================================== */
.showcase-phone-column {
  display: flex;
  justify-content: center;
  position: relative;
}

.smartphone-3d-wrap {
  position: relative;
  width: 330px;
  perspective: 1200px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  padding-bottom: 34px;
}

.smartphone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.2;
  background: #0b0f19;
  border-radius: 48px;
  padding: 10px;
  box-shadow:
    0 30px 70px -15px rgba(15, 23, 42, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 0 0 2px #334155,
    0 0 40px rgba(9, 73, 227, 0.22);
  border: 4px solid #1e293b;
  overflow: hidden;
}

/* Dynamic Island & Notch */
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 106px;
  height: 26px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.phone-sensor {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1e293b;
}

.phone-camera {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0f172a;
  border: 1.5px solid #1e293b;
}

.phone-camera::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #0949e3;
}

/* Screen Inner Container */
.phone-screen-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #000000;
  display: flex;
  user-select: none;
}

/* Vertical Reel Feed Track */
.reel-feed-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Reel Slide */
.reel-slide {
  position: relative;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.reel-media-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #000000;
}

.reel-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 6s ease-in-out alternate infinite;
}

.reel-media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    transparent 20%,
    transparent 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Tap Surface */
.reel-tap-surface {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reel-play-indicator {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.65);
  transition:
    opacity 0.25s ease,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.reel-play-indicator svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.reel-slide.is-paused .reel-play-indicator {
  opacity: 1;
  transform: scale(1);
}

.reel-burst-heart {
  position: absolute;
  width: 76px;
  height: 76px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0);
  filter: drop-shadow(0 4px 18px rgba(239, 68, 68, 0.7));
}

.reel-burst-heart svg {
  width: 100%;
  height: 100%;
}

.reel-burst-heart.animate-burst {
  animation: heart-burst-pop 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heart-burst-pop {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-15deg);
  }
  35% {
    opacity: 1;
    transform: scale(1.35) rotate(0deg);
  }
  75% {
    opacity: 0.95;
    transform: scale(1) translateY(-10px);
  }
  100% {
    opacity: 0;
    transform: scale(0.85) translateY(-35px);
  }
}

/* Top Status HUD */
.reel-top-hud {
  position: absolute;
  top: 48px;
  left: 14px;
  right: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.reel-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.reel-category-chip.chip-d2c {
  border-color: rgba(163, 0, 163, 0.35);
}

.reel-category-chip.chip-creator {
  border-color: rgba(118, 34, 196, 0.35);
}

.reel-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse-live 1.5s infinite;
}

.reel-audio-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.reel-audio-btn:hover {
  transform: scale(1.08);
  background: rgba(0, 0, 0, 0.85);
}

.reel-audio-btn svg {
  width: 16px;
  height: 16px;
}

.reel-audio-btn .audio-muted-icon {
  display: none;
}

.reel-audio-btn.is-muted .audio-unmuted-icon {
  display: none;
}

.reel-audio-btn.is-muted .audio-muted-icon {
  display: block;
}

/* Right Social Actions Rail */
.reel-actions-rail {
  position: absolute;
  right: 10px;
  bottom: 84px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}

.reel-action-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #ffffff;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reel-action-btn:hover {
  transform: scale(1.12);
}

.action-icon-disc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all 0.2s ease;
}

.action-icon-disc svg {
  width: 20px;
  height: 20px;
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    fill 0.2s ease,
    stroke 0.2s ease;
}

.svg-heart {
  fill: rgba(255, 255, 255, 0.95);
}

.btn-like.is-liked .action-icon-disc {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
}

.btn-like.is-liked .svg-heart {
  fill: #ef4444 !important;
  transform: scale(1.18);
}

.btn-bookmark.is-bookmarked .action-icon-disc {
  background: rgba(234, 179, 8, 0.25);
  border-color: rgba(234, 179, 8, 0.5);
}

.btn-bookmark.is-bookmarked svg {
  fill: #eab308 !important;
  stroke: #eab308 !important;
  transform: scale(1.15);
}

.action-count-label {
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* Rotating Vinyl Record Disc */
.reel-vinyl-disc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #090d16;
  border: 2.5px solid #000000;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin-vinyl 4s linear infinite;
  margin-top: 4px;
}

.vinyl-record {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-2) 0%, #00b4d8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vinyl-core {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
}

@keyframes spin-vinyl {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Bottom HUD */
.reel-bottom-hud {
  position: absolute;
  bottom: 22px;
  left: 14px;
  right: 64px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #ffffff;
  pointer-events: auto;
}

.reel-creator-header {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 42px);
}

.creator-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  overflow: hidden;
  background: #0b0f19;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

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

.creator-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  gap: 2px;
}

.creator-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
}

.creator-handle {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.verified-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.creator-subtitle {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.reel-follow-btn {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--color-accent-2);
  border: none;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 3px;
  flex-shrink: 0;
  line-height: 1.2;
}

.reel-follow-btn:hover {
  background: #0738af;
  transform: scale(1.05);
}

.reel-caption-text {
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.caption-tag {
  color: #38bdf8;
  font-weight: 700;
}

.reel-audio-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  white-space: nowrap;
}

.reel-audio-bar svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.audio-ticker-wrap {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.ticker-text {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 14s linear infinite;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Scrubber Line */
.reel-scrubber {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 6;
}

.reel-scrubber-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent-2) 0%, #00b4d8 100%);
  animation: scrub-progress 9s linear infinite;
}

@keyframes scrub-progress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Reel Feed External Controls (Below Phone) */
.phone-feed-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  position: relative;
  z-index: 10;
}

.btn-feed-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-feed-nav svg {
  width: 18px;
  height: 18px;
}

.btn-feed-nav:hover {
  background: var(--color-accent-2);
  color: #ffffff;
  border-color: var(--color-accent-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(9, 73, 227, 0.25);
}

.btn-feed-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.feed-indicator-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 13px;
  font-weight: 800;
  color: var(--color-text-primary);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.feed-sep {
  color: var(--color-text-muted);
}

.feed-hint-badge {
  position: absolute;
  bottom: -28px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  white-space: nowrap;
}

/* Glass Shine Glare */
.phone-glass-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 6;
}

/* Phone Home Indicator */
.phone-home-bar {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  z-index: 8;
  pointer-events: none;
}

/* Side Hardware Buttons */
.phone-btn-volume-up {
  position: absolute;
  left: -7px;
  top: 100px;
  width: 4px;
  height: 42px;
  background: #334155;
  border-radius: 2px 0 0 2px;
}

.phone-btn-volume-down {
  position: absolute;
  left: -7px;
  top: 155px;
  width: 4px;
  height: 42px;
  background: #334155;
  border-radius: 2px 0 0 2px;
}

.phone-btn-power {
  position: absolute;
  right: -7px;
  top: 120px;
  width: 4px;
  height: 65px;
  background: #334155;
  border-radius: 0 2px 2px 0;
}

/* ==========================================================================
   Floating Metric Chips around Phone
   ========================================================================== */
.chip-phone {
  position: absolute;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow:
    0 12px 30px -5px rgba(15, 23, 42, 0.15),
    0 4px 12px rgba(9, 73, 227, 0.12);
  pointer-events: none;
  animation-duration: 4.5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.chip-phone-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chip-phone-icon-wrap svg {
  width: 17px;
  height: 17px;
}

.chip-phone-icon {
  font-size: 1.35rem;
  line-height: 1;
}

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

.chip-phone-val {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.1;
}

.chip-phone-lbl {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.chip-phone-views {
  top: 40px;
  right: -36px;
  animation-name: chip-float-views;
}

.chip-phone-growth {
  bottom: 80px;
  left: -40px;
  animation-name: chip-float-growth;
}

.chip-phone-trust {
  top: 190px;
  left: -46px;
  animation-name: chip-float-trust;
}

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

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

@keyframes chip-float-trust {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ==========================================================================
   Right Column: Case Study Spotlight
   ========================================================================== */
.showcase-content-column {
  display: flex;
  flex-direction: column;
}

/* Category Selector Tabs */
.case-tabs-nav {
  display: flex;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-6);
  padding: 4px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}

.case-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.case-tab-btn:hover {
  color: var(--color-text-primary);
}

.case-tab-btn.is-active {
  background: #ffffff;
  color: var(--color-accent-2);
  box-shadow: var(--shadow-sm);
}

.case-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(9, 73, 227, 0.08);
  color: var(--color-accent-2);
  font-size: 11px;
  font-weight: 800;
  transition: all var(--transition-fast);
}

.case-tab-btn.is-active .case-tab-badge {
  background: var(--gradient-brand);
  color: #ffffff;
}

/* Case Dynamic Panels */
.case-panels-container {
  position: relative;
  min-height: 520px;
}

.case-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 350ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 350ms;
  pointer-events: none;
}

.case-panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.case-card {
  background: var(--color-surface-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-8);
  box-shadow: var(--shadow-xl);
}

.case-meta-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--spacing-3);
  flex-wrap: wrap;
}

.case-category-pill {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(9, 73, 227, 0.08);
  color: var(--color-accent-2);
  border: 1px solid rgba(9, 73, 227, 0.2);
}

.case-client-name {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-muted);
}

.case-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-5);
}

/* Strategy Box (Challenge vs Solution) */
.case-strategy-box {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-4) var(--spacing-5);
  margin-bottom: var(--spacing-6);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.strategy-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.strategy-label {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.strategy-label.challenge {
  background: #fee2e2;
  color: #dc2626;
}

.strategy-label.solution {
  background: #dcfce7;
  color: #16a34a;
}

.strategy-text {
  color: var(--color-text-secondary);
}

/* Metrics Grid */
.case-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-6);
}

.case-metric-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-4);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast);
}

.case-metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(9, 73, 227, 0.3);
}

.case-metric-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.case-metric-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  line-height: 1.35;
}

/* Testimonial Quote Box */
.case-testimonial-box {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(9, 73, 227, 0.03) 0%,
    rgba(163, 0, 163, 0.03) 100%
  );
  border-left: 3px solid var(--color-accent-1);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--spacing-5) var(--spacing-6);
  margin-bottom: var(--spacing-6);
}

.testimonial-quote-icon {
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 3rem;
  font-family: Georgia, serif;
  color: rgba(163, 0, 163, 0.15);
  line-height: 1;
  pointer-events: none;
}

.testimonial-quote-text {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-4);
  position: relative;
  z-index: 1;
}

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

.author-avatar-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(9, 73, 227, 0.25);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.verified-check-sm {
  color: #0949e3;
  flex-shrink: 0;
  display: inline-block;
}

.author-role {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Action Footer */
.case-action-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-4);
  padding-top: var(--spacing-5);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.case-footer-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.note-check {
  color: #10b981;
  font-weight: 800;
  line-height: 1;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

/* ==========================================================================
   Trust Ecosystem Banner below Section 6
   ========================================================================== */
.showcase-trust-banner {
  margin-top: var(--spacing-10);
  background: var(--color-surface-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-6) var(--spacing-8);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--spacing-6);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.trust-banner-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}

.showcase-trust-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.trust-banner-item:hover .showcase-trust-icon-wrap {
  transform: scale(1.08);
}

.showcase-trust-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.trust-title {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text-primary);
}

.trust-sub {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

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

/* --------------------------------------------------------------------------
   10. Section 7: FAQ (Interactive Chat-Style 6-Card Grid)
   -------------------------------------------------------------------------- */
.section-faq {
  position: relative;
  padding: 100px 0 95px;
  background: radial-gradient(
    ellipse at 50% 25%,
    #422b70 0%,
    #2a1b4e 40%,
    #171239 80%,
    #0f102c 100%
  );
  overflow: hidden;
  color: #ffffff;
}

/* Ambient glow accents matching exact reference */
.faq-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.faq-bg-glow.glow-blue {
  top: 15%;
  left: -120px;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.38) 0%,
    rgba(16, 19, 61, 0) 70%
  );
}

.faq-bg-glow.glow-magenta {
  top: 40%;
  right: -120px;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(217, 70, 239, 0.35) 0%,
    rgba(60, 16, 74, 0) 70%
  );
}

.faq-bg-glow.glow-center {
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 950px;
  height: 550px;
  filter: blur(150px);
  background: radial-gradient(
    ellipse,
    rgba(139, 92, 246, 0.28) 0%,
    transparent 70%
  );
}

/* Header */
.faq-header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 840px;
  margin: 0 auto 52px;
}

.faq-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.faq-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 14px;
}

.faq-gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #38bdf8 65%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 14px rgba(56, 189, 248, 0.35));
}

.faq-gradient-text.split-gradient {
  background: none !important;
  -webkit-text-fill-color: initial !important;
  color: inherit !important;
  filter: none !important;
}

.faq-gradient-text .wi,
.faq-title .split-gradient .wi {
  background: linear-gradient(
    135deg,
    #ffffff 20%,
    #38bdf8 65%,
    #0284c7 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block;
  filter: drop-shadow(0 2px 14px rgba(192, 132, 252, 0.5));
}

.faq-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: #c7d2fe;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* 6-Card Grid Layout */
.faq-chat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 46px;
}

@media (max-width: 1060px) {
  .faq-chat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .faq-chat-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Individual Chat Card - Ref sampled: #24254E body, #68697E header line, luminous purple */
.faq-chat-card {
  position: relative;
  background: rgba(36, 37, 78, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 310px;
  box-shadow:
    0 16px 36px -8px rgba(10, 10, 30, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.faq-chat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow:
    0 24px 50px -10px rgba(0, 0, 0, 0.6),
    0 0 32px rgba(139, 92, 246, 0.32);
}

/* Card Header */
.faq-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-card-channel {
  display: flex;
  align-items: center;
  gap: 11px;
}

.faq-avatar-letter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.avatar-amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.avatar-blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.avatar-green {
  background: linear-gradient(135deg, #10b981, #059669);
}
.avatar-pink {
  background: linear-gradient(135deg, #ec4899, #be185d);
}
.avatar-purple {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}
.avatar-cyan {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.faq-channel-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.faq-channel-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.faq-online-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 500;
}

.faq-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.faq-card-idx {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

/* Chat Stream Inside Card */
.faq-card-chat-stream {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

/* User Bubble (Right Aligned - #7F86EF sampled) */
.faq-msg-row.msg-user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.faq-bubble-user {
  background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  padding: 9px 15px;
  border-radius: 16px 16px 4px 16px;
  max-width: 90%;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
  word-break: break-word;
}

.faq-msg-time {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 3px;
  margin-right: 4px;
}

/* Agent Bubble (Left Aligned) */
.faq-msg-row.msg-agent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.faq-agent-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  overflow: hidden;
}

.faq-agent-avatar-img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.faq-agent-bubble-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: calc(100% - 35px);
}

.faq-bubble-agent {
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.48;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 4px 16px 16px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  word-break: break-word;
}

.faq-agent-meta {
  font-size: 10px;
  color: #94a3b8;
  margin-left: 3px;
}

/* Chat Input Bar - Sampled #3E3A65 */
.faq-card-input-bar {
  background: rgba(62, 58, 101, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 5px 6px 5px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
  margin-top: auto;
}

.faq-card-input-bar:hover {
  background: rgba(62, 58, 101, 0.85);
  border-color: rgba(192, 132, 252, 0.5);
}

.faq-input-placeholder {
  font-size: 11.5px;
  color: #94a3b8;
  user-select: none;
}

.faq-btn-send {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.faq-card-input-bar:hover .faq-btn-send {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.65);
}

.faq-btn-send svg {
  width: 12px;
  height: 12px;
}

/* Bottom Direct Contact Box */
.section-faq .faq-direct-contact-box {
  background: rgba(36, 37, 78, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.4);
}

.section-faq .contact-box-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.section-faq .contact-box-desc {
  color: #c7d2fe;
  font-size: 0.92rem;
  margin: 0;
}

.section-faq .btn-secondary-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.section-faq .btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 820px) {
  .section-faq .faq-direct-contact-box {
    flex-direction: column;
    text-align: center;
  }
  .section-faq .direct-contact-info {
    flex-direction: column;
    align-items: center;
  }
  .section-faq .direct-contact-actions {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   8. Section 8: Final Call to Action
   -------------------------------------------------------------------------- */
.section-final-cta {
  position: relative;
  padding: 50px 0 120px;
  background: var(--color-bg);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
}

.cta-glow-1 {
  top: 10%;
  left: -5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(255, 77, 109, 0.38) 0%,
    rgba(255, 142, 60, 0.15) 100%
  );
}

.cta-glow-2 {
  bottom: 8%;
  right: -5%;
  width: 560px;
  height: 560px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.38) 0%,
    rgba(59, 130, 246, 0.15) 100%
  );
}

.final-cta-card {
  position: relative;
  z-index: 1;
  border-radius: 36px;
  padding: 72px 56px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 255, 0.98) 100%
  );
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 30px 80px -15px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(226, 232, 240, 0.8);
  overflow: hidden;
  text-align: center;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.final-cta-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 38px 90px -15px rgba(9, 73, 227, 0.14),
    0 0 0 1px rgba(9, 73, 227, 0.18);
}

.cta-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(15, 23, 42, 0.06) 1.2px,
    transparent 1.2px
  );
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.cta-badge {
  margin-bottom: 22px;
}

.final-cta-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.final-cta-subtitle {
  font-size: clamp(1.025rem, 1.3vw, 1.18rem);
  color: var(--color-text-secondary);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 36px;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.btn-large-glow {
  padding: 18px 36px;
  font-size: 1.05rem;
  font-weight: 750;
  box-shadow: 0 12px 35px -5px rgba(240, 90, 40, 0.42);
}

/* Phone CTA Secondary Button Alignment (Sections 7 & 8) */
.cta-phone-btn,
.direct-contact-actions .btn-secondary-outline,
.final-cta-actions .btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 650;
  color: var(--color-text-primary);
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  padding: 13px 22px;
  background: transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.final-cta-actions .cta-phone-btn {
  padding: 17px 28px;
}

.cta-phone-btn:hover,
.direct-contact-actions .btn-secondary-outline:hover,
.final-cta-actions .btn-secondary-outline:hover {
  color: var(--color-accent-2);
  background: rgba(9, 73, 227, 0.05);
  border-color: rgba(9, 73, 227, 0.2);
  transform: translateY(-2px);
}

.cta-phone-btn span,
.direct-contact-actions .btn-secondary-outline span,
.final-cta-actions .btn-secondary-outline span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.cta-phone-btn svg,
.phone-link-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: currentColor;
  transform: translateY(-0.5px);
  transition: transform 0.25s ease;
}

.cta-phone-btn:hover svg,
.phone-link-icon:hover {
  transform: translateY(-0.5px) rotate(-12deg) scale(1.1);
}

.final-cta-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.reassurance-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.885rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.reassurance-pill .pill-check {
  color: #10b981;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   9. Section 9: Site Footer (Jeton-Style Peaked Chevron Slice & Reveal)
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  border-top: none;
}

/* Stage container hosting the two-layer Jeton animation */
.footer-stage-container {
  position: relative;
  width: 100%;
  min-height: 580px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #0949e3 0%,
    #1e40af 35%,
    #0284c7 70%,
    #00b4d8 100%
  );
}

/* Layer 1: Dual-brand background with white text */
.footer-stage-colored-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(
    90deg,
    #0949e3 0%,
    #1d4ed8 35%,
    #0284c7 70%,
    #00b4d8 100%
  );
  z-index: 1;
}

/* Layer 2: White Peaked Revealer that cuts UP from the bottom */
.footer-stage-white-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: #ffffff;
  z-index: 2;
  /* Driven directly by requestAnimationFrame in motion.js */
  clip-path: polygon(0 100%, 50% 100%, 100% 100%, 100% 100%, 0 100%);
  will-change: clip-path;
}

.footer-stage-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

/* Text styles for Light (Layer 1) vs Dark (Layer 2) */
.footer-hero-headline {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 22px;
  text-align: center;
}

.footer-hero-headline.text-light {
  color: #ffffff !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.footer-hero-headline.text-dark {
  color: var(--color-accent-2);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}

.footer-hero-tagline {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 760px;
  line-height: 1.65;
  margin-bottom: 36px;
  text-align: center;
}

.footer-hero-tagline.text-light {
  color: rgba(255, 255, 255, 0.94) !important;
}

.footer-hero-tagline.text-dark {
  color: var(--color-text-secondary) !important;
}

.footer-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-hero-cta {
  padding: 16px 38px;
  font-size: 1.025rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 28px -4px rgba(9, 73, 227, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
}

.footer-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -4px rgba(163, 0, 163, 0.45);
}

.footer-cta-light {
  background: #ffffff !important;
  color: #0949e3 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

.footer-cta-light:hover {
  background: #f8fafc !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32) !important;
}

.footer-cta-light .btn-icon-arrow {
  color: #0949e3;
}

.footer-hero-trust-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--color-text-secondary);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
}

.footer-hero-pill .trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.footer-hero-pill .pill-check {
  color: #10b981;
  font-weight: 700;
}

.footer-hero-pill.pill-light {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(8px);
}

.footer-hero-pill.pill-light .pill-check {
  color: #ffffff !important;
}

.footer-hero-pill.pill-light .trust-dot {
  background: #34d399 !important;
  box-shadow: 0 0 8px #34d399 !important;
}

/* White footer main body hosting columns */
.footer-main-body {
  background: #ffffff;
  padding-bottom: 48px;
}

/* Subtle separator divider */
.footer-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: 56px;
}

/* Main column grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr 1.4fr;
  gap: var(--spacing-8);
  margin-bottom: 56px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

.footer-col-title {
  color: var(--color-text-primary);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-link,
.footer-link-btn {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 0.2s ease;
  display: inline-block;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  text-align: left;
}

.footer-link:hover,
.footer-link-btn:hover {
  color: var(--color-accent-2);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.915rem;
  color: var(--color-text-secondary);
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-bg-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-2);
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.footer-contact-icon svg {
  width: 15px;
  height: 15px;
}

.footer-contact-val {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-contact-val:hover {
  color: var(--color-accent-2);
}

/* Footer Bottom Legal & Copyright Bar */
.footer-bottom-bar {
  padding-top: 26px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.5;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

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

.footer-region-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-region-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-primary);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  padding: 4px 11px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.footer-region-sub {
  font-size: 0.815rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   10. Legal Information Modal & Cookie Consent Banner
   -------------------------------------------------------------------------- */
.legal-dialog {
  max-width: 780px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 24px;
  background: #ffffff;
  padding: 36px 40px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.08);
  scrollbar-width: thin;
  scrollbar-color: rgba(9, 73, 227, 0.35) transparent;
}

.legal-dialog::-webkit-scrollbar {
  width: 6px;
}

.legal-dialog::-webkit-scrollbar-track {
  background: transparent;
  margin: 16px 0;
}

.legal-dialog::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(9, 73, 227, 0.35) 0%,
    rgba(163, 0, 163, 0.4) 100%
  );
  border-radius: 9999px;
}

.legal-dialog::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0949e3 0%, #00b4d8 100%);
}

.legal-modal-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.legal-tab-btn {
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--color-text-secondary);
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.legal-tab-btn:hover {
  color: var(--color-text-primary);
  background: var(--color-surface-hover);
}

.legal-tab-btn.is-active {
  color: var(--color-accent-1);
  background: rgba(240, 90, 40, 0.08);
}

.legal-section {
  display: none;
}

.legal-section.is-active {
  display: block;
  animation: fadeInLegal 0.25s ease forwards;
}

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

.legal-modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.legal-body {
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.legal-body h3 {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--color-text-primary);
  margin: 20px 0 6px;
}

.legal-body p {
  margin-bottom: 12px;
}

/* GDPR / DSGVO Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  z-index: 9999;
  width: calc(100% - 48px);
  max-width: 860px;
  background: rgba(13, 18, 30, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  padding: 22px 28px;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text-col {
  flex: 1;
  min-width: 280px;
}

.cookie-headline {
  display: block;
  font-size: 0.95rem;
  font-weight: 750;
  color: #ffffff;
  margin-bottom: 4px;
}

.cookie-desc {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.btn-cookie-essential {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cbd5e1;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-cookie-essential:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-cookie-accept {
  font-size: 0.85rem;
  padding: 10px 22px;
}

/* --------------------------------------------------------------------------
   11. Consolidated Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-10);
    text-align: center;
  }

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

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

  .hero-actions {
    justify-content: center;
  }

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

  .hero-video-card {
    max-width: 580px;
    margin: 0 auto;
  }

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

  /* Section 3 Tablets */
  .widgets-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-6);
  }

  .offset-card {
    margin-top: 0;
  }

  .visibility-cta-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .cta-card-content {
    align-items: center;
  }

  .workflow-action-box {
    flex-direction: column;
    text-align: center;
  }

  .action-box-info {
    flex-direction: column;
    text-align: center;
  }

  /* Section 5 Tablet */
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-grid-card:nth-child(1),
  .service-grid-card:nth-child(2),
  .service-grid-card:nth-child(3),
  .service-grid-card:nth-child(4) {
    grid-column: span 1;
  }

  .service-grid-card:nth-child(5) {
    grid-column: span 2;
  }

  .services-combined-banner {
    flex-direction: column;
    text-align: center;
  }

  .combined-banner-content {
    text-align: center;
  }

  /* Section 6 Tablet */
  .showcase-main-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-10);
  }

  .showcase-phone-column {
    order: 2;
  }

  .showcase-content-column {
    order: 1;
  }

  .showcase-trust-banner {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-5);
  }

  .trust-banner-divider {
    display: none;
  }

  .trust-banner-item {
    flex-direction: column;
    text-align: center;
  }

  /* Section 7 Tablet */
  .faq-chat-body {
    grid-template-columns: 1fr;
  }

  .faq-questions-sidebar {
    border-right: none;
    border-bottom: 1.5px solid var(--color-border);
    max-height: 280px;
  }

  .faq-direct-contact-box {
    flex-direction: column;
    text-align: center;
  }

  .direct-contact-info {
    text-align: center;
  }

  .direct-contact-actions {
    justify-content: center;
    width: 100%;
  }

  /* Section Spacing Tablet */
  .section-visibility {
    padding: 60px 0 35px;
  }

  .section-workflow {
    padding: 35px 0 35px;
  }

  .section-services {
    padding: 35px 0 35px;
  }

  .section-showcase {
    padding: 35px 0 35px;
  }

  .section-faq {
    padding: 35px 0 35px;
  }

  .section-final-cta {
    padding: 35px 0 90px;
  }

  .final-cta-card {
    padding: var(--spacing-8) var(--spacing-6);
  }

  .footer-container {
    padding-top: 70px;
    padding-bottom: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-8);
  }

  .footer-bottom-bar {
    margin-top: 50px;
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-copyright {
    align-items: center;
  }

  .footer-legal-links {
    justify-content: center;
  }
}

@media (max-width: 1160px) and (min-width: 992px) {
  .nav-item-link {
    padding: 6px 10px;
    font-size: 0.8125rem;
  }

  .header-actions .btn-primary-accent {
    padding: 10px 18px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 991px) {
  :root {
    --header-height: 84px;
    --header-height-scrolled: 72px;
  }

  .brand-logo-img {
    height: 100px;
  }

  .site-header.is-scrolled .brand-logo-img {
    height: 50px;
  }

  .footer-logo-img {
    height: 62px;
  }

  .nav-desktop {
    display: none;
  }

  .header-actions .btn-primary-accent {
    display: none; /* Accessible in mobile drawer */
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .section-hero {
    padding-top: calc(var(--header-height) + 64px);
    padding-bottom: var(--spacing-8);
  }

  .hero-container {
    margin-bottom: var(--spacing-8);
  }

  .chip-top-right {
    top: -12px;
    right: -10px;
    padding: 8px 12px;
  }

  .chip-bottom-left {
    bottom: -12px;
    left: -10px;
    padding: 8px 12px;
  }

  .video-container {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .chip-icon-wrap {
    width: 28px;
    height: 28px;
  }

  .chip-icon-wrap svg {
    width: 14px;
    height: 14px;
  }

  .chip-val {
    font-size: 12px;
  }

  .chip-lbl {
    font-size: 10px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-3);
  }

  .btn-hero-cta,
  .btn-secondary-outline {
    width: 100%;
    justify-content: center;
  }

  /* Section 3 Mobile */
  .section-visibility {
    padding: 50px 0 25px;
  }

  .widgets-showcase {
    grid-template-columns: 1fr;
    gap: var(--spacing-5);
  }

  .visibility-cta-card {
    padding: var(--spacing-6) var(--spacing-5);
  }

  .visibility-cta-card .btn-primary-accent {
    width: 100%;
    justify-content: center;
  }

  /* Section 4 Mobile */
  .section-workflow {
    padding: 25px 0 25px;
  }

  .workflow-step-card {
    padding: var(--spacing-6) var(--spacing-5);
  }

  .workflow-action-box {
    padding: var(--spacing-6) var(--spacing-5);
  }

  .workflow-action-box .btn-primary-accent {
    width: 100%;
    justify-content: center;
  }

  /* Section 5 Mobile */
  .section-services {
    padding: 35px 0 35px;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-grid-card:nth-child(1),
  .service-grid-card:nth-child(2),
  .service-grid-card:nth-child(3),
  .service-grid-card:nth-child(4),
  .service-grid-card:nth-child(5) {
    grid-column: span 1;
  }

  .service-grid-card {
    padding: 24px 20px;
  }

  .service-card-metric {
    padding: 8px 10px;
  }

  .service-card-desc {
    min-height: auto;
  }

  .panel-footer-bar .btn-primary-accent {
    width: 100%;
    justify-content: center;
  }

  .panel-footer-guarantee {
    justify-content: center;
  }

  .services-combined-banner {
    padding: var(--spacing-6) var(--spacing-5);
  }

  .services-combined-banner .btn-primary-accent {
    width: 100%;
    justify-content: center;
  }

  /* Section 6 Mobile */
  .section-showcase {
    padding: 25px 0 25px;
  }

  .smartphone-3d-wrap {
    width: 290px;
  }

  .chip-phone {
    padding: 8px 12px;
  }

  .chip-phone-views {
    right: -10px;
    top: 25px;
  }

  .chip-phone-growth {
    left: -15px;
    bottom: 60px;
  }

  .chip-phone-trust {
    right: -10px;
    bottom: -15px;
  }

  .case-card {
    padding: var(--spacing-6) var(--spacing-5);
  }

  .case-metrics-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-2);
  }

  .case-action-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .case-action-footer .btn-primary-accent {
    width: 100%;
    justify-content: center;
  }

  .case-footer-note {
    justify-content: center;
  }

  .case-strategy-box {
    padding: var(--spacing-4);
  }

  .strategy-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* Section 7 Mobile */
  .section-faq {
    padding: 50px 0 25px;
  }

  .chat-window-topbar {
    padding: 14px 16px;
  }

  .chat-window-actions {
    display: none;
  }

  .faq-questions-sidebar {
    padding: 16px 12px;
    max-height: 240px;
  }

  .faq-chat-stream {
    padding: 18px 14px;
  }

  .agent-bubble {
    padding: 16px 14px;
    max-width: 100%;
  }

  .user-bubble {
    padding: 12px 14px;
    max-width: 95%;
  }

  .faq-models-grid {
    grid-template-columns: 1fr;
  }

  .faq-timeline-cards {
    grid-template-columns: 1fr;
  }

  .chat-input-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .chat-send-btn {
    width: 100%;
    justify-content: center;
  }

  .faq-direct-contact-box {
    margin-top: var(--spacing-6);
    padding: var(--spacing-6) var(--spacing-5);
  }

  .direct-contact-actions {
    flex-direction: column;
    width: 100%;
  }

  .direct-contact-actions .btn-primary-accent,
  .direct-contact-actions .btn-secondary-outline {
    width: 100%;
    justify-content: center;
  }

  /* Section 8 & 9 Mobile */
  .section-final-cta {
    padding: 25px 0 60px;
  }

  .final-cta-card {
    padding: var(--spacing-6) var(--spacing-4);
    border-radius: 24px;
  }

  .final-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .final-cta-actions .btn-primary-accent,
  .final-cta-actions .cta-phone-btn {
    width: 100%;
    justify-content: center;
  }

  .final-cta-reassurance {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .site-footer {
    padding-top: 32px;
  }

  .footer-angled-sheet {
    clip-path: polygon(0 38px, 50% 0, 100% 38px, 100% 100%, 0 100%);
    padding-top: 60px;
    padding-bottom: 32px;
  }

  .footer-container {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .footer-hero-headline {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .footer-hero-section {
    margin-bottom: 36px;
  }

  .footer-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-hero-cta {
    width: 100%;
    justify-content: center;
  }

  .footer-hero-trust-pills {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  .footer-hero-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-divider {
    margin-bottom: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-7);
    margin-bottom: 40px;
  }

  .footer-col {
    text-align: left;
  }

  .footer-links-list {
    align-items: flex-start;
  }

  .footer-contact-info {
    align-items: flex-start;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .cookie-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 18px 16px;
    border-radius: 16px;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-actions button {
    width: 100%;
    justify-content: center;
  }

  .legal-dialog {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .legal-modal-tabs {
    flex-wrap: wrap;
    gap: 6px;
  }

  .legal-tab-btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 48px;
  }

  .modal-dialog {
    padding: var(--spacing-6) var(--spacing-5);
  }

  .modal-title {
    font-size: var(--font-size-xl);
  }
}

/* ==========================================================================
   SECTION 3B: Über uns — Gründer-Duo (client design "Über uns A")
   ========================================================================== */
.section-founders {
  min-height: 900px;
  display: flex;
  align-items: center;
  font-family: 'Urbanist', 'Segoe UI', system-ui, sans-serif;
  color: #0f1222;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.97) 30%,
      rgba(255, 255, 255, 0.85) 52%,
      rgba(255, 255, 255, 0.55) 72%,
      rgba(255, 255, 255, 0.18) 88%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(90deg, #075adb 0%, #0595cf 100%);
}

.founders-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px clamp(20px, 4vw, 56px) 120px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}

.founders-copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founders-badge {
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #c9d8f7;
  background: #eef4ff;
  color: #1e5bff;
  font-size: 15px;
  font-weight: 700;
}

.founders-title {
  margin: 0;
  font-family: inherit;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0f1222;
}

.founders-grad {
  background: linear-gradient(90deg, #075adb 0%, #01a8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.founders-lead {
  margin: 0;
  max-width: 500px;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  color: #3f4660;
}

.founders-points {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.founders-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 17px;
  font-weight: 600;
  color: #1d2340;
}

.founders-points svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.founders-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 16px 28px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #075adb, #01a8d4);
  color: #ffffff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(7, 90, 219, 0.3);
  transition: filter 0.2s, transform 0.25s, box-shadow 0.25s;
}

.founders-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.45),
    0 22px 45px -10px rgba(7, 90, 219, 0.7),
    0 0 32px rgba(1, 168, 212, 0.45);
}

.founders-cta:focus-visible,
.founder-link:focus-visible {
  outline: 2px solid #1e5bff;
  outline-offset: 3px;
}

.founders-cards {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.founder-card {
  flex: 1 1 250px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #ffffff;
  border: 1px solid #e3e8f4;
  border-radius: 28px;
  padding: 14px 14px 22px;
  box-shadow: 0 24px 60px rgba(20, 70, 170, 0.14);
}

.founder-portrait {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.founder-portrait-blue {
  background: linear-gradient(160deg, #e6f9ff 0%, #c7e9ff 55%, #b9d3ff 100%);
}

.founder-portrait-purple {
  background: linear-gradient(160deg, #f4ecff 0%, #e2d4ff 55%, #cfc4ff 100%);
}

.founder-initials {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #1e5bff;
}

.founder-portrait-purple .founder-initials {
  color: #7c3aed;
}

.founder-photo-note {
  font-size: 14px;
  font-weight: 600;
  color: #3a4466;
}

.founder-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 8px;
}

.founder-name {
  margin: 0;
  font-family: inherit;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f1222;
}

.founder-role {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.founder-role-cyan { color: #0891b2; }
.founder-role-purple { color: #6d28d9; }

.founder-bio {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  color: #4b5168;
}

.founder-bio strong {
  color: #1d2340;
}

.founder-link {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1e5bff;
  text-decoration: none;
}

.founder-link:hover {
  color: #0b3fd1;
}

@media (max-width: 768px) {
  .section-founders {
    min-height: 0;
  }

  .founders-inner {
    padding: 72px 20px 88px;
    gap: 48px;
  }
}

/* ==========================================================================
   SECTION 5 (Colour update): "Maßgeschneiderte Lösungen" — original layout,
   new colours only: purple colour band behind the cards (client reference)
   ========================================================================== */
.section-services {
  background: linear-gradient(
    180deg,
    #f8fafc 0%,
    #f5f3ff 34%,
    #ddd6fe 46%,
    #7c3aed 58%,
    #5b21b6 64%,
    #8b5cf6 74%,
    #ddd6fe 88%,
    #f5f3ff 100%
  );
}

.section-services .services-bg-glow {
  display: none;
}

.service-grid-card {
  box-shadow: 0 18px 45px -12px rgba(46, 16, 101, 0.22);
}

.services-title-grad,
.services-title-grad.split-gradient .wi {
  background: linear-gradient(90deg, #1e5bff 0%, #7c3aed 55%, #a300a3 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   SECTION 4 (Colour update): "In 3 Schritten zu messbarem Wachstum"
   Original layout, new colours only: blue → cyan → white background,
   white headline, white step cards (client reference)
   ========================================================================== */
.section-workflow {
  background: linear-gradient(
    180deg,
    #0a5bdc 0%,
    #1677e0 45%,
    #2b9be6 80%,
    #9fd6f4 93%,
    #ffffff 100%
  );
}

.section-workflow .workflow-bg-glow {
  display: none;
}

.section-workflow .workflow-sticky-inner .workflow-title {
  color: #ffffff;
}

/* Whole headline white (incl. the split gradient words) */
.section-workflow .workflow-title .gradient-text,
.section-workflow .workflow-title .gradient-text.split-gradient .wi {
  background: none;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
}

.section-workflow .workflow-sticky-inner .workflow-subtitle {
  color: rgba(255, 255, 255, 0.86);
}

.section-workflow .hero-badge {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.section-workflow .hero-badge .badge-text,
.section-workflow .hero-badge .badge-sparkle {
  color: #ffffff;
}

/* Step rail: every step sits on a white card, like the reference */
.section-workflow .rail-track {
  background: rgba(255, 255, 255, 0.35);
}

.section-workflow .rail-item {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px -8px rgba(7, 40, 120, 0.25);
}

.section-workflow .rail-item:hover {
  background: #ffffff;
}

.section-workflow .rail-item.is-active {
  background: #ffffff;
  border-color: rgba(9, 73, 227, 0.35);
  box-shadow: 0 12px 30px -8px rgba(7, 40, 120, 0.35);
}

.section-workflow .sticky-cta-hint {
  color: rgba(255, 255, 255, 0.85);
}

/* Step cards on the blue background */
.section-workflow .workflow-step-card {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px -12px rgba(7, 40, 120, 0.35);
}

.section-workflow .workflow-sticky-cta .btn-primary-accent {
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 30px -8px rgba(4, 25, 90, 0.55);
}

.section-workflow .sticky-cta-hint {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #1e3a8a;
  font-weight: 600;
  text-shadow: none;
  box-shadow: 0 4px 14px -4px rgba(4, 25, 90, 0.25);
}

/* ==========================================================================
   SECTION 8 (Colour update): "Häufig gestellte Fragen"
   Original layout, new colours only: deep purple → lavender → white
   background, white question cards, blue contact banner (client reference)
   ========================================================================== */
.section-faq {
  background: linear-gradient(
    180deg,
    #2e1065 0%,
    #5b21b6 16%,
    #8b5cf6 30%,
    #ddd6fe 48%,
    #f5f3ff 70%,
    #ffffff 100%
  );
}

.section-faq .faq-bg-glow {
  display: none;
}

/* White question cards with dark text */
.section-faq .faq-chat-card {
  background: #ffffff;
  border: 1px solid #e9e5f8;
  box-shadow: 0 18px 40px -14px rgba(46, 16, 101, 0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.section-faq .faq-chat-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 24px 50px -14px rgba(46, 16, 101, 0.38);
}

.section-faq .faq-card-header {
  border-bottom-color: #eef0f6;
}

.section-faq .faq-channel-name {
  color: #0f172a;
}

.section-faq .faq-online-status {
  color: #64748b;
}

.section-faq .faq-card-idx,
.section-faq .faq-msg-time,
.section-faq .faq-agent-meta,
.section-faq .faq-input-placeholder {
  color: #94a3b8;
}

.section-faq .faq-bubble-agent {
  background: #f3f4fb;
  color: #1e293b;
  box-shadow: none;
  border: 1px solid #e6e8f2;
}

.section-faq .faq-card-input-bar {
  background: #f8fafc;
  border-color: #e2e8f0;
}

/* Bottom contact banner: blue gradient with white text */
.section-faq .faq-direct-contact-box {
  background: linear-gradient(90deg, #075adb 0%, #01a8d4 100%);
  border-color: transparent;
  box-shadow: 0 18px 40px -12px rgba(7, 90, 219, 0.45);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.section-faq .contact-box-desc {
  color: rgba(255, 255, 255, 0.85);
}

.section-faq .faq-direct-contact-box .btn-primary-accent {
  background: #ffffff;
  color: #075adb;
  box-shadow: 0 8px 20px -6px rgba(4, 25, 90, 0.35);
}

.section-faq .faq-direct-contact-box .btn-primary-accent .btn-icon-arrow {
  color: #075adb;
}

/* Title accent word: light lilac gradient, no glow box */
.section-faq .faq-gradient-text .wi,
.section-faq .faq-title .split-gradient .wi {
  background: linear-gradient(135deg, #ffffff 10%, #e9d5ff 55%, #c4b5fd 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  filter: none;
}

/* Showcase video always fits the screen height (whole phone visible, no scrolling):
   - screens narrower than 16:9 (laptops, tablets, phones): cover → full height,
     only empty sides are trimmed
   - screens wider than 16:9 (most monitors): contain → full height, the free
     space left/right gets a matching purple background and the edges fade */
@media (min-aspect-ratio: 16/9) {
  .section-showcase {
    background: radial-gradient(
      ellipse 60% 120% at 50% 50%,
      #3b2c9c 0%,
      #2a1d78 40%,
      #1d1250 70%,
      #170f3a 100%
    );
  }

  /* Size the element to the 16:9 picture itself so the edge fade sits on the picture edges */
  .showcase-full-video {
    inset: auto;
    top: 50%;
    left: 50%;
    width: auto;
    /* 12% larger than the screen height: the empty space above/below the
       phone is trimmed, the phone itself stays fully visible */
    height: 112%;
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%);
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  }
}

/* Moved to the end of the file so these phone rules override the desktop
   rules for the same elements (they were previously defined before them) */
/* Mobile only: Stacked responsive layout */
@media (max-width: 768px) {
  /* Section 4 Mobile Stack */
  .workflow-layout {
    grid-template-columns: 1fr;
    min-height: auto !important;
    gap: var(--spacing-8);
  }

  .workflow-sticky-inner {
    align-items: center;
    text-align: center;
  }

  .workflow-sticky-inner .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .workflow-sticky-inner .workflow-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .workflow-rail-wrap {
    display: none;
  }

  .workflow-sticky-cta {
    display: none;
  }

}

/* Showcase video on portrait screens (phones): full screen height, video
   fills the whole screen (the phone in the video stays centred and large) */
@media (max-aspect-ratio: 1/1) {
  .section-showcase {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    aspect-ratio: auto;
    padding: 0;
  }
}

/* Founders on phones: cards are full-width there, so the tall 4:5 photo area
   made each card about a full screen high. Use a wide, shorter photo frame. */
@media (max-width: 600px) {
  .founders-cards {
    gap: 18px;
  }

  .founder-card {
    gap: 14px;
    border-radius: 22px;
    padding: 10px 10px 18px;
  }

  .founder-portrait {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    gap: 4px;
  }

  .founder-initials {
    font-size: 52px;
  }

  .founder-name {
    font-size: 22px;
  }

  .founder-bio {
    font-size: 15px;
  }
}

/* ==========================================================================
   Mobile menu fixes: the drawer used to cover the header, hiding the close
   button. Header now stays above the open drawer (logo + ✕ always visible),
   even inside the video section where the header is normally hidden.
   ========================================================================== */
body.menu-open .site-header {
  z-index: 1003;
  transform: none !important;
  opacity: 1 !important;
}

body.menu-open .site-header .brand-link {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

/* Light close button on the white drawer (also over the dark hero) */
body.menu-open .site-header .mobile-toggle {
  background: #ffffff;
  border-color: var(--color-border);
  box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.18);
}

body.menu-open .site-header .mobile-toggle .hamburger-lines span {
  background-color: var(--color-text-primary);
}

/* Drawer scrolls on short phones; footer sits at the bottom */
.mobile-nav-drawer {
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  justify-content: flex-start;
  gap: var(--spacing-6);
}

.mobile-nav-drawer .mobile-drawer-footer {
  margin-top: auto;
}

/* Menu links: normal menu size instead of 24px headline size */
.mobile-nav-links {
  gap: 4px;
  margin-top: 0;
}

.mobile-nav-link {
  font-size: 1.0625rem; /* 17px */
  font-weight: 600;
  padding: 12px 14px;
  border: 1px solid transparent;
}

.mobile-nav-link::after {
  font-size: 1rem;
}

.mobile-nav-drawer {
  padding-top: calc(var(--header-height) + 8px);
}

/* ==========================================================================
   PREMIUM SCROLL EFFECTS (js/scroll-effects.js)
   ========================================================================== */
/* Lenis smooth scroll: native smooth-scroll must be off while Lenis drives it */
html.lenis,
html.lenis body {
  height: auto;
}

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

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* Section colour morph: the section starts in the colour of the section above
   (data-morph-from) and morphs into its own design while it scrolls in.
   The colour layer sits above the section background, below its content. */
.morph-section {
  isolation: isolate;
}

.morph-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--morph-from);
  opacity: var(--morph, 1);
  pointer-events: none;
}

/* ==========================================================================
   FAQ chat animation (js/scroll-effects.js §3)
   ========================================================================== */
.faq-agent-bubble-wrap {
  position: relative;
}

.chat-ready .msg-user {
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transform-origin: right bottom;
  transition:
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-ready .msg-agent {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chat-ready .faq-bubble-agent,
.chat-ready .faq-agent-meta {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-ready.show-q .msg-user {
  opacity: 1;
  transform: none;
}

.chat-ready.show-typing .msg-agent,
.chat-ready.show-a .msg-agent {
  opacity: 1;
}

.chat-ready.show-a .faq-bubble-agent,
.chat-ready.show-a .faq-agent-meta {
  opacity: 1;
  transform: none;
}

.chat-ready.show-a .faq-agent-meta {
  transition-delay: 0.15s;
}

/* "typing…" bubble, shown in the answer's spot */
.faq-typing-dots {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  border-radius: 4px 16px 16px 16px;
  background: #f3f4fb;
  border: 1px solid #e6e8f2;
  opacity: 0;
  transform: scale(0.9);
  transform-origin: left top;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.chat-ready.show-typing .faq-typing-dots {
  opacity: 1;
  transform: none;
}

.faq-typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b5cf6;
  animation: faq-typing-bounce 1s infinite ease-in-out;
}

.faq-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.faq-typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes faq-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Send button gives a soft pulse once the answer has arrived */
.chat-ready.show-a .faq-btn-send {
  animation: faq-send-pulse 1.2s ease-out 0.4s 1;
}

@keyframes faq-send-pulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.45); }
  100% { box-shadow: 0 0 0 12px rgba(124, 58, 237, 0); }
}

/* ==========================================================================
   Founders section animation (js/scroll-effects.js §4)
   ========================================================================== */
.founders-fx .founders-copy > *,
.founders-fx .founders-points li {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.founders-fx .founders-points {
  opacity: 1;
  transform: none;
}

.founders-fx.copy-in .founders-copy > *,
.founders-fx.copy-in .founders-points li {
  opacity: 1;
  transform: none;
}

/* Text side: badge → title → lead → checkmarks → button */
.founders-fx.copy-in .founders-badge { transition-delay: 0s; }
.founders-fx.copy-in .founders-title { transition-delay: 0.1s; }
.founders-fx.copy-in .founders-lead { transition-delay: 0.22s; }
.founders-fx.copy-in .founders-points li:nth-child(1) { transition-delay: 0.34s; }
.founders-fx.copy-in .founders-points li:nth-child(2) { transition-delay: 0.44s; }
.founders-fx.copy-in .founders-points li:nth-child(3) { transition-delay: 0.54s; }
.founders-fx.copy-in .founders-copy > div:last-child { transition-delay: 0.66s; }

/* Checkmarks draw themselves */
.founders-fx .founders-points svg path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 0.6s ease-out;
}

.founders-fx.copy-in .founders-points svg path { stroke-dashoffset: 0; }
.founders-fx.copy-in .founders-points li:nth-child(1) svg path { transition-delay: 0.6s; }
.founders-fx.copy-in .founders-points li:nth-child(2) svg path { transition-delay: 0.7s; }
.founders-fx.copy-in .founders-points li:nth-child(3) svg path { transition-delay: 0.8s; }

/* Cards float up with a slight tilt */
.founders-fx .founder-card {
  opacity: 0;
  transform: translateY(70px) rotate(-2deg) scale(0.96);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
}

.founders-fx .founder-card:nth-child(2) {
  transform: translateY(90px) rotate(2deg) scale(0.96);
}

.founders-fx.cards-in .founder-card {
  opacity: 1;
  transform: none;
  transition-delay: 0s, 0s, 0s;
}

.founders-fx.cards-in .founder-card:nth-child(2) {
  transition-delay: 0.17s, 0.17s, 0s;
}

/* Light sheen sweeps across the photo area once */
.founders-fx .founder-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.founders-fx.cards-in .founder-portrait::after {
  animation: founder-sheen 1.3s ease-out 0.8s 1 both;
}

.founders-fx.cards-in .founder-card:nth-child(2) .founder-portrait::after {
  animation-delay: 1s;
}

@keyframes founder-sheen {
  to { transform: translateX(120%); }
}

/* Initials hover gently once the card is in */
.founders-fx.cards-in .founder-initials {
  animation: founder-float 5s ease-in-out 1.4s infinite;
}

.founders-fx.cards-in .founder-card:nth-child(2) .founder-initials {
  animation-delay: 2s;
}

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

/* Hover: card lifts, initials grow slightly */
.founders-fx.cards-in .founder-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 70px rgba(20, 70, 170, 0.22);
  transition-delay: 0s;
}

.founder-initials {
  transition: scale 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-card:hover .founder-initials {
  scale: 1.08;
}

/* ==========================================================================
   FAQ chat input (js/main.js §15): one message per card, resets on reload
   ========================================================================== */
.section-faq .faq-card-input-bar {
  cursor: text;
  gap: 8px;
}

.section-faq .faq-card-input-bar:focus-within {
  border-color: rgba(124, 58, 237, 0.55);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
  background: #ffffff;
}

.faq-input-field {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 12.5px;
  color: #1e293b;
  padding: 4px 0;
}

.faq-input-field::placeholder {
  color: #94a3b8;
}

.faq-input-field:disabled {
  cursor: default;
}

.faq-card-input-bar.is-sent .faq-input-field::placeholder {
  color: #10b981;
  font-weight: 600;
}

.faq-card-input-bar.is-sent .faq-btn-send {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.faq-btn-send:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}

/* Chat area scrolls once live messages are added (card keeps its size) */
.faq-card-chat-stream.has-live {
  /* height is frozen by JS (§15) so the card never grows */
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d8d4f0 transparent;
  padding-right: 4px;
  scroll-behavior: smooth;
}

/* New messages are always visible (independent of the intro animation) */
.faq-msg-row.is-live,
.faq-msg-row.is-live .faq-bubble-agent,
.faq-msg-row.is-live .faq-agent-meta {
  opacity: 1 !important;
  transform: none !important;
}

.faq-msg-row.is-live {
  animation: faq-live-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes faq-live-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.faq-live-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  border-radius: 4px 16px 16px 16px;
  background: #f3f4fb;
  border: 1px solid #e6e8f2;
}

.faq-live-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b5cf6;
  animation: faq-typing-bounce 1s infinite ease-in-out;
}

.faq-live-typing span:nth-child(2) { animation-delay: 0.15s; }
.faq-live-typing span:nth-child(3) { animation-delay: 0.3s; }

.faq-live-cta {
  align-self: flex-start;
  margin-top: 8px;
  padding: 7px 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
  color: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px -4px rgba(124, 58, 237, 0.55);
  transition: transform 0.2s, filter 0.2s;
}

.faq-live-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.faq-msg-row.is-live .faq-agent-bubble-wrap {
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   COLOUR HARMONY: every section ends in exactly the colour the next one
   starts with, so the page reads as one flow instead of separate blocks.
   dark hero → light → blue (founders → Ablauf) → light → purple band →
   dark purple (video) → purple → white (FAQ) → footer
   ========================================================================== */

/* Founders → Ablauf: end in Ablauf's solid blue (was blue→cyan sideways) */
.section-founders {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.97) 30%,
      rgba(255, 255, 255, 0.85) 52%,
      rgba(255, 255, 255, 0.55) 72%,
      rgba(255, 255, 255, 0.18) 88%,
      rgba(255, 255, 255, 0) 100%
    ),
    #0a5bdc;
}

/* Ablauf → Services: Ablauf ends white, so Services starts white.
   Services → Video: Services ends in the video's dark purple edge colour. */
.section-services {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f5f3ff 32%,
    #ddd6fe 44%,
    #7c3aed 57%,
    #5b21b6 64%,
    #8b5cf6 75%,
    #c4b5fd 85%,
    #6d4fc4 94%,
    #29174b 100%
  );
}

/* Video → FAQ: FAQ starts in the video's dark purple edge colour */
.section-faq {
  background: linear-gradient(
    180deg,
    #29174b 0%,
    #3b1a7a 8%,
    #5b21b6 18%,
    #8b5cf6 30%,
    #ddd6fe 48%,
    #f5f3ff 70%,
    #ffffff 100%
  );
}

/* Video joins, matched to the video's average edge colours (sampled over the
   whole video): dark indigo at the sides (#170f3a), violet glow in the middle
   (#603bae). Services ends and FAQ starts with the same pattern. */
.section-services {
  background:
    radial-gradient(ellipse 42% 180px at 50% 100%, rgba(90, 76, 210, 1) 0%, rgba(90, 76, 210, 0) 100%),
    /* One continuous fade: only ever gets darker top → bottom, no light band after the dark one */
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f5f3ff 26%,
      #ddd6fe 38%,
      #a78bfa 50%,
      #8b5cf6 60%,
      #7c3aed 70%,
      #5b21b6 82%,
      #33268a 92%,
      #170f3a 100%
    );
}

.section-faq {
  background:
    radial-gradient(ellipse 42% 180px at 50% 0%, rgba(90, 76, 210, 1) 0%, rgba(90, 76, 210, 0) 100%),
    linear-gradient(
      180deg,
      #170f3a 0%,
      #3b1a7a 9%,
      #5b21b6 18%,
      #8b5cf6 30%,
      #ddd6fe 48%,
      #f5f3ff 70%,
      #ffffff 100%
    );
}

/* Join glow (user idea): a soft blue-violet light sits on the top and bottom
   edge of the video, continuing the glow of the Services / FAQ sections, so
   both joins read as one light instead of a line. Adds light only (screen
   blend) — no fade to another colour. */
.section-showcase::before,
.section-showcase::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 110px;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
}

.section-showcase::before {
  top: 0;
  background: radial-gradient(ellipse 42% 110px at 50% 0%, rgba(80, 60, 192, 0.3) 0%, rgba(80, 60, 192, 0) 100%);
}

.section-showcase::after {
  bottom: 0;
  background: radial-gradient(ellipse 42% 110px at 50% 100%, rgba(80, 60, 192, 0.3) 0%, rgba(80, 60, 192, 0) 100%);
}

/* FAQ → Footer: the bottom of the FAQ fades into the footer banner's exact
   blue→cyan gradient (footer itself unchanged — client's preferred design) */
.section-faq::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #0949e3 0%, #1d4ed8 35%, #0284c7 70%, #00b4d8 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 45%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 45%, #000 100%);
}

.section-faq > .container {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   PHONE MOTION (js/scroll-effects.js §5)
   ========================================================================== */
@media (max-width: 768px) {

  /* Services: card in the middle of the screen lifts and glows */
  .service-grid-card {
    transition:
      translate 0.5s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.5s ease,
      border-color 0.5s ease;
  }

  .service-grid-card.is-lit {
    translate: 0 -6px;
    border-color: var(--theme-color, #7c3aed);
    box-shadow:
      0 22px 48px -14px rgba(46, 16, 101, 0.4),
      0 0 0 1px var(--theme-color, #7c3aed),
      0 0 34px -6px var(--card-spotlight-color, rgba(124, 58, 237, 0.35));
  }

  .service-grid-card.is-lit .service-icon-box {
    scale: 1.1;
  }

  .service-grid-card .service-icon-box {
    transition: scale 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
}


/* Footer starts directly with the blue banner on phones too — the old 32px top
   padding (from a previous footer design) showed as a white strip above it */
@media (max-width: 991px) {
  .site-footer {
    padding-top: 0;
  }
}

/* ==========================================================================
   Über uns on phones: same pinned scroll animation as desktop (motion.js),
   scaled down. Cards start in a row above and below the headline and gather
   in the middle. Offsets use sw / sh = % of the scene width / height.
   ========================================================================== */
@media (max-width: 768px) {
  .vis-track {
    min-height: 260vh;
  }

  .vis-sticky-stage {
    padding: 8px 0;
  }

  .vis-scene {
    width: 94vw;
  }

  .vis-center-slogan {
    width: 92%;
  }

  .visibility-title {
    font-size: clamp(1.9rem, 8.4vw, 2.6rem);
    margin-top: 8px;
    margin-bottom: 10px;
  }

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

  .widget-card {
    width: 34%;
    padding: 6px;
    border-radius: 14px;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .widget-card .widget-desc,
  .widget-card .widget-title {
    display: none;
  }

  .widget-card .widget-info {
    padding: 6px 2px 2px;
  }

  .widget-card .widget-badge-tag {
    font-size: 9px;
    padding: 3px 7px;
  }

  /* top row */
  .widget-card-1 { left: 0; top: 0; --enter-x: -14px; --enter-y: -24px; --center-x: 21sw; --center-y: 31sh; --tighten-x: 0; --tighten-y: 0; --card-rot: -4deg; }
  .widget-card-3 { left: 33%; top: 3%; --enter-x: 0; --enter-y: -30px; --center-x: 2sw; --center-y: 25sh; --tighten-x: 0; --tighten-y: 0; --card-rot: 2deg; }
  .widget-card-2 { right: 0; top: 0; --enter-x: 14px; --enter-y: -24px; --center-x: -19sw; --center-y: 32sh; --tighten-x: 0; --tighten-y: 0; --card-rot: 4deg; }
  /* bottom row */
  .widget-card-4 { left: 0; bottom: 0; --enter-x: -14px; --enter-y: 24px; --center-x: 22sw; --center-y: -30sh; --tighten-x: 0; --tighten-y: 0; --card-rot: 3deg; }
  .widget-card-5 { left: 33%; bottom: 3%; --enter-x: 0; --enter-y: 30px; --center-x: 1sw; --center-y: -23sh; --tighten-x: 0; --tighten-y: 0; --card-rot: -2deg; }
  .widget-card-6 { right: 0; bottom: 0; --enter-x: 14px; --enter-y: 24px; --center-x: -20sw; --center-y: -31sh; --tighten-x: 0; --tighten-y: 0; --card-rot: -4deg; }
}

/* ==========================================================================
   Ablauf on phones: same stacking animation as desktop (main.js). The card
   column is pinned (sticky) while the layout's ::after track is scrolled;
   card 2 and 3 slide up over the previous card, leaving a 56px badge strip.
   The decorative preview box is hidden on phones so the stack fits.
   ========================================================================== */
@media (max-width: 768px) {
  .workflow-layout {
    display: block;
  }

  /* Scroll track while the cards are pinned (sticky needs it inside the
     parent content box, padding does not count) */
  .workflow-layout::after {
    content: '';
    display: block;
    height: 170vh;
  }

  .workflow-stream-col {
    position: sticky;
    top: calc(var(--header-height-scrolled, 76px) + 8px);
    margin-top: 28px;
    min-height: 0;
    padding-bottom: 112px;
  }

  .workflow-step-card .step-visual-preview {
    display: none;
  }

  .step-card-2 { top: 56px; }
  .step-card-3 { top: 112px; }
}

/* ==========================================================================
   Scroll-to-top button
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, #1e5bff 0%, #7c3aed 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 26px -6px rgba(46, 16, 101, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition:
    opacity 0.35s ease,
    visibility 0.35s,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease;
}

.scroll-top-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.scroll-top-btn:hover {
  box-shadow:
    0 0 0 4px rgba(124, 58, 237, 0.2),
    0 14px 32px -6px rgba(46, 16, 101, 0.65);
}

.scroll-top-btn:hover svg {
  transform: translateY(-2px);
}

.scroll-top-btn:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 3px;
}

/* Hidden while the phone menu is open */
body.menu-open .scroll-top-btn {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 768px) {
  .scroll-top-btn {
    right: 16px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }
}

/* Hidden while the cookie banner is open (it would cover the button) */
.cookie-banner.is-visible ~ .scroll-top-btn {
  opacity: 0;
  visibility: hidden;
}

/* Phones: the portrait video (9:16) is always shown whole — never cropped.
   Any free space (top/bottom on tall phones, sides on wider screens) is filled
   with the video's own edge colours, sampled over the whole video. */
@media (max-width: 768px) {
  .section-showcase {
    background:
      radial-gradient(ellipse 70% 55% at 50% 50%, #4b2f8b 0%, rgba(75, 47, 139, 0) 100%),
      linear-gradient(180deg, #150b2d 0%, #2a1858 50%, #201342 100%);
  }

  /* The element is sized to the 9:16 picture itself, so the soft edge blend
     sits exactly on the picture edges (into the matching purple fill) */
  .showcase-full-video {
    inset: auto;
    top: 50%;
    left: 50%;
    width: min(100%, calc(100svh * 9 / 16));
    height: auto;
    aspect-ratio: 9 / 16;
    transform: translate(-50%, -50%);
    object-fit: cover;
    -webkit-mask-image:
      linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%),
      linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%),
      linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-composite: intersect;
  }
}

/* Phones: comfortable tap targets (min. ~40px) for small links and buttons */
@media (max-width: 768px) {
  .faq-btn-send {
    width: 34px;
    height: 34px;
  }

  .faq-btn-send svg {
    width: 15px;
    height: 15px;
  }

  .footer-links-list a,
  .footer-link {
    display: inline-block;
    padding: 8px 0;
  }

  .founder-link {
    display: inline-block;
    padding: 8px 0;
  }
}

/* Accessibility: readable contrast for the small Ablauf labels (WCAG AA) */
.step-phase-pill {
  color: #64748b;
}

.step-badge-3 {
  background: #0e7490;
  box-shadow: 0 4px 14px rgba(14, 116, 144, 0.35);
}
