/* ==========================================================================
   SUMADH ANIMATRIX Design System (Recond-Inspired Vanilla CSS)
   ========================================================================== */

:root {
  /* Fonts */
  --font-headers: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-creative: 'Architects Daughter', cursive;

  /* Colors */
  --main-accent: #06b6d4;       /* Changed to Cyan to match hero */
  --main-darker: #4f46e5;       /* Changed to Indigo */
  --main-rgb: 6, 182, 212;
  --bg-dark: #060913;           /* Hero bg */
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.09);
  --text-white: #ffffff;
  --text-muted: #9ca3af;
  --text-dim: #60606a;
  
  /* Borders & Shadows */
  --border-light: rgba(255, 255, 255, 0.09);
  --border-accent: rgba(6, 182, 212, 0.25);
  --shadow-dark: 0 15px 40px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 10px 30px rgba(6, 182, 212, 0.15);

  /* Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   1. CSS Reset & Base Configurations
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--main-accent) var(--bg-dark);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--main-accent);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--main-darker);
}

::selection {
  background: rgba(220, 39, 81, 0.3);
  color: var(--text-white);
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 50px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.accent-text {
  color: var(--main-accent);
}

.handwritten-sub {
  font-family: var(--font-creative);
  color: var(--main-accent);
  font-size: 20px;
  display: block;
}

/* Glassmorphism Panel */
.glass-panel {
  background: rgba(23, 23, 30, 0.7);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(20px);
  border-radius: 16px;
}

/* Vertical Decorative Grid Lines (Backdrop) */
.bg-grid-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1;
  padding: 0 50px;
}

.grid-line {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   2. Preloader
   ========================================================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.loader-logo {
  font-family: var(--font-headers);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 6px;
  margin-bottom: 25px;
  color: var(--text-white);
  text-transform: uppercase;
}

.loader-bar-wrap {
  width: 240px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: var(--main-accent);
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 0 10px var(--main-accent);
  transition: width 0.1s ease;
}

.loader-text {
  margin-top: 15px;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 44px;
  font-family: var(--font-headers);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  border-radius: 40px;
  cursor: pointer;
  transition: var(--transition-medium);
  border: 0;
  min-width: 220px;
  text-align: center;
}

.btn-primary {
  background-color: var(--main-accent);
  color: var(--text-white);
  box-shadow: 0 8px 25px rgba(220, 39, 81, 0.25);
}

.btn-primary:hover {
  background-color: var(--text-white);
  color: var(--bg-dark);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  border-color: var(--main-accent);
  background-color: var(--main-accent);
  box-shadow: 0 8px 25px rgba(220, 39, 81, 0.25);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 12px 28px;
  font-size: 11px;
  min-width: 150px;
}

.btn-nav {
  padding: 12px 28px;
  font-size: 11px;
  min-width: 150px;
  background-color: var(--main-accent);
  color: var(--text-white);
  border-radius: 40px;
}
.btn-nav:hover {
  background-color: var(--text-white);
  color: var(--bg-dark);
}

/* ==========================================================================
   4. Header & Navigation Menu
   ========================================================================== */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 0;
  z-index: 1000;
  transition: var(--transition-medium);
}

.header-nav.scrolled {
  padding: 18px 0;
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}



.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-logo-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--main-accent);
  object-fit: cover;
}

.nav-logo-text {
  font-family: var(--font-headers);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--text-white);
  text-transform: uppercase;
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-links-wrap a {
  font-family: var(--font-headers);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-white);
  position: relative;
  padding: 8px 0;
}

.nav-links-wrap a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--main-accent);
  transition: var(--transition-fast);
}

.nav-links-wrap a:hover {
  color: var(--main-accent);
}

.nav-links-wrap a:hover::after {
  width: 100%;
}

.nav-links-wrap a.active {
  color: var(--main-accent);
}

.nav-links-wrap a.active::after {
  width: 100%;
}

.header-right-panel {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle-btn {
  display: none;
  background: none;
  border: 0;
  color: var(--text-white);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

@media (max-width: 1024px) {
  .nav-links-wrap {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-links-wrap.open {
    right: 0;
  }
  
  .menu-toggle-btn {
    display: block;
    z-index: 1001;
  }
  
  .btn-nav {
    display: none;
  }
}

/* ==========================================================================
   5. Presentation-Based Hero Section
   ========================================================================== */
.hero-sec {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 2;
  background-color: #0c0c0f;
  display: flex;
  align-items: center;
}

/* Background Cross-fader */
.hero-bg-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-glow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(220, 39, 81, 0.12) 0%, rgba(15, 15, 22, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-container-inner {
  position: relative;
  z-index: 3;
  width: 90vw;
  max-width: 1800px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  width: 100%;
}

/* Content Columns (Left Side) */
.hero-left-col {
  position: relative;
  min-height: 420px; /* Space for content elements */
  display: flex;
  align-items: center;
}

.hero-content-slide {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateY(30px) scale(0.98);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.hero-content-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateY(0) scale(1);
  z-index: 2;
}

.hero-content-slide.past {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateY(-30px) scale(0.98);
}

.hero-content-slide.future {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateY(30px) scale(0.98);
}

.hero-tagline-badge {
  font-family: var(--font-headers);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--main-accent);
  margin-bottom: 10px;
  display: block;
}

/* Dual-layer Typography */
.hero-title-wrap {
  position: relative;
  margin-bottom: 12px;
  height: clamp(6.2rem, 12.8vw, 14.6rem); /* Fixed hero heading container height across all slides */
}

.hero-watermark-outline {
  position: absolute;
  top: -70px;
  left: -5px;
  font-family: var(--font-headers);
  font-weight: 900;
  font-size: clamp(4.5rem, 9.5vw, 11rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  text-transform: uppercase;
  z-index: 1;
  pointer-events: none;
  letter-spacing: 8px;
}

.hero-title-solid {
  font-family: var(--font-headers);
  font-weight: 900;
  font-size: clamp(2.8rem, 5.8vw, 6.6rem);
  line-height: 1.0;
  color: var(--text-white);
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  letter-spacing: -2px;
}

.text-stroke-svg {
  display: inline-block;
  vertical-align: middle;
}

.hero-title-solid text {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.svg-stroke-white, .svg-stroke-red,
.svg-stroke-white tspan, .svg-stroke-red tspan {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  fill: transparent !important; /* hollow text */
  stroke-width: 1.5px;
  stroke: currentColor; /* will be overridden per class */
  transition: filter 0.3s ease;
}

.svg-stroke-white {
  stroke: #ffffff;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
}

.svg-stroke-red {
  stroke: var(--main-accent);
  filter: drop-shadow(0 0 3px rgba(6, 182, 212, 0.6));
}





.hero-subtitle-main {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 48px;
  line-height: 1.65;
}

.hero-btn-group {
  display: flex;
  gap: 15px;
}

/* Visual Column (Right Side) */
.hero-right-col {
  position: relative;
  min-height: 420px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -80px;
}

.hero-visual-slides {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 750px;
}

.hero-visual-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -45%) rotateY(-8deg) rotateX(4deg) scale(0.92);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.hero-visual-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) rotateY(-4deg) rotateX(2deg) scale(1);
  z-index: 2;
}

.hero-visual-slide.past {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -55%) rotateY(-10deg) rotateX(6deg) scale(0.92);
}

.hero-visual-slide.future {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -45%) rotateY(-2deg) rotateX(0deg) scale(0.92);
}

