/* ===================================
   Performance Optimizations
   =================================== */

/* Content Visibility for below-fold sections improves initial load */
.faq-section,
.testimonial,
.cta-section,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* ===================================
   Design System & Variables
   =================================== */

:root {
  /* Colors - Vibrant Green to Soft Pink Gradient Aesthetic */
  --primary-green: #10b981;
  --deep-green: #059669;
  --accent-green: #34d399;
  --dark-green: #047857;
  --rich-green: #065f46;
  --bright-green: #6ee7b7;
  --soft-green: #a7f3d0;

  /* Pink Palette */
  --light-pink: #fce7f3;
  --soft-pink: #fbcfe8;
  --medium-pink: #f9a8d4;
  --bright-pink: #f472b6;
  --deep-pink: #ec4899;
  --vivid-pink: #db2777;

  /* Extended Gradient Range */
  --black: #000000;
  --near-black: #0a0a0a;
  --darkest-green: #022c22;
  --dark-forest: #064e3b;
  --deep-forest: #065f46;
  --mid-forest: #047857;

  --text-dark: #ffffff;
  --text-medium: #e2e8f0;
  --text-light: #cbd5e1;
  --bg-white: #000000;
  --bg-subtle: #0a0a0a;
  --bg-light: #111111;
  --border-color: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-dashboard: 0 20px 60px rgba(5, 71, 42, 0.15);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Base Styles
   =================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Universal Grainy Texture Overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  opacity: 0.45;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3.5' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Global Cursor Spotlight Effect - Using dedicated element */
body {
  --cursor-x: 50%;
  --cursor-y: 50%;
  --cursor-opacity: 0;
}

/* Cursor spotlight will be created as a div by JavaScript */
#cursor-spotlight {
  content: '';
  position: fixed;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(110, 231, 183, 0.25) 0%,
    rgba(16, 185, 129, 0.18) 20%,
    rgba(52, 211, 153, 0.12) 35%,
    rgba(236, 72, 153, 0.1) 50%,
    rgba(244, 114, 182, 0.05) 65%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 99;
  transform: translate(-50%, -50%);
  opacity: var(--cursor-opacity, 0);
  mix-blend-mode: screen;
  will-change: transform, opacity;
  top: var(--cursor-y, 50%);
  left: var(--cursor-x, 50%);
  filter: blur(40px);
  transition: opacity 0.3s ease-out;
}

/* Hide cursor spotlight on mobile devices entirely */
@media (max-width: 768px) {
  #cursor-spotlight {
    display: none !important;
  }
  
  body::after {
    display: none !important;
  }
}

/* Mobile menu scroll lock - robust for iOS while preserving scroll position */
body.menu-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

/* ===================================
   Text Cursor Styling
   =================================== */

/* Text selection cursor for readable content */
p,
h1, h2, h3, h4, h5, h6,
span:not(.btn):not(.nav-link):not(.social-link),
.hero-headline,
.hero-subheadline,
.section-title,
.section-subtitle,
.feature-title,
.feature-description,
.metric-title,
.metric-desc,
.metric-number,
.testimonial-quote,
.author-name,
.author-title,
.cta-headline,
.cta-subheadline,
.faq-question-text,
.faq-answer-content,
.activity-name,
.activity-action,
.integration-name,
.footer-tagline,
.footer-copyright,
.pricing-description,
.stat-label,
.stat-value {
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

/* Default pointer cursor for interactive elements */
button,
a,
.btn,
.nav-link,
.faq-question,
.integration-card,
.feature-card,
.pricing-card,
.testimonial-card,
.metric-block {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===================================
   Container
   =================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

/* ===================================
   Navigation
   =================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 32px rgba(16, 185, 129, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(3rem, 5vw, 6rem); /* Responsive, elegant spacing that scales with viewport */
  height: 80px;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled .nav-container {
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-dark);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  flex-shrink: 0; /* Prevent logo from shrinking */
  margin-right: var(--space-md); /* Additional breathing room */
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-logo-text {
  cursor: pointer !important;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.logo-icon {
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-logo:hover .logo-icon {
  filter: drop-shadow(0 4px 8px rgba(105, 246, 190, 0.3));
}

.nav.scrolled .logo-icon {
  transform: scale(0.9);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 3rem; /* Elegant spacing between links and action buttons */
  margin-left: auto; /* Push menu to the right within available space */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem; /* Refined spacing for elegant, balanced navigation */
}

.nav-link {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-medium);
  position: relative;
  padding: 0.625rem 0.75rem; /* Refined padding for better touch targets */
  transition: all var(--transition-base);
  white-space: nowrap; /* Prevent text wrapping */
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bright-green), var(--primary-green), var(--deep-pink), var(--bright-pink));
  transition: width var(--transition-base);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Enhanced gradient button for navigation */
.nav-actions .btn-primary {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--dark-green) 0%,
    var(--primary-green) 25%,
    var(--bright-green) 50%,
    var(--deep-pink) 75%,
    var(--bright-pink) 100%
  );
  background-size: 200% 200%;
  animation: navGradientShift 3s ease infinite;
  box-shadow:
    0 4px 15px rgba(16, 185, 129, 0.4),
    0 2px 8px rgba(236, 72, 153, 0.3);
  font-weight: 700;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-actions .btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 8px 25px rgba(16, 185, 129, 0.5),
    0 4px 12px rgba(236, 72, 153, 0.4),
    0 0 20px rgba(110, 231, 183, 0.3);
  animation: navGradientShift 1.5s ease infinite;
}

.nav-actions .btn-primary:active {
  transform: translateY(0) scale(1) !important;
}

/* Animated gradient for nav button */
@keyframes navGradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  position: relative;
  width: 44px;
  height: 44px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Tablet/Medium screens - adjust spacing for narrower viewports */
@media (max-width: 1024px) {
  .nav-container {
    gap: var(--space-xl); /* Reduce minimum gap on tablets */
  }

  .nav-links {
    gap: 2rem; /* Tighten link spacing on tablets */
  }

  .nav-menu {
    gap: 2rem; /* Reduce menu internal spacing on tablets */
  }

  .nav-logo {
    margin-right: var(--space-sm); /* Less margin on smaller screens */
  }
}

