/* ==========================================================================
   PORTFOLIO STYLES - INSPIRED BY FIGMA CREATIVE STUDIO DESIGN
   Aesthetics: Deep Void Dark Mode, Vivid Crimson Red Accents, Glassmorphism
   Breakpoints: Desktop (1200px+), Tablet (768px-1199px), Mobile (<768px)
   ========================================================================== */

:root {
  --bg-main: #09090b;
  --bg-card: #121217;
  --bg-card-hover: #171720;
  --bg-surface: #191922;
  --bg-glass: rgba(18, 18, 23, 0.75);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-focus: rgba(255, 51, 75, 0.5);

  --accent-red: #ff3046;
  --accent-red-hover: #e51d33;
  --accent-red-glow: rgba(255, 48, 70, 0.35);
  --accent-red-soft: rgba(255, 48, 70, 0.12);
  --accent-amber: #f59e0b;

  --text-primary: #ffffff;
  --text-secondary: #9ea3b0;
  --text-muted: #646a78;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   SECTION-WISE UNIQUE BACKGROUNDS & LIVE CANVAS WALLPAPERS
   Each section has its own dedicated visual theme, colors, and canvas
   ========================================================================== */
.section-wrapper,
.hero-section {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.section-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.section-ambient-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(100px);
}

/* 1. HERO SECTION: Interactive Cyber Cosmic Nebula & Constellation */
.hero-section {
  padding-top: 170px;
  padding-bottom: 90px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 72% 38%, rgba(255, 48, 70, 0.16) 0%, rgba(20, 10, 15, 0.7) 45%, #09090b 85%);
}
.hero-ambient-glow {
  top: 10%;
  right: 5%;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(255, 48, 70, 0.2) 0%, rgba(255, 30, 50, 0.05) 50%, transparent 70%);
}

/* 2. SERVICES SECTION: High-Tech Studio Grid & Laser Coordinates */
.services-section {
  background: linear-gradient(180deg, #09090b 0%, #0a0a11 50%, #0b0a13 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.services-ambient-glow {
  top: 30%;
  left: -100px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 48, 70, 0.13) 0%, rgba(99, 102, 241, 0.06) 50%, transparent 70%);
}

/* 3. WORK SECTION: Cinematic Dark Stage & Lens Flare Motes */
.work-section {
  background: radial-gradient(circle at 50% 12%, rgba(255, 48, 70, 0.11) 0%, rgba(13, 13, 18, 0.96) 45%, #07070b 90%);
  border-top: 1px solid rgba(255, 48, 70, 0.15);
}
.work-ambient-glow {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 420px;
  background: radial-gradient(ellipse, rgba(255, 48, 70, 0.1) 0%, transparent 75%);
}

/* 4. SPEED RAMP SECTION: High-Speed Velocity Warp Streams & Hyperspace Trails */
.speedramp-section {
  background: radial-gradient(circle at 35% 50%, rgba(255, 48, 70, 0.18) 0%, rgba(22, 11, 16, 0.85) 50%, #08080c 90%);
  border-top: 1px solid rgba(255, 48, 70, 0.22);
  border-bottom: 1px solid rgba(255, 48, 70, 0.18);
}
.speedramp-ambient-glow {
  top: 25%;
  right: -60px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 48, 70, 0.18) 0%, rgba(245, 158, 11, 0.07) 45%, transparent 70%);
}

/* 5. PROCESS SECTION: Studio Blueprint & Pipeline Conduits */
.process-section {
  background: linear-gradient(180deg, #08080c 0%, #080b11 50%, #09090d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.process-ambient-glow {
  bottom: 8%;
  left: 3%;
  width: 650px;
  height: 520px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.09) 0%, rgba(255, 48, 70, 0.07) 50%, transparent 70%);
}

