:root {
  --background: oklch(0.9702 0 0);
  --foreground: oklch(0.1776 0 0);
  --card: oklch(1.0000 0 0);
  --card-foreground: oklch(0.1776 0 0);
  --popover: oklch(0.9702 0 0);
  --popover-foreground: oklch(0.1776 0 0);
  --primary: oklch(0.1776 0 0);
  --primary-foreground: oklch(0.9702 0 0);
  --secondary: oklch(0.9219 0 0);
  --secondary-foreground: oklch(0.1776 0 0);
  --muted: oklch(0.9219 0 0);
  --muted-foreground: oklch(0.4386 0 0);
  --accent: oklch(0.9219 0 0);
  --accent-foreground: oklch(0.1776 0 0);
  --destructive: oklch(0.6368 0.2078 25.3313);
  --destructive-foreground: oklch(0.9702 0 0);
  --border: oklch(0.1776 0 0);
  --input: oklch(0.9219 0 0);
  --ring: oklch(0.1776 0 0);
  --chart-1: oklch(0.1776 0 0);
  --chart-2: oklch(0.3211 0 0);
  --chart-3: oklch(0.4386 0 0);
  --chart-4: oklch(0.5795 0 0);
  --chart-5: oklch(0.7155 0 0);
  --sidebar: oklch(1.0000 0 0);
  --sidebar-foreground: oklch(0.1776 0 0);
  --sidebar-primary: oklch(0.1776 0 0);
  --sidebar-primary-foreground: oklch(0.9702 0 0);
  --sidebar-accent: oklch(0.9219 0 0);
  --sidebar-accent-foreground: oklch(0.1776 0 0);
  --sidebar-border: oklch(0.1776 0 0);
  --sidebar-ring: oklch(0.1776 0 0);
  --font-sans: "Architects Daughter", sans-serif;
  --font-serif: "Architects Daughter", serif;
  --font-mono: "Architects Daughter", monospace;
  --font-body: "Chakra Petch", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 0rem;
  --shadow-x: 0.2rem;
  --shadow-y: 0.2rem;
  --shadow-blur: 0rem;
  --shadow-spread: 0rem;
  --shadow-opacity: 1;
  --shadow-color: #111111;
  --shadow-2xs: 0.2rem 0.2rem 0rem 0rem hsl(0 0% 6.6667% / 0.50);
  --shadow-xs: 0.2rem 0.2rem 0rem 0rem hsl(0 0% 6.6667% / 0.50);
  --shadow-sm: 0.2rem 0.2rem 0rem 0rem hsl(0 0% 6.6667% / 1.00), 0.2rem 1px 2px -1px hsl(0 0% 6.6667% / 1.00);
  --shadow: 0.2rem 0.2rem 0rem 0rem hsl(0 0% 6.6667% / 1.00), 0.2rem 1px 2px -1px hsl(0 0% 6.6667% / 1.00);
  --shadow-md: 0.2rem 0.2rem 0rem 0rem hsl(0 0% 6.6667% / 1.00), 0.2rem 2px 4px -1px hsl(0 0% 6.6667% / 1.00);
  --shadow-lg: 0.2rem 0.2rem 0rem 0rem hsl(0 0% 6.6667% / 1.00), 0.2rem 4px 6px -1px hsl(0 0% 6.6667% / 1.00);
  --shadow-xl: 0.2rem 0.2rem 0rem 0rem hsl(0 0% 6.6667% / 1.00), 0.2rem 8px 10px -1px hsl(0 0% 6.6667% / 1.00);
  --shadow-2xl: 0.2rem 0.2rem 0rem 0rem hsl(0 0% 6.6667% / 2.50);
  --tracking-normal: 0rem;
  --spacing: 0.25rem;

  /* Green Accents */
  --green-primary: #22c55e;
  --green-light: #86efac;
  --green-dark: #16a34a;
  --green-bg: #f0fdf4;
  --green-shadow: #22c55e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  letter-spacing: var(--tracking-normal);
  padding: 0;
  padding-top: 80px;
}

/* ===================================
   NAVIGATION BAR - Glassy Modern
   =================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 700;
  font-size: 1.25rem;
  transition: opacity 0.2s ease;
}

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

.logo-image {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green-primary);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.25rem;
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--border);
}

.logo-text {
  font-family: var(--font-sans);
}

/* Desktop Menu */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

.navbar-link {
  position: relative;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--foreground);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 6px;
}

.navbar-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--green-primary);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--green-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-link:hover::after {
  width: 80%;
}

/* CTA Button */
.navbar-cta {
  padding: 0.625rem 1.25rem;
  background: var(--green-primary);
  color: black;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 2px solid var(--border);
  box-shadow: 3px 3px 0 var(--border);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.navbar-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--border);
}

.navbar-cta:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--border);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s ease;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.mobile-menu-toggle.active .hamburger {
  background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  max-height: 400px;
  padding: 1.5rem 2rem;
}

.mobile-menu-link,
.mobile-menu-cta {
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-align: center;
}

.mobile-menu-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--green-primary);
}

.mobile-menu-cta {
  background: var(--green-primary);
  color: black;
  font-weight: 600;
  border: 2px solid var(--border);
  box-shadow: 3px 3px 0 var(--border);
  margin-top: 0.5rem;
}

.mobile-menu-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--border);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-menu,
  .navbar-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .navbar-container {
    padding: 0.75rem 1rem;
  }

  body {
    padding-top: 60px;
  }
}

/* Scroll Animation Classes */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Enhanced Button Animations */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

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

/* Floating Animation for Badges */
.badge {
  animation: floatBadge 3s ease-in-out infinite;
}

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

/* Headline Text Gradient Animation */
.vsl-headline span {
  background: linear-gradient(90deg, var(--green-primary), var(--green-light), var(--green-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Card Hover Lift Effect */
.feature-card,
.filter-box,
.faq-item,
.result-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover,
.faq-item:hover {
  transform: translateY(-4px);
}

/* Glowing Border Animation for Important Elements */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.5); }
}

