/* ==========================================================================
   Albert Venture Design - Premium Core Stylesheet
   ========================================================================== */

/* Font Import: Geist Sans official CDN */
@import url('https://cdn.jsdelivr.net/npm/geist@1.3.0/dist/font/sans.css');

:root {
  /* Color System */
  --canvas: #0A0A0B;            /* primary background */
  --surface: #141416;           /* cards, sections */
  --surface-elevated: #1C1C20;  /* hover, modals */
  --ignition: #FF4D1C;          /* PRIMARY ACCENT */
  --ember: #FF7A45;             /* gradient pair, hovers */
  --bone: #F5F2ED;              /* headline text */
  --ash: #8A8A93;               /* body, secondary */
  --hairline: #26262B;          /* borders */

  /* Timing & Animations */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s var(--ease-out-expo);
  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--canvas);
  color: var(--bone);
  font-family: 'Geist Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle grain/noise overlay for depth */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
}

/* Atmospheric Ambient Glows */
.radial-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  top: -10%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(255, 77, 28, 0.07) 0%, rgba(10, 10, 11, 0) 70%);
}

.cta-glow {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(255, 77, 28, 0.1) 0%, rgba(10, 10, 11, 0) 65%);
}

/* Containers */
.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   Typography System
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--bone);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.display-h1 {
  font-size: clamp(56px, 8.5vw, 120px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--bone);
}

h2 {
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 12px;
}

p {
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ash);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ignition);
  margin-bottom: 16px;
}

span.highlight {
  color: var(--ignition);
}

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

/* ==========================================================================
   Interactive Utilities (Buttons / Links)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--ignition);
  color: var(--canvas); /* Canvas is near-black, providing excellent WCAG AAA/AA 4.98:1 readability */
  box-shadow: 0 4px 20px rgba(255, 77, 28, 0.25);
}

.btn-primary:hover {
  background-color: var(--ember);
  box-shadow: 0 6px 24px rgba(255, 77, 28, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--bone);
  border: 1px solid var(--hairline);
}

.btn-secondary:hover {
  border-color: var(--ash);
  background-color: rgba(255, 255, 255, 0.03);
}

.btn svg {
  margin-left: 8px;
  transition: transform var(--transition-smooth);
}

.btn-secondary:hover svg {
  transform: translateX(4px);
}

/* Text Links with Arrows */
.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--bone);
  font-weight: 500;
  font-size: 14px;
  margin-top: 16px;
  transition: color var(--transition-fast);
}

.text-link svg {
  margin-left: 6px;
  transition: transform var(--transition-smooth);
}

.text-link:hover {
  color: var(--ember);
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* Glassy Cards Framework */
.glass-card {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(20, 20, 22, 0.6) 100%);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 77, 28, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 77, 28, 0.03);
}

/* ==========================================================================
   Section 1: Navigation
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-smooth), backdrop-filter var(--transition-smooth), border-color var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background-color: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  border-color: var(--hairline);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-link img {
  display: block;
}

nav.nav-desktop {
  display: flex;
  gap: 32px;
}

nav.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ash);
  transition: color var(--transition-fast);
}

nav.nav-desktop a:hover {
  color: var(--bone);
}

/* Mobile Nav Elements */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--bone);
  margin: 5px 0;
  transition: transform var(--transition-smooth), opacity var(--transition-fast);
}

.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--canvas);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform var(--transition-smooth);
}

.nav-mobile.active {
  transform: translateY(0);
}

.nav-mobile a {
  font-size: 24px;
  font-weight: 600;
  color: var(--ash);
}

.nav-mobile a:hover {
  color: var(--bone);
}

/* ==========================================================================
   Section 2: Hero
   ========================================================================== */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  position: relative;
}

/* Immersive background frame container */
.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  display: block;
}

#hero-canvas.active {
  opacity: 0.85; /* Fully clear and visible as requested */
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(to right,  var(--canvas) 0%, transparent 18%),
    linear-gradient(to left,   var(--canvas) 0%, transparent 18%),
    linear-gradient(to bottom, transparent 40%, var(--canvas) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Slim preloading bar indicator on top of the hero section */
.canvas-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--hairline);
  z-index: 3;
  transition: opacity 0.5s ease;
}