/* 6. STATS SECTION: Exponential Growth Surge & Golden-Red Corona */
.stats-section {
  background: radial-gradient(circle at 50% 60%, rgba(255, 48, 70, 0.17) 0%, rgba(245, 158, 11, 0.08) 35%, #08070a 85%);
  border-top: 1px solid rgba(255, 48, 70, 0.18);
}
.stats-ambient-glow {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 780px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 48, 70, 0.16) 0%, rgba(245, 158, 11, 0.09) 40%, transparent 70%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* Section Spacing */
.section-wrapper {
  padding-top: 110px;
  padding-bottom: 110px;
  position: relative;
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-red);
  background: var(--accent-red-soft);
  border: 1px solid rgba(255, 48, 70, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 4px 20px -2px var(--accent-red-glow);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  box-shadow: 0 6px 24px 0 var(--accent-red-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ==========================================================================
   CUSTOM RED DOT CURSOR
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  * {
    cursor: none !important;
  }

  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--accent-red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px 2px var(--accent-red);
    transition: width 0.15s ease, height 0.15s ease, background-color 0.15s ease;
  }

  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 48, 70, 0.55);
    background: rgba(255, 48, 70, 0.04);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.25s ease, 
                border-color 0.25s ease,
                transform 0.08s ease-out;
  }

  body.cursor-hover .cursor-dot {
    width: 12px;
    height: 12px;
    box-shadow: 0 0 16px 3px var(--accent-red);
  }

  body.cursor-hover .cursor-ring {
    width: 58px;
    height: 58px;
    border-color: var(--accent-red);
    background: rgba(255, 48, 70, 0.12);
  }
}

/* ==========================================================================
   BLOCK 1: FLOATING ISLAND NAVBAR (FRAMER STYLE)
   ========================================================================== */
.site-navbar {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 16px;
  transition: all var(--transition-normal);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(18, 18, 24, 0.58);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 8px 12px 8px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 24px rgba(255, 48, 70, 0.08);
  pointer-events: auto;
  max-width: 680px;
  width: auto;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-navbar.scrolled .navbar-inner {
  background: rgba(14, 14, 20, 0.78);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-color: rgba(255, 48, 70, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75), 0 0 28px rgba(255, 48, 70, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translateY(-2px) scale(0.985);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-icon-box {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #ff3046, #c7182d);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 48, 70, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.nav-actions .btn-primary {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  cursor: pointer;
  padding: 8px;
}

.hamburger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 105;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  z-index: 110;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  transition: right var(--transition-normal);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin-bottom: 40px;
}

.mobile-nav-list a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
}

/* ==========================================================================
   BLOCK 2: HERO SECTION GRID & CONTENT
   ========================================================================== */

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #ffffff;
}

.hero-title .highlight {
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg-main);
  object-fit: cover;
  margin-left: -10px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.social-proof-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stars-rating {
  display: flex;
  gap: 3px;
  color: var(--accent-amber);
  font-size: 0.9rem;
}

.rating-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Hero Visual Showcase */
/* Hero Visual Showcase (Clean Scaling Card Matching Image 3) */
.hero-visual-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-clean-video-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background-color: #0c0c10;
  border: 1px solid rgba(255, 48, 70, 0.45);
  box-shadow: 0 0 35px rgba(255, 48, 70, 0.22), 0 25px 60px rgba(0, 0, 0, 0.85);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  will-change: transform;
}

.hero-clean-video-frame:hover {
  transform: scale(1.025);
  border-color: rgba(255, 60, 80, 0.7);
  box-shadow: 0 0 50px rgba(255, 48, 70, 0.35), 0 35px 75px rgba(0, 0, 0, 0.95);
}

.hero-player-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 28px;
}

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-red-soft);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-text-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.floating-text-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   BLOCK 3: SERVICES - STICKY STACKING CARDS (FRAMER STYLE MATCH)
   ========================================================================== */
.services-stack-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.services-list {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-right: 32px;
}

/* Right-side Stacking Scroll Rail & Red Dot Indicator */
.stack-rail-indicator {
  position: absolute;
  right: 0;
  top: 100px;
  bottom: 120px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  z-index: 20;
}

.stack-rail-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent-red);
  box-shadow: 0 0 16px 3px var(--accent-red);
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 10%;
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  background: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 44px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.4s ease, 
              box-shadow 0.4s ease,
              border-color 0.3s ease;
  position: sticky;
  top: 110px;
  margin-bottom: 56px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.service-card:nth-child(1) { top: 100px; z-index: 1; }
.service-card:nth-child(2) { top: 118px; z-index: 2; }
.service-card:nth-child(3) { top: 136px; z-index: 3; }
.service-card:nth-child(4) { top: 154px; z-index: 4; }

.service-card:hover {
  background-color: #121218;
  border-color: rgba(255, 48, 70, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 48, 70, 0.1);
}

.service-card.is-stacked {
  transform: scale(0.96) translateY(-14px);
  opacity: 0.55;
  filter: brightness(0.7);
}