.video-frame--highlight {
  animation: glowPulse 2s ease-in-out infinite;
}

/* Staggered Animation for Lists */
.filter-list li,
.process-item,
.faq-item {
  opacity: 0;
  animation: staggerFadeIn 0.5s ease forwards;
}

.filter-list li:nth-child(1) { animation-delay: 0.1s; }
.filter-list li:nth-child(2) { animation-delay: 0.2s; }
.filter-list li:nth-child(3) { animation-delay: 0.3s; }
.filter-list li:nth-child(4) { animation-delay: 0.4s; }

.visible .filter-list li,
.visible .process-item,
.visible .faq-item {
  opacity: 1;
}

@keyframes staggerFadeIn {
  to { opacity: 1; }
}

/* Smooth Image/Video Hover */
.video-frame video,
.result-image,
.client-avatar {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-frame:hover video,
.result-card:hover .result-image {
  transform: scale(1.02);
}

.client-badge:hover .client-avatar {
  transform: scale(1.1);
}

.scroll-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* VSL Container */
.vsl-container {
  max-width: 900px;
  margin: 0 auto;
}

.vsl-wrapper {
  margin-bottom: 4rem;
}

/* VSL Video */
.vsl-video-container {
  margin-bottom: 3rem;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.video-placeholder:hover {
  transform: translate(-4px, -4px);
  box-shadow: 0.6rem 0.6rem 0rem 0rem var(--shadow-color);
}

.play-button {
  color: var(--foreground);
  transition: transform 0.3s ease;
}

.video-placeholder:hover .play-button {
  transform: scale(1.1);
}

.video-cta {
  font-size: 1.25rem;
  font-weight: bold;
}

/* VSL Content */
.vsl-content {
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--green-primary);
  color: white;
  border: 3px solid var(--border);
  box-shadow: 0.2rem 0.2rem 0rem 0rem var(--shadow-color);
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-transform: uppercase;
  position: relative;
}

.badge::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 12px;
  height: 12px;
  background: var(--green-light);
  border: 2px solid var(--border);
}

.vsl-headline {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.vsl-subheadline {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--muted-foreground);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  line-height: 1.7;
}

.cta-box {
  margin-top: 2rem;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-family: var(--font-body);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: bold;
  text-decoration: none;
  border: 3px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: 0.6rem 0.6rem 0rem 0rem var(--shadow-color);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}

/* Filter Box */
.filter-box {
  margin: 4rem 0;
  padding: 2.5rem;
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: var(--shadow-xl);
}

.filter-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: bold;
}

.filter-cta-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.filter-label {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-list li {
  padding: 0.75rem;
  background: var(--secondary);
  border: 3px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.filter-list li:hover {
  transform: translate(-3px, -3px);
  box-shadow: 0.5rem 0.5rem 0rem 0rem var(--green-shadow);
  border-color: var(--green-primary);
  background: var(--green-bg);
}

.filter-list li::before {
  content: '✓';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  color: var(--green-primary);
  opacity: 0;
  transition: all 0.3s ease;
}

.filter-list li:hover::before {
  opacity: 1;
  left: -10px;
}

.filter-list.not-fit li {
  background: var(--background);
  opacity: 0.7;
}

.filter-list.not-fit li::before {
  content: '✗';
  color: var(--destructive);
}

.filter-list.not-fit li:hover {
  box-shadow: 0.5rem 0.5rem 0rem 0rem var(--destructive);
  border-color: var(--destructive);
}

/* Social Proof Section - Infinite Scroll */
.social-proof-section {
  margin: 3rem 0;
  padding: 2rem 0;
  background: var(--background);
  overflow: hidden;
}

.social-proof-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.social-proof-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}

.clients-scroll-wrapper {
  overflow: hidden;
  padding: 1rem 0;
  position: relative;
  width: 100%;
}

.clients-scroll-wrapper::before,
.clients-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.clients-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--background), transparent);
}

.clients-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--background), transparent);
}

.clients-scroll-container {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.clients-scroll-container:hover {
  animation-play-state: paused;
}

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

.client-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--background);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
  min-width: 260px;
  color: inherit;
  text-decoration: none;
}

.client-badge:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0.3rem 0.3rem 0rem 0rem var(--green-shadow);
  border-color: var(--green-primary);
}

.client-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.client-badge:hover .client-avatar {
  border-color: var(--green-primary);
}

.client-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.client-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-body);
  line-height: 1.2;
}

.client-subs {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-primary);
  font-family: var(--font-body);
  line-height: 1;
}

.client-bio {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: var(--font-body);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .clients-scroll-container {
    animation-duration: 30s;
  }

  .client-badge {
    min-width: 240px;
  }

  .client-avatar {
    width: 44px;
    height: 44px;
  }

  .client-subs {
    font-size: 1.25rem;
  }

  .client-bio {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .social-proof-section {
    margin: 2rem 0;
  }

  .clients-scroll-container {
    animation-duration: 25s;
  }

  .client-badge {
    min-width: 220px;
    padding: 0.6rem 0.75rem;
  }

  .client-avatar {
    width: 40px;
    height: 40px;
  }

  .client-name {
    font-size: 0.8rem;
  }

  .client-subs {
    font-size: 1.125rem;
  }

  .client-bio {
    font-size: 0.65rem;
  }
}

/* Braavos Benchmark */
.braavos-section {
  margin: 4rem 0;
  padding: 3rem;
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, var(--background), var(--green-bg));
  box-shadow: var(--shadow-lg);
}

.braavos-heading .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.braavos-heading .section-title {
  margin-bottom: 0.5rem;
}

.braavos-heading .section-intro {
  max-width: 720px;
  color: var(--muted-foreground);
  font-family: var(--font-body);
}

.braavos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.braavos-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.braavos-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 0.4rem 0.4rem 0rem 0rem var(--green-shadow);
  border-color: var(--green-primary);
}