@media (max-width: 768px) {
  .nav-container {
    height: 60px;
    gap: 0; /* Reset gap for mobile - uses space-between */
  }

  .nav-logo {
    margin-right: 0; /* Reset logo margin on mobile */
  }

  .nav {
    z-index: 1000;
  }

  .nav-logo {
    position: relative;
    z-index: 1003;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1003;
  }

  /* When menu is open, make nav fully opaque */
  .nav.menu-open {
    background: #050505 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(60px + 2rem) 1.5rem calc(2rem + env(safe-area-inset-bottom, 0));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #050505 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .nav-menu .nav-link {
    display: block;
    width: 100%;
    max-width: 280px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
  }

  .nav-menu.active .nav-link {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active .nav-links .nav-link:nth-child(1) { transition-delay: 0.05s; }
  .nav-menu.active .nav-links .nav-link:nth-child(2) { transition-delay: 0.1s; }
  .nav-menu.active .nav-links .nav-link:nth-child(3) { transition-delay: 0.15s; }
  .nav-menu.active .nav-links .nav-link:nth-child(4) { transition-delay: 0.2s; }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--bright-green);
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .nav-menu .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.25s ease;
    transition-delay: 0.25s;
  }

  .nav-menu.active .nav-actions {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu .nav-actions .btn {
    width: 100%;
    max-width: 280px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* ===================================
   Buttons
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 50%, var(--bright-green) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5), 0 4px 12px rgba(52, 211, 153, 0.3);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--bright-green);
  color: var(--primary-green);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98) !important;
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  position: relative;
  /* Reduced padding for higher content placement - nav height (72px) + 3rem spacing */
  padding: calc(72px + var(--space-xl)) 0 var(--space-4xl);
  min-height: 85vh;
  display: flex;
  /* Changed from center to flex-start for higher positioning on initial load */
  align-items: flex-start;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    -45deg,
    #065f46,
    #047857,
    #10b981,
    #34d399,
    #ec4899,
    #f472b6,
    #fbcfe8
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: -1;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Interactive Cursor Gradient Overlay */
.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 800px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(244, 114, 182, 0.25) 0%,
    rgba(236, 72, 153, 0.15) 20%,
    rgba(110, 231, 183, 0.15) 40%,
    rgba(52, 211, 153, 0.1) 60%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.hero:hover .hero-background::after {
  opacity: 1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: floatOrb 12s ease-in-out infinite;
  will-change: transform;
}

.orb-1 {
  width: 700px;
  height: 700px;
  top: -250px;
  right: -150px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.6) 0%, rgba(236, 72, 153, 0.4) 40%, transparent 70%);
  animation-delay: 0s;
}

.orb-2 {
  width: 600px;
  height: 600px;
  bottom: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.6) 0%, rgba(52, 211, 153, 0.4) 40%, transparent 70%);
  animation-delay: 6s;
}

.grain-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.6;
  mix-blend-mode: overlay;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  color: white;
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  /* Gradient text effect - CRITICAL: animation starts AFTER fade-up completes */
  background: linear-gradient(
    -45deg,
    #6ee7b7,
    #34d399,
    #10b981,
    #f472b6,
    #ec4899,
    #34d399
  );
  background-size: 400% 400%;
  /* Delay gradient animation until fade-up finishes (0.2s delay + 0.8s duration = 1.0s) */
  animation: gradientShift 15s ease infinite;
  animation-delay: 1.0s;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  filter: brightness(1.2);
  /* Performance optimization */
  will-change: opacity, transform;
  backface-visibility: hidden;
  /* Opacity is managed by .fade-up animation, not here */
}

.hero-subheadline {
  font-size: var(--text-xl);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  font-weight: 500;
  /* Gradient text effect - animation starts AFTER fade-up completes */
  background: linear-gradient(
    -45deg,
    #34d399,
    #10b981,
    #6ee7b7,
    #f9a8d4,
    #f472b6,
    #10b981
  );
  background-size: 400% 400%;
  /* Delay gradient animation until fade-up finishes (0.35s delay + 0.8s duration = 1.15s) */
  animation: gradientShift 15s ease infinite;
  animation-delay: 1.15s;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  filter: brightness(1.15);
  /* Performance optimization */
  will-change: opacity, transform;
  backface-visibility: hidden;
  /* Opacity is managed by .fade-up animation, not here */
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  /* Performance optimization */
  will-change: opacity, transform;
  backface-visibility: hidden;
  /* Opacity is managed by .fade-up animation, not here */
}

.hero-visual {
  position: relative;
}

/* Dashboard Mockup */
.dashboard-mockup {
  background: rgba(10, 10, 10, 0.9);
  border-radius: var(--radius-2xl);
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.25),
              0 10px 30px rgba(236, 72, 153, 0.15),
              0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* ============================================
     CRITICAL: Isolation & Performance Layer
     Prevents dashboard animations from causing page-wide reflows
     ============================================ */

  /* CSS Containment - isolates layout, style, and paint from parent/siblings */
  contain: layout style paint;

  /* Force new stacking context to isolate rendering */
  isolation: isolate;
  z-index: 1;

  /* GPU layer promotion with combined transform (no conflicts!) */
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;

  /* Prevent subpixel rendering issues */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.dashboard-mockup:hover {
  /* Maintain GPU layer with translate3d while adding hover effect */
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 30px 80px rgba(16, 185, 129, 0.3),
              0 15px 40px rgba(236, 72, 153, 0.2),
              0 0 1px rgba(255, 255, 255, 0.2);
}

.dashboard-header {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-md);
}

.dashboard-tabs {
  display: flex;
  gap: var(--space-xs);
}

.tab {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-medium);
  background: transparent;
  transition: all var(--transition-base);
  cursor: pointer;
}

.tab.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.dashboard-content {
  padding: var(--space-lg);
}

/* Smooth dashboard reveal - prevent flicker on load */
/* Loading state: completely hide content until JS is ready */
.dashboard-mockup.dashboard-loading .dashboard-content {
  visibility: hidden;
  opacity: 0;
  transition: none; /* Disable transitions during loading */
}

/* Smooth reveal when loading completes */
.dashboard-mockup:not(.dashboard-loading) .dashboard-content {
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.dashboard-mockup .metric-value[data-target] {
  /* Start hidden to prevent showing "0" before JS loads */
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-mockup .activity-item {
  /* Start hidden for smooth orchestrated reveal */
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.metric-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

/* Smooth metric card reveal */
.dashboard-mockup .metric-card {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-label {
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-bottom: var(--space-xs);
}

.metric-value {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-display);
  display: inline-block;
}

.metric-unit {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-dark);
  margin-left: 2px;
  display: inline-block;
}

.metric-change {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-top: var(--space-xs);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.metric-change.positive {
  color: #059669;
  background: #d1fae5;
}

/* Ensure metric accessories (change indicators and units) are visible */
.dashboard-mockup .metric-change,
.dashboard-mockup .metric-unit {
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-activity {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.activity-header {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.activity-item:hover {
  background: rgba(16, 185, 129, 0.08);
  transform: translateX(4px);
}

.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--bright-green), var(--primary-green));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.activity-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.activity-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-dark);
  font-family: 'Courier New', monospace;
  letter-spacing: -0.02em;
}

.activity-action {
  font-size: var(--text-xs);
  color: var(--text-light);
  line-height: 1.4;
}

.activity-meta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: 2px;
}

.status-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-completed {
  background: rgba(16, 185, 129, 0.2);
  color: var(--bright-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.call-duration {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-light);
  font-family: 'Courier New', monospace;
}

.activity-time {
  font-size: 10px;
  color: var(--text-light);
  white-space: nowrap;
  text-align: right;
  line-height: 1.3;
  font-weight: 500;
}

/* ===================================
   Social Proof Bar
   =================================== */

.social-proof {
  padding: var(--space-4xl) 0;
  background: #000000;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Add atmospheric glow effect behind stats */
.social-proof::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(16, 185, 129, 0.15) 0%,
    rgba(236, 72, 153, 0.1) 40%,
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.social-proof .container {
  position: relative;
  z-index: 1;
}

.social-proof-text {
  font-size: var(--text-xl);
  background: linear-gradient(135deg, var(--bright-green) 0%, var(--primary-green) 30%, var(--deep-pink) 70%, var(--bright-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3xl);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
}

.social-proof-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-4xl);
  flex-wrap: wrap;
  align-items: center;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: var(--space-2xl) var(--space-xl);
  min-width: 280px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.05) 0%,
    rgba(236, 72, 153, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow:
    0 20px 60px rgba(16, 185, 129, 0.2),
    0 0 80px rgba(236, 72, 153, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(110, 231, 183, 0.4) 0%,
    rgba(16, 185, 129, 0.3) 25%,
    rgba(236, 72, 153, 0.3) 75%,
    rgba(244, 114, 182, 0.4) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-value {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--text-dark);
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--bright-green) 0%, var(--primary-green) 30%, var(--deep-pink) 70%, var(--bright-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.4));
}

.stat-label {
  font-size: var(--text-lg);
  color: var(--text-medium);
  margin-top: var(--space-md);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Responsive adjustments for stats */
@media (max-width: 768px) {
  .social-proof {
    padding: var(--space-3xl) 0;
  }

  .social-proof-text {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2xl);
  }

  .social-proof-stats {
    gap: var(--space-xl);
  }

  .stat-item {
    min-width: 240px;
    padding: var(--space-xl) var(--space-lg);
  }

  .stat-value {
    font-size: clamp(3rem, 12vw, 4.5rem);
  }

  .stat-label {
    font-size: var(--text-base);
  }
}

/* ===================================
   Integration Section
   =================================== */

.integrations {
  padding: var(--space-4xl) 0;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--bright-green) 0%, var(--primary-green) 30%, var(--dark-green) 50%, var(--deep-pink) 75%, var(--bright-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
  text-shadow: none;
}

.section-subtitle {
  font-size: var(--text-xl);
  color: var(--text-medium);
  font-weight: 400;
  line-height: 1.6;
  text-shadow: none;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.integration-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.integration-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(236, 72, 153, 0.1) 50%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.integration-card:hover::before {
  opacity: 1;
}

.integration-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.15), 0 4px 12px rgba(236, 72, 153, 0.1);
  border-color: var(--bright-green);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(236, 72, 153, 0.1) 50%, rgba(10, 10, 10, 1) 100%);
}

