/* ==========================================================================
   CLIPZAA DESIGN SYSTEM & VARIABLES (VERSION 2 - ALI FINAL)
   ========================================================================== */
:root {
  --font-cursive: 'Rock Salt', cursive;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  /* Transition Easing (Apple & Stripe Inspired) */
  --ease-out-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s var(--ease-out-apple);
  --transition-slow: 0.8s var(--ease-out-apple);
  
  /* Brand Constants */
  --gradient-primary: linear-gradient(135deg, #FF6A2E, #8E3A74, #6B4DF6);
  --accent-orange: #FF6A2E;
  --accent-rose: #8E3A74;
  --accent-plum: #6B4DF6;

  /* Theme: Normal White (Default) */
  --bg-page: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f4f0e6;
  --text-primary: #131019;
  --text-muted: #5a5366;
  --border-color: #e6dfd0;
  
  --accent-primary: #6B4DF6;
  --accent-secondary: #FF6A2E;
  
  --logo-title-color: #131019;
  --logo-subtitle-color: #2d2738;
  --shadow-color: rgba(107, 77, 246, 0.08);
  
  --btn-secondary-bg: transparent;
  --btn-secondary-border: #131019;
  --btn-secondary-text: #131019;
  --btn-secondary-hover: #f4f0e6;
  
  --canvas-particle-color: transparent;
  --canvas-line-color: transparent;
}

/* Hide animations & background elements */
#canvas-container,
.film-grain,
.hero-bloom,
.bg-trail {
  display: none !important;
  animation: none !important;
  background: none !important;
}

/* Theme: Light Mode (Matched to Normal White) */
body.light-mode {
  --bg-page: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f4f0e6;
  --text-primary: #131019;
  --text-muted: #5a5366;
  --border-color: #e6dfd0;
  
  --accent-primary: #6B4DF6;
  --accent-secondary: #FF6A2E;
  
  --logo-title-color: #131019;
  --logo-subtitle-color: #2d2738;
  --shadow-color: rgba(107, 77, 246, 0.08);
  
  --btn-secondary-bg: transparent;
  --btn-secondary-border: #131019;
  --btn-secondary-text: #131019;
  --btn-secondary-hover: #f4f0e6;
  
  --canvas-particle-color: transparent;
  --canvas-line-color: transparent;
}

/* ==========================================================================
   RESET & SYSTEM BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  transition: background-color var(--transition-normal);
}

body {
  background-color: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  transition: color var(--transition-normal);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--logo-title-color);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  transition: color var(--transition-normal);
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-family: var(--font-heading);
  font-weight: 400;
  transition: color var(--transition-normal);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-normal), opacity var(--transition-normal);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   UTILITY CLASSES & EFFECTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.italic {
  font-style: italic;
  color: var(--accent-secondary);
}

.label-caps {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-label {
  display: inline-block;
  color: #10B981 !important;
  margin-bottom: 1rem;
  font-family: var(--font-cursive) !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

.section-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.section-title.text-left {
  text-align: left;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 2rem;
}

@media (max-width: 768px) {
  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   DECORATIVE SPEED TRAILS & BG FILMS
   ========================================================================== */
.bg-trail {
  position: absolute;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(255, 123, 57, 0.07), rgba(221, 72, 83, 0.05), rgba(92, 20, 78, 0.04));
  pointer-events: none;
  z-index: -1;
  animation: horizontal-float 8s ease-in-out infinite alternate;
}

body.light-mode .bg-trail {
  background: linear-gradient(90deg, rgba(255, 123, 57, 0.05), rgba(221, 72, 83, 0.04), rgba(92, 20, 78, 0.03));
}

@keyframes horizontal-float {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(25px, 0, 0); }
}

.film-grain {
  position: fixed;
  top: -50%; left: -50%; right: -50%; bottom: -50%;
  width: 200%; height: 200%;
  background: transparent url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E') repeat;
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
  animation: grain-animation 8s steps(10) infinite;
}