.braavos-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.braavos-name {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-body);
}

.braavos-pill {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: var(--green-bg);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.braavos-total {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  font-family: var(--font-body);
  white-space: nowrap;
}

.braavos-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.braavos-metrics .metric {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.5);
}

.braavos-metrics .metric span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted-foreground);
  letter-spacing: 0.08em;
}

.braavos-metrics .metric strong {
  font-size: 1.3rem;
  font-family: var(--font-body);
}

.braavos-revenue {
  border: 1px solid var(--green-primary);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.08);
}

.braavos-revenue .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-dark);
}

.braavos-revenue .value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green-dark);
  font-family: var(--font-body);
}

.braavos-revenue .note {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.braavos-card .braavos-takeaways {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--foreground);
  font-family: var(--font-body);
}

.braavos-card .braavos-takeaways li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.braavos-membership {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.membership-card {
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.membership-card.highlight {
  border-color: var(--green-primary);
  background: rgba(34, 197, 94, 0.08);
}

.membership-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.membership-price {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--foreground);
}

.membership-price span {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  font-weight: 400;
}

.membership-annual {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.membership-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-body);
  color: var(--foreground);
}

.membership-benefits li::before {
  content: '• ';
  color: var(--green-primary);
}

.membership-note {
  font-size: 0.85rem;
  color: var(--foreground);
  margin-top: 0.5rem;
  font-family: var(--font-body);
}

.braavos-takeaways {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.braavos-takeaways h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.braavos-takeaways ul {
  list-style: disc;
  padding-left: 1.25rem;
  font-family: var(--font-body);
}

.braavos-takeaways li {
  margin-bottom: 0.45rem;
  color: var(--foreground);
}

.braavos-footnote {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: var(--font-body);
}

@media (max-width: 900px) {
  .braavos-section {
    padding: 2rem;
  }

  .braavos-metrics {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 600px) {
  .braavos-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .braavos-membership {
    grid-template-columns: 1fr;
  }
}

/* Master Collapsible Container */
.benchmark-master-container {
  margin: 3rem auto 0;
  max-width: 1400px;
}

.benchmark-master-toggle {
  width: 100%;
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: 8px 8px 0 var(--shadow-color);
  border-radius: 8px;
  padding: 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

.benchmark-master-toggle:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--shadow-color);
  border-color: var(--green-primary);
}

.master-toggle-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.master-toggle-header {
  flex: 1;
  text-align: left;
}

.master-toggle-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-bg);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.master-toggle-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.master-toggle-description {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0;
}

.master-toggle-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.toggle-cta-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.master-toggle-icon {
  transition: transform 0.3s ease;
  stroke: var(--green-primary);
}

.benchmark-master-container.active .master-toggle-icon {
  transform: rotate(180deg);
}

.benchmark-master-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.benchmark-master-container.active .benchmark-master-content {
  max-height: 10000px;
}

/* Benchmark Subsection (Nested within Playbook) */
.benchmark-subsection {
  margin: 2rem 0 0 0;
  padding: 3rem;
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: 8px 8px 0 var(--shadow-color);
  border-radius: 8px;
}

.benchmark-subtitle {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.benchmark-header {
  margin-bottom: 2.5rem;
  text-align: left;
}

.benchmark-header .eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--green-dark);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.benchmark-header .section-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 900px;
  margin-top: 1rem;
  line-height: 1.7;
}

/* Accordion Container */
.benchmark-accordions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Individual Accordion */
.benchmark-accordion {
  background: var(--background);
  border: 3px solid var(--border);
  box-shadow: 4px 4px 0 var(--shadow-color);
  transition: all 0.3s ease;
}

.benchmark-accordion.active {
  box-shadow: 6px 6px 0 var(--green-primary);
  border-color: var(--green-primary);
}

.benchmark-accordion-summary {
  border-color: var(--green-primary);
  box-shadow: 4px 4px 0 var(--green-primary);
}

/* Accordion Trigger Button */
.accordion-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-body);
  transition: background 0.2s ease;
}

.accordion-trigger:hover {
  background: var(--green-bg);
}

.benchmark-accordion.active .accordion-trigger {
  background: var(--green-bg);
}

/* Accordion Header Layout */
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex: 1;
}

.accordion-title {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.channel-name {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--foreground);
}

.channel-badge {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.accordion-highlight {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.highlight-value {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-primary);
}

.highlight-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Accordion Icon */
.accordion-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  stroke: var(--foreground);
}

.benchmark-accordion.active .accordion-icon {
  transform: rotate(180deg);
  stroke: var(--green-primary);
}

/* Accordion Content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.benchmark-accordion.active .accordion-content {
  max-height: 2000px;
}

.accordion-body {
  padding: 1rem;
  border-top: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Benchmark Image Header (Top) */
.benchmark-image-header {
  position: relative;
  width: 100%;
  max-width: 450px;
  border: 3px solid var(--border);
  box-shadow: 4px 4px 0 var(--shadow-color);
  border-radius: 4px;
  overflow: visible;
  background: var(--background);
  margin: 0 auto 0 calc(50% - 240px);
}

.benchmark-image-header .benchmark-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* Smaller pricing image variant */
.benchmark-image-header-small {
  max-width: 320px;
  margin: 0 auto;
}

.channel-info-overlay {
  position: absolute;
  top: 50%;
  right: -0.5rem;
  transform: translate(50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.4rem 0.6rem;
  border-radius: 3px;
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--shadow-color);
  backdrop-filter: blur(4px);
  z-index: 10;
  max-width: 180px;
}

/* Benchmark Grid (Bottom - 3 columns) */
.benchmark-grid {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

/* Summary Grid (2 columns for summary accordion) */
.benchmark-grid-summary {
  grid-template-columns: 1fr 1fr;
}

.benchmark-grid-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benchmark-grid-middle,
.benchmark-grid-right {
  display: flex;
}

/* Channel Info */
.channel-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.channel-link {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.channel-link:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.channel-meta {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--muted-foreground);
  line-height: 1.2;
}

/* Metric Item */
.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  background: var(--card);
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--shadow-color);
  flex: 1;
}