.integration-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-dark);
  margin-top: var(--space-md);
}

/* Logo Container Styling */
.integration-logo-container {
  position: relative;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.integration-card:hover .integration-logo-container {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow:
    0 4px 20px rgba(16, 185, 129, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.08);
}

.integration-logo {
  max-width: 85%;
  max-height: 65%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1.1) contrast(1.05);
  position: relative;
  z-index: 2;
}

.integration-logo.loaded {
  opacity: 1;
  transform: scale(1);
}

.integration-card:hover .integration-logo.loaded {
  transform: scale(1.05);
  filter: brightness(1.2) contrast(1.1) drop-shadow(0 2px 8px rgba(16, 185, 129, 0.3));
}

/* Skeleton Loading Animation */
.logo-skeleton {
  position: absolute;
  inset: 12px;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(16, 185, 129, 0.08) 25%,
    rgba(236, 72, 153, 0.08) 50%,
    rgba(16, 185, 129, 0.08) 75%,
    rgba(255, 255, 255, 0.02) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.logo-skeleton.hidden {
  opacity: 0;
}

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

/* Loading State Glow Effect */
.integration-logo-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(16, 185, 129, 0.1) 0%,
    rgba(236, 72, 153, 0.05) 50%,
    transparent 100%
  );
  opacity: 0;
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
}

.integration-logo-container.loaded::before {
  animation: none;
  opacity: 0;
}

/* Fallback state - hide logo container if no logo loads */
.integration-logo-container.no-logo {
  display: none;
}

.integration-logo-container.no-logo + .integration-name {
  margin-top: 0;
}

/* Special "and more" card styling */
.integration-card-more {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.12) 0%,
    rgba(52, 211, 153, 0.08) 25%,
    rgba(236, 72, 153, 0.08) 75%,
    rgba(244, 114, 182, 0.12) 100%
  );
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 120px;
}

.integration-card-more::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(
    135deg,
    var(--bright-green) 0%,
    var(--primary-green) 25%,
    var(--deep-pink) 75%,
    var(--bright-pink) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.integration-card-more:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: var(--bright-green);
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.2) 0%,
    rgba(52, 211, 153, 0.15) 25%,
    rgba(236, 72, 153, 0.15) 75%,
    rgba(244, 114, 182, 0.2) 100%
  );
  box-shadow:
    0 16px 40px rgba(16, 185, 129, 0.25),
    0 8px 20px rgba(236, 72, 153, 0.2),
    0 0 60px rgba(110, 231, 183, 0.15);
  animation: gradientShift 3s ease infinite;
}

.integration-card-more:hover::after {
  opacity: 1;
}

.integration-card-more:hover::before {
  opacity: 0;
}

.integration-more-icon {
  color: var(--bright-green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.5));
}

.integration-card-more:hover .integration-more-icon {
  transform: scale(1.2);
  filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.8));
}

.integration-more-icon svg {
  animation: dotPulse 2s ease-in-out infinite;
}

.integration-card-more:hover .integration-more-icon svg {
  animation: dotPulse 1s ease-in-out infinite;
}

.integration-more-text {
  font-style: italic;
  font-weight: 500;
  font-size: var(--text-lg);
  background: linear-gradient(135deg, var(--bright-green) 0%, var(--primary-green) 30%, var(--deep-pink) 70%, var(--bright-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
}

/* Animations for the "and more" card */
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

.integration-disclaimer {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}

/* ===================================
   Features Section
   =================================== */

.features {
  padding: var(--space-4xl) 0;
  background: #000000;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  background: rgba(10, 10, 10, 0.8);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.1);
  transition: all var(--transition-base);
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(236, 72, 153, 0.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px rgba(16, 185, 129, 0.2),
    0 8px 16px rgba(236, 72, 153, 0.15),
    0 0 0 1px rgba(16, 185, 129, 0.3);
  border-color: rgba(236, 72, 153, 0.4);
}

.feature-icon {
  margin-bottom: var(--space-lg);
  transition: transform var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: scale(1.05);
}

.feature-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--bright-green) 0%, var(--primary-green) 35%, var(--deep-pink) 70%, var(--bright-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.feature-description {
  font-size: var(--text-base);
  color: var(--text-medium);
  line-height: 1.7;
  text-shadow: none;
}

/* ===================================
   Metrics Section
   =================================== */

.metrics {
  padding: var(--space-4xl) 0;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.metric-block {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(110, 231, 183, 0.08) 25%, rgba(10, 10, 10, 0.95) 50%, rgba(236, 72, 153, 0.08) 75%, rgba(244, 114, 182, 0.1) 100%);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.metric-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(236, 72, 153, 0.1) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.metric-block:hover::before {
  opacity: 1;
}

.metric-block:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(16, 185, 129, 0.25),
    0 8px 16px rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.5);
}

.metric-number {
  font-size: var(--text-6xl);
  font-weight: 700;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--bright-green) 0%, var(--primary-green) 30%, var(--deep-pink) 65%, var(--bright-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.metric-title {
  font-size: var(--text-xl);
  font-weight: 600;
  background: linear-gradient(135deg, var(--bright-green) 0%, var(--primary-green) 35%, var(--deep-pink) 70%, var(--bright-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
  position: relative;
  z-index: 1;
}

.metric-desc {
  font-size: var(--text-base);
  color: var(--text-light);
  text-shadow: none;
}

.metrics-attribution {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-light);
  font-style: italic;
}

/* ===================================
   Testimonial Section
   =================================== */

.testimonial {
  padding: var(--space-4xl) 0;
  background: #000000;
  position: relative;
}

.testimonial-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(16, 185, 129, 0.08) 50%, rgba(236, 72, 153, 0.08) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  box-shadow:
    0 20px 60px rgba(16, 185, 129, 0.15),
    0 8px 24px rgba(236, 72, 153, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

/* Ambient gradient orb - animates on hover */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 70%);
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
}

/* Dynamic lighting layer */
.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(16, 185, 129, 0.15) 0%,
    rgba(236, 72, 153, 0.08) 30%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

/* Hover Effects */
.testimonial-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 35px 90px rgba(16, 185, 129, 0.3),
    0 20px 50px rgba(236, 72, 153, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(244, 114, 182, 0.4);
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(16, 185, 129, 0.12) 50%, rgba(236, 72, 153, 0.12) 100%);
}

.testimonial-card:hover::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(16, 185, 129, 0.1) 40%, transparent 70%);
  opacity: 1;
  animation: orbPulse 2s ease-in-out infinite;
}