.canvas-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.canvas-loader-progress {
  height: 100%;
  width: 0%;
  background-color: var(--ignition);
  box-shadow: 0 0 8px var(--ignition);
  transition: width 0.2s ease;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 268px;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 10;
}

.hero-content .display-h1 {
  margin-bottom: 24px;
  /* Text shadow to protect readability over bright video frames */
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-content p.subhead {
  max-width: 580px;
  margin-bottom: 40px;
  color: var(--bone); /* Enhanced contrast over video background */
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.8);
}


.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}



/* Stat Cards Asymmetric Grid */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 24px;
}

.stat-card {
  padding: 32px;
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.94) 0%, rgba(14, 14, 16, 0.88) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 77, 28, 0.18);
}

.stat-number {
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: var(--ignition);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  text-shadow: 0 0 28px rgba(255, 77, 28, 0.55), 0 2px 12px rgba(0, 0, 0, 0.9);
}

.stat-label {
  font-size: 14px;
  color: var(--bone);
  line-height: 1.4;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

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

/* ==========================================================================
   Section 3: Logo Strip
   ========================================================================== */
.logo-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background-color: rgba(20, 20, 22, 0.3);
  padding: 40px 0;
}

.logo-strip-title {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ash);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.logo-strip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.client-logo {
  font-family: 'Geist Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ash);
  opacity: 0.5;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.client-logo:hover {
  opacity: 0.8;
}

.client-logo-icon {
  width: 20px;
  height: 20px;
  background-color: var(--ash);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

/* ==========================================================================
   Section 4: Problem Section (The Gap)
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.problem-card {
  padding: 40px;
}

.problem-num {
  font-size: 96px;
  font-weight: 600;
  color: var(--ignition);
  line-height: 0.9;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.problem-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

/* Problem section — sticky header extra content */
.problem-extra-desc {
  color: var(--ash);
  font-size: 16px;
  line-height: 1.65;
  margin-top: 20px;
  max-width: 400px;
}

.problem-stat-block {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.problem-stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 10px;
}

.problem-stat-num {
  font-size: 52px;
  font-weight: 600;
  color: var(--ignition);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.problem-stat-sub {
  font-size: 13px;
  color: var(--ash);
}

/* ==========================================================================
   Section 5: Services (Asymmetric Grid)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

/* Services asymmetry: featured first card spans 2 columns */
.services-grid .featured-service-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
}

.service-card-info {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.service-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
}

/* Glass-rimmed Voice Core pulse monitor */
.voice-core-sphere {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: rgba(20, 20, 22, 0.6);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 30px rgba(255, 77, 28, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.featured-service-card:hover .voice-core-sphere {
  transform: scale(1.03);
  border-color: rgba(255, 77, 28, 0.35);
  box-shadow: 0 0 40px rgba(255, 77, 28, 0.18), inset 0 0 30px rgba(255, 77, 28, 0.05);
}

#voice-core-canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  border-radius: 50%;
  object-fit: cover;
}

#voice-core-canvas.active {
  opacity: 0.9;
}

/* Voice Core Halo Pulse Ring */
.voice-core-pulse {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 1px solid rgba(255, 77, 28, 0.15);
  pointer-events: none;
  animation: pulse-ring 4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 77, 28, 0.06);
  border: 1px solid rgba(255, 77, 28, 0.15);
  margin-bottom: 32px;
  color: var(--ignition);
}

.service-meta {
  margin-top: auto;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.service-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ash);
  margin-bottom: 20px;
}

/* ==========================================================================
   Section 6: How It Works (Timeline)
   ========================================================================== */
.how-it-works {
  background-color: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
  position: relative;
}

/* Connecting line on desktop */
.timeline-grid::after {
  content: '';
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 1px;
  background-color: var(--hairline);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
}

.timeline-num {
  font-size: 56px;
  font-weight: 600;
  color: var(--ignition);
  line-height: 1;
  background-color: var(--surface);
  display: inline-block;
  padding-right: 20px;
  margin-bottom: 20px;
}

.timeline-step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* ==========================================================================
   Section 7: Proof (Case Studies)
   ========================================================================== */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.case-card {
  padding: 40px;
}