.service-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-badge {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-red);
  background: var(--accent-red-soft);
  border: 1px solid rgba(255, 48, 70, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.service-title {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.service-desc {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.service-cta-btn {
  width: fit-content;
  margin-top: 6px;
}

/* Service Previews */
.service-preview-box {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background-color: #0d0d12;
  position: relative;
}

/* YouTube Mockup & Video Left Layout */
.service-card-video-left {
  grid-template-columns: 1.15fr 0.85fr;
}

.service-youtube-mockup {
  width: 100%;
  height: 100%;
  min-height: 290px;
  position: relative;
}

.yt-mockup-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 48, 70, 0.28);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 48, 70, 0.12);
}

.yt-mockup-topbar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}

.yt-mockup-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(10, 10, 14, 0.8);
  backdrop-filter: blur(10px);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.yt-quality-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #ff3046;
  background: rgba(255, 48, 70, 0.15);
  border: 1px solid rgba(255, 48, 70, 0.35);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.yt-video-embed {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  display: block;
}

.yt-mockup-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  padding: 10px 14px 12px 14px;
  z-index: 5;
}

.yt-scrubber-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}

.yt-scrubber-progress {
  width: 65%;
  height: 100%;
  background: #ff3046;
  box-shadow: 0 0 10px #ff3046;
  animation: scrubAnim 8s infinite linear;
}

@keyframes scrubAnim {
  0% { width: 15%; }
  50% { width: 68%; }
  100% { width: 92%; }
}

.yt-controls-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #e2e8f0;
  font-weight: 600;
}

.timeline-mockup {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.timeline-dots {
  display: flex;
  gap: 6px;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
}

.timeline-track {
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #1c1c28 0%, #29293a 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.timeline-clip {
  height: 32px;
  background: linear-gradient(90deg, var(--accent-red) 0%, #ff6b7e 100%);
  border-radius: 6px;
  width: 65%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 48, 70, 0.4);
}

.timeline-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 45%;
  width: 2px;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.timeline-playhead::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -5px;
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.waveform-svg {
  width: 100%;
  height: 36px;
  opacity: 0.85;
}

/* Short-Form Carousel Preview */
.repurpose-carousel {
  display: flex;
  gap: 14px;
  padding: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.repurpose-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-mini-card {
  flex: 0 0 130px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
}

.carousel-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.carousel-mini-card:hover img {
  transform: scale(1.08);
}

.mini-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #ffffff;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 16px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  width: 22px;
  border-radius: var(--radius-pill);
  background-color: var(--accent-red);
}

/* Thumbnail Grid Showcase */
.thumb-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
}

.thumb-showcase-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.thumb-showcase-item:hover {
  transform: scale(1.04);
  border-color: var(--accent-red);
}

.thumb-showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-ctr-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffffff;
  padding: 3px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   COLOR GRADING INTERACTIVE BEFORE / AFTER SLIDER
   ========================================================================== */
.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  border: 1px solid var(--border-subtle);
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.slider-img.img-before {
  z-index: 1;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider-img.img-after {
  z-index: 0;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: #ffffff;
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

.slider-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0d;
}

.slider-circle svg {
  width: 18px;
  height: 18px;
}

.slider-pill-badge {
  position: absolute;
  top: 14px;
  z-index: 4;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.slider-pill-badge.pill-before {
  left: 14px;
}

.slider-pill-badge.pill-after {
  right: 14px;
}

/* ==========================================================================
   BLOCK 4: SELECTED EDITING WORK
   ========================================================================== */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.filter-pill.active {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
  box-shadow: 0 4px 18px var(--accent-red-glow);
}

/* Portfolio Work Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 9 / 16;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 48, 70, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 48, 70, 0.15);
}

.portfolio-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-card-video {
  transform: scale(1.05);
}

.portfolio-card-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  z-index: 0;
}

.portfolio-card:hover .portfolio-card-poster {
  transform: scale(1.05);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    transparent 30%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0.88) 100%
  );
  z-index: 1;
}

.portfolio-card-top {
  position: relative;
  z-index: 2;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-category-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Animated Play Icons */
.play-pulse-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  box-shadow: 0 0 12px var(--accent-red);
}

.play-pulse-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-red);
  animation: playRingPulse 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes playRingPulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  50% { transform: scale(1.45); opacity: 0.4; }
  100% { transform: scale(1.9); opacity: 0; }
}