.metric-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-value {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

/* Revenue Breakdown */
.revenue-breakdown {
  padding: 1rem;
  background: var(--green-bg);
  border: 2px solid var(--green-primary);
  border-left: 6px solid var(--green-primary);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.breakdown-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.breakdown-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--foreground);
  line-height: 1.6;
}

/* Key Insights */
.key-insights {
  padding: 1rem;
  background: var(--card);
  border: 2px solid var(--border);
  box-shadow: 3px 3px 0 var(--shadow-color);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.insights-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.key-insights ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.key-insights li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--foreground);
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.key-insights li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-weight: 700;
}

/* Summary Card */
.summary-card {
  padding: 1rem;
  background: var(--card);
  border: 3px solid var(--green-primary);
  box-shadow: 4px 4px 0 var(--green-primary);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.summary-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.summary-value {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 0.5rem;
}

.summary-detail {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.summary-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.summary-list li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--foreground);
  padding-left: 1.5rem;
  position: relative;
}

.summary-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-weight: 700;
}

.summary-note {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
}

/* Benchmark Footnote */
.benchmark-footnote {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .benchmark-subsection {
    padding: 2rem;
  }

  .accordion-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .accordion-highlight {
    align-items: flex-start;
    text-align: left;
  }

  .metrics-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .benchmark-subsection {
    padding: 1.5rem;
    margin: 2rem auto 0;
  }

  .benchmark-subtitle {
    font-size: 1.5rem;
  }

  .accordion-trigger {
    padding: 1rem;
  }

  .accordion-body {
    padding: 0 1rem 1rem 1rem;
  }

  .channel-name {
    font-size: 1.1rem;
  }

  .channel-badge {
    font-size: 0.7rem;
  }

  .highlight-value {
    font-size: 1.5rem;
  }

  .benchmark-image-header {
    max-width: 100%;
    margin: 0 auto;
  }

  .channel-info-overlay {
    position: relative;
    right: auto;
    transform: none;
    margin-top: 0.5rem;
    max-width: 100%;
  }

  .benchmark-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Content Flywheel Section */
.content-flywheel-section {
  margin: 3rem 0;
  padding: 2rem 0;
  position: relative;
}

.flywheel-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.flywheel-module {
  position: relative;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
  display: flex;
  align-items: center;
}

.flywheel-module.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger animation delays for scroll reveal */
.flywheel-module:nth-child(1) {
  transition-delay: 0.1s;
}

.flywheel-module:nth-child(2) {
  transition-delay: 0.3s;
}

.flywheel-module:nth-child(3) {
  transition-delay: 0.5s;
}

/* Module Card */
.module-card {
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 0.7rem 0.7rem 0rem 0rem var(--green-shadow);
  border-color: var(--green-primary);
}

.flywheel-module[data-module="nurture"] .module-card:hover {
  box-shadow: 0.7rem 0.7rem 0rem 0rem rgba(59, 130, 246, 0.3);
  border-color: #3b82f6;
}

.flywheel-module[data-module="convert"] .module-card:hover {
  box-shadow: 0.7rem 0.7rem 0rem 0rem rgba(245, 158, 11, 0.3);
  border-color: #f59e0b;
}

/* Module Header */
.module-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

/* Module Icons */
.module-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--border);
  background: var(--background);
  transition: all 0.3s ease;
  position: relative;
}

.module-icon svg {
  width: 28px;
  height: 28px;
  transition: all 0.3s ease;
}

.attract-icon {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.attract-icon svg {
  color: white;
}

.nurture-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.nurture-icon svg {
  color: white;
}

.convert-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.convert-icon svg {
  color: white;
}

.module-card:hover .module-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: var(--shadow-md);
}

.module-card:hover .module-icon svg {
  transform: scale(1.1);
}

/* Module Title Group */
.module-title-group {
  flex: 1;
  min-width: 0;
}

.module-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 0.35rem;
  font-family: var(--font-body);
}