.testimonial-card:hover::after {
  opacity: 1;
}

/* Orb pulse animation */
@keyframes orbPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.testimonial-quote {
  font-size: var(--text-2xl);
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: var(--space-xl);
  font-style: italic;
  position: relative;
  z-index: 1;
  text-shadow: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover .testimonial-quote {
  transform: translateY(-2px);
  color: var(--primary-green);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 0 30px rgba(5, 71, 42, 0.1);
}

.testimonial-quote::before {
  content: '"';
  font-size: var(--text-6xl);
  color: var(--bright-pink);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -20px;
  font-family: Georgia, serif;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.testimonial-card:hover .testimonial-quote::before {
  opacity: 0.35;
  transform: scale(1.1) rotate(-3deg);
  color: var(--medium-pink);
  text-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover .testimonial-author {
  transform: translateX(4px);
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--bright-green));
  flex-shrink: 0;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(5, 71, 42, 0.3);
}

.author-avatar::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bright-green), var(--soft-green));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(8px);
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.1) rotate(5deg);
  box-shadow:
    0 8px 24px rgba(5, 71, 42, 0.4),
    0 0 30px rgba(5, 71, 42, 0.3);
}

.testimonial-card:hover .author-avatar::before {
  opacity: 0.6;
}

.author-info {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover .author-info {
  transform: translateY(-1px);
}

.author-name {
  font-size: var(--text-lg);
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--bright-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
  transition: all 0.4s ease;
}

.testimonial-card:hover .author-name {
  background: linear-gradient(135deg, var(--bright-green) 0%, var(--soft-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(5, 71, 42, 0.2);
}

.author-title {
  font-size: var(--text-base);
  color: var(--text-light);
  transition: color 0.4s ease;
}

.testimonial-card:hover .author-title {
  color: var(--text-medium);
}

/* Testimonial Embed Styles */
.testimonial-content iframe {
  min-height: 200px;
  border: none;
  display: block;
  transition: opacity 0.3s ease;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

/* Ensure iframe loads properly */
.testimonial-content iframe[src=""] {
  opacity: 0;
}

.testimonial-content iframe[src]:not([src=""]) {
  opacity: 1;
}

/* Responsive Testimonial Styles */
@media (max-width: 768px) {
  .testimonial {
    padding: var(--space-3xl) 0;
  }

  .testimonial-card {
    padding: var(--space-2xl) var(--space-lg);
    /* Prevent content cutoff by adjusting overflow */
    overflow: visible;
    /* Reduce or disable dramatic transforms on mobile */
    transform: none !important;
  }

  /* Disable hover effects on mobile to prevent tap issues */
  .testimonial-card:hover {
    transform: none !important;
    box-shadow:
      0 20px 60px rgba(16, 185, 129, 0.15),
      0 8px 24px rgba(236, 72, 153, 0.1),
      0 0 0 1px rgba(255, 255, 255, 0.1);
  }

  .testimonial-card:hover::before {
    width: 300px;
    height: 300px;
    animation: none;
  }

  /* Adjust quote mark positioning to prevent cutoff */
  .testimonial-quote {
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
    padding-top: var(--space-lg);
  }

  .testimonial-quote::before {
    font-size: var(--text-5xl);
    top: 0;
    left: 0;
    opacity: 0.15;
  }

  .testimonial-card:hover .testimonial-quote {
    transform: none;
  }

  .testimonial-card:hover .testimonial-quote::before {
    transform: none;
    opacity: 0.2;
  }

  /* Adjust author section for mobile */
  .testimonial-author {
    gap: var(--space-sm);
  }

  .testimonial-card:hover .testimonial-author {
    transform: none;
  }

  .author-avatar {
    width: 48px;
    height: 48px;
  }

  .testimonial-card:hover .author-avatar {
    transform: none;
  }

  .author-name {
    font-size: var(--text-base);
  }

  .author-title {
    font-size: var(--text-sm);
    line-height: 1.5;
  }

  .testimonial-card:hover .author-info {
    transform: none;
  }

  /* Mobile iframe styles */
  .testimonial-content iframe {
    min-height: 180px;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .testimonial-card {
    padding: var(--space-xl) var(--space-md);
    border-radius: var(--radius-xl);
  }

  .testimonial-quote {
    font-size: var(--text-base);
    padding-top: var(--space-md);
  }

  .testimonial-quote::before {
    font-size: var(--text-4xl);
    left: -8px;
  }

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

  .author-name {
    font-size: var(--text-sm);
  }

  .author-title {
    font-size: var(--text-xs);
  }

  /* Extra small mobile iframe styles */
  .testimonial-content iframe {
    min-height: 160px;
  }

  /* Dashboard adjustments for extra small screens */
  .hero-visual {
    padding: 0 var(--space-xs);
  }

  .dashboard-mockup {
    /* Further reduce box-shadow on very small screens */
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.18),
                0 4px 10px rgba(236, 72, 153, 0.08),
                0 0 1px rgba(255, 255, 255, 0.1);
  }

  .dashboard-mockup:hover {
    /* Minimal hover effect on very small screens */
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2),
                0 5px 12px rgba(236, 72, 153, 0.1),
                0 0 1px rgba(255, 255, 255, 0.12);
  }

  /* CTA Section - Extra Small Screen Optimizations */
  .cta-section {
    /* Extra padding-bottom for glow on tiny screens */
    padding: var(--space-2xl) 0 calc(var(--space-2xl) + 50px);
  }

  .cta-content {
    padding: 0 var(--space-sm);
  }

  .cta-headline {
    font-size: 1.375rem;
    line-height: 1.25;
    /* More aggressive word breaking on tiny screens */
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
  }

  .cta-subheadline {
    font-size: 0.9375rem;
    line-height: 1.4;
  }

  .cta-button-wrapper {
    /* Ensure glow has space on tiny screens */
    padding-bottom: 35px;
  }

  .cta-button-wrapper::before {
    /* Smaller glow for tiny screens */
    width: 250px;
    height: 250px;
    bottom: -35px;
  }

  .btn-cta-hero {
    font-size: 0.9375rem;
    padding: 0.75rem 1.25rem;
    /* Reduce glow intensity on tiny screens */
    box-shadow:
      0 0 25px rgba(255, 255, 255, 0.45),
      0 0 50px rgba(236, 72, 153, 0.35),
      0 0 70px rgba(16, 185, 129, 0.25),
      0 6px 25px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1px 0 rgba(16, 185, 129, 0.2);
  }

  .btn-cta-hero::after {
    /* Smaller glow for tiny screens */
    inset: -1px;
    filter: blur(8px);
    opacity: 0.5;
  }
}

/* ===================================
   CTA Section - Dark Premium Aesthetic
   =================================== */

.cta-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(
    135deg,
    #000000 0%,
    #0a0a0a 25%,
    #000000 50%,
    #0a0a0a 75%,
    #000000 100%
  );
  position: relative;
  overflow: hidden;
  /* Critical: Prevent any horizontal scrolling */
  overflow-x: hidden;
  transition: background 0.8s ease;
  /* Ensure section stays within viewport */
  width: 100%;
  max-width: 100vw;
}

/* Subtle accent gradient orbs for depth */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 800px 600px at 20% 50%,
      rgba(16, 185, 129, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 800px 600px at 80% 50%,
      rgba(236, 72, 153, 0.08) 0%,
      transparent 50%
    );
  opacity: 1;
  pointer-events: none;
}

/* Interactive Cursor Gradient Overlay - Dark mode colors */
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 600px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(16, 185, 129, 0.15) 0%,
    rgba(52, 211, 153, 0.08) 20%,
    rgba(236, 72, 153, 0.08) 40%,
    rgba(244, 114, 182, 0.05) 60%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.cta-section:hover::after {
  opacity: 1;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  /* Ensure content doesn't overflow */
  width: 100%;
  box-sizing: border-box;
  padding: 0 var(--space-md);
}

.cta-headline {
  font-size: var(--text-5xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: #ffffff;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f0fdf4 30%,
    #ffffff 50%,
    #fce7f3 70%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: default;
  position: relative;
  /* Critical: Prevent text overflow */
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

/* Subtle glow behind text */
.cta-headline::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bright-green), var(--bright-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.cta-content:hover .cta-headline {
  transform: translateY(-2px);
}

.cta-content:hover .cta-headline::before {
  opacity: 0.3;
}

.cta-subheadline {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2xl);
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: default;
  /* Critical: Prevent text overflow */
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.cta-content:hover .cta-subheadline {
  transform: translateY(-1px);
  color: rgba(255, 255, 255, 0.95);
}

.cta-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-2xl);
  position: relative;
  transition: transform 0.3s ease;
  /* Ensure button wrapper doesn't overflow */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cta-button-wrapper:hover {
  transform: scale(1.02);
}

.cta-button-wrapper::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(236, 72, 153, 0.12) 30%,
    rgba(16, 185, 129, 0.08) 50%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.cta-button-wrapper:hover::before {
  opacity: 1;
  animation: pulseGlow 2s ease-in-out infinite;
}

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

.btn-cta-hero {
  font-size: 1.25rem;
  padding: 1.25rem 3rem;
  min-width: 280px;
  font-weight: 700;
  letter-spacing: 0.01em;
  position: relative;
  overflow: visible;
  z-index: 1;

  /* Crisp, readable dark text */
  color: #022c22 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 50%, #ffffff 100%);

  /* Text shadow for depth and readability */
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.5);

  /* Glowing effects around button */
  box-shadow:
    0 0 40px rgba(255, 255, 255, 0.6),
    0 0 80px rgba(236, 72, 153, 0.5),
    0 0 100px rgba(16, 185, 129, 0.4),
    0 10px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(16, 185, 129, 0.2);

  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(16, 185, 129, 0.08) 0%,
    rgba(52, 211, 153, 0.05) 40%,
    transparent 70%
  );
  opacity: 1;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.btn-cta-hero::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(236, 72, 153, 0.6) 25%,
    rgba(16, 185, 129, 0.6) 75%,
    rgba(255, 255, 255, 0.8) 100%
  );
  border-radius: inherit;
  z-index: -1;
  opacity: 0.7;
  filter: blur(12px);
  transition: all 0.3s ease;
}