.card-play-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 3;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 48, 70, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 48, 70, 0.6);
  opacity: 0.85;
  transition: all var(--transition-fast);
}

.card-play-center::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 48, 70, 0.6);
  animation: playRingPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

.portfolio-card:hover .card-play-center {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent-red);
  box-shadow: 0 0 35px var(--accent-red);
}

.portfolio-card-bottom {
  position: relative;
  z-index: 2;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-overlay-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

/* ==========================================================================
   BLOCK 4: SPEED RAMP EDIT SHOWCASE
   ========================================================================== */
.speedramp-section {
  position: relative;
}

.speedramp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.speedramp-media-col {
  position: relative;
}

.speedramp-video-container {
  position: relative;
}

.speedramp-glass-bezel {
  position: relative;
  background: linear-gradient(145deg, #14141d 0%, #0a0a0f 100%);
  border: 1px solid rgba(255, 48, 70, 0.3);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 48, 70, 0.15);
  overflow: hidden;
}

.speedramp-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 4px;
}

.speedramp-live-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
}

.speedramp-pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3046;
  box-shadow: 0 0 12px #ff3046;
  animation: pulse 1.5s infinite;
}

.speedramp-fps-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-red);
  background: rgba(255, 48, 70, 0.12);
  border: 1px solid rgba(255, 48, 70, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.speedramp-video-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000000;
}

.speedramp-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.velocity-curve-visualizer {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  z-index: 5;
}

.curve-wave-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.curve-point {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.cp-slow {
  background: rgba(59, 130, 246, 0.25);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.cp-fast {
  background: rgba(255, 48, 70, 0.25);
  color: #ff3046;
  border: 1px solid rgba(255, 48, 70, 0.5);
  box-shadow: 0 0 10px rgba(255, 48, 70, 0.3);
  animation: pulse 1.2s infinite;
}

.cp-normal {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.curve-line-segment {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #ff3046);
  opacity: 0.7;
}

.speedramp-bottom-bar {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding: 4px 6px 0 6px;
}

.ramp-info-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ramp-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.ramp-val {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}

.highlight-red {
  color: var(--accent-red) !important;
}

.speedramp-ambient-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(255, 48, 70, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.speedramp-details-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.speedramp-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.highlight-ramp {
  background: linear-gradient(135deg, #ff3046 0%, #ff8c9c 50%, #ff3046 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rampShimmer 3.2s ease-in-out infinite;
  display: inline-block;
  position: relative;
}

@keyframes rampShimmer {
  0% {
    background-position: 0% center;
    filter: drop-shadow(0 0 10px rgba(255, 48, 70, 0.4));
  }
  50% {
    background-position: 100% center;
    filter: drop-shadow(0 0 24px rgba(255, 48, 70, 0.75));
  }
  100% {
    background-position: 0% center;
    filter: drop-shadow(0 0 10px rgba(255, 48, 70, 0.4));
  }
}

.speedramp-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.speedramp-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}

.speedramp-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.speedramp-feature-card:hover {
  background: rgba(255, 48, 70, 0.05);
  border-color: rgba(255, 48, 70, 0.25);
  transform: translateX(4px);
}

.feature-icon-badge {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 48, 70, 0.4) 0%, rgba(180, 15, 35, 0.18) 100%);
  border: 1px solid rgba(255, 48, 70, 0.55);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 18px rgba(255, 48, 70, 0.5), inset 0 0 10px rgba(255, 48, 70, 0.25);
  animation: liveIconPulse 2.6s ease-in-out infinite alternate;
}

.speedramp-feature-card:nth-child(1) .feature-icon-badge { animation-delay: 0s; }
.speedramp-feature-card:nth-child(2) .feature-icon-badge { animation-delay: 0.65s; }
.speedramp-feature-card:nth-child(3) .feature-icon-badge { animation-delay: 1.3s; }
.speedramp-feature-card:nth-child(4) .feature-icon-badge { animation-delay: 1.95s; }

@keyframes liveIconPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(255, 48, 70, 0.35), inset 0 0 6px rgba(255, 48, 70, 0.18);
    border-color: rgba(255, 48, 70, 0.4);
    filter: drop-shadow(0 0 4px rgba(255, 48, 70, 0.5));
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 26px rgba(255, 48, 70, 0.85), 0 0 38px rgba(255, 48, 70, 0.4), inset 0 0 12px rgba(255, 48, 70, 0.45);
    border-color: rgba(255, 100, 120, 0.95);
    filter: drop-shadow(0 0 12px rgba(255, 48, 70, 0.95));
    color: #ffeff1;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(255, 48, 70, 0.35), inset 0 0 6px rgba(255, 48, 70, 0.18);
    border-color: rgba(255, 48, 70, 0.4);
    filter: drop-shadow(0 0 4px rgba(255, 48, 70, 0.5));
  }
}