@keyframes grain-animation {
  0%, 100% { transform:translate(0, 0); }
  10% { transform:translate(-5%, -10%); }
  20% { transform:translate(-15%, 5%); }
  30% { transform:translate(7%, -25%); }
  40% { transform:translate(-5%, 25%); }
  50% { transform:translate(-15%, 10%); }
  60% { transform:translate(15%, 0%); }
  70% { transform:translate(0%, 15%); }
  80% { transform:translate(3%, 35%); }
  90% { transform:translate(-10%, 10%); }
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor-dot {
  position: absolute;
  width: 6px; height: 6px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10001;
}

.cursor-ring {
  position: absolute;
  width: 32px; height: 32px;
  border: 1px solid var(--accent-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 0.25s var(--ease-out-apple), height 0.25s var(--ease-out-apple), border-color 0.25s var(--ease-out-apple);
  z-index: 10000;
}

body.cursor-active .cursor-ring {
  width: 50px; height: 50px;
  border-color: var(--accent-secondary);
  background-color: rgba(92, 20, 78, 0.03);
}

@media (max-width: 1024px) {
  .custom-cursor { display: none; }
}

#canvas-container {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--bg-page);
  transition: background-color var(--transition-normal);
}

#bg-canvas {
  width: 100%; height: 100%;
}

.hero-bloom {
  position: absolute;
  width: 60vw; height: 60vw;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 123, 57, 0.08) 0%, rgba(92, 20, 78, 0.05) 40%, rgba(103, 93, 150, 0) 70%);
  pointer-events: none;
  z-index: -2;
  filter: blur(100px);
  transition: opacity var(--transition-normal);
}

body.light-mode .hero-bloom {
  background: radial-gradient(circle, rgba(255, 123, 57, 0.05) 0%, rgba(92, 20, 78, 0.03) 40%, rgba(103, 93, 150, 0) 75%);
}

/* ==========================================================================
   BUTTONS (MOCKUP PILL STYLE)
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.4rem;
  border-radius: 99px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background-color: var(--accent-primary);
  color: #ffffff;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: transform 0.3s var(--ease-out-apple), background-color var(--transition-normal), box-shadow 0.3s var(--ease-out-apple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow-color);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.4rem;
  border-radius: 99px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--btn-secondary-bg);
  border: 2px solid var(--btn-secondary-border);
  color: var(--btn-secondary-text);
  cursor: pointer;
  outline: none;
  transition: transform 0.3s var(--ease-out-apple), background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background-color: var(--btn-secondary-hover);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* ==========================================================================
   GLOBAL NAV & UTILITY BAR
   ========================================================================== */
.utility-bar {
  background: #f5f6f8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
  font-size: 0.8rem;
  color: #131019;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

body.light-mode .utility-bar {
  background: #f5f6f8;
}

.utility-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.utility-sep {
  opacity: 0.3;
}

.utility-link {
  color: #131019;
  font-weight: 500;
  transition: color var(--transition-normal);
}

.utility-link:hover {
  color: var(--accent-primary);
}

@media (max-width: 768px) {
  .utility-wrapper {
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
  }
  .utility-left {
    flex-wrap: wrap;
    justify-content: center;
  }
}


.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 48px;
}

.logo-svg {
  height: 100%;
  width: auto;
}

.logo-text-title {
  fill: var(--logo-title-color);
  transition: fill var(--transition-normal);
}

.logo-text-subtitle {
  fill: var(--logo-subtitle-color);
  transition: fill var(--transition-normal);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--logo-title-color);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color var(--transition-normal), color var(--transition-normal), transform 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--accent-primary);
  color: var(--accent-secondary);
  transform: scale(1.05);
}

.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }

body.light-mode .theme-toggle .sun-icon { display: block; }
body.light-mode .theme-toggle .moon-icon { display: none; }

/* mega menu drop-down */
.nav-item-dropdown {
  position: relative;
}

.dropdown-chevron {
  transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 720px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  z-index: 9999 !important;
}

body.light-mode .mega-menu {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(92, 20, 78, 0.08);
}