.btn-cta-hero:hover {
  transform: translateY(-4px) scale(1.05);
  color: #022c22 !important;
  background: linear-gradient(135deg, #ffffff 0%, #dcfce7 50%, #ffffff 100%);

  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.9),
    0 0 30px rgba(255, 255, 255, 0.6);

  box-shadow:
    0 0 60px rgba(255, 255, 255, 0.9),
    0 0 120px rgba(236, 72, 153, 0.7),
    0 0 140px rgba(16, 185, 129, 0.6),
    0 15px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(16, 185, 129, 0.3);

  border-color: rgba(255, 255, 255, 1);
}

.btn-cta-hero:hover::before {
  opacity: 1.5;
  background: radial-gradient(
    circle at center,
    rgba(16, 185, 129, 0.12) 0%,
    rgba(52, 211, 153, 0.08) 40%,
    transparent 70%
  );
}

.btn-cta-hero:hover::after {
  opacity: 1;
  filter: blur(16px);
  transform: scale(1.15);
}

.btn-cta-hero:active {
  transform: translateY(-2px) scale(1.02);
  color: #022c22 !important;
}

.cta-form {
  margin-bottom: var(--space-md);
}

.form-group {
  display: flex;
  gap: var(--space-sm);
  max-width: 500px;
  margin: 0 auto;
}

.form-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.cta-note {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
}

.cta-link {
  color: white;
  text-decoration: underline;
  font-weight: 600;
}

.cta-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ===================================
   Footer
   =================================== */

.footer {
  background: #000000;
  color: white;
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.footer-links {
  display: contents;
}

.footer-column-title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-link {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ===================================
   Pricing Section
   =================================== */

.pricing {
  padding: var(--space-3xl) 0;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.pricing .section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Single Plan Pricing Grid */
.pricing-grid-single {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Single Plan Pricing Card */
.pricing-card-single {
  width: 100%;
  max-width: 650px;
  background: linear-gradient(135deg, #047857 0%, #059669 15%, #10b981 30%, #ec4899 60%, #f472b6 80%, #fbcfe8 100%);
  border: 2px solid rgba(236, 72, 153, 0.5);
  box-shadow: 0 12px 48px rgba(236, 72, 153, 0.4), 0 6px 24px rgba(244, 114, 182, 0.5);
  transform: scale(1.0);
}

.pricing-card-single::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.18) 50%, rgba(0, 0, 0, 0.25) 100%);
}

.pricing-card-single:hover {
  transform: translateY(-8px) scale(1.0);
  box-shadow: 0 25px 70px rgba(2, 54, 24, 0.7), 0 12px 40px rgba(5, 71, 42, 0.6);
  border-color: rgba(7, 133, 87, 0.8);
}

.pricing-card {
  background: linear-gradient(135deg, #065f46 0%, #047857 20%, #059669 40%, #10b981 60%, #34d399 80%, #6ee7b7 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-xl);
  border: 2px solid rgba(16, 185, 129, 0.4);
  transition: all var(--transition-slow);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(6, 95, 70, 0.4), 0 4px 16px rgba(16, 185, 129, 0.3);
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
  z-index: 0;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(2, 54, 24, 0.6), 0 8px 32px rgba(5, 71, 42, 0.4);
  border-color: rgba(5, 71, 42, 0.6);
}

/* Featured Premium Card */
.pricing-card-featured {
  background: linear-gradient(135deg, #047857 0%, #059669 15%, #10b981 30%, #ec4899 60%, #f472b6 80%, #fbcfe8 100%);
  border: 2px solid rgba(236, 72, 153, 0.5);
  box-shadow: 0 12px 48px rgba(236, 72, 153, 0.4), 0 6px 24px rgba(244, 114, 182, 0.5);
  transform: scale(1.02);
}

.pricing-card-featured::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.18) 50%, rgba(0, 0, 0, 0.25) 100%);
}

.pricing-card-featured:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 70px rgba(2, 54, 24, 0.7), 0 12px 40px rgba(5, 71, 42, 0.6);
  border-color: rgba(7, 133, 87, 0.8);
}