.module-title {
  font-size: 1.625rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

.flywheel-module[data-module="attract"] .module-title {
  color: #22c55e;
}

.flywheel-module[data-module="nurture"] .module-title {
  color: #3b82f6;
}

.flywheel-module[data-module="convert"] .module-title {
  color: #f59e0b;
}

.module-description {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

/* Content Tags */
.content-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.content-tag {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  background: var(--secondary);
  border: 2px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.flywheel-module[data-module="attract"] .content-tag {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.flywheel-module[data-module="nurture"] .content-tag {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #2563eb;
}

.flywheel-module[data-module="convert"] .content-tag {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #d97706;
}

.module-card:hover .content-tag {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Module Arrows (between modules) */
.module-arrow {
  flex-shrink: 0;
  width: 100px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-arrow svg {
  width: 100%;
  height: 100%;
}

/* Flywheel Loop Back Indicator */
.flywheel-loop-back {
  margin-top: 3rem;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.flywheel-loop-back svg {
  width: 100%;
  height: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .flywheel-container {
    max-width: 900px;
    gap: 0;
  }

  .module-arrow {
    width: 80px;
  }

  .module-card {
    padding: 1.75rem 1.25rem;
    min-height: 300px;
  }

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

  .module-description {
    font-size: 0.85rem;
  }

  .content-tag {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }
}

@media (max-width: 768px) {
  .content-flywheel-section {
    margin: 3rem 0;
    padding: 2rem 0;
  }

  .flywheel-container {
    flex-direction: column;
    max-width: 100%;
    padding: 1rem;
    gap: 2rem;
  }

  .flywheel-module {
    width: 100%;
  }

  .module-card {
    padding: 1.5rem;
    min-height: auto;
  }

  .module-header {
    gap: 0.875rem;
  }

  .module-icon {
    width: 48px;
    height: 48px;
  }

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

  .module-title {
    font-size: 1.375rem;
  }

  .module-description {
    font-size: 0.875rem;
  }

  .content-tag {
    font-size: 0.7rem;
  }

  /* Hide horizontal arrows on mobile, show vertical spacing instead */
  .module-arrow {
    display: none;
  }

  .flywheel-loop-back {
    margin-top: 2rem;
  }

  .flywheel-loop-back svg {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .module-card {
    padding: 1.25rem;
  }

  .module-title {
    font-size: 1.25rem;
  }

  .module-label {
    font-size: 0.65rem;
  }

  .module-description {
    font-size: 0.825rem;
  }

  .content-tag {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
  }

  .flywheel-loop-back svg {
    height: 50px;
  }
}

/* What You Get */
.what-you-get {
  margin: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: bold;
}

.section-intro {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: var(--muted-foreground);
  font-family: var(--font-body);
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--green-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 0.6rem 0.6rem 0rem 0rem var(--green-shadow);
  border-color: var(--green-primary);
}

.feature-number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1;
  color: var(--green-primary);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-number {
  transform: scale(1.1) rotate(-5deg);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.feature-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

/* Pipeline Section */
.pipeline-section {
  margin: 6rem 0;
  padding: 1rem 2rem 4rem;
  overflow: visible;
  position: relative;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 700px;
  margin: 0 auto 4rem;
  font-family: var(--font-body);
  line-height: 1.6;
}

.pipeline-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  padding: 2rem 1rem;
  overflow: visible;
  max-width: 100%;
  margin: 0 auto;
}

/* Pipeline Node Base Styles */
.pipeline-node {
  flex: 0 0 auto;
  width: 340px;
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 12px;
}

.pipeline-node:hover {
  transform: translate(-3px, -3px) scale(1.02);
  box-shadow: 0.6rem 0.6rem 0rem 0rem var(--green-shadow);
  border-color: var(--green-primary);
}

/* Pipeline Animation - staggered entrance */
.pipeline-animate {
  opacity: 0;
  transform: translateY(30px);
  animation: pipelineEnter 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pipeline-animate[data-step="1"] { animation-delay: 0.2s; }
.pipeline-animate[data-step="2"] { animation-delay: 0.6s; }
.pipeline-animate[data-step="3"] { animation-delay: 1s; }

@keyframes pipelineEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step Badge */
.node-step-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--border);
  color: white;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  z-index: 10;
}

.node-step-badge--success {
  background: var(--green-primary);
  color: black;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* Node Icon Wrapper */
.node-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--background) 0%, var(--secondary) 100%);
  border: 3px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  position: relative;
  box-shadow: 4px 4px 0 var(--border);
}

.node-icon {
  font-size: 1.75rem;
}

/* Processing animation ring */
.node-icon--processing {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-color: var(--green-primary);
}

.processing-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--green-primary);
  border-radius: 12px;
  animation: processingRotate 8s linear infinite;
}

@keyframes processingRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Success sparkle */
.node-icon--success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
  border-color: var(--green-primary);
}

.success-sparkle {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Node Title */
.node-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* Node Labels */
.node-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  color: var(--foreground);
}

.node-sublabel {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: -0.5rem;
}

/* Animated Arrows */
.pipeline-arrow--animated {
  display: flex;
  align-items: center;
  width: 80px;
  height: 40px;
  position: relative;
  opacity: 0;
  animation: arrowFadeIn 0.5s ease forwards;
  animation-delay: 0.4s;
}

@keyframes arrowFadeIn {
  to { opacity: 1; }
}

.arrow-line {
  flex: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--border) 0%, var(--green-primary) 100%);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.arrow-pulse {
  position: absolute;
  width: 30px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.8), transparent);
  animation: arrowPulseMove 1.5s ease-in-out infinite;
}

@keyframes arrowPulseMove {
  0% { transform: translateX(-30px); }
  100% { transform: translateX(100px); }
}

.arrow-head {
  width: 0;
  height: 0;
  border-left: 12px solid var(--green-primary);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  filter: drop-shadow(2px 0 0 rgba(0,0,0,0.2));
}

/* Process Items */
.process-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--secondary);
}

.process-item:last-child {
  border-bottom: none;
}

.process-icon {
  font-size: 1rem;
}

/* Processing Time */
.processing-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--green-bg);
  border: 2px solid var(--green-primary);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-top: 0.5rem;
}

.time-icon {
  animation: timeIconPulse 1s ease-in-out infinite;
}

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

/* Output Benefits */
.output-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.benefit-tag {
  background: var(--green-bg);
  border: 1px solid var(--green-primary);
  color: var(--green-dark);
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Video Frame Highlight */
.video-frame--highlight {
  border-color: var(--green-primary);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.node-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Video Frame Styles */
.video-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 3px solid var(--border);
  position: relative;
  overflow: hidden;
}

.video-frame--live {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 2px solid var(--border);
  border-radius: 4px;
}

.video-frame--live iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-frame--live video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}


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

.duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: bold;
  border: 2px solid var(--green-primary);
  font-family: var(--font-mono);
}

.node-label {
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  font-family: var(--font-body);
  color: var(--foreground);
}

/* AI Engine Node */
.pipeline-node--engine {
  background: var(--foreground);
  color: var(--background);
}

.engine-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.engine-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--green-primary);
}

.engine-header h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin: 0;
}

.engine-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.3);
  font-family: var(--font-body);
}

.feature-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.feature-value {
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--green-primary);
}

.feature-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  padding: 0.35rem 0.75rem;
  background: var(--green-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  border: 2px solid var(--border);
  font-family: var(--font-body);
}

.flow-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
}

.flow-step {
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.5);
  font-size: 0.75rem;
}

.flow-arrow {
  color: var(--green-primary);
  font-weight: bold;
}

.key-levels {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.level-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: var(--font-body);
}

.level-marker {
  color: var(--green-primary);
  font-size: 1.2rem;
}

.level-text {
  opacity: 0.9;
}