.case-result {
  font-size: 72px;
  font-weight: 600;
  color: var(--ignition);
  line-height: 1;
  margin: 16px 0 12px;
  letter-spacing: -0.03em;
}

/* ==========================================================================
   Section 8: Why Us
   ========================================================================== */
.why-us-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.why-us-point h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* ==========================================================================
   Section 9: Pricing
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: stretch;
}

.pricing-card {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.pricing-card.featured {
  border-color: var(--ignition);
  box-shadow: 0 20px 45px rgba(255, 77, 28, 0.05);
}

.badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background-color: var(--ignition);
  color: var(--canvas);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 9999px;
}

.pricing-header h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--ash);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  margin: 32px 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-features li {
  font-size: 15px;
  color: var(--ash);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.4;
}

.pricing-features li svg {
  flex-shrink: 0;
  color: var(--ignition);
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
}

/* ==========================================================================
   Section 10: FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 56px auto 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  color: var(--bone);
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--bone);
}

.faq-trigger span.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-trigger span.faq-icon::before,
.faq-trigger span.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--ignition);
  transition: transform var(--transition-smooth);
}

/* Horizontal line */
.faq-trigger span.faq-icon::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
}

/* Vertical line */
.faq-trigger span.faq-icon::after {
  top: 2px;
  left: 9px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-trigger span.faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-trigger span.faq-icon::before {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-content p {
  padding-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   Section 11: Final CTA (Atmospheric Glow)
   ========================================================================== */
.final-cta {
  text-align: center;
  border-top: 1px solid var(--hairline);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background-color: var(--canvas);
}

.cta-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

#cta-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: block;
}

#cta-canvas.active {
  opacity: 0.85; /* Matches Hero's premium high-opacity visual clarity */
}

.cta-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Four-edge vignette: each gradient fades one side, transparent in the center so they stack cleanly */
  background:
    linear-gradient(to right,  var(--canvas) 0%, transparent 22%),
    linear-gradient(to left,   var(--canvas) 0%, transparent 22%),
    linear-gradient(to bottom, var(--canvas) 0%, transparent 24%, transparent 55%, var(--canvas) 100%);
  z-index: 2;
  pointer-events: none;
}

.final-cta .container {
  position: relative;
  z-index: 10;
}

.final-cta-content {
  max-width: 860px;
  margin: 0 auto;
}

/* Eyebrow — override default color for better video contrast */
.cta-eyebrow {
  color: var(--ember);
  text-shadow: 0 0 20px rgba(255, 122, 69, 0.6), 0 2px 8px rgba(0, 0, 0, 0.9);
  margin-bottom: 20px;
}

.cta-headline {
  font-size: clamp(40px, 6vw, 76px);
  margin-bottom: 24px;
  line-height: 1.05;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.85);
}

.cta-subhead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--bone);
  max-width: 640px;
  margin: 0 auto 40px auto;
  line-height: 1.65;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.98);
}

/* Three benefit rows */
.cta-benefits {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 44px auto;
  max-width: 820px;
}

.cta-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  max-width: 240px;
  flex: 1 1 200px;
}

.cta-benefit svg {
  flex-shrink: 0;
  color: var(--ignition);
  margin-top: 2px;
  filter: drop-shadow(0 0 6px rgba(255, 77, 28, 0.5));
}

.cta-benefit span {
  font-size: 14px;
  color: var(--bone);
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.98);
}

.cta-btn {
  padding: 18px 44px;
  font-size: 16px;
  position: relative;
  z-index: 15;
  box-shadow: 0 6px 28px rgba(255, 77, 28, 0.4), 0 0 0 1px rgba(255, 77, 28, 0.2);
}

.cta-footnote {
  font-size: 13px;
  color: var(--ash);
  margin-top: 20px;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .cta-benefits {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-benefit {
    max-width: 100%;
    flex: none;
  }
}

@media (max-width: 480px) {
  .cta-headline br {
    display: none;
  }
  .cta-benefits {
    align-items: flex-start;
    max-width: 100%;
  }
}

/* ==========================================================================
   Section 12: Footer
   ========================================================================== */
footer {
  background-color: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 80px 0 40px 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 14px;
  margin: 16px 0;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 20px;
}

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

.footer-col ul a {
  font-size: 14px;
  color: var(--ash);
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--bone);
}

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 13px;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: var(--ash);
  transition: color var(--transition-fast);
}