.nav-item-dropdown:hover .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(5px);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.mega-menu-item:hover {
  background-color: rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

body.light-mode .mega-menu-item:hover {
  background-color: rgba(92, 20, 78, 0.03);
}

.mega-menu-icon {
  font-size: 1.15rem;
  color: var(--accent-secondary);
  background: rgba(255, 123, 57, 0.08);
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.mega-menu-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mega-menu-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--logo-title-color);
}

.mega-menu-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Resources sub dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  transform: translateY(15px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 180px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  z-index: 9999 !important;
}

body.light-mode .dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(92, 20, 78, 0.08);
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(5px);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.04);
  color: var(--logo-title-color);
}

body.light-mode .dropdown-item:hover {
  background-color: rgba(92, 20, 78, 0.03);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%; height: 2px;
  background-color: var(--logo-title-color);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 980px) {
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 8rem 2.5rem 3rem 2.5rem;
    gap: 2.2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    transition: right var(--transition-normal);
    z-index: 99;
  }
  .nav-menu.active { right: 0; }
  .mobile-nav-toggle { display: flex; }
  .mobile-nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-cta { display: none; }
  .mega-menu, .dropdown-menu { display: none; }
  
  .nav-item-dropdown.mobile-open .mega-menu,
  .nav-item-dropdown.mobile-open .dropdown-menu {
    display: block;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 1rem 0 0 1rem;
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-item-dropdown.mobile-open .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==========================================================================
   HOMEPAGE STACKED SECTIONS
   ========================================================================== */

/* 1. HERO SECTION */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 10rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-wrapper {
  width: 100%;
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
  width: 100%;
}

@media (max-width: 980px) {
  .hero-grid-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
}

.hero-headline {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.8rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 3rem;
  }
}

.hero-subline {
  font-size: 1.15rem;
  margin-bottom: 3rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 980px) {
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
}

.hero-rating-proof {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .hero-rating-proof {
    justify-content: center;
  }
}

.hero-rating-proof .stars {
  color: #ffb800;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
}

.hero-visual {
  width: 100%;
}

.video-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 0.6rem;
  box-shadow: 0 15px 35px var(--shadow-color);
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.video-preview-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: var(--gradient-primary);
  z-index: -1;
  border-radius: 18px;
  opacity: 0.15;
  transition: opacity var(--transition-normal);
}

.video-preview-card:hover::before {
  opacity: 0.75;
}

.video-preview-card:hover {
  transform: translateY(-8px) scale(1.025);
  border-color: transparent;
  box-shadow: 0 25px 50px var(--shadow-color);
}

.visual-deck-screen {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #000000;
}

.hero-bg-video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform var(--transition-slow), opacity var(--transition-normal);
}

.video-preview-card:hover .hero-bg-video {
  transform: scale(1.03);
  opacity: 0.85;
}

.video-card-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-preview-card:hover .video-card-overlay {
  opacity: 1;
}

.play-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: #ffffff;
}

.play-icon-svg {
  width: 54px; height: 54px;
  fill: #ffffff;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  transition: transform var(--transition-normal);
}

.video-preview-card:hover .play-icon-svg {
  transform: scale(1.1);
}

/* Scroll Cue Component */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.scroll-cue-line {
  width: 1px; height: 48px;
  background-color: var(--border-color);
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 20px;
  background: var(--gradient-primary);
  animation: scroll-line-anim 2s infinite ease-in-out;
}

@keyframes scroll-line-anim {
  0% { transform: translateY(-20px); }
  60% { transform: translateY(48px); }
  100% { transform: translateY(48px); }
}

.scroll-cue-txt {
  font-size: 0.65rem;
  opacity: 0.8;
}

/* 2. CLIENT LOGO STRIP */
.logo-strip-section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(19, 16, 34, 0.2);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

body.light-mode .logo-strip-section {
  background-color: rgba(0, 0, 0, 0.01);
}

.logo-strip-wrapper {
  text-align: center;
}

.logo-strip-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  opacity: 0.7;
}

.logo-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.2rem;
}