.feature-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.feature-body {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.speedramp-cta-row {
  margin-top: 8px;
}

/* ==========================================================================
   BLOCK 5: 4-STEP PROCESS WITH VIDEO (1012.mp4)
   ========================================================================== */
.process-layout-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.process-video-card {
  position: relative;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}

.process-video-inner {
  background: linear-gradient(145deg, #13131c 0%, #0a0a0f 100%);
  border: 1px solid rgba(255, 48, 70, 0.25);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 48, 70, 0.1);
  overflow: hidden;
}

.process-video-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.process-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
}

.process-format-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.process-video-el {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #000000;
  max-height: 580px;
}

.process-video-footer {
  margin-top: 14px;
  padding: 0 4px;
}

.render-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.render-bar-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.render-bar-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #10b981, #ff3046);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.process-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  transition: all var(--transition-normal);
}

.process-card:hover {
  background: rgba(255, 48, 70, 0.04);
  border-color: rgba(255, 48, 70, 0.3);
  transform: translateY(-2px);
}

.process-step-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: -0.03em;
  opacity: 0.9;
  line-height: 1;
}

.process-step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.process-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.process-step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.process-cta-wrap {
  text-align: center;
}

/* ==========================================================================
   BLOCK 6: NUMBERS THAT SPEAK VOLUMES (QUANTIFIABLE RESULTS)
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stats-section .stat-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.4s ease;
}

.stats-section .stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 48, 70, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 48, 70, 0.2);
}

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 48, 70, 0.12);
  border: 1px solid rgba(255, 48, 70, 0.25);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: transform 0.4s ease, background-color 0.3s ease;
}

.stats-section .stat-card:hover .stat-icon-wrapper {
  transform: scale(1.1) rotate(4deg);
  background: rgba(255, 48, 70, 0.22);
}

.stats-section .stat-value {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 40%, #ff6b7e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin: 0;
}

.stats-section .stat-value .suffix {
  color: var(--accent-red);
  -webkit-text-fill-color: var(--accent-red);
}

.stats-section .stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
}

.stat-micro-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   BLOCK 11: FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 36px 0;
  background-color: #070709;
}

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

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODALS (VIDEO PLAYER & BOOKING)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-red);
}

/* Video Modal Specific */
.video-modal-container {
  max-width: 900px;
  background: #000000;
  padding: 0;
}

.video-modal-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
}

.video-modal-wrapper.vertical-video {
  max-width: 440px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
}

.video-modal-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Booking Modal Form */
.booking-modal-body {
  padding: 40px;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.form-input, .form-textarea, .form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-red);
  background: rgba(255, 255, 255, 0.08);
}


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP, TABLET, MOBILE)
   ========================================================================== */

/* Tablet Breakpoint (768px to 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 3.25rem;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-social-proof {
    justify-content: center;
  }

  .hero-visual-card {
    max-width: 600px;
    margin: 0 auto;
    transform: none;
  }

  .service-card,
  .service-card-video-left {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .process-layout-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

/* Mobile Breakpoint (<768px) */
@media (max-width: 767px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-wrapper {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-title {
    font-size: 2.15rem;
  }

  .nav-links, .nav-actions .btn {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .hero-section {
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .service-card,
  .service-card-video-left {
    padding: 24px;
    border-radius: var(--radius-lg);
  }

  .service-title {
    font-size: 1.5rem;
  }

  .thumb-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .speedramp-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .speedramp-title {
    font-size: 2.15rem;
  }

  .process-layout-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .stats-section .stat-value {
    font-size: 2.75rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==========================================================================
   SCROLL REVEAL & SECTION VISIBILITY (100% VISIBLE & ROBUST)
   ========================================================================== */
.hero-section,
.hero-content,
.hero-visual-card,
.section-wrapper,
.service-card,
.speed-ramp-section,
.process-section,
.stats-section,
.reveal-on-scroll {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.stagger-1, .stagger-2, .stagger-3, .stagger-4 {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}