.footer-socials a:hover {
  color: var(--bone);
}

/* ==========================================================================
   Section 13: Interactive Custom Booking Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-out-expo);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 77, 28, 0.05);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--ash);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--bone);
}

.modal-progress {
  height: 3px;
  background-color: var(--hairline);
  border-radius: 999px;
  margin-bottom: 32px;
  position: relative;
}

.modal-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background-color: var(--ignition);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
  animation: modal-fade-in 0.4s var(--ease-out-expo);
}

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

.modal-step h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.modal-step p {
  font-size: 14px;
  margin-bottom: 24px;
}

/* Custom Interactive Options List (HVAC, Plumbing, etc.) */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.option-btn {
  background-color: rgba(20, 20, 22, 0.5);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  color: var(--ash);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.option-btn:hover {
  border-color: rgba(255, 77, 28, 0.3);
  color: var(--bone);
  background-color: rgba(255, 77, 28, 0.02);
}

.option-btn.selected {
  border-color: var(--ignition);
  color: var(--bone);
  background-color: rgba(255, 77, 28, 0.05);
  box-shadow: 0 0 12px rgba(255, 77, 28, 0.1);
}

/* Custom Text Inputs */
.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ash);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.input-field {
  width: 100%;
  background-color: rgba(20, 20, 22, 0.8);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--bone);
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-field:focus {
  outline: none;
  border-color: var(--ignition);
  box-shadow: 0 0 0 3px rgba(255, 77, 28, 0.1);
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

.modal-actions .btn {
  flex: 1;
}

/* Success State Styles */
.success-screen {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 77, 28, 0.08);
  border: 1px solid rgba(255, 77, 28, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ignition);
  margin: 0 auto 24px auto;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-fade-up 0.8s var(--ease-out-expo) forwards;
}

.reveal-text-delayed {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-fade-up 0.8s var(--ease-out-expo) 0.15s forwards;
}

@keyframes reveal-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animation classes applied by IntersectionObserver */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  transition-delay: var(--delay, 0ms);
}