/* Popular Badge */
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

/* Pricing Header */
.pricing-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.pricing-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.pricing-badge-premium {
  background: rgba(236, 72, 153, 0.3);
  color: white;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.price-currency {
  font-size: var(--text-xl);
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.price-amount {
  font-size: var(--text-5xl);
  font-weight: 700;
  font-family: var(--font-display);
  color: white;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(5, 71, 42, 0.5), 0 4px 24px rgba(7, 133, 87, 0.3);
}

.price-period {
  font-size: var(--text-base);
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.pricing-description {
  color: #ffffff;
  font-size: var(--text-sm);
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

/* Pricing Features */
.pricing-features {
  flex: 1;
  margin-bottom: var(--space-md);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs) var(--space-md);
  align-content: start;
}

.pricing-feature-section {
  grid-column: 1 / -1;
  margin: var(--space-sm) 0;
  position: relative;
  z-index: 1;
}

.feature-section-title {
  font-size: var(--text-xs);
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  opacity: 1;
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

.pricing-card:hover .pricing-feature {
  transform: translateX(2px);
}

.feature-check {
  flex-shrink: 0;
  margin-top: 1px;
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 1px 3px rgba(5, 71, 42, 0.5));
}

.pricing-feature span {
  color: #ffffff;
  font-size: var(--text-sm);
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

/* Button Block Style */
.btn-block {
  width: 100%;
  justify-content: center;
  padding: 12px 24px;
  font-size: var(--text-sm);
  position: relative;
  z-index: 1;
}

/* Pricing Section Button Overrides - Dark Text for Better Visibility */
.pricing-card .btn-secondary {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #022c22;
  border: 2px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  font-weight: 700;
  text-shadow: none;
}

.pricing-card .btn-secondary:hover {
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
  border-color: rgba(255, 255, 255, 1);
  color: #022c22;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.5), 0 2px 8px rgba(16, 185, 129, 0.2);
}

.pricing-card .btn-primary {
  background: rgba(255, 255, 255, 0.95);
  color: #047857;
  border: 2px solid rgba(255, 255, 255, 1);
  text-shadow: none;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3), 0 2px 10px rgba(16, 185, 129, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: none;
}

.pricing-card .btn-primary:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5), 0 4px 15px rgba(16, 185, 129, 0.3);
  color: #047857;
  border-color: rgba(255, 255, 255, 1);
  filter: brightness(1.05);
  transform: translateY(-2px) scale(1.02);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero-headline {
    font-size: var(--text-4xl);
  }

  .hero-subheadline {
    font-size: var(--text-lg);
  }

  .dashboard-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .metric-card {
    padding: var(--space-sm);
  }

  .metric-value {
    font-size: var(--text-2xl);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .pricing-grid-single {
    max-width: 100%;
    padding: 0 var(--space-md);
  }

  .pricing-card-single {
    max-width: 100%;
  }

  .pricing-card-featured {
    transform: scale(1);
  }

  .pricing-card-featured:hover {
    transform: translateY(-8px) scale(1);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero {
    padding-top: calc(64px + var(--space-xl));
    padding-bottom: var(--space-2xl);
    min-height: auto;
    overflow-x: hidden;
  }

  /* Hero section needs less padding to accommodate dashboard shadow */
  .hero .container {
    padding: 0 var(--space-sm);
  }

  .hero-container {
    gap: var(--space-xl);
    padding: 0;
  }

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

  .hero-headline {
    font-size: var(--text-3xl);
    word-wrap: break-word;
  }

  .hero-subheadline {
    font-size: var(--text-base);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    /* Add horizontal padding to contain the dashboard and its shadow */
    padding: 0 var(--space-sm);
  }

  .dashboard-mockup {
    width: 100%;
    max-width: 100%;
    /* Reduce box-shadow on mobile to prevent cutoff */
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2),
                0 5px 15px rgba(236, 72, 153, 0.1),
                0 0 1px rgba(255, 255, 255, 0.1);
    /* Ensure the mockup fits within the container */
    margin: 0 auto;
  }

  .dashboard-mockup:hover {
    /* Reduce hover transform on mobile to prevent overflow */
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.25),
                0 8px 20px rgba(236, 72, 153, 0.15),
                0 0 1px rgba(255, 255, 255, 0.15);
  }

  .btn-large {
    width: 100%;
  }

  .dashboard-header {
    padding: var(--space-sm);
  }

  .dashboard-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dashboard-content {
    padding: var(--space-sm);
  }

  .dashboard-metrics {
    gap: var(--space-xs);
  }

  .metric-card {
    padding: var(--space-xs);
  }

  .metric-label {
    font-size: var(--text-xs);
  }

  .metric-value {
    font-size: var(--text-lg);
  }

  .metric-unit {
    font-size: var(--text-base);
  }

  .activity-item {
    padding: var(--space-xs);
    gap: var(--space-xs);
  }

  .activity-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .activity-icon svg {
    width: 14px;
    height: 14px;
  }

  .activity-details {
    min-width: 0;
    flex: 1;
  }

  .activity-name {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .activity-action {
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .status-badge,
  .call-duration {
    font-size: 8px;
    padding: 1px 4px;
  }

  .activity-time {
    font-size: 8px;
    min-width: 35px;
    text-align: right;
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .section-subtitle {
    font-size: var(--text-base);
  }

  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .integration-card {
    padding: var(--space-sm);
  }

  .integration-name {
    font-size: var(--text-sm);
  }

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

  .feature-card {
    padding: var(--space-lg);
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .metric-number {
    font-size: var(--text-4xl);
  }

  .testimonial-card {
    padding: var(--space-lg);
  }

  .testimonial-quote {
    font-size: var(--text-lg);
  }

  .author-info {
    text-align: left;
  }

  .author-title {
    font-size: var(--text-xs);
  }

  /* CTA Section - Mobile Optimizations for No Scrolling */
  .cta-section {
    /* Extra padding-bottom to accommodate button glow effect */
    padding: var(--space-3xl) 0 calc(var(--space-3xl) + 60px);
    overflow-x: hidden;
    /* Allow vertical overflow for glow effects */
    overflow-y: visible;
  }

  .cta-content {
    max-width: 100%;
    padding: 0 var(--space-md);
    /* Ensure no content breaks out */
    width: 100%;
    box-sizing: border-box;
  }

  .cta-headline {
    font-size: var(--text-2xl);
    /* Force proper text wrapping */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    /* Ensure headline stays within bounds */
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    /* Remove any transforms that might cause overflow */
    transform: none !important;
  }

  .cta-headline::before {
    /* Disable glow effect on mobile to prevent overflow */
    display: none;
  }

  .cta-subheadline {
    font-size: var(--text-base);
    margin-bottom: var(--space-xl);
    /* Force proper text wrapping */
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    white-space: normal;
    line-height: 1.5;
    /* Remove any transforms that might cause overflow */
    transform: none !important;
  }

  .cta-button-wrapper {
    margin-top: var(--space-lg);
    width: 100%;
    /* Remove scaling that might cause overflow */
    transform: none !important;
    /* Add padding for glow effect space */
    padding-bottom: 40px;
    /* Allow overflow for glow effects */
    overflow: visible;
  }

  .cta-button-wrapper::before {
    /* Keep background glow but make it smaller on mobile */
    display: block;
    width: 300px;
    height: 300px;
    bottom: -40px;
  }

  .btn-cta-hero {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    min-width: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Ensure glow effects are visible */
    overflow: visible;
    /* Adjust box-shadow for mobile - keep the glow but reduce intensity */
    box-shadow:
      0 0 30px rgba(255, 255, 255, 0.5),
      0 0 60px rgba(236, 72, 153, 0.4),
      0 0 80px rgba(16, 185, 129, 0.3),
      0 8px 30px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1px 0 rgba(16, 185, 129, 0.2);
  }

  .btn-cta-hero::after {
    /* Keep the glow effect on mobile but adjust size */
    inset: -2px;
    filter: blur(10px);
    opacity: 0.6;
  }

  .btn-cta-hero:hover {
    /* Reduce hover lift on mobile but keep effect */
    transform: translateY(-2px) scale(1.02);
  }

  .btn-cta-hero:hover::after {
    opacity: 0.8;
    filter: blur(12px);
  }

  .form-group {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .pricing {
    padding: var(--space-xl) 0;
  }

  .pricing-card {
    padding: var(--space-md);
  }

  .price-amount {
    font-size: var(--text-3xl);
  }

  .pricing-features {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  .pricing-feature span {
    font-size: var(--text-xs);
  }

  .feature-check {
    width: 14px;
    height: 14px;
  }

  .social-proof-stats {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-xl);
  }

  .stat-value {
    font-size: var(--text-2xl);
  }

  .gradient-orb {
    display: none;
  }
}

/* ===================================
   Accessibility
   =================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===================================
   FAQ Section
   =================================== */

.faq-section {
  padding: var(--space-4xl) 0;
  background: #000000;
  position: relative;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(16, 185, 129, 0.05) 50%, rgba(236, 72, 153, 0.05) 100%);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(236, 72, 153, 0.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item:hover {
  border-color: var(--bright-green);
  box-shadow:
    0 8px 24px rgba(16, 185, 129, 0.15),
    0 4px 12px rgba(236, 72, 153, 0.1);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: var(--primary-green);
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(16, 185, 129, 0.08) 50%, rgba(236, 72, 153, 0.08) 100%);
  box-shadow:
    0 12px 32px rgba(16, 185, 129, 0.2),
    0 6px 16px rgba(236, 72, 153, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.faq-question:hover {
  background: rgba(16, 185, 129, 0.05);
}

.faq-question-text {
  font-size: var(--text-xl);
  font-weight: 600;
  background: linear-gradient(135deg, var(--bright-green) 0%, var(--primary-green) 40%, var(--deep-pink) 80%, var(--bright-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
  transition: all 0.3s ease;
  flex: 1;
  padding-right: var(--space-md);
}

.faq-item:hover .faq-question-text {
  background: linear-gradient(135deg, var(--soft-green) 0%, var(--bright-green) 40%, var(--medium-pink) 80%, var(--bright-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-green), var(--bright-green));
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.faq-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--bright-green), var(--soft-green));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  filter: blur(8px);
}

.faq-question:hover .faq-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.faq-question:hover .faq-icon::before {
  opacity: 0.6;
}

.faq-icon svg {
  color: white;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon-vertical {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
  background: linear-gradient(135deg, var(--deep-pink), var(--bright-pink));
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.4);
}

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

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

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-content {
  min-height: 0;
  padding: 0 var(--space-xl);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s,
    padding 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.active .faq-answer-content {
  opacity: 1;
  transform: translateY(0);
  padding: 0 var(--space-xl) var(--space-lg);
}

.faq-answer-content p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text-medium);
  margin: 0;
  text-shadow: none;
  transition: color 0.3s ease;
}

.faq-item.active .faq-answer-content p {
  color: var(--text-dark);
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: var(--space-2xl) 0;
  }

  .faq-question {
    padding: var(--space-md) var(--space-lg);
  }

  .faq-question-text {
    font-size: var(--text-base);
    padding-right: var(--space-sm);
  }

  .faq-icon {
    width: 32px;
    height: 32px;
  }

  .faq-icon svg {
    width: 20px;
    height: 20px;
  }

  .faq-answer-content {
    padding: 0 var(--space-lg);
  }

  .faq-item.active .faq-answer-content {
    padding: 0 var(--space-lg) var(--space-md);
  }

  .faq-answer-content p {
    font-size: var(--text-sm);
    line-height: 1.7;
  }
}

/* ===================================
   Premium Video Modal - Cinematic Design
   =================================== */

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              visibility 0s 0.4s;
  perspective: 1200px;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated background with gradient orbs */
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.modal-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.video-modal.active .modal-gradient-orb {
  opacity: 0.6;
}

.modal-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation: orbFloat1 8s ease-in-out infinite;
}

.modal-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.35) 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation: orbFloat2 10s ease-in-out infinite;
}

.modal-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.3) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, 30px) scale(1.1); }
  66% { transform: translate(-30px, 50px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, -30px) scale(1.05); }
  66% { transform: translate(30px, -40px) scale(0.9); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: 92%;
  max-width: 1100px;
  background: linear-gradient(
    165deg, 
    rgba(15, 23, 42, 0.97) 0%, 
    rgba(10, 15, 30, 0.98) 50%,
    rgba(5, 10, 20, 0.99) 100%
  );
  border-radius: 28px;
  overflow: hidden;
  transform: scale(0.85) translateY(40px) rotateX(8deg);
  transform-origin: center center;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 
    0 0 0 1px rgba(105, 246, 190, 0.15),
    0 0 0 2px rgba(255, 255, 255, 0.03),
    0 50px 100px -20px rgba(0, 0, 0, 0.7),
    0 30px 60px -30px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(16, 185, 129, 0.15),
    0 0 120px rgba(236, 72, 153, 0.1);
}

.video-modal.active .video-modal-content {
  transform: scale(1) translateY(0) rotateX(0);
}

/* Decorative corner accents */
.modal-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
  z-index: 10;
}