/* Dashboard / Metrics Node */
.dashboard-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dashboard-icon {
  font-size: 1.5rem;
}

.dashboard-header h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin: 0;
}

.metrics-chart {
  margin: 1rem 0;
}

.metrics-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat-item {
  font-family: var(--font-body);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--green-primary);
}

.stat-trend {
  font-size: 1.25rem;
  color: var(--green-primary);
}

.stat-badge {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  background: var(--green-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  border: 2px solid var(--border);
  text-align: center;
}

/* Pipeline Arrows */
.pipeline-arrow {
  flex-shrink: 0;
  flex: 0 0 auto;
  width: 80px;
  height: 40px;
  transition: all 0.3s ease;
}

.pipeline-arrow svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.3));
}

.pipeline-arrow:hover svg {
  filter: drop-shadow(0 0 16px rgba(34, 197, 94, 0.6));
  animation: arrowFlow 2s ease-in-out infinite;
}

@keyframes arrowFlow {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* Scroll Animation States */
.pipeline-section .pipeline-diagram {
  opacity: 0;
}

.pipeline-section.visible .pipeline-diagram {
  opacity: 1;
  animation: fadeIn 0.6s ease forwards;
}

.pipeline-section.visible .pipeline-node:nth-child(1) {
  animation: slideInLeft 0.8s ease 0.2s forwards;
  opacity: 0;
}

.pipeline-section.visible .pipeline-arrow:nth-child(2) {
  animation: glowPulse 1s ease 1s forwards;
  opacity: 0;
}

.pipeline-section.visible .pipeline-node:nth-child(3) {
  animation: scaleIn 0.8s ease 1.2s forwards;
  opacity: 0;
  transform: scale(0.95);
}

.pipeline-section.visible .pipeline-arrow:nth-child(4) {
  animation: glowPulse 1s ease 2s forwards;
  opacity: 0;
}

.pipeline-section.visible .pipeline-node:nth-child(5) {
  animation: slideInUp 0.8s ease 2.2s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.pipeline-section.visible .pipeline-arrow:nth-child(6) {
  animation: glowPulse 1s ease 3s forwards;
  opacity: 0;
}

.pipeline-section.visible .pipeline-node:nth-child(7) {
  animation: slideInRight 0.8s ease 3.2s forwards;
  opacity: 0;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowPulse {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.8));
  }
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.3));
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Pipeline */
@media (max-width: 1200px) {
  .pipeline-diagram {
    flex-wrap: wrap;
  }

  .pipeline-node {
    min-width: 45%;
  }

  .pipeline-arrow {
    transform: rotate(90deg);
    margin: 1rem 0;
  }
}

@media (max-width: 768px) {
  .pipeline-section {
    margin: 3rem 0;
    padding: 2rem 1rem;
  }

  .pipeline-diagram {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }

  .pipeline-node {
    min-width: 100%;
    max-width: 100%;
  }

  .pipeline-arrow {
    width: 40px;
    height: 60px;
    margin: 1rem auto;
    transform: rotate(90deg);
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .node-label {
    font-size: 0.85rem;
  }

  .engine-header h3,
  .dashboard-header h3 {
    font-size: 1rem;
  }
}

/* How It Works */
.how-it-works {
  margin: 4rem 0;
  padding: 3rem;
  background: var(--secondary);
  border: 4px solid var(--border);
  box-shadow: var(--shadow-2xl);
}

/* Process Videos */
.process-videos {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.process-video-card {
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: 6px 6px 0 var(--shadow-color);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.process-video-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--shadow-color);
}

.video-label {
  margin-bottom: 1rem;
}

.video-num {
  display: inline-block;
  background: var(--green-primary);
  color: var(--background);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.video-label h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 0.5rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 3px solid var(--border);
  background: var(--background);
  margin-bottom: 1rem;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-description {
  color: var(--muted-foreground);
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.5;
}

.process-arrow {
  font-size: 3rem;
  font-weight: bold;
  color: var(--green-primary);
  text-align: center;
}

.steps {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.step-card {
  padding: 1.5rem;
  background: var(--card);
  border: 3px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--foreground);
  color: var(--background);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-header h3 {
  font-size: 1.25rem;
  font-weight: bold;
}

.step-card p {
  color: var(--muted-foreground);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.step-arrow {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

.note-box {
  padding: 1.5rem;
  background: var(--foreground);
  color: var(--background);
  border: 3px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: center;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Proof Section */
.proof-section {
  margin: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-box {
  padding: 2.5rem 1.5rem;
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: transform 0.2s ease;
}

.stat-box:hover {
  transform: translate(-4px, -4px);
  box-shadow: 0.6rem 0.6rem 0rem 0rem var(--shadow-color);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1.125rem;
  font-weight: bold;
}

.inspiration-box {
  padding: 2.5rem;
  background: var(--secondary);
  border: 4px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.inspiration-box h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.inspiration-box p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}

.small-note {
  font-size: 0.95rem !important;
  color: var(--muted-foreground);
  font-style: italic;
}

/* Results Proof Section */
.results-proof {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 3px solid var(--border);
}

.results-proof h4 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--foreground);
}

.results-subtext {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-style: italic;
}

/* Featured Results Layout */
.results-featured-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem 0;
  align-items: center;
}

.result-featured {
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: center;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 800px;
}

@media (max-width: 768px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

.result-card {
  background: var(--background);
  border: 3px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.result-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 0.4rem 0.4rem 0rem 0rem var(--green-shadow);
  border-color: var(--green-primary);
}

/* Featured Result Card - Always Centered */
.result-card-featured {
  width: 100%;
  border-width: 4px;
  box-shadow: 0.5rem 0.5rem 0rem 0rem var(--green-shadow);
  border-color: var(--green-primary);
}

.result-card-featured:hover {
  transform: translate(-4px, -4px);
  box-shadow: 0.6rem 0.6rem 0rem 0rem var(--green-shadow);
}

.result-card-featured .result-image {
  height: 300px;
}

.result-card-featured .result-caption {
  font-size: 1.125rem;
  font-weight: 700;
  padding: 1rem;
}

/* Small Result Cards */
.result-card-small {
  width: 100%;
}

.result-card-small .result-image {
  height: 200px;
}

.result-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid var(--border);
}

.result-caption {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--foreground);
  margin: 0;
}

.results-footnote {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
  font-family: var(--font-body);
  font-style: italic;
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border: 4px solid var(--green-primary);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.3);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--green-primary);
  transform: scale(1.1);
}

#modalCaption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #fff;
  padding: 20px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

/* Responsive for results */
@media (max-width: 768px) {
  .result-featured {
    max-width: 100%;
    padding: 0 1rem;
  }

  .results-grid {
    max-width: 100%;
    padding: 0 1rem;
  }

  .result-card {
    max-width: 100%;
  }

  .result-card-featured .result-image {
    height: 240px;
  }

  .result-card-small .result-image {
    height: 180px;
  }

  .modal-close {
    top: 15px;
    right: 25px;
    font-size: 35px;
  }
}

@media (max-width: 480px) {
  .result-featured {
    padding: 0 0.5rem;
  }

  .results-grid {
    padding: 0 0.5rem;
  }

  .result-card-featured .result-image {
    height: 200px;
  }

  .result-card-small .result-image {
    height: 160px;
  }

  .result-card {
    width: 100%;
    max-width: 100%;
  }

  .result-image {
    height: 150px;
  }

  .result-caption {
    font-size: 0.8rem;
    padding: 0.6rem;
  }
}

/* FAQ Section */
.faq-section {
  margin: 4rem 0;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--card);
  border: 3px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}