.animate-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Max-Width: 1280px */
@media (max-width: 1280px) {
  .services-grid .featured-service-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Max-Width: 1024px (Tablets) */
@media (max-width: 1024px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 70px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }
  .hero-phone-wrapper {
    display: none;
  }
  .hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-content p.subhead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .glass-card {
    padding: 28px;
  }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .problem-extra-desc {
    max-width: 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .services-grid .featured-service-card {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .timeline-grid::after {
    display: none;
  }
  .timeline-num {
    padding-right: 0;
    margin-bottom: 12px;
  }
  .proof-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .why-us-right {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  nav.nav-desktop {
    display: none;
  }
  header .container .btn-primary {
    display: none;
  }
  .menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
}

/* Max-Width: 768px */
@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  /* Hero */
  .hero {
    padding-top: 108px;
    padding-bottom: 52px;
  }
  .hero-grid {
    margin-bottom: 32px;
  }

  /* Hide canvas loader when canvas is not initialised on mobile */
  .canvas-loader {
    display: none;
  }

  /* Stat cards */
  .stat-number {
    font-size: 40px;
  }
  .stat-card {
    padding: 24px;
  }

  /* Problem section */
  .problem-num {
    font-size: 64px;
    margin-bottom: 16px;
  }
  .problem-stat-num {
    font-size: 40px;
  }
  .problem-stat-block {
    margin-top: 28px;
    padding-top: 24px;
  }

  /* Timeline */
  .timeline-num {
    font-size: 40px;
  }

  /* Case results */
  .case-result {
    font-size: 48px;
  }

  /* Why us */
  .why-us-right {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Final CTA */
  .final-cta {
    padding: 96px 0;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer-brand p {
    font-size: 13px;
  }

  /* Logo strip */
  .logo-strip-row {
    justify-content: center;
    gap: 24px;
  }
  .client-logo {
    font-size: 15px;
  }

  /* Modal */
  .modal-card {
    padding: 32px 20px;
    border-radius: 16px;
    max-width: 92%;
  }
  .options-grid {
    grid-template-columns: 1fr;
  }

  /* Prevent iOS auto-zoom on input focus (requires font-size >= 16px) */
  .input-field {
    font-size: 16px;
  }
}

/* Max-Width: 480px (Small Phones) */
@media (max-width: 480px) {
  section {
    padding: 60px 0;
  }

  .glass-card {
    padding: 20px;
    border-radius: 16px;
  }

  /* Hero */
  .hero {
    padding-top: 100px;
    padding-bottom: 44px;
  }
  .hero-grid {
    margin-bottom: 24px;
  }

  /* Stat cards */
  .stat-number {
    font-size: 34px;
  }
  .stat-card {
    padding: 18px;
  }
  .stat-label {
    font-size: 13px;
  }

  /* Problem section */
  .problem-num {
    font-size: 56px;
  }
  .problem-stat-num {
    font-size: 36px;
  }
  .problem-extra-desc {
    font-size: 15px;
  }

  /* Timeline */
  .timeline-num {
    font-size: 36px;
  }
  .timeline-step h3 {
    font-size: 18px;
  }

  /* Services */
  .service-card h3 {
    font-size: 20px;
  }
  .service-icon {
    margin-bottom: 20px;
  }

  /* Why us */
  .why-us-point h3 {
    font-size: 16px;
  }

  /* Pricing */
  .pricing-card {
    padding: 28px 18px;
  }

  /* FAQ */
  .faq-trigger {
    font-size: 16px;
  }

  /* Final CTA */
  .final-cta {
    padding: 80px 0;
  }

  /* Cinematic gate */
  .gate-title {
    font-size: 16px;
    letter-spacing: 0.16em;
  }
  .gate-subtitle {
    margin-bottom: 36px;
  }
  .gate-start-btn {
    padding: 15px 28px;
  }

  /* Footer */
  .footer-col h4 {
    margin-bottom: 14px;
  }
  footer {
    padding: 60px 0 32px;
  }
}

/* Max-Width: 375px (Compact Mobile) */
@media (max-width: 375px) {
  .container {
    padding: 0 16px;
  }

  .display-h1 {
    font-size: 38px;
  }

  .glass-card {
    padding: 16px;
  }

  .stat-number {
    font-size: 30px;
  }

  .problem-stat-num {
    font-size: 32px;
  }

  .timeline-num {
    font-size: 32px;
  }

  .hero {
    padding-top: 96px;
  }

  .btn {
    width: 100%;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .pricing-card {
    padding: 24px 16px;
  }

  .gate-title {
    font-size: 14px;
    letter-spacing: 0.12em;
  }
}

/* ==========================================================================
   Section 14: Cinematic Scroll Storytelling Experience & Lenis Smooth Scroll
   ========================================================================== */

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;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* 1. Immersive Cinematic Intro Preloader Gate */
.cinematic-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--canvas);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-gate.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-content {
  text-align: center;
  max-width: 500px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gate-logo {
  margin-bottom: 32px;
}

.breathing-logo {
  animation: logo-breath 4s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(255, 77, 28, 0.4));
}

@keyframes logo-breath {
  0%, 100% {
    transform: scale(0.95);
    filter: drop-shadow(0 0 10px rgba(255, 77, 28, 0.25));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(255, 77, 28, 0.65));
  }
}

.gate-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--bone);
  margin-bottom: 12px;
  font-family: 'Geist Sans', sans-serif;
}

.gate-subtitle {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--ash);
  margin-bottom: 48px;
  text-transform: uppercase;
}

/* Glowing deployment button */
.gate-start-btn {
  background-color: rgba(20, 20, 22, 0.8);
  border: 1px solid var(--hairline);
  color: var(--bone);
  border-radius: 12px;
  padding: 18px 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  font-family: inherit;
}

.gate-start-btn:hover {
  border-color: var(--ignition);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 77, 28, 0.15);
}

.gate-start-btn:active {
  transform: translateY(0);
}

.btn-glow-ring {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 77, 28, 0.1) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gate-start-btn:hover .btn-glow-ring {
  opacity: 1;
}