/* Web Mockup (Slide 1) Specific Scale Overrides (Reduced by 15%) */
.hero-visual-slide[data-slide="1"].active {
  transform: translate(-50%, -50%) rotateY(-4deg) rotateX(2deg) scale(1.02);
}

.hero-visual-slide[data-slide="1"].past {
  transform: translate(-50%, -55%) rotateY(-10deg) rotateX(6deg) scale(0.935);
}

.hero-visual-slide[data-slide="1"].future {
  transform: translate(-50%, -45%) rotateY(-2deg) rotateX(0deg) scale(0.935);
}

/* --- Visual Mockups Custom Styles --- */

/* 1. Animation Workspace Mockup */
.animation-mockup-wrapper, .design-mockup-wrapper {
  width: 100%;
}

.animation-workspace-board, .design-spec-board {
  background: rgba(18, 18, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(220, 39, 81, 0.03);
}

.workspace-header, .board-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.panel-dot.red { background: #ff5f56; }
.panel-dot.yellow { background: #ffbd2e; }
.panel-dot.green { background: #27c93f; }

.panel-title, .board-title {
  font-family: monospace;
  font-size: 10px;
  color: var(--text-dim);
  margin-left: 10px;
  letter-spacing: 0.5px;
}

.workspace-body, .board-body {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 12px;
}

.canvas-panel {
  background: #0b0b0e;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  height: 150px;
  position: relative;
  overflow: hidden;
}

.canvas-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 12px 12px;
  pointer-events: none;
}

.sketch-svg {
  width: 100%;
  height: 100%;
}

.sketch-path {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-dasharray: 500;
  stroke-dashoffset: 0;
  animation: drawLine 8s linear infinite;
}

@keyframes drawLine {
  0% { stroke-dashoffset: 500; }
  100% { stroke-dashoffset: 0; }
}

.stylus-trace {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawTrace 3s ease-in-out infinite alternate;
}

@keyframes drawTrace {
  0% { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

.canvas-tool-tooltip {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--main-accent);
  color: var(--text-white);
  font-family: monospace;
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.storyboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.storyboard-frame {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.storyboard-frame.active {
  border-color: var(--main-accent);
  background: rgba(220, 39, 81, 0.05);
}

.frame-thumb {
  font-size: 14px;
  color: var(--text-dim);
  height: 20px;
  display: flex;
  align-items: center;
}

.storyboard-frame.active .frame-thumb {
  color: var(--main-accent);
}

.frame-label {
  font-size: 8px;
  font-family: monospace;
  color: var(--text-muted);
}

.timeline-panel {
  grid-column: span 2;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 12px;
  margin-top: 4px;
}

.timeline-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.timeline-controls i {
  cursor: pointer;
}

.timeline-controls i:hover {
  color: var(--main-accent);
}

.fps-counter {
  font-family: monospace;
  font-size: 9px;
  color: var(--text-dim);
  margin-left: auto;
}

.timeline-track-wrap {
  position: relative;
  background: #0b0b0e;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 8px;
  overflow: hidden;
}

.timeline-ruler {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  font-family: monospace;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 4px;
  margin-bottom: 6px;
}

.timeline-tracks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-track {
  display: flex;
  align-items: center;
  position: relative;
  height: 10px;
}

.track-label {
  font-family: monospace;
  font-size: 8px;
  color: var(--text-dim);
  width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.keyframes {
  flex-grow: 1;
  position: relative;
  height: 100%;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 2px;
}

.keyframe {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
  height: 5px;
  background: var(--text-muted);
  border: 1px solid #000;
}

.keyframe.animate-glow {
  background: var(--main-accent);
  box-shadow: 0 0 6px var(--main-accent);
}

.timeline-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--main-accent);
  z-index: 5;
  left: 10%;
  transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-playhead.animating {
  animation: playheadSweep 4s linear infinite;
  transition: none;
}

@keyframes playheadSweep {
  0% { left: 10%; }
  100% { left: 90%; }
}

.timeline-playhead::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: var(--main-accent);
}


/* 2. Graphic Design spec/blueprint board */
.blueprint-canvas {
  background: #0a0a0f;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  height: 150px;
  position: relative;
  overflow: hidden;
}

.blueprint-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(220, 39, 81, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 39, 81, 0.03) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.blueprint-shapes {
  width: 100%;
  height: 100%;
  position: relative;
}

.bp-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(220, 39, 81, 0.2);
  border-radius: 50%;
}

.bp-circle-lg { width: 100px; height: 100px; }
.bp-circle-md { width: 62px; height: 62px; }
.bp-circle-sm { width: 38px; height: 38px; }

.bp-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
}

.bp-line-h {
  top: 50%; left: 10%; right: 10%; height: 1px;
}
.bp-line-v {
  left: 50%; top: 10%; bottom: 10%; width: 1px;
}
.bp-line-d1 {
  top: 50%; left: 50%; width: 120px; height: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-top: 1px dashed rgba(255,255,255,0.03);
  background: none;
}
.bp-line-d2 {
  top: 50%; left: 50%; width: 120px; height: 1px;
  transform: translate(-50%, -50%) rotate(-45deg);
  border-top: 1px dashed rgba(255,255,255,0.03);
  background: none;
}

.bp-logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-headers);
  font-size: 50px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--main-accent);
  text-shadow: 0 0 15px rgba(220, 39, 81, 0.2);
  line-height: 1;
}