.logo-item {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  opacity: 0.45;
  cursor: pointer;
  transition: opacity var(--transition-normal), color var(--transition-normal), text-shadow var(--transition-normal);
}

.logo-item:hover {
  opacity: 0.95;
  color: var(--logo-title-color);
  text-shadow: 0 0 10px var(--logo-glow);
}

/* 3. SERVICES GRID — ALL 8 */
.services-section {
  position: relative;
  padding: 8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.services-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
}

@media (max-width: 1024px) {
  .services-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid-8 {
    grid-template-columns: 1fr;
  }
}

.service-card-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
  box-shadow: 0 8px 25px var(--shadow-color);
  display: flex;
  flex-direction: column;
}

.service-card-v2:hover {
  transform: translateY(-8px) scale(1.025);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 45px var(--shadow-color);
}

.service-icon-v2 {
  font-size: 1.3rem;
  color: var(--accent-primary);
  margin-bottom: 1.8rem;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(92, 20, 78, 0.05);
  border-radius: 8px;
  transition: background-color var(--transition-normal), transform 0.3s ease;
}

.service-card-v2:hover .service-icon-v2 {
  transform: scale(1.05);
  background-color: rgba(92, 20, 78, 0.15);
}

.service-title-v2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--logo-title-color);
}

.service-desc-v2 {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.service-link-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.service-card-v2:hover .service-link-text {
  color: var(--accent-primary);
}

/* 4. FEATURED WORK GRID */
.portfolio-section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

@media (max-width: 980px) {
  .case-study-grid {
    grid-template-columns: 1fr;
  }
}

.case-study-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.case-study-card:hover {
  transform: translateY(-8px) scale(1.025);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 45px var(--shadow-color);
}

.case-study-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background-color: #000;
}

.case-study-video-preview {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity var(--transition-normal), transform var(--transition-slow);
}

.case-study-card:hover .case-study-video-preview {
  opacity: 0.8;
  transform: scale(1.03);
}

.case-study-badge {
  display: none;
}

.play-hover-indicator {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 54px; height: 54px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out-apple), transform 0.3s var(--ease-out-apple);
  z-index: 2;
}

.case-study-card:hover .play-hover-indicator {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.play-hover-indicator svg {
  width: 18px; height: 18px;
  fill: #000000;
  margin-left: 2px;
}

.case-study-meta {
  padding: 2rem;
}

.case-study-tags {
  color: var(--accent-secondary);
  font-size: 0.65rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.case-study-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.case-study-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 5. WHY CLIPZAA — VALUE PROPS */
.value-props-section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.value-props-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 980px) {
  .value-props-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.team-visual-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px var(--shadow-color);
  aspect-ratio: 1.15 / 1;
}

.team-visual-video {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 14px;
  opacity: 0.85;
}

.team-visual-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(19, 16, 34, 0) 40%, rgba(19, 16, 34, 0.4) 100%);
  pointer-events: none;
}