/* 2. Cinematic Pinned Stacked Problem Cards */
@media (min-width: 768px) {
  .cinematic-pin-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--canvas);
    padding: 0;
  }

  .problem-cinematic-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .problem-sticky-header {
    position: sticky;
    top: 160px;
    align-self: start;
  }

  .problem-sticky-header h2 {
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.1;
    margin-top: 16px;
  }

  .problem-stacked-track {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .problem-reveal-card {
    position: absolute !important;
    width: 100%;
    top: 0;
    left: 0;
    will-change: transform, opacity;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 77, 28, 0.02);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* 3. Horizontal Scroll Gallery Styles */
@media (min-width: 768px) {
  .horizontal-pin-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: var(--canvas);
    padding: 0 !important;
  }

  .horizontal-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 100vh;
    width: max-content;
    padding: 0 10vw;
    will-change: transform;
  }

  .horizontal-scroll-intro {
    flex-shrink: 0;
    width: 500px;
    margin-right: 120px;
  }

  .horizontal-scroll-intro h2 {
    font-size: clamp(40px, 4.5vw, 64px);
    line-height: 1.1;
    margin: 20px 0;
  }

  .horizontal-scroll-intro p {
    color: var(--ash);
    font-size: 16px;
  }

  .scroll-indicator-arrow {
    display: flex;
    align-items: center;
    color: var(--ignition);
    margin-top: 32px;
    animation: bounce-right 2s infinite;
  }

  @keyframes bounce-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
  }

  .horizontal-scroll-track {
    display: flex;
    gap: 40px;
    flex-shrink: 0;
  }

  .case-scroll-card {
    flex-shrink: 0;
    width: 480px;
    min-height: 400px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  }

  .case-scroll-card .case-result {
    font-size: 64px;
    font-weight: 600;
    color: var(--ignition);
    line-height: 1;
    letter-spacing: -0.04em;
    margin: 24px 0;
  }
}

/* 4. Timeline Active Tweaks */
@media (min-width: 1025px) {
  .timeline-grid::after {
    background: linear-gradient(90deg, var(--ignition) var(--timeline-progress, 0%), var(--hairline) var(--timeline-progress, 0%));
    transition: background 0.1s ease;
  }
}

.timeline-step.active-timeline .timeline-num {
  color: var(--ignition);
  text-shadow: 0 0 15px rgba(255, 77, 28, 0.5);
  transform: scale(1.05);
}

.timeline-step.active-timeline h3 {
  color: var(--bone);
}

/* 5. Mobile Responsive Scroll Fallbacks */
@media (max-width: 768px) {
  .cinematic-pin-section, .horizontal-pin-section {
    padding: 80px 0 !important;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  .problem-cinematic-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: auto !important;
  }

  .problem-sticky-header {
    margin-bottom: 40px;
  }

  .problem-stacked-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto !important;
    position: relative !important;
  }

  .problem-reveal-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    min-height: auto !important;
  }

  .horizontal-scroll-container {
    width: 100% !important;
    height: auto !important;
    flex-direction: column !important;
    padding: 0 24px !important;
    align-items: flex-start !important;
  }

  .horizontal-scroll-intro {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 40px;
  }

  .scroll-indicator-arrow {
    display: none !important;
  }

  .horizontal-scroll-track {
    flex-direction: column !important;
    width: 100% !important;
    gap: 16px !important;
  }

  .case-scroll-card {
    width: 100% !important;
    min-height: auto !important;
    padding: 32px !important;
  }

  .case-scroll-card .case-result {
    font-size: 48px !important;
    margin: 16px 0 !important;
  }
}

/* ==========================================================================
   Mobile Background Fallback (canvas players disabled on mobile)
   ========================================================================== */
@media (max-width: 767px) {
  /* Atmospheric glow replaces the canvas video on small screens */
  .hero-bg-container {
    background:
      radial-gradient(ellipse 130% 90% at 80% 15%, rgba(255, 77, 28, 0.13) 0%, transparent 60%),
      radial-gradient(ellipse 70% 50% at 15% 80%, rgba(255, 77, 28, 0.06) 0%, transparent 55%);
  }
  .cta-bg-container {
    background: radial-gradient(ellipse 110% 75% at 50% 50%, rgba(255, 77, 28, 0.16) 0%, transparent 68%);
  }
}