.faq-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0.4rem 0.4rem 0rem 0rem var(--shadow-color);
}

.faq-q {
  padding: 1.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.faq-a {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  display: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.faq-item.active .faq-a {
  display: block;
}

.faq-item.active .faq-q::after {
  content: ' ↑';
}

.faq-q::after {
  content: ' ↓';
  float: right;
}

/* Final CTA */
.final-cta {
  margin: 4rem 0;
}

.cta-card {
  padding: 3rem;
  background: var(--foreground);
  color: var(--background);
  border: 4px solid var(--border);
  box-shadow: var(--shadow-2xl);
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.cta-checklist {
  list-style: none;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  text-align: left;
  font-size: 1rem;
  font-family: var(--font-body);
}

.cta-checklist li {
  padding: 0.75rem 0;
  border-bottom: 2px solid var(--background);
}

.cta-checklist li::before {
  content: '→ ';
  font-weight: bold;
}

.cta-card .btn-primary {
  background: var(--background);
  color: var(--foreground);
  border-color: var(--background);
}

.cta-card .btn-primary:hover {
  box-shadow: 0.6rem 0.6rem 0rem 0rem var(--background);
}

/* Footer */
.footer {
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: 3px solid var(--border);
  text-align: center;
}

.footer-brand {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.footer-text {
  color: var(--muted-foreground);
  font-size: 1rem;
}

/* The Playbook Section */
.playbook-section {
  margin: 4rem 0;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.02) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-radius: 12px;
  border: 2px solid rgba(34, 197, 94, 0.1);
}

.playbook-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.playbook-card {
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.playbook-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 0.6rem 0.6rem 0rem 0rem var(--green-shadow);
  border-color: var(--green-primary);
}

.playbook-video-wrapper {
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--border);
}

.playbook-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.playbook-meta {
  padding: 1.5rem;
}

.playbook-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.playbook-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.playbook-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}


/* Current Work Samples - Dice-5 Layout */
.work-samples {
  margin: 6rem 0;
  padding: 3rem 0;
  background: var(--secondary);
  border: 4px solid var(--border);
  box-shadow: var(--shadow-2xl);
}

.work-samples .section-title {
  padding: 0 2rem;
}

.work-samples .section-intro {
  padding: 0 2rem;
  margin-bottom: 3rem;
}

/* Dice-5 Container */
.samples-dice-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.samples-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.samples-row-top,
.samples-row-bottom {
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.samples-row-middle {
  justify-content: center;
}

/* Sample Cards */
.sample-card {
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.sample-card-large {
  width: 100%;
  max-width: 550px;
}

.sample-card-featured {
  width: 100%;
  max-width: 700px;
  border-width: 5px;
  border-color: var(--green-primary);
}

.sample-card:hover {
  transform: translate(-5px, -5px) scale(1.03);
  box-shadow: 0.7rem 0.7rem 0rem 0rem var(--green-shadow);
  border-color: var(--green-primary);
}

.sample-card-featured:hover {
  transform: translate(-6px, -6px) scale(1.05);
  box-shadow: 0.9rem 0.9rem 0rem 0rem var(--green-shadow);
}

.sample-video {
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  overflow: hidden;
}

.sample-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.sample-card:hover .sample-video iframe {
  pointer-events: auto;
}

.sample-label {
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  font-size: 0.95rem;
  background: var(--green-primary);
  color: white;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.sample-label-featured {
  font-size: 1.1rem;
  padding: 1.25rem;
}

.sample-card:hover .sample-label {
  background: var(--green-dark);
}

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--foreground);
  color: var(--background);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: bold;
  border: 3px solid var(--green-primary);
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  font-family: var(--font-sans);
}

.sample-card-featured:hover .featured-badge {
  background: var(--green-primary);
  color: white;
  transform: scale(1.1);
}

/* Chart Animation Showcase */
.chart-showcase {
  margin: 2rem 0;
  padding: 2rem;
  background: var(--card);
  border: 4px solid var(--green-primary);
  box-shadow: var(--shadow-lg);
}

.chart-showcase-video {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 3px solid var(--border);
  margin-bottom: 1.5rem;
}

.chart-showcase-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.chart-showcase-label {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted-foreground);
  font-style: italic;
}

/* Step Card Green Accents */
.step-num {
  width: 40px;
  height: 40px;
  background: var(--green-primary);
  color: white;
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-card:hover {
  border-color: var(--green-primary);
  box-shadow: 0.4rem 0.4rem 0rem 0rem var(--green-shadow);
}

/* Stat Box Green Hover */
.stat-box:hover {
  transform: translate(-4px, -4px);
  box-shadow: 0.6rem 0.6rem 0rem 0rem var(--green-shadow);
  border-color: var(--green-primary);
}

.stat-box:hover .stat-number {
  color: var(--green-primary);
}

/* FAQ Green Hover */
.faq-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0.4rem 0.4rem 0rem 0rem var(--green-shadow);
  border-color: var(--green-primary);
}

/* Green tint on note box */
.note-box {
  padding: 1.5rem;
  background: var(--green-primary);
  color: white;
  border: 3px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: center;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Benchmark Responsive Styles */
@media (max-width: 900px) {
  .benchmark-subsection {
    padding: 2rem;
  }

  .master-toggle-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .master-toggle-cta {
    align-self: flex-end;
  }

  .benchmark-master-toggle {
    padding: 2rem;
  }

  .master-toggle-title {
    font-size: 1.5rem;
  }

  .playbook-section {
    padding: 2rem 1.5rem;
  }

  .benchmark-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .benchmark-grid-summary {
    grid-template-columns: 1fr;
  }

  .channel-info-overlay {
    position: static;
    transform: none;
    margin-top: 1rem;
    align-items: flex-start;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 1rem 0.75rem;
  }

  .vsl-headline {
    font-size: 2rem;
  }

  .vsl-subheadline {
    font-size: 1rem;
  }

  .filter-grid,
  .feature-grid,
  .stats-grid,
  .playbook-grid {
    grid-template-columns: 1fr;
  }

  /* Dice-5 Layout Responsive */
  .samples-dice-container {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .samples-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .samples-row-top,
  .samples-row-bottom {
    max-width: 100%;
  }

  .sample-card-large,
  .sample-card-featured {
    max-width: 100%;
  }

  .featured-badge {
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.65rem;
  }

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

  .filter-box,
  .how-it-works {
    padding: 1.5rem;
  }

  .process-videos {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-arrow {
    transform: rotate(90deg);
    font-size: 2rem;
  }

  .feature-card,
  .stat-box {
    padding: 1.5rem;
  }

  .cta-card {
    padding: 2rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .vsl-headline {
    font-size: 1.75rem;
  }

  .feature-number {
    font-size: 2.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

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

/* ===================================
   SVG ICONS STYLING
   =================================== */

.node-icon-svg {
  width: 48px;
  height: 48px;
  stroke: var(--green-primary);
  stroke-width: 2;
  fill: none;
  transition: all 0.3s ease;
}

.pipeline-node:hover .node-icon-svg {
  stroke: var(--green-dark);
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.5));
}

.process-icon-svg {
  width: 32px;
  height: 32px;
  stroke: var(--green-primary);
  stroke-width: 2;
  fill: none;
  animation: processRotate 4s linear infinite;
}

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

.time-icon-svg {
  width: 16px;
  height: 16px;
  stroke: var(--green-primary);
  stroke-width: 2;
  fill: none;
  vertical-align: middle;
  margin-right: 4px;
}

/* Benefit tags with icons */
.benefit-tag i {
  color: var(--green-primary);
  margin-right: 6px;
  font-size: 0.85em;
}

.benefit-tag:hover i {
  color: var(--green-dark);
}

/* ===================================
   3D FLOATING BACKGROUND ELEMENT
   =================================== */

.hero-3d-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.cube-wrapper {
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
  perspective: 1000px;
}

.cube {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeRotate 20s linear infinite;
}

.cube-face {
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  border: 2px solid rgba(34, 197, 94, 0.3);
  backdrop-filter: blur(5px);
}

.cube-front  { transform: translateZ(100px); }
.cube-back   { transform: rotateY(180deg) translateZ(100px); }
.cube-right  { transform: rotateY(90deg) translateZ(100px); }
.cube-left   { transform: rotateY(-90deg) translateZ(100px); }
.cube-top    { transform: rotateX(90deg) translateZ(100px); }
.cube-bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes cubeRotate {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

/* Floating Orbs */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.4), rgba(34, 197, 94, 0.1));
  box-shadow:
    0 0 40px rgba(34, 197, 94, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  animation: orbFloat 6s ease-in-out infinite;
}

.orb-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  right: 30%;
  animation-delay: 0s;
}

.orb-2 {
  width: 50px;
  height: 50px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.orb-3 {
  width: 35px;
  height: 35px;
  top: 40%;
  right: 45%;
  animation-delay: 4s;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-10px) translateX(-15px);
    opacity: 0.7;
  }
  75% {
    transform: translateY(-25px) translateX(5px);
    opacity: 0.9;
  }
}

/* Glow ring around cube */
.cube::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(34, 197, 94, 0.2);
  border-radius: 50%;
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.6;
  }
}

/* Responsive 3D Background */
@media (max-width: 1200px) {
  .hero-3d-bg {
    opacity: 0.5;
    right: -10%;
  }

  .cube {
    width: 150px;
    height: 150px;
  }

  .cube-face {
    width: 150px;
    height: 150px;
  }

  .cube-front  { transform: translateZ(75px); }
  .cube-back   { transform: rotateY(180deg) translateZ(75px); }
  .cube-right  { transform: rotateY(90deg) translateZ(75px); }
  .cube-left   { transform: rotateY(-90deg) translateZ(75px); }
  .cube-top    { transform: rotateX(90deg) translateZ(75px); }
  .cube-bottom { transform: rotateX(-90deg) translateZ(75px); }
}

@media (max-width: 768px) {
  .hero-3d-bg {
    display: none;
  }
}

/* Make hero section position relative for 3D bg */
.hero {
  position: relative;
  overflow: hidden;
}