.value-props-intro {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.value-bullets {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.value-bullet {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.value-bullet-icon {
  font-size: 1.4rem;
  background: rgba(255, 123, 57, 0.08);
  color: var(--accent-secondary);
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.value-bullet-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.value-bullet-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* 6. PROCESS TIMELINE */
.process-section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.process-timeline {
  position: relative;
  margin-top: 6rem;
}

.timeline-line {
  position: absolute;
  top: 1.5rem; left: 0;
  width: 100%; height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.timeline-progress {
  height: 100%; width: 0%;
  background: var(--gradient-primary);
  transition: width 1.2s ease;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .timeline-line { display: none; }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.process-step {
  text-align: left;
}

.step-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem; height: 3.2rem;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.process-step.active .step-badge {
  border-color: var(--accent-primary);
  transform: scale(1.1);
}

.step-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.step-desc {
  font-size: 0.95rem;
}

/* 7. RESULTS GRID */
.results-section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.stats-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .stats-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .stats-grid-5 {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

.stat-box-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem 1.8rem;
  border-radius: 12px;
  text-align: center;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.stat-box-v2:hover {
  transform: translateY(-6px) scale(1.025);
  border-color: var(--accent-primary);
  box-shadow: 0 15px 35px var(--shadow-color);
}

.stat-number-v2 {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--accent-secondary);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.stat-label-v2 {
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* 8. TESTIMONIALS */
.testimonials-section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

@media (max-width: 980px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  padding: 3rem 2.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 15px 35px var(--shadow-color);
}

.star-rating {
  color: #ffb800;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--logo-title-color);
}

.author-role {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* 9. THE CLIPZAA FAMILY — SISTER BRANDS */
.family-links-section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .family-grid {
    grid-template-columns: 1fr;
  }
}

.family-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.family-card:hover {
  transform: translateY(-6px) scale(1.025);
  border-color: var(--accent-primary);
  box-shadow: 0 15px 35px var(--shadow-color);
}

.family-tag {
  color: var(--accent-primary);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.family-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.family-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.family-btn {
  align-self: flex-start;
  padding: 0.8rem 2.2rem;
  font-size: 0.8rem;
}

/* 10. PLANS / PRICING TEASER */
.pricing-teaser-section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.025);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 45px var(--shadow-color);
}

.pricing-card.popular {
  border: 2px solid var(--accent-primary);
  background: linear-gradient(180deg, rgba(27, 23, 48, 0.4), rgba(19, 16, 34, 0.9));
}

.popular-badge {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: var(--gradient-primary);
  color: #fff;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  font-size: 0.65rem;
  font-weight: 800;
}

.plan-name {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.plan-price {
  margin-bottom: 1.8rem;
  display: flex;
  align-items: baseline;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--logo-title-color);
  align-self: flex-start;
  margin-top: 0.2rem;
}

.price-amount {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--logo-title-color);
  line-height: 1;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.8rem;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.95rem;
  color: var(--text-primary);
  position: relative;
  padding-left: 1.8rem;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent-secondary);
  font-weight: 700;
}

.plan-btn {
  width: 100%;
}

/* 11. BLOG GRID */
.blog-section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-6px) scale(1.025);
  border-color: var(--accent-primary);
  box-shadow: 0 15px 35px var(--shadow-color);
}

.blog-card-thumb {
  aspect-ratio: 1.8 / 1;
  position: relative;
  overflow: hidden;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card-thumb {
  opacity: 0.95;
}

.blog-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(19, 16, 34, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.25rem 0.7rem;
  border-radius: 99px;
  font-size: 0.6rem;
  font-weight: 800;
}

.blog-card-meta {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
}

.blog-card-readtime {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 12. FAQ ACCORDION */
.faq-section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.faq-item.active {
  border-color: var(--accent-primary);
  background-color: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  padding: 1.8rem 2.2rem;
  background: none;
  border: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: var(--logo-title-color);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  transition: color var(--transition-normal);
}

.faq-question:hover {
  color: var(--accent-secondary);
}

.faq-icon {
  width: 18px; height: 18px;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out-apple), color var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease-out-apple);
  overflow: hidden;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  min-height: 0;
  padding: 0 2.2rem 1.8rem 2.2rem;
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* 13. FINAL CTA BAND */
.final-cta-section {
  padding: 8rem 0;
}

.final-cta-box {
  background: linear-gradient(135deg, #131022, #0d0b16);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 6rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px var(--shadow-color);
}

body.light-mode .final-cta-box {
  background: linear-gradient(135deg, #ffffff, #fafbfc);
  box-shadow: 0 20px 45px var(--shadow-color);
}

.final-cta-bloom {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(221, 72, 83, 0.08) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  filter: blur(50px);
}

.final-cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;

  color: #ffffff !important;}

@media (max-width: 640px) {
  .final-cta-title {
    font-size: 2.2rem;
  }
}

.final-cta-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 480px) {
  .final-cta-actions {
    flex-direction: column;
    gap: 1rem;
  }
}

/* 14. MEGA FOOTER (GLOBAL) */
.footer-stripe {
  border-top: 1px solid var(--border-color);
  padding: 6rem 0 3rem 0;
  background-color: var(--bg-card);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.footer-grid-5 {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 5rem;
}

@media (max-width: 1024px) {
  .footer-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid-5 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .footer-grid-5 {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}

.footer-logo {
  height: 54px;
}

.footer-tagline {
  font-size: 0.92rem;
  max-width: 320px;
  line-height: 1.5;
}

.footer-email a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--logo-title-color);
}

.footer-email a:hover {
  color: #fff;
}

.footer-serving {
  font-size: 0.65rem;
  color: var(--accent-primary);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  display: inline-block;
  font-weight: 700;
}

.footer-title {
  color: #10B981;
  font-size: 0.75rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
}

.footer-link:hover {
  color: #fff;
}

.footer-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-theme-info {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.theme-status-lbl {
  font-weight: 600;
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 2.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.social-btn {
  color: var(--text-muted);
  transition: color var(--transition-normal), transform 0.2s ease;
}

.social-btn:hover {
  color: var(--accent-secondary);
  transform: translateY(-2px);
}

/* ==========================================================================
   SCROLL REVEAL (OBSERVER) & ENTRY
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.active > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0.08s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.16s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.32s; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 0.40s; }

/* ==========================================================================
   OUR TEAM GRID (3D OVERLAPPING STYLE)
   ========================================================================== */
.team-section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.team-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (max-width: 980px) {
  .team-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 540px) {
  .team-grid-4 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.team-member-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.team-member-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  margin-bottom: 1.5rem;
}

.team-member-bg-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90%;
  border-radius: 12px;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.team-member-card:hover .team-member-bg-box {
  transform: scale(1.02);
  box-shadow: 0 15px 35px var(--shadow-color);
}

.team-member-img {
  position: relative;
  z-index: 2;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transform-origin: bottom center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.team-member-card:hover .team-member-img {
  transform: translateY(-8px) scale(1.05);
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.35));
}

.team-member-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--logo-title-color);
  margin-bottom: 0.4rem;
  transition: color 0.3s ease;
}

.team-member-card:hover .team-member-name {
  color: var(--accent-secondary);
}

.team-member-role {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Logo image styling */
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.logo-link:hover .logo-img {
  transform: scale(1.03);
}
.footer-logo {
  height: 54px;
}
/* Logo visibility toggling based on theme */
.logo-light-mode {
  display: block !important;
}
.logo-dark-mode {
  display: none !important;
}
body.light-mode .logo-light-mode {
  display: block !important;
}
body.light-mode .logo-dark-mode {
  display: none !important;
}

/* ==========================================================================
   VIDEO MODAL POPUP (CINEMATIC THEATER)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(4, 2, 8, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 90%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.5s var(--ease-out-apple);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-video {
  width: 100%; height: 100%;
  object-fit: contain;
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  transition: background-color var(--transition-normal), transform 0.2s ease;
}

.modal-close-btn:hover {
  background-color: var(--accent-primary);
  transform: scale(1.05);
}

.modal-close-btn:active {
  transform: scale(0.95);
}

/* --- REFERENCE HERO & HEADER CSS --- */

.bg-dark {
  background-color: #000000 !important;
  color: #f5f2fc !important;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: #f5f2fc !important;
}
.bg-dark p {
  color: rgba(250, 247, 242, 0.8) !important;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}
.bg-dark .btn-secondary {
  color: #f5f2fc !important;
  border-color: rgba(250, 247, 242, 0.25) !important;
}
.bg-dark .btn-secondary:hover {
  border-color: #10B981 !important;
  background-color: #10B981 !important;
  color: #ffffff !important;
}
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.hero-section {
  padding: 10rem 0 6rem 0 !important;
  position: relative;
  overflow: hidden;
  background-color: #000000 !important;
}

.hero-section h1 {
  font-size: clamp(2.5rem, 5.5vw + 1rem, 5.2rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: #ffffff !important;
  text-transform: uppercase;
}

.hero-section p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75) !important;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Concentric Orbital Rings */
.orbital-ring {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: border-color 0.3s ease;
}

.orbital-ring:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

.ring-outer {
  width: 500px;
  height: 500px;
  animation: rotate-clockwise 45s linear infinite !important;
  display: block !important;
}

.ring-mid {
  width: 410px;
  height: 410px;
  animation: rotate-counter 30s linear infinite !important;
  display: block !important;
}

.ring-inner {
  width: 320px;
  height: 320px;
  animation: rotate-clockwise 20s linear infinite !important;
  display: block !important;
}

.hero-circle-mask {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 5;
  border: 4px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

@keyframes rotate-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-counter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}


/* --- New Clipzaa Service Card --- */
.card.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card .badge {
  font-size: 0.65rem;
  background-color: rgba(107, 77, 246, 0.1);
  color: var(--accent-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.service-card h3 {
  margin-bottom: 0.8rem;
  font-style: italic;
  font-weight: 900;
  font-size: 1.65rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.service-card .btn-secondary {
  text-decoration: none !important;
  width: fit-content;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border-radius: 99px;
  border: 2px solid var(--border-color);
  background: transparent;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.service-card:hover {
  background-color: #131019;
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-card:hover h3, 
.service-card:hover p {
  color: #ffffff;
}

.service-card:hover .badge {
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
}

.service-card:hover .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.service-card:hover .btn-secondary:hover {
  background: var(--gradient-primary);
  border-color: transparent;
}

.hover-scale {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .hover-scale {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .card.service-card {
    background-color: #131019;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }
  .card.service-card h3, 
  .card.service-card p {
    color: #ffffff;
  }
  .card.service-card .badge {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
  }
  .card.service-card .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
  }
  .card.service-card .hover-scale {
    transform: scale(1.05);
  }
}

.font-signature {
  font-family: var(--font-cursive);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
}

/* --- Page Transitions --- */
.page-transition-leave {
  animation: slideOutLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-transition-enter {
  animation: slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideOutLeft {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100%); opacity: 0; }
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.bg-light-gray { position: relative; border: none !important; }`n.bg-light-gray::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100vw; height: 100%; background-color: #faf8f5; z-index: -1; }
.process-section, .family-links-section, .testimonials-section, .faq-section { border-bottom: none !important; padding-top: 6rem; padding-bottom: 6rem; }

/* --- About Team Section Layout --- */
.about-team-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.about-team-grid-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 980px) { .about-team-grid { grid-template-columns: 1fr; gap: 3rem; } }
@media (max-width: 640px) { .about-team-grid-inner { grid-template-columns: 1fr; gap: 1.5rem; } }


.mega-dark-footer .btn-primary {
  background: #10B981 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}
.mega-dark-footer .btn-primary:hover {
  background: #0ea5e9 !important; /* or slightly darker green */
  transform: translateY(-2px);
}
.mega-dark-footer .btn-secondary {
  background: transparent !important;
  color: #f5f2fc !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
}
.mega-dark-footer .btn-secondary:hover {
  border-color: #10B981 !important;
  background-color: #10B981 !important;
}



.header-nav {
  position: fixed;
  top: 38px;
  left: 0;
  width: 100%;
  right: 0;
  margin: 0 auto;
  max-width: 100%;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.8rem 5%;
  border-bottom: 1px solid transparent;
  background-color: #ffffff;
}

.header-nav.scrolled {
  top: 15px;
  width: 95%;
  max-width: 1100px;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px var(--shadow-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Force dark text for white header */
.header-nav .nav-link,
.header-nav .mega-column h4,
.header-nav .dropdown-item,
.header-nav .mega-menu-desc,
.header-nav .dropdown-chevron {
  color: #131019 !important;
}
.header-nav .nav-link:hover {
  color: #000000 !important;
}
.header-nav .logo-light-mode {
  display: block !important;
}
.header-nav .logo-dark-mode {
  display: none !important;
}
.header-nav .theme-toggle svg {
  stroke: #131019 !important;
}