.modal-corner::before,
.modal-corner::after {
  content: '';
  position: absolute;
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #ec4899 100%);
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}

.video-modal.active .modal-corner::before,
.video-modal.active .modal-corner::after {
  opacity: 0.8;
}

.modal-corner-tl { top: 0; left: 0; }
.modal-corner-tl::before { top: 0; left: 0; width: 2px; height: 30px; }
.modal-corner-tl::after { top: 0; left: 0; width: 30px; height: 2px; }

.modal-corner-tr { top: 0; right: 0; }
.modal-corner-tr::before { top: 0; right: 0; width: 2px; height: 30px; }
.modal-corner-tr::after { top: 0; right: 0; width: 30px; height: 2px; }

.modal-corner-bl { bottom: 0; left: 0; }
.modal-corner-bl::before { bottom: 0; left: 0; width: 2px; height: 30px; }
.modal-corner-bl::after { bottom: 0; left: 0; width: 30px; height: 2px; }

.modal-corner-br { bottom: 0; right: 0; }
.modal-corner-br::before { bottom: 0; right: 0; width: 2px; height: 30px; }
.modal-corner-br::after { bottom: 0; right: 0; width: 30px; height: 2px; }

/* Animated border glow */
.modal-border-glow {
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    #10b981 25%, 
    #34d399 50%, 
    #ec4899 75%, 
    transparent 100%
  );
  background-size: 200% 100%;
  opacity: 0;
  z-index: -1;
  animation: borderGlowSweep 4s linear infinite;
  transition: opacity 0.5s ease 0.2s;
}