.specs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spec-section-title {
  font-family: monospace;
  font-size: 8px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.spec-font-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-font-letter {
  font-family: var(--font-headers);
  font-size: 20px;
  font-weight: 900;
  color: var(--main-accent);
}

.spec-font-details {
  display: flex;
  flex-direction: column;
}

.font-name {
  font-size: 9px;
  font-weight: 700;
}

.font-weights {
  font-size: 7px;
  color: var(--text-dim);
  font-family: monospace;
}

.spec-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

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

.swatch {
  width: 100%;
  height: 20px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.swatch-lbl {
  font-size: 7px;
  font-family: monospace;
  color: var(--text-dim);
}


/* 3. Web Design dashboard and floating widgets */
.web-mockup-wrapper {
  position: relative;
  width: 100%;
  height: 270px;
}

.browser-mockup {
  background: rgba(18, 18, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.browser-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.browser-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.browser-dots .dot.red { background: #ff5f56; }
.browser-dots .dot.yellow { background: #ffbd2e; }
.browser-dots .dot.green { background: #27c93f; }

.browser-address-bar {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 3px 12px;
  color: var(--text-dim);
  font-size: 9px;
  font-family: monospace;
  text-align: center;
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-body {
  padding: 18px;
}

.mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.mock-logo {
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-white);
}

.mock-accent {
  color: var(--main-accent);
}

.mock-menu-dots {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-menu-dots span {
  width: 10px;
  height: 1.5px;
  background: var(--text-dim);
  display: block;
}

.mock-dashboard {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 12px;
  background: #0a0a0d;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 10px;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  padding-right: 6px;
}

.sidebar-item {
  height: 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2px;
}

.sidebar-item.active {
  background: rgba(220, 39, 81, 0.2);
}

.dashboard-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chart-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chart-title-line {
  height: 6px;
  background: var(--text-white);
  width: 60px;
  border-radius: 2px;
}

.chart-subtitle-line {
  height: 4px;
  background: var(--text-dim);
  width: 35px;
  border-radius: 1px;
  opacity: 0.5;
}

.chart-body {
  height: 65px;
  position: relative;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.chart-line-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawChart 4s ease-in-out infinite;
}

@keyframes drawChart {
  0% { stroke-dashoffset: 300; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

/* Floating widgets */
.floating-widget {
  position: absolute;
  background: rgba(23, 23, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 10;
  transition: transform 0.2s ease-out; /* Smooth parallax */
}

.widget-metrics {
  bottom: 20px;
  left: 20px;
  max-width: 170px;
}

.widget-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(220, 39, 81, 0.1);
  color: var(--main-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 0 15px rgba(220, 39, 81, 0.2);
}

.widget-info {
  display: flex;
  flex-direction: column;
}

.widget-label {
  font-size: 8px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.widget-value {
  font-size: 11px;
  font-weight: 700;
}

.widget-preview {
  top: 20px;
  right: 20px;
  width: 190px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-family: monospace;
}

.widget-header {
  display: flex;
  gap: 4px;
  width: 100%;
}

.widget-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.widget-dot.red { background: #ff5f56; }
.widget-dot.yellow { background: #ffbd2e; }

.widget-code {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.code-line {
  font-size: 8px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.code-line.orange { color: #ff9d00; }
.code-line.blue { color: #00a2ff; }
.code-line.green { color: #27c93f; }


/* --- Pagination Indicator Tracker --- */
.hero-progress-nav {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 35px;
  z-index: 10;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  opacity: 0.3;
  transition: opacity 0.5s ease;
  position: relative;
}

.progress-step.active {
  opacity: 1;
}

.step-num {
  font-family: var(--font-headers);
  font-size: 13px;
  font-weight: 900;
  color: var(--text-white);
}

.step-label {
  font-family: var(--font-headers);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.progress-step.active .step-label,
.progress-step:hover .step-label {
  opacity: 1;
  transform: translateX(0);
}

.progress-indicator-track {
  position: absolute;
  left: 6px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.progress-indicator-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%; /* JS links to scroll progress */
  background: var(--main-accent);
  box-shadow: 0 0 10px var(--main-accent);
  transition: height 0.1s ease-out;
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 5;
  transition: opacity 0.5s ease;
}

.scroll-text {
  font-family: var(--font-headers);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-dim);
}

.scroll-mouse {
  width: 18px;
  height: 30px;
  border: 1.5px solid var(--text-dim);
  border-radius: 10px;
  position: relative;
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background: var(--main-accent);
  border-radius: 20%;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { top: 6px; opacity: 1; }
  80% { top: 18px; opacity: 0; }
  100% { top: 6px; opacity: 0; }
}


/* --- IDE Layout & Looping developer workflow animations --- */
.ide-layout {
  padding: 0 !important;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  height: 270px;
  background: #08080c;
}

.ide-editor {
  background: #060609;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.editor-tabs {
  display: flex;
  background: #040406;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 8px;
  font-family: monospace;
  color: var(--text-dim);
}

.editor-tabs .tab {
  padding: 6px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.editor-tabs .tab.active {
  background: #060609;
  color: var(--text-white);
  border-bottom: 1.5px solid var(--main-accent);
}

.react-color { color: #00d8ff; }
.css-color { color: #2965f1; }
.js-color { color: #f7df1e; }

.editor-content-wrap {
  display: flex;
  flex-grow: 1;
  padding: 10px;
  overflow: hidden;
  font-family: monospace;
  font-size: 8px;
  line-height: 1.4;
  color: #a9b2c3;
}

.line-numbers {
  display: flex;
  flex-direction: column;
  color: var(--text-dim);
  padding-right: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  text-align: right;
  user-select: none;
}

.editor-code {
  padding-left: 10px;
  margin: 0;
  white-space: pre-wrap;
}

.editor-code code {
  font-family: inherit;
}

.code-keyword { color: #c678dd; }
.code-string { color: #98c379; }
.code-tag { color: #e06c75; }
.code-attr { color: #d19a66; }
.code-def { color: #61afef; }

.editor-terminal {
  height: 85px;
  background: #030305;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  padding: 6px 10px;
  font-family: monospace;
  font-size: 7.5px;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 2px;
  margin-bottom: 4px;
}

.terminal-content {
  color: #8bb2c9;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.term-line.success { color: #98c379; }
.term-line.info { color: var(--main-accent); }

.ide-preview {
  background: #0a0a0d;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.preview-browser-header {
  background: #050508;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
}

.preview-address {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  width: 100%;
  text-align: center;
  font-size: 7px;
  color: var(--text-dim);
  font-family: monospace;
  padding: 1px 0;
}

.preview-viewport {
  flex-grow: 1;
  padding: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0f0f13;
}

.preview-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.p-logo {
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.5px;
}

.p-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.p-menu span {
  width: 8px;
  height: 1px;
  background: var(--text-dim);
}

.preview-hero {
  margin-bottom: 10px;
}

.p-tag {
  font-family: var(--font-headers);
  font-size: 6px;
  font-weight: 800;
  color: var(--main-accent);
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 2px;
}

.p-title {
  font-family: var(--font-headers);
  font-weight: 900;
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: -0.2px;
  color: var(--text-white);
  margin-bottom: 5px;
}

.p-btn-row {
  display: flex;
  gap: 4px;
}

.p-btn {
  height: 5px;
  width: 22px;
  border-radius: 3px;
}

.p-btn.p-primary {
  background: var(--main-accent);
}

.p-btn.p-outline {
  border: 0.5px solid rgba(255, 255, 255, 0.2);
}

.preview-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.preview-card {
  background: rgba(255, 255, 255, 0.02);
  border: 0.5px solid rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  padding: 6px;
  display: flex;
  flex-direction: column;
}

.p-card-header {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 6px;
}

.p-card-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
}
.p-card-dot.red { background: var(--main-accent); }

.p-card-line {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  width: 15px;
  border-radius: 1px;
}

.p-card-line-sm {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  width: 80%;
  margin-bottom: 4px;
  border-radius: 1px;
}

.p-card-line-xs {
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  width: 50%;
  border-radius: 1px;
}

.p-card-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 18px;
}

.p-card-chart .bar {
  width: 3px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1px 1px 0 0;
  transition: height 0.5s ease;
}

.preview-reload-flash {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--main-accent);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

/* --- IDE Interactive Loop Animations --- */
.editor-code code span {
  display: inline-block;
  opacity: 0;
  animation: compileCycleReveal 14s infinite;
}

@keyframes compileCycleReveal {
  0% { opacity: 0; transform: translateX(-4px); }
  8% { opacity: 1; transform: translateX(0); }
  85% { opacity: 1; transform: translateX(0); }
  90% { opacity: 0; transform: translateX(4px); }
  100% { opacity: 0; }
}

.editor-code code span:nth-child(1)  { animation-delay: 0.2s; }
.editor-code code span:nth-child(2)  { animation-delay: 0.6s; }
.editor-code code span:nth-child(3)  { animation-delay: 1.0s; }
.editor-code code span:nth-child(4)  { animation-delay: 1.4s; }
.editor-code code span:nth-child(5)  { animation-delay: 1.8s; }
.editor-code code span:nth-child(6)  { animation-delay: 2.2s; }
.editor-code code span:nth-child(7)  { animation-delay: 2.6s; }
.editor-code code span:nth-child(8)  { animation-delay: 3.0s; }
.editor-code code span:nth-child(9)  { animation-delay: 3.4s; }
.editor-code code span:nth-child(10) { animation-delay: 3.8s; }
.editor-code code span:nth-child(11) { animation-delay: 4.2s; }
.editor-code code span:nth-child(12) { animation-delay: 4.6s; }
.editor-code code span:nth-child(13) { animation-delay: 5.0s; }
.editor-code code span:nth-child(14) { animation-delay: 5.4s; }

.terminal-content .term-line:nth-child(4) {
  animation: compileSuccessLog 14s infinite;
}

@keyframes compileSuccessLog {
  0%, 45% { opacity: 0; transform: translateY(2px); }
  50%, 85% { opacity: 1; transform: translateY(0); }
  90%, 100% { opacity: 0; }
}

.preview-reload-flash {
  animation: reloadFlashCycle 14s infinite;
}

@keyframes reloadFlashCycle {
  0%, 50% { opacity: 0; }
  51% { opacity: 0.25; }
  54% { opacity: 0; }
  100% { opacity: 0; }
}

.preview-hero .p-tag,
.preview-hero .p-title,
.preview-hero .p-btn-row,
.preview-dashboard-grid .preview-card {
  animation: uiComponentsResetRefresh 14s infinite;
}

@keyframes uiComponentsResetRefresh {
  0%, 50% { opacity: 0.3; transform: translateY(0); }
  52% { opacity: 0; transform: translateY(2px); }
  56%, 85% { opacity: 1; transform: translateY(0); }
  90%, 100% { opacity: 0.3; }
}

.p-card-chart .bar-1 { height: 30%; animation: bar1Grow 14s infinite; }
.p-card-chart .bar-2 { height: 50%; animation: bar2Grow 14s infinite; }
.p-card-chart .bar-3 { height: 80%; animation: bar3Grow 14s infinite; }
.p-card-chart .bar-4 { height: 40%; animation: bar4Grow 14s infinite; }

@keyframes bar1Grow {
  0%, 50% { height: 10%; background: rgba(255, 255, 255, 0.05); }
  56%, 85% { height: 50%; background: var(--main-accent); }
  90%, 100% { height: 10%; background: rgba(255, 255, 255, 0.05); }
}

@keyframes bar2Grow {
  0%, 50% { height: 10%; background: rgba(255, 255, 255, 0.05); }
  56%, 85% { height: 85%; background: var(--main-accent); }
  90%, 100% { height: 10%; background: rgba(255, 255, 255, 0.05); }
}

@keyframes bar3Grow {
  0%, 50% { height: 10%; background: rgba(255, 255, 255, 0.05); }
  56%, 85% { height: 35%; background: var(--main-accent); }
  90%, 100% { height: 10%; background: rgba(255, 255, 255, 0.05); }
}

@keyframes bar4Grow {
  0%, 50% { height: 10%; background: rgba(255, 255, 255, 0.05); }
  56%, 85% { height: 60%; background: var(--text-white); }
  90%, 100% { height: 10%; background: rgba(255, 255, 255, 0.05); }
}


/* --- Responsive Mobile Layouts --- */
@media (max-width: 1199px) {
  .hero-grid {
    gap: 20px;
  }
}

@media (max-width: 991px) {
  .hero-sec {
    height: 100vh;
    padding-top: 60px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1.1fr 0.9fr;
    gap: 25px;
    height: 100%;
  }

  .hero-left-col {
    min-height: 280px;
    align-items: flex-end;
    padding-bottom: 10px;
  }

  .hero-content-slide {
    top: auto;
    bottom: 0;
    transform: translateY(20px) scale(0.98);
  }

  .hero-content-slide.active {
    transform: translateY(0) scale(1);
  }

  .hero-content-slide.past {
    transform: translateY(-20px) scale(0.98);
  }

  .hero-watermark-outline {
    display: none; /* Hide heavy watermark on tablet/mobile to improve contrast */
  }

  .hero-title-solid {
    font-size: clamp(2rem, 5vw, 3.2rem);
  }

  .hero-title-wrap {
    height: clamp(4.6rem, 11vw, 7.4rem); /* Fixed heading container height on tablet */
  }

  .hero-subtitle-main {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-right-col {
    min-height: 250px;
    align-items: flex-start;
    margin-left: 0;
  }

  .hero-visual-slide {
    transform: translate(-50%, -50%) rotateY(0deg) rotateX(0deg) scale(0.8);
  }

  .hero-visual-slide.active {
    transform: translate(-50%, -50%) rotateY(0deg) rotateX(0deg) scale(0.85);
  }

  .hero-visual-slide.past {
    transform: translate(-50%, -60%) scale(0.8);
  }

  .hero-visual-slide.future {
    transform: translate(-50%, -40%) scale(0.8);
  }

  .hero-progress-nav {
    display: none; /* Hide vertical tracker on mobile */
  }
  
  .floating-widget {
    transform: scale(0.85) !important; /* Scale down floating widgets */
  }

  /* Web Mockup (Slide 1) Specific Scale Overrides (Tablet) */
  .hero-visual-slide[data-slide="1"] {
    transform: translate(-50%, -50%) rotateY(0deg) rotateX(0deg) scale(0.816);
  }

  .hero-visual-slide[data-slide="1"].active {
    transform: translate(-50%, -50%) rotateY(0deg) rotateX(0deg) scale(0.867);
  }

  .hero-visual-slide[data-slide="1"].past {
    transform: translate(-50%, -60%) scale(0.816);
  }

  .hero-visual-slide[data-slide="1"].future {
    transform: translate(-50%, -40%) scale(0.816);
  }
}

@media (max-width: 580px) {
  .hero-grid {
    grid-template-rows: 1.15fr 0.85fr;
    gap: 15px;
  }

  .hero-left-col {
    min-height: 250px;
  }

  .hero-right-col {
    min-height: 200px;
  }

  .hero-title-solid {
    font-size: clamp(1.8rem, 8.5vw, 2.5rem);
  }

  .hero-title-wrap {
    height: clamp(4.1rem, 19.5vw, 5.8rem); /* Fixed heading container height on mobile */
  }

  .hero-subtitle-main {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.5;
  }

  .hero-btn-group {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
  }

  .hero-btn-group .btn {
    width: 100%;
    min-width: unset;
    padding: 12px 24px;
    font-size: 11px;
  }

  .hero-visual-slide {
    transform: translate(-50%, -50%) scale(0.65);
  }

  .hero-visual-slide.active {
    transform: translate(-50%, -50%) scale(0.7);
  }

  /* Web Mockup (Slide 1) Specific Scale Overrides (Mobile) */
  .hero-visual-slide[data-slide="1"] {
    transform: translate(-50%, -50%) scale(0.663);
  }

  .hero-visual-slide[data-slide="1"].active {
    transform: translate(-50%, -50%) scale(0.714);
  }
  
  .floating-widget {
    display: none; /* Hide floating widgets on small screens to save space */
  }

  .animation-workspace-board .workspace-body, 
  .design-spec-board .board-body {
    grid-template-columns: 1fr; /* Stack sidebar on tiny viewports */
  }
  
  .storyboard-sidebar, .specs-sidebar {
    display: none; /* Hide sidebars in visual mockup on tiny screens */
  }
  
  .canvas-panel, .blueprint-canvas {
    height: 120px;
  }
}

/* ==========================================================================
   6. Sections General Styles
   ========================================================================== */
section {
  padding: 120px 0;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 70px;
}

.section-subtitle {
  font-family: var(--font-creative);
  color: var(--main-accent);
  font-size: 22px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-headers);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   7. About Studio Section
   ========================================================================== */
.about-sec {
  background-color: var(--bg-dark);
}

.about-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-text-content .section-subtitle {
  font-family: var(--font-creative);
  text-align: left;
}

.about-text-content .section-title {
  text-align: left;
  margin-bottom: 25px;
}

.about-lead-desc {
  font-size: 19px;
  font-weight: 500;
  color: var(--text-white);
  line-height: 1.5;
  margin-bottom: 25px;
}

.about-body-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.about-signature-wrap {
  margin-top: 25px;
}

.about-visuals-panel {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.about-img-frame {
  width: 90%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-dark);
}

.about-main-img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(15%) brightness(90%);
}

.about-overlay-card {
  position: absolute;
  bottom: -30px;
  left: 0;
  background: var(--main-accent);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-accent);
  max-width: 250px;
}

.card-num {
  font-family: var(--font-headers);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-white);
  margin-bottom: 5px;
}

.card-text {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 991px) {
  .about-grid-wrap {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-img-frame {
    width: 100%;
  }
  .about-overlay-card {
    bottom: -20px;
  }
}

/* ==========================================================================
   8. Capabilities (Services) Section
   ========================================================================== */
.services-sec {
  background-color: rgba(23, 23, 30, 0.4);
}

.services-grid-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 50px 40px;
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card-item:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--main-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark);
}

.service-icon {
  font-size: 32px;
  color: var(--main-accent);
  margin-bottom: 30px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(220, 39, 81, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

.service-card-item:hover .service-icon {
  background-color: var(--main-accent);
  color: var(--text-white);
  box-shadow: 0 0 20px rgba(220, 39, 81, 0.3);
}

.service-title {
  font-family: var(--font-headers);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
  flex-grow: 1;
}

.service-link {
  font-family: var(--font-headers);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--main-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link i {
  transition: transform 0.2s ease;
}

.service-card-item:hover .service-link i {
  transform: translateX(5px);
}

@media (max-width: 991px) {
  .services-grid-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .services-grid-wrap {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   9. Suites (Working Rooms) Section
   ========================================================================== */
.suites-sec {
  background-color: var(--bg-dark);
}

.suites-grid-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.suite-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-medium);
}

.suite-card:hover {
  border-color: var(--main-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark);
}

.suite-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.suite-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  filter: brightness(80%);
}

.suite-card:hover .suite-img-wrap img {
  transform: scale(1.08);
}

.suite-num {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--main-accent);
  color: var(--text-white);
  font-family: var(--font-headers);
  font-weight: 900;
  font-size: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
}

.suite-details {
  padding: 35px 30px;
}

.suite-details h3 {
  font-family: var(--font-headers);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
  letter-spacing: 1px;
  color: var(--text-white);
}

.suite-capabilities {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.suite-capabilities strong {
  display: block;
  font-family: var(--font-headers);
  font-size: 11px;
  font-weight: 800;
  color: var(--main-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.suite-workflow {
  border-top: 1px solid var(--border-light);
  padding-top: 22px;
}

.suite-workflow h5 {
  font-family: var(--font-headers);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 15px;
}

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

.suite-workflow ul li {
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
  line-height: 1.4;
}

.suite-workflow ul li::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 8px;
  color: var(--main-accent);
  position: absolute;
  left: 0;
  top: 5px;
}

@media (max-width: 991px) {
  .suites-grid-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .suites-grid-wrap {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   10. Audio Desk (Recent Records Audio Player)
   ========================================================================== */
.audio-desk-sec {
  background-color: rgba(23, 23, 30, 0.4);
}

.audio-player-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.player-deck {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.player-disc-graphic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, #2d2d38 25%, #0d0d12 70%);
  border: 3px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  color: var(--main-accent);
  margin-bottom: 30px;
  box-shadow: var(--shadow-dark), inset 0 0 20px rgba(0, 0, 0, 0.8);
  transition: transform 0.5s ease;
}

/* Animation class for spinning CD */
.player-disc-graphic.spinning {
  animation: spin 5s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.player-now-playing .deck-tag {
  font-family: var(--font-headers);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--main-accent);
  margin-bottom: 8px;
  display: block;
}

.player-now-playing .track-title {
  font-family: var(--font-headers);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.player-now-playing .track-category {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.player-timeline-controls {
  width: 100%;
  margin-bottom: 30px;
}

.time-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-family: var(--font-headers);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
}

.progress-bar-container {
  flex-grow: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background-color: var(--main-accent);
  border-radius: 2px;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 0 8px var(--main-accent);
}

.player-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.player-ctrl-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.player-ctrl-btn:hover {
  border-color: var(--main-accent);
  color: var(--main-accent);
  background: rgba(220, 39, 81, 0.05);
}

.player-ctrl-btn.play-pause-btn {
  width: 64px;
  height: 64px;
  background-color: var(--main-accent);
  border-color: transparent;
  font-size: 20px;
  box-shadow: var(--shadow-accent);
}

.player-ctrl-btn.play-pause-btn:hover {
  background-color: var(--text-white);
  color: var(--bg-dark);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Playlist Panel */
.player-playlist {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 420px;
  overflow-y: auto;
}

.playlist-row {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.playlist-row:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-light);
}

.playlist-row.active {
  background: rgba(220, 39, 81, 0.05);
  border-color: var(--border-accent);
}

.row-num {
  font-family: var(--font-headers);
  font-size: 13px;
  font-weight: 700;
  color: var(--main-accent);
  margin-right: 20px;
}

.row-meta {
  flex-grow: 1;
}

.row-meta h4 {
  font-family: var(--font-headers);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 2px;
}

.row-meta span {
  font-size: 12px;
  color: var(--text-muted);
}

.row-duration {
  font-family: var(--font-headers);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
}

.playlist-row.active .row-duration {
  color: var(--main-accent);
}

@media (max-width: 991px) {
  .audio-player-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. Creative Workflow Section
   ========================================================================== */
.workflow-sec {
  background-color: var(--bg-dark);
}

.workflow-grid-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.workflow-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 30px;
  position: relative;
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.workflow-step-card:hover {
  border-color: var(--main-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.step-num {
  font-family: var(--font-headers);
  font-size: 24px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: 1px;
  transition: var(--transition-fast);
}

.workflow-step-card:hover .step-num {
  color: var(--main-accent);
  opacity: 0.15;
}

.step-icon {
  font-size: 20px;
  color: var(--main-accent);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(220, 39, 81, 0.04);
  border: 1px solid rgba(220, 39, 81, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

.workflow-step-card:hover .step-icon {
  background-color: var(--main-accent);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(220, 39, 81, 0.25);
}

.step-details h3 {
  font-family: var(--font-headers);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1px;
  color: var(--text-white);
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 25px;
  min-height: 96px;
}

.step-deliverables {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-deliverables li {
  font-size: 12.5px;
  color: var(--text-white);
  position: relative;
  padding-left: 20px;
  font-weight: 600;
}

.step-deliverables li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 8px;
  color: var(--main-accent);
  position: absolute;
  left: 0;
  top: 4px;
}

@media (max-width: 1199px) {
  .workflow-grid-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-desc {
    min-height: auto;
  }
}

@media (max-width: 580px) {
  .workflow-grid-wrap {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   12. Contact & Info Section
   ========================================================================== */
.contact-sec {
  background-color: rgba(15, 15, 18, 0.98);
  padding: 120px 0;
  position: relative;
  border-top: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 90px;
  align-items: flex-start;
}

.contact-details-panel .section-subtitle {
  font-family: var(--font-creative);
  text-align: left;
  font-size: 22px;
  color: var(--main-accent);
  margin-bottom: 15px;
  display: block;
}

.contact-details-panel .section-title {
  text-align: left;
  margin-bottom: 30px;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.2;
}

.contact-intro-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 45px;
  font-weight: 300;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 45px;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 25px;
  transition: var(--transition-medium);
}

.info-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(220, 39, 81, 0.03);
  border: 1px solid rgba(220, 39, 81, 0.15);
  color: var(--main-accent);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-medium);
}

.contact-info-list li:hover .info-icon {
  background: var(--main-accent);
  border-color: var(--main-accent);
  color: var(--text-white);
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 10px 25px rgba(220, 39, 81, 0.3);
}

.info-text h4 {
  font-family: var(--font-headers);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.info-text p {
  font-size: 16px;
  color: var(--text-white);
  line-height: 1.5;
  font-weight: 500;
}

.info-subtext {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
  font-weight: 400;
}

.contact-link {
  color: var(--text-white);
  transition: var(--transition-fast);
  position: relative;
  display: inline-block;
}

.contact-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--main-accent);
  transition: var(--transition-fast);
}

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

.contact-link:hover::after {
  width: 100%;
}

.contact-socials {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 40px;
}

.socials-title {
  font-family: var(--font-headers);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  display: block;
  margin-bottom: 20px;
}

.social-icons-row {
  display: flex;
  gap: 15px;
}

.social-icons-row a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition-medium);
}

.social-icons-row a:hover {
  background: var(--main-accent);
  border-color: var(--main-accent);
  color: var(--text-white);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(220, 39, 81, 0.35);
}

/* Contact Form - Premium Upgrades */
.form-card-title {
  font-family: var(--font-headers);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.form-card-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 35px;
  line-height: 1.4;
}

.contact-form-panel {
  padding: 60px;
  background: rgba(23, 23, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transition: var(--transition-medium);
}

.contact-form-panel:hover {
  border-color: rgba(220, 39, 81, 0.2);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5), 0 0 35px rgba(220, 39, 81, 0.05);
}

.form-group {
  position: relative;
  margin-bottom: 35px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* Custom Select Dropdown Styling */
.custom-select {
  position: relative;
  width: 100%;
  cursor: pointer;
  z-index: 10;
}

.custom-select-trigger {
  width: 100%;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-select-trigger .trigger-label.selected {
  color: var(--text-white);
}

.custom-select-trigger .trigger-arrow {
  color: var(--text-dim);
  font-size: 12px;
  transition: var(--transition-fast);
}

.custom-select.open .custom-select-trigger {
  border-color: var(--main-accent);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 20px rgba(220, 39, 81, 0.12);
}

.custom-select.open .trigger-arrow {
  color: var(--main-accent);
  transform: rotate(180deg);
}

/* Options Panel Dropdown list */
.custom-options-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.custom-select.open .custom-options-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 14px 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  text-align: left;
}

.custom-option:last-child {
  border-bottom: none;
}

.custom-option:hover {
  background: var(--main-accent);
  color: var(--text-white);
  padding-left: 28px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--main-accent);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 20px rgba(220, 39, 81, 0.12);
  outline: none;
}

.form-group label {
  position: absolute;
  left: 24px;
  top: 18px;
  color: var(--text-dim);
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

/* Label moves up on focus or text input */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 18px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--main-accent);
  background-color: #17171e; /* matches form panel solid dark bg */
  padding: 0 10px;
}

.contact-form-panel .btn {
  width: 100%;
}

.form-feedback-msg {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.form-feedback-msg.success {
  color: #2cc678;
}
.form-feedback-msg.error {
  color: var(--main-accent);
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}
@media (max-width: 580px) {
  .contact-form-panel {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   13. Footer & Sitemap (Recond Inspired)
   ========================================================================== */
.footer-wrap {
  background-color: #0b0b0e;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-light);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 70px;
  margin-bottom: 60px;
}

.footer-brand-column .footer-logo {
  font-family: var(--font-headers);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.footer-brand-column p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 350px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--text-white);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-links a:hover {
  background-color: var(--main-accent);
  border-color: transparent;
  box-shadow: var(--shadow-accent);
}

.footer-links-column h3,
.footer-contact-column h3 {
  font-family: var(--font-headers);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-white);
  margin-bottom: 25px;
}

.footer-links-column ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.footer-links-column ul a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links-column ul a:hover {
  color: var(--main-accent);
}

.footer-contact-column h3 {
  font-family: var(--font-headers);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-white);
  margin-bottom: 25px;
}

.footer-cta-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-white);
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.footer-contact-details li i {
  color: var(--main-accent);
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.footer-contact-details li a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-contact-details li a:hover {
  color: var(--main-accent);
}

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

.footer-bottom-copyright p {
  font-size: 13px;
  color: var(--text-dim);
}

.scroll-top-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.scroll-top-btn:hover {
  border-color: var(--main-accent);
  color: var(--main-accent);
  background-color: rgba(220, 39, 81, 0.05);
}

@media (max-width: 991px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   Premium Motion Animations & Heading Consistency Style Rules
   ========================================================================== */

/* SVG Typography Scale and Sizing Rules are handled globally in the layout section */

/* Slide 02 Background Overlay and Particles */
.hero-bg-slide[style*="hero1.jpg"] .slide-bg-overlay-decoration::after,
.hero-bg-slide[style*="hero3.jpg"] .slide-bg-overlay-decoration::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 35%, rgba(10, 10, 15, 0.7) 100%);
  pointer-events: none;
  z-index: 2;
}

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

.bg-geo-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.bg-geo-line.line-1 {
  top: 25%;
  left: -10%;
  width: 120%;
  height: 1px;
  transform: rotate(-15deg);
  animation: geoLineDrift1 14s ease-in-out infinite alternate;
}

.bg-geo-line.line-2 {
  bottom: 35%;
  left: -10%;
  width: 120%;
  height: 1px;
  transform: rotate(8deg);
  animation: geoLineDrift2 18s ease-in-out infinite alternate;
}

@keyframes geoLineDrift1 {
  0% { transform: rotate(-15deg) translateY(0); }
  100% { transform: rotate(-15deg) translateY(25px); }
}

@keyframes geoLineDrift2 {
  0% { transform: rotate(8deg) translateY(0); }
  100% { transform: rotate(8deg) translateY(-35px); }
}

.bg-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(220, 39, 81, 0.12);
  filter: blur(3px);
  pointer-events: none;
}

.bg-particle.part-1 {
  width: 8px;
  height: 8px;
  top: 30%;
  left: 45%;
  animation: particleFloat1 9s ease-in-out infinite;
}

.bg-particle.part-2 {
  width: 12px;
  height: 12px;
  top: 65%;
  left: 70%;
  background: rgba(255, 255, 255, 0.06);
  animation: particleFloat2 13s ease-in-out infinite;
}

.bg-particle.part-3 {
  width: 6px;
  height: 6px;
  top: 85%;
  left: 25%;
  animation: particleFloat3 11s ease-in-out infinite;
}

@keyframes particleFloat1 {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.3; }
  50% { transform: translate3d(25px, -35px, 0); opacity: 0.8; }
}

@keyframes particleFloat2 {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.2; }
  50% { transform: translate3d(-35px, -25px, 0); opacity: 0.7; }
}

@keyframes particleFloat3 {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.4; }
  50% { transform: translate3d(15px, 30px, 0); opacity: 0.9; }
}

/* Slide 02 Design Spec Board Interactive Animations */
.blueprint-grid {
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(16px, 16px, 0); }
}

.bp-circle {
  border-style: dashed !important;
}

.bp-circle-lg {
  animation: rotateCW 28s linear infinite;
}

.bp-circle-md {
  animation: rotateCCW 22s linear infinite;
}

.bp-circle-sm {
  animation: rotateCW 16s linear infinite;
}

@keyframes rotateCW {
  0% { transform: translate3d(-50%, -50%, 0) rotate(0deg); }
  100% { transform: translate3d(-50%, -50%, 0) rotate(360deg); }
}

@keyframes rotateCCW {
  0% { transform: translate3d(-50%, -50%, 0) rotate(0deg); }
  100% { transform: translate3d(-50%, -50%, 0) rotate(-360deg); }
}

.bp-line-h, .bp-line-v {
  animation: guideFade 6s ease-in-out infinite;
}

.bp-line-d1, .bp-line-d2 {
  animation: guideFade 6s ease-in-out infinite;
  animation-delay: 3s;
}

@keyframes guideFade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.9; }
}

.swatch {
  animation: swatchPulse 3s ease-in-out infinite;
  transform-origin: center;
}

.spec-swatches .swatch-item:nth-child(2) .swatch {
  animation-delay: 1s;
}

.spec-swatches .swatch-item:nth-child(3) .swatch {
  animation-delay: 2s;
}

@keyframes swatchPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.bp-cursor {
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 14px;
  color: var(--main-accent);
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 0 4px rgba(220, 39, 81, 0.6));
  animation: cursorMovement 6s ease-in-out infinite;
}

@keyframes cursorMovement {
  0%, 100% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(85px, 15px, 0); }
  40% { transform: translate3d(130px, 55px, 0); }
  60% { transform: translate3d(60px, 85px, 0); }
  80% { transform: translate3d(15px, 35px, 0); }
}

/* Slide 03 Background Storyboard and Streaks */
.bg-scrolling-storyboard {
  position: absolute;
  bottom: 15%;
  left: 0;
  width: 100%;
  overflow: hidden;
  height: 65px;
  display: flex;
  align-items: center;
  border-top: 1px dashed rgba(255, 255, 255, 0.03);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.03);
}

.bg-storyboard-track {
  display: flex;
  width: max-content;
  animation: storyboardScroll 24s linear infinite;
  opacity: 0.06;
}

.bg-storyboard-track i {
  font-size: 36px;
  color: var(--text-white);
  width: 160px;
  text-align: center;
  display: inline-block;
}

@keyframes storyboardScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.bg-motion-streak {
  position: absolute;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(220, 39, 81, 0.16), transparent);
  width: 320px;
  pointer-events: none;
}

.bg-motion-streak.streak-1 {
  top: 35%;
  left: -330px;
  animation: streakMove1 9s linear infinite;
}

.bg-motion-streak.streak-2 {
  top: 55%;
  left: -330px;
  animation: streakMove2 13s linear infinite;
  animation-delay: 2s;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.bg-motion-streak.streak-3 {
  top: 75%;
  left: -330px;
  animation: streakMove3 11s linear infinite;
  animation-delay: 4.5s;
}

@keyframes streakMove1 {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(100vw + 350px), 0, 0); }
}

@keyframes streakMove2 {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(100vw + 350px), 0, 0); }
}

@keyframes streakMove3 {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(100vw + 350px), 0, 0); }
}

/* Slide 03 Workspace Board Interactive Animations */
.hero-visual-slide[data-slide="3"].active .keyframe {
  animation: keyframePulse 2s ease-in-out infinite;
}

.hero-visual-slide[data-slide="3"].active .keyframe.animate-glow {
  animation: keyframeGlowPulse 2s ease-in-out infinite;
}

@keyframes keyframePulse {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
    background: var(--text-muted);
  }
  50% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.35);
    background: var(--text-white);
  }
}

@keyframes keyframeGlowPulse {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
    box-shadow: 0 0 4px var(--main-accent);
  }
  50% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.45);
    box-shadow: 0 0 12px var(--main-accent);
  }
}

.sketch-svg circle[fill="var(--main-accent)"],
.sketch-svg circle[fill="var(--text-white)"] {
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 2.4s ease-in-out infinite;
}

.sketch-svg circle:nth-of-type(3) { animation-delay: 0s; }
.sketch-svg circle:nth-of-type(4) { animation-delay: 0.4s; }
.sketch-svg circle:nth-of-type(5) { animation-delay: 0.8s; }
.sketch-svg circle:nth-of-type(6) { animation-delay: 1.2s; }
.sketch-svg circle:nth-of-type(7) { animation-delay: 1.6s; }

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

.hero-visual-slide[data-slide="3"].active .timeline-controls .fa-play {
  animation: playBlink 1s ease-in-out infinite;
}

@keyframes playBlink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.hero-visual-slide[data-slide="3"].active .timeline-ruler span {
  animation: frameMarkerPulse 3s ease-in-out infinite;
}

.hero-visual-slide[data-slide="3"].active .timeline-ruler span:nth-child(1) { animation-delay: 0s; }
.hero-visual-slide[data-slide="3"].active .timeline-ruler span:nth-child(2) { animation-delay: 0.6s; }
.hero-visual-slide[data-slide="3"].active .timeline-ruler span:nth-child(3) { animation-delay: 1.2s; }
.hero-visual-slide[data-slide="3"].active .timeline-ruler span:nth-child(4) { animation-delay: 1.8s; }
.hero-visual-slide[data-slide="3"].active .timeline-ruler span:nth-child(5) { animation-delay: 2.4s; }

@keyframes frameMarkerPulse {
  0%, 100% { color: var(--text-dim); }
  50% { color: var(--main-accent); text-shadow: 0 0 4px var(--main-accent); }
}

.hero-visual-slide[data-slide="3"].active .storyboard-frame.active {
  animation: activeFramePulse 2s ease-in-out infinite;
}

@keyframes activeFramePulse {
  0%, 100% {
    border-color: var(--main-accent);
    background: rgba(220, 39, 81, 0.05);
    box-shadow: 0 0 4px rgba(220, 39, 81, 0.1);
  }
  50% {
    border-color: rgba(220, 39, 81, 0.85);
    background: rgba(220, 39, 81, 0.12);
    box-shadow: 0 0 16px rgba(220, 39, 81, 0.35);
  }
}