/* ==========================================================================
   Hero Phone Mockup
   ========================================================================== */
.hero-phone-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  flex-shrink: 0;
}

.hero-phone {
  width: 252px;
  background: linear-gradient(160deg, #1e1e22 0%, #141416 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 14px 12px 20px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 64px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: phone-float 7s ease-in-out infinite;
}

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

.phone-dynamic-island {
  width: 88px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  margin: 0 auto 12px auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Status bar */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  margin-bottom: 4px;
}

.phone-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--bone);
  letter-spacing: -0.02em;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--bone);
}

/* Notification card */
.phone-notif-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(38, 38, 43, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 10px 10px 10px 10px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.phone-notif-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.phone-notif-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.phone-notif-icon--call  { background: linear-gradient(135deg, #e53935, #b71c1c); }
.phone-notif-icon--calendar { background: linear-gradient(135deg, #1e88e5, #0d47a1); }
.phone-notif-icon--bank  { background: linear-gradient(135deg, #2e7d32, #1b5e20); }

.phone-notif-body {
  flex: 1;
  min-width: 0;
}

.phone-notif-source {
  font-size: 10px;
  font-weight: 600;
  color: var(--bone);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.phone-notif-source span {
  font-weight: 400;
  color: var(--ash);
  text-transform: none;
  letter-spacing: 0;
}

.phone-notif-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--bone);
  line-height: 1.3;
}

.phone-notif-sub {
  font-size: 11px;
  color: var(--ash);
  line-height: 1.3;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Colored indicator dot */
.phone-notif-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.phone-notif-badge--red   { background: #e53935; box-shadow: 0 0 6px rgba(229,57,53,0.7); }
.phone-notif-badge--blue  { background: #1e88e5; box-shadow: 0 0 6px rgba(30,136,229,0.7); }
.phone-notif-badge--green { background: #43a047; box-shadow: 0 0 6px rgba(67,160,71,0.8); }

/* SMS thread */
.phone-sms-wrap {
  background: rgba(30, 30, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-sms-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

.phone-sms-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ignition), var(--ember));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.phone-sms-header span {
  font-size: 10px;
  font-weight: 600;
  color: var(--bone);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex: 1;
}

.phone-sms-time {
  font-size: 9px !important;
  font-weight: 400 !important;
  color: var(--ash) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.phone-sms-bubble {
  font-size: 11px;
  line-height: 1.45;
  padding: 7px 10px;
  border-radius: 12px;
  max-width: 90%;
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-sms-out {
  align-self: flex-end;
  background: rgba(255, 77, 28, 0.18);
  border: 1px solid rgba(255, 77, 28, 0.3);
  color: var(--bone);
  border-bottom-right-radius: 4px;
}

.phone-sms-in {
  align-self: flex-start;
  background: rgba(50, 50, 56, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--ash);
  border-bottom-left-radius: 4px;
}

/* Ambient glow beneath phone */
.phone-glow-base {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 50px;
  background: radial-gradient(ellipse, rgba(255, 77, 28, 0.3) 0%, transparent 70%);
  filter: blur(14px);
  pointer-events: none;
}

/* Phone element entrance animations */
@keyframes phone-elem-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.phone-anim-1,
.phone-anim-2,
.phone-anim-3,
.phone-anim-4,
.phone-anim-5,
.phone-anim-6,
.phone-anim-7 {
  opacity: 0;
  animation-name: phone-elem-in;
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
}

.phone-anim-1 { animation-delay: 0.6s; }
.phone-anim-2 { animation-delay: 1.6s; }
.phone-anim-3 { animation-delay: 2.2s; }
.phone-anim-4 { animation-delay: 3.2s; }
.phone-anim-5 { animation-delay: 4.2s; }
.phone-anim-6 { animation-delay: 5.6s; }
.phone-anim-7 { animation-delay: 7.6s; }

/* Accessible prefers-reduced-motion compatibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  #cinematic-gate {
    display: none !important;
  }
}