.video-modal.active .modal-border-glow {
  opacity: 0.5;
}

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

/* Modal Header */
.video-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 32px 20px;
  background: linear-gradient(
    180deg, 
    rgba(16, 185, 129, 0.08) 0%, 
    rgba(16, 185, 129, 0.02) 50%,
    transparent 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.video-modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.3) 50%, transparent 100%);
}

.modal-header-content {
  flex: 1;
}

/* Badge styling */
.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #34d399;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.modal-badge-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px #10b981;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.video-modal-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(52, 211, 153, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  color: #34d399;
  flex-shrink: 0;
}

.title-text {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.video-modal-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* Close button */
.video-modal-close {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: -4px;
  margin-right: -8px;
  overflow: hidden;
}

.video-modal-close .close-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.video-modal-close:hover .close-bg {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(236, 72, 153, 0.1) 100%);
  border-color: rgba(236, 72, 153, 0.3);
}

.video-modal-close svg {
  position: relative;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal-close:hover {
  color: #f472b6;
}

.video-modal-close:hover svg {
  transform: rotate(90deg) scale(1.1);
}

.video-modal-close:active svg {
  transform: rotate(90deg) scale(0.95);
}

/* Modal Body */
.video-modal-body {
  padding: 24px 32px 28px;
  background: rgba(5, 10, 20, 0.5);
}

.video-frame {
  position: relative;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: linear-gradient(135deg, #0a0f1a 0%, #050810 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.video-container.loaded iframe {
  opacity: 1;
}

/* Premium loading state */
.video-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  z-index: 5;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-container.loaded .video-loader {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  position: relative;
  width: 64px;
  height: 64px;
}

.ring-segment {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
}

.ring-segment:nth-child(1) {
  border-top-color: #10b981;
  animation: ringRotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.ring-segment:nth-child(2) {
  border-right-color: #34d399;
  animation: ringRotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  animation-delay: -0.4s;
}

.ring-segment:nth-child(3) {
  border-bottom-color: #ec4899;
  animation: ringRotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  animation-delay: -0.8s;
}

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

.loader-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: loaderPulse 1.5s ease-in-out infinite;
}

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

.loader-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Video reflection effect */
.video-reflection {
  position: absolute;
  bottom: -40px;
  left: 10%;
  right: 10%;
  height: 40px;
  background: linear-gradient(
    180deg, 
    rgba(16, 185, 129, 0.08) 0%, 
    transparent 100%
  );
  border-radius: 0 0 50% 50%;
  filter: blur(8px);
  opacity: 0.6;
  pointer-events: none;
}

/* Modal Footer */
.video-modal-footer {
  padding: 20px 32px 24px;
  background: linear-gradient(
    180deg, 
    transparent 0%, 
    rgba(16, 185, 129, 0.04) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.modal-footer-content {
  display: flex;
  justify-content: center;
}

.footer-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: linear-gradient(
    135deg, 
    rgba(16, 185, 129, 0.08) 0%, 
    rgba(236, 72, 153, 0.06) 100%
  );
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 16px;
}

.footer-cta-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.btn-modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(
    135deg, 
    #10b981 0%, 
    #059669 50%, 
    #047857 100%
  );
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 15px rgba(16, 185, 129, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  text-decoration: none;
}

.btn-modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(16, 185, 129, 0.4),
    0 0 30px rgba(16, 185, 129, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.btn-modal-cta:active {
  transform: translateY(0);
}

.btn-modal-cta svg {
  transition: transform 0.3s ease;
}

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

/* Responsive styles */
@media (max-width: 900px) {
  .video-modal-content {
    width: 95%;
    max-width: none;
    border-radius: 20px;
  }
  
  .video-modal-header {
    padding: 24px 24px 18px;
  }
  
  .video-modal-header::after {
    left: 24px;
    right: 24px;
  }
  
  .video-modal-title {
    font-size: 22px;
  }
  
  .title-icon {
    width: 38px;
    height: 38px;
  }
  
  .video-modal-body {
    padding: 20px 24px 24px;
  }
  
  .video-modal-footer {
    padding: 18px 24px 22px;
  }
  
  .footer-cta {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding: 18px 20px;
  }
  
  .modal-corner { display: none; }
}

@media (max-width: 640px) {
  .video-modal-content {
    width: 100%;
    height: 100%;
    max-height: 100dvh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }
  
  .modal-border-glow { display: none; }
  
  .video-modal-header {
    padding: 20px 20px 16px;
    flex-shrink: 0;
  }
  
  .video-modal-header::after {
    left: 20px;
    right: 20px;
  }
  
  .modal-badge {
    padding: 5px 12px;
    font-size: 11px;
    margin-bottom: 12px;
  }
  
  .video-modal-title {
    font-size: 18px;
    gap: 10px;
  }
  
  .title-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  
  .title-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .video-modal-subtitle {
    font-size: 13px;
  }
  
  .video-modal-close {
    width: 42px;
    height: 42px;
    margin-top: -2px;
    margin-right: -6px;
  }
  
  .video-modal-body {
    padding: 16px 20px 20px;
    flex: 1;
    display: flex;
    align-items: center;
  }
  
  .video-frame {
    width: 100%;
  }
  
  .video-container {
    border-radius: 12px;
  }
  
  .video-reflection { display: none; }
  
  .video-modal-footer {
    padding: 16px 20px 20px;
    flex-shrink: 0;
  }
  
  .footer-cta {
    padding: 14px 16px;
    border-radius: 12px;
    gap: 12px;
  }
  
  .footer-cta-text {
    font-size: 13px;
  }
  
  .btn-modal-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  
  .loader-ring {
    width: 52px;
    height: 52px;
  }
  
  .loader-pulse {
    width: 20px;
    height: 20px;
  }
  
  .loader-text {
    font-size: 12px;
  }
}

/* Safe area padding for notched devices */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 640px) {
    .video-modal-footer {
      padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
  }
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
  padding-right: 0;
  position: fixed;
  width: 100%;
}

/* Accessibility: Focus styles */
.video-modal-close:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

.btn-modal-cta:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

/* Entrance animations for modal elements */
.video-modal.active .modal-badge,
.video-modal.active .video-modal-title,
.video-modal.active .video-modal-subtitle {
  animation: modalFadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.video-modal.active .modal-badge { animation-delay: 0.15s; }
.video-modal.active .video-modal-title { animation-delay: 0.2s; }
.video-modal.active .video-modal-subtitle { animation-delay: 0.25s; }

.video-modal.active .video-frame {
  animation: modalFadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s backwards;
}

.video-modal.active .footer-cta {
  animation: modalFadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

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