/* ========================================
   Font Imports
   ======================================== */

/* Satoshi - for Audixa AI logos */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap');

/* Geist - for headings */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&display=swap');

/* Montserrat - for paragraphs/body text */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ========================================
   CSS Variables & Base Styles
   ======================================== */

:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 7%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 7%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 7%; 
  --primary: 0 0% 7%;
  --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 96%;
  --secondary-foreground: 0 0% 7%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 40%;
  --accent: 45 100% 65%;
  --accent-foreground: 0 0% 7%;
  --accent-orange: 24 100% 65%;
  --accent-purple: 215 28% 42%;
  --accent-purple-light: 280 60% 96%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 0 0% 7%;
  --radius: 0.75rem;

  /* Gradients */
  --gradient-purple: linear-gradient(135deg, hsl(270, 67%, 91%) 0%, hsl(280, 60%, 96%) 100%);
  --gradient-hero: radial-gradient(ellipse at center top, hsl(270, 67%, 95%) 0%, hsl(0, 0%, 100%) 60%);
  --gradient-section-1: linear-gradient(180deg, hsl(0, 0%, 100%) 0%, hsl(270, 30%, 98%) 50%, hsl(0, 0%, 100%) 100%);
  --gradient-section-2: linear-gradient(135deg, hsl(280, 20%, 98%) 0%, hsl(0, 0%, 100%) 50%, hsl(45, 30%, 98%) 100%);
  --gradient-section-3: radial-gradient(ellipse at top right, hsl(270, 40%, 97%) 0%, hsl(0, 0%, 100%) 70%);
  --gradient-section-4: radial-gradient(ellipse at bottom left, hsl(45, 30%, 97%) 0%, hsl(0, 0%, 100%) 70%);
  --gradient-section-5: linear-gradient(180deg, hsl(0, 0%, 100%) 0%, hsl(200, 20%, 98%) 100%);
  --gradient-section-6: radial-gradient(ellipse at center, hsl(280, 25%, 98%) 0%, hsl(0, 0%, 100%) 80%);
  --gradient-promo: linear-gradient(90deg, hsl(243, 75%, 59%) 0%, hsl(243, 75%, 55%) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 hsl(0 0% 0% / 0.05);
  --shadow-md: 0 4px 6px -1px hsl(0 0% 0% / 0.1), 0 2px 4px -2px hsl(0 0% 0% / 0.1);
  --shadow-lg: 0 10px 15px -3px hsl(0 0% 0% / 0.1), 0 4px 6px -4px hsl(0 0% 0% / 0.1);
  --shadow-xl: 0 20px 25px -5px hsl(0 0% 0% / 0.1), 0 8px 10px -6px hsl(0 0% 0% / 0.1);
  --shadow-card: 0 8px 32px -8px hsl(0 0% 0% / 0.12);
  --shadow-float: 0 24px 48px -12px hsl(0 0% 0% / 0.18);
}

.dark {
  --background: 0 0% 4%;
  --foreground: 0 0% 98%;
  --card: 0 0% 7%;
  --card-foreground: 0 0% 98%;
  --popover: 0 0% 7%;
  --popover-foreground: 0 0% 98%;
  --primary: 0 0% 98%;
  --primary-foreground: 0 0% 7%;
  --secondary: 0 0% 15%;
  --secondary-foreground: 0 0% 98%;
  --muted: 0 0% 15%;
  --muted-foreground: 0 0% 64%;
  --accent: 45 100% 65%;
  --accent-foreground: 0 0% 7%;
  --accent-orange: 24 100% 65%;
  --accent-purple: 270 50% 25%;
  --accent-purple-light: 280 40% 15%;
  --border: 0 0% 15%;
  --input: 0 0% 15%;
  --ring: 0 0% 83%;

  --gradient-purple: linear-gradient(135deg, hsl(270, 50%, 15%) 0%, hsl(280, 40%, 10%) 100%);
  --gradient-hero: radial-gradient(ellipse at center top, hsl(270, 50%, 10%) 0%, hsl(0, 0%, 4%) 60%);
  --gradient-section-1: linear-gradient(180deg, hsl(0, 0%, 4%) 0%, hsl(270, 30%, 8%) 50%, hsl(0, 0%, 4%) 100%);
  --gradient-section-2: linear-gradient(135deg, hsl(280, 20%, 8%) 0%, hsl(0, 0%, 4%) 50%, hsl(45, 30%, 8%) 100%);
  --gradient-section-3: radial-gradient(ellipse at top right, hsl(270, 40%, 10%) 0%, hsl(0, 0%, 4%) 70%);
  --gradient-section-4: radial-gradient(ellipse at bottom left, hsl(45, 30%, 10%) 0%, hsl(0, 0%, 4%) 70%);
  --gradient-section-5: linear-gradient(180deg, hsl(0, 0%, 4%) 0%, hsl(200, 20%, 8%) 100%);
  --gradient-section-6: radial-gradient(ellipse at center, hsl(280, 25%, 8%) 0%, hsl(0, 0%, 4%) 80%);
  --gradient-promo: linear-gradient(90deg, hsl(243, 75%, 45%) 0%, hsl(243, 75%, 40%) 100%);
}

/* ========================================
   Reset & Base
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ========================================
   Utility Classes
   ======================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.text-right-lg {
  text-align: left;
}

@media (min-width: 1024px) {
  .text-right-lg {
    text-align: right;
  }
}

.w-full {
  width: 100%;
}

.mb-8 {
  margin-bottom: 2rem;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.8;
  /* transform: scale(1.01); */
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid hsl(var(--border));
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: hsl(var(--secondary));
  transform: scale(1.02);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-secondary-inverted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.btn-secondary-inverted:hover {
  opacity: 0.9;
}

/* ========================================
   Badges
   ======================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-green {
  background-color: hsl(142, 76%, 90%);
  color: hsl(142, 76%, 36%);
}

.dark .badge-green {
  background-color: hsl(142, 76%, 20%);
  color: hsl(142, 76%, 70%);
}

.badge-dark {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
}

/* ========================================
   Navbar
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.promo-banner {
  background: var(--gradient-promo);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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

.logo {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: hsl(var(--foreground));
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: hsl(var(--foreground));
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.5rem; /* Padding instead of margin to keep hover area */
  min-width: 12rem;
}

.dropdown-menu::before {
  /* Invisible bridge to prevent hover gap */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.dropdown-menu > :first-child {
  border-radius: 0.5rem 0.5rem 0 0;
}

.dropdown-menu > :last-child {
  border-radius: 0 0 0.5rem 0.5rem;
}

/* Inner container for styling */
.dropdown-menu::after {
  content: '';
  position: absolute;
  top: 0.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  z-index: -1;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.dropdown-item:hover {
  color: hsl(var(--foreground));
  background-color: hsl(var(--secondary) / 0.5);
}

.theme-toggle {
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: hsl(var(--foreground));
  transition: background-color 0.2s ease;
}

.theme-toggle:hover {
  background-color: hsl(var(--secondary));
}

.theme-toggle .moon-icon {
  display: none;
}

.dark .theme-toggle .sun-icon {
  display: none;
}

.dark .theme-toggle .moon-icon {
  display: block;
}

.mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-theme-toggle {
  display: block;
  /* margin-right removed in favor of gap */
}

@media (min-width: 1024px) {
  .mobile-controls {
    display: none;
  }
}

.mobile-menu-toggle {
  display: flex;
  padding: 0.5rem;
  color: hsl(var(--foreground));
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle .close-icon {
  display: none;
}

.mobile-menu-toggle.active .menu-icon {
  display: none;
}

.mobile-menu-toggle.active .close-icon {
  display: block;
}

.mobile-menu {
  display: none;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
  background-color: hsl(var(--secondary) / 0.5);
}

.mobile-nav-link.sub {
  padding-left: 1.5rem;
}

.mobile-section-title {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

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

.hero-section {
  position: relative;
  min-height: 80vh;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Dark mode background for hero */
.dark .hero-section {
  /* background: hsl(220, 20%, 8%); */
}

/* Grid pattern overlay for hero */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(hsl(var(--foreground) / 0.15) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--foreground) / 0.15) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: 
    radial-gradient(ellipse at center, transparent 30%, black 100%),
    linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: 
    radial-gradient(ellipse at center, transparent 30%, black 100%),
    linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
  mask-composite: intersect;
}

.dark .hero-section::before {
  background-image: 
    linear-gradient(hsl(var(--foreground) / 0.1) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--foreground) / 0.1) 1px, transparent 1px);
}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: 8rem;
  }
}

.hero-bg-decorations {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.hero-blob-1 {
  top: 5rem;
  left: 2.5rem;
  width: 18rem;
  height: 18rem;
  background-color: hsl(var(--accent-purple) / 0.3);
}

.hero-blob-2 {
  top: 10rem;
  right: 5rem;
  width: 24rem;
  height: 24rem;
  background-color: hsl(var(--accent-purple) / 0.2);
}

.hero-blob-3 {
  bottom: 5rem;
  left: 33%;
  width: 16rem;
  height: 16rem;
  background-color: hsl(var(--accent-purple-light) / 0.4);
}

.hero-container {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
}

/* Floating Cards */
.floating-card {
  display: none;
  position: absolute;
  z-index: 0;
}

@media (min-width: 1024px) {
  .floating-card {
    display: block;
  }
}

.floating-card-1 {
  left: -7.5rem;
  top: 15%;
  transform: rotate(-8deg);
}

.floating-card-2 {
  right: -6.25rem;
  top: 12%;
  transform: rotate(6deg);
}

.floating-card-3 {
  left: -5rem;
  top: 58%;
  transform: rotate(-5deg);
}

.floating-card-4 {
  right: -5.625rem;
  top: 55%;
  transform: rotate(4deg);
}

.floating-card-inner {
  padding: 1rem 1.25rem;
  border-radius: 1.5rem;
  border: 1px solid hsl(var(--border) / 0.5);
  box-shadow: var(--shadow-lg);
}

.card-orange {
  background: linear-gradient(135deg, hsl(45, 100%, 94%) 0%, hsl(30, 100%, 94%) 100%);
}

.card-violet {
  background: linear-gradient(135deg, hsl(270, 100%, 96%) 0%, hsl(280, 100%, 96%) 100%);
  border-radius: 1.5rem 1.5rem 0.5rem 1.5rem;
  max-width: 11rem;
  position: relative;
}

.card-emerald {
  background: linear-gradient(to right, hsl(152, 76%, 94%) 0%, hsl(166, 76%, 94%) 100%);
}

.card-rose {
  background: linear-gradient(135deg, hsl(350, 100%, 96%) 0%, hsl(330, 100%, 96%) 100%);
  width: 11rem;
}

/* Dark mode overrides for floating cards */
.dark .card-orange {
  background: linear-gradient(135deg, hsl(45, 80%, 20%) 0%, hsl(30, 80%, 18%) 100%);
}

.dark .card-violet {
  background: linear-gradient(135deg, hsl(270, 60%, 22%) 0%, hsl(280, 60%, 20%) 100%);
}

.dark .card-emerald {
  background: linear-gradient(to right, hsl(152, 50%, 18%) 0%, hsl(166, 50%, 16%) 100%);
}

.dark .card-rose {
  background: linear-gradient(135deg, hsl(350, 60%, 20%) 0%, hsl(330, 60%, 18%) 100%);
}

.dark .floating-card-title {
  color: hsl(45, 100%, 85%);
}

.dark .floating-card-subtitle {
  color: hsl(45, 60%, 70%);
}

.dark .speech-bubble-text {
  color: hsl(270, 80%, 85%);
}

.dark .dot {
  background-color: hsl(270, 70%, 60%);
}

.dark .speech-tail {
  background: linear-gradient(135deg, hsl(270, 60%, 22%) 0%, hsl(280, 60%, 20%) 100%);
  border-right-color: hsl(var(--border) / 0.3);
  border-bottom-color: hsl(var(--border) / 0.3);
}

.dark .floating-pill {
  border-color: hsl(152, 40%, 30%);
}

.dark .mini-player-name {
  color: hsl(350, 80%, 85%);
}

.dark .mini-player-accent {
  color: hsl(350, 60%, 70%);
}

.dark .mini-progress {
  background-color: hsl(350, 40%, 30%);
}

.dark .mini-time {
  color: hsl(350, 50%, 70%);
}

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

.floating-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.bg-orange {
  background: linear-gradient(135deg, hsl(45, 100%, 50%) 0%, hsl(30, 100%, 50%) 100%);
  color: white;
}

.floating-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(30, 80%, 25%);
}

.floating-card-subtitle {
  font-size: 0.75rem;
  color: hsl(30, 60%, 40%);
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  height: 2rem;
}

.wave-bar {
  width: 0.5rem;
  background: linear-gradient(to top, hsl(45, 100%, 50%) 0%, hsl(30, 100%, 50%) 100%);
  border-radius: 9999px;
  animation: wave 1s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; }
.wave-bar:nth-child(8) { animation-delay: 0.7s; }
.wave-bar:nth-child(9) { animation-delay: 0.8s; }
.wave-bar:nth-child(10) { animation-delay: 0.9s; }
.wave-bar:nth-child(11) { animation-delay: 1s; }
.wave-bar:nth-child(12) { animation-delay: 1.1s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.6); }
}

.speech-bubble-text {
  font-size: 0.875rem;
  color: hsl(270, 50%, 30%);
  font-weight: 500;
  line-height: 1.5;
}

.typing-dots {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: hsl(270, 70%, 70%);
  animation: bounce 0.6s ease-in-out infinite;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.1s; }
.dot:nth-child(3) { animation-delay: 0.2s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.5rem); }
}

.speech-tail {
  position: absolute;
  bottom: -0.5rem;
  right: 1rem;
  width: 1rem;
  height: 1rem;
  background: linear-gradient(135deg, hsl(270, 100%, 96%) 0%, hsl(280, 100%, 96%) 100%);
  border-right: 1px solid hsl(var(--border) / 0.5);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  transform: rotate(45deg);
}

.floating-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid hsl(152, 40%, 80%);
  box-shadow: var(--shadow-lg);
}

.avatar-stack {
  display: flex;
  margin-left: 0;
}

.avatar-stack .avatar {
  margin-left: -0.5rem;
}

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

.avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  border: 2px solid white;
}

.bg-emerald {
  background: linear-gradient(135deg, hsl(152, 76%, 50%) 0%, hsl(166, 76%, 50%) 100%);
}

.bg-amber {
  background: linear-gradient(135deg, hsl(45, 100%, 50%) 0%, hsl(30, 100%, 50%) 100%);
}

.bg-violet {
  background: linear-gradient(135deg, hsl(270, 70%, 60%) 0%, hsl(280, 70%, 60%) 100%);
}

.mini-player {
  padding: 1rem;
}

.mini-player-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.mini-player-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
}

.mini-player-info {
  flex: 1;
  min-width: 0;
}

.mini-player-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(350, 50%, 30%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-player-accent {
  font-size: 0.75rem;
  color: hsl(350, 40%, 50%);
}

.mini-play-btn {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(350, 80%, 60%) 0%, hsl(330, 80%, 60%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-sm);
}

.mini-play-btn svg {
  margin-left: 0.125rem;
}

.mini-progress {
  height: 0.375rem;
  background-color: hsl(350, 60%, 85%);
  border-radius: 9999px;
  overflow: hidden;
}

.mini-progress-fill {
  height: 100%;
  background: linear-gradient(to right, hsl(350, 80%, 60%) 0%, hsl(330, 80%, 60%) 100%);
  border-radius: 9999px;
}

.mini-time {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: hsl(350, 40%, 60%);
}

.floating-shape {
  display: none;
  position: absolute;
  z-index: 0;
  box-shadow: var(--shadow-lg);
  opacity: 0.8;
}

@media (min-width: 1280px) {
  .floating-shape {
    display: block;
  }
}

.shape-1 {
  left: 1.875rem;
  top: 75%;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, hsl(45, 100%, 80%) 0%, hsl(50, 100%, 70%) 100%);
  transform: rotate(15deg);
}

.shape-2 {
  right: 2.5rem;
  top: 78%;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(270, 80%, 85%) 0%, hsl(280, 80%, 80%) 100%);
  transform: rotate(-10deg);
}

/* Hero Content */
.hero-content {
  text-align: center;
  padding: 2rem 0;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 3rem 0;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background-color: hsl(var(--background) / 0.6);
  border: 1px solid hsl(var(--border) / 0.8);
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.hero-badge:hover {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  border-color: hsl(var(--primary) / 0.2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .hero-badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 6rem;
  }
}

.hero-description {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 1024px) {
  .hero-description {
    font-size: 1.125rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

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

.hero-section-redesign {
  background: hsl(var(--background));
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

/* Keep the grid pattern - inherit from .hero-section */

/* Glow decorations - hidden */
.hero-glow {
  display: none;
}

/* Blue/Teal glow on the left */
.hero-glow-1 {
  top: 10%;
  left: -5%;
  width: 50%;
  height: 80%;
  background: radial-gradient(
    ellipse at center,
    hsl(190, 80%, 40%) 0%,
    hsl(200, 70%, 30%) 30%,
    transparent 70%
  );
  filter: blur(80px);
  opacity: 0.6;
}

/* Orange/Gold glow on the right */
.hero-glow-2 {
  top: 20%;
  right: -10%;
  width: 45%;
  height: 70%;
  background: radial-gradient(
    ellipse at center,
    hsl(35, 80%, 50%) 0%,
    hsl(30, 70%, 40%) 30%,
    transparent 70%
  );
  filter: blur(100px);
  opacity: 0.5;
}

/* Flowing Ribbon Wave Styles - hidden */
.hero-wave-container {
  display: none;
}

.hero-wave {
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
}

.ribbon-path {
  transform-origin: center;
}

.ribbon-1 {
  animation: ribbonUndulate1 4s ease-in-out infinite;
}

.ribbon-2 {
  animation: ribbonUndulate2 5s ease-in-out infinite;
}

.ribbon-3 {
  animation: ribbonUndulate3 6s ease-in-out infinite;
}

@keyframes ribbonUndulate1 {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}

@keyframes ribbonUndulate2 {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.85; }
}

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

/* Two-column layout */
.hero-container-redesign {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-container-redesign {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Left column */
.hero-left {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-left {
    text-align: left;
  }
}

/* Version badge */
.hero-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background-color: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: hsl(152, 80%, 50%);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

/* Redesign title */
.hero-title-redesign {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-title-redesign {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title-redesign {
    font-size: 3.5rem;
  }
}

@media (min-width: 1280px) {
  .hero-title-redesign {
    font-size: 4rem;
  }
}

.text-gradient-accent {
  display: block;
  background: linear-gradient(90deg, hsl(220, 90%, 50%) 0%, hsl(260, 85%, 55%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark .text-gradient-accent {
  background: linear-gradient(90deg, hsl(180, 75%, 60%) 0%, hsl(200, 80%, 65%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Redesign description */
.hero-description-redesign {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  max-width: 28rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .hero-description-redesign {
    font-size: 1.125rem;
    margin: 0 0 2rem;
  }
}

/* Redesign buttons */
.hero-buttons-redesign {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons-redesign {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-buttons-redesign {
    justify-content: flex-start;
  }
}

.btn-hero-primary {
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  border-radius: 0.625rem;
  border: 1px solid hsl(var(--foreground));
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-hero-primary:hover {
  background: transparent;
  color: hsl(var(--foreground));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  background: transparent;
  color: hsl(var(--foreground));
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  color: hsl(180, 80%, 45%);
}

.btn-hero-secondary svg {
  transition: transform 0.2s ease;
}

.btn-hero-secondary:hover svg {
  transform: scale(1.1);
}

/* Hero Mini Cards */
.hero-mini-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .hero-mini-cards {
    justify-content: flex-start;
  }
}

.hero-mini-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.dark .hero-mini-card {
  background: hsl(0, 0%, 8%);
  border-color: hsl(0, 0%, 15%);
}

.hero-mini-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mini-card-avatars {
  display: flex;
  align-items: center;
}

.mini-card-avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid hsl(var(--background));
  margin-left: -8px;
}

.mini-card-avatars img:first-child {
  margin-left: 0;
}

.avatar-count {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  font-size: 0.625rem;
  font-weight: 700;
  margin-left: -8px;
  border: 2px solid hsl(var(--background));
}

.mini-card-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  font-size: 0.75rem;
  font-weight: 700;
}

.mini-card-text {
  display: flex;
  flex-direction: column;
}

.mini-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.2;
}

.mini-card-subtitle {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Hero Cards Container - Absolute Positioning Layout */
.hero-cards-container {
  position: relative;
  width: 100%;
  max-width: 580px;
  min-height: 500px;
}

@media (min-width: 768px) {
  .hero-cards-container {
    min-height: 540px;
  }
}

/* Integration Card (Large, Top-Left) */
.card-integration {
  position: relative;
  max-width: 290px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.dark .card-integration {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.card-integration:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
  .card-integration {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 10;
    margin-bottom: 0;
    transform: rotate(-2deg);
  }
}

/* Integration header styles removed to avoid duplication. 
   See .integration-header definition around line 3675 for the correct center-aligned style. */

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: hsl(0, 0%, 68%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.dark .check-icon {
  background: hsl(0, 0%, 60%);
}

.integration-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
  line-height: 1.3;
}

.dark .integration-title {
  color: hsl(0, 0%, 10%);
}

.integration-subtitle {
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  margin: 0.125rem 0 0 0;
  line-height: 1.4;
}

.dark .integration-subtitle {
  color: hsl(0, 0%, 48%);
}

.integration-code {
  background: hsl(220, 18%, 18%);
  padding: 0.875rem 1rem 1rem;
}

.code-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 0.875rem;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27ca40; }

.code-content {
  font-size: 0.75rem;
  line-height: 1.55;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
  color: hsl(0, 0%, 72%);
  margin: 0;
  white-space: pre-wrap;
}

.tok-keyword { color: hsl(280, 70%, 72%); }
.tok-string { color: hsl(100, 50%, 62%); }
.tok-func { color: hsl(40, 90%, 62%); }
.tok-number { color: hsl(30, 80%, 62%); }
.tok-comment { color: hsl(0, 0%, 52%); }

/* Voice Library Card (Small, Top-Right) */
.card-voices {
  position: relative;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  max-width: 220px;
  margin-bottom: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dark .card-voices {
  background: hsl(0, 0%, 98%);
  border-color: hsl(0, 0%, 92%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.card-voices:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
  .card-voices {
    position: absolute;
    top: 0;
    right: -10px;
    margin-bottom: 0;
    z-index: 12;
    transform: rotate(3deg);
  }
}

.voices-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.875rem;
  gap: 0.5rem;
}

.voices-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
  line-height: 1.3;
}

.dark .voices-title {
  color: hsl(0, 0%, 10%);
}

.voices-subtitle {
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  margin: 0.125rem 0 0 0;
  line-height: 1.4;
}

.dark .voices-subtitle {
  color: hsl(0, 0%, 50%);
}

.voices-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--secondary));
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  flex-shrink: 0;
}

.dark .voices-badge {
  background: hsl(0, 0%, 91%);
  color: hsl(0, 0%, 42%);
}

.voices-avatars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}

.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: white;
}

.avatar-red { background: hsl(340, 100%, 68%); }
.avatar-blue { background: hsl(200, 100%, 60%); }
.avatar-yellow { background: hsl(35, 100%, 58%); color: hsl(0, 0%, 10%); }
.avatar-dark { 
  background: hsl(var(--foreground)); 
  color: hsl(var(--background));
  font-size: 0.6875rem;
  font-weight: 700;
}

.dark .avatar-dark {
  background: hsl(0, 0%, 10%);
  color: white;
}

.voices-label {
  font-size: 0.5rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}

.dark .voices-label {
  color: hsl(0, 0%, 52%);
}

/* Savings Card (Bottom-Left) */
.card-savings {
  position: relative;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  max-width: 280px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dark .card-savings {
  background: hsl(0, 0%, 98%);
  border-color: hsl(0, 0%, 92%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.card-savings:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
  .card-savings {
    position: absolute;
    bottom: 60px;
    left: 20px;
    z-index: 15;
    transform: rotate(-1deg);
  }
}

.savings-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.savings-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
  line-height: 1.3;
}

.dark .savings-title {
  color: hsl(0, 0%, 10%);
}

.savings-subtitle {
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  margin: 0.125rem 0 0 0;
  line-height: 1.4;
}

.dark .savings-subtitle {
  color: hsl(0, 0%, 50%);
}

.savings-badge {
  text-align: right;
}

.save-text {
  display: block;
  font-size: 0.625rem;
  color: hsl(150, 60%, 45%);
  font-weight: 600;
}

.save-amount {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(150, 60%, 45%);
  line-height: 1.1;
}

.save-per {
  display: block;
  font-size: 0.5rem;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.03em;
}

.dark .save-per {
  color: hsl(0, 0%, 52%);
}

.savings-bars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bar-price {
  font-size: 0.9375rem;
  font-weight: 700;
  width: 48px;
}

.bar-price-strike {
  color: hsl(var(--muted-foreground));
  text-decoration: line-through;
}

.bar-price-green {
  color: hsl(150, 60%, 45%);
}

.bar-track {
  flex: 1;
  height: 7px;
  border-radius: 4px;
}

.bar-gray {
  background: hsl(var(--muted-foreground));
  opacity: 0.3;
}

.bar-green {
  background: linear-gradient(90deg, hsl(150, 60%, 45%), hsl(180, 70%, 45%));
  width: 50%;
}

/* Floating Badges */
.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  margin-top: 1rem;
  margin-right: 0.75rem;
}

@media (min-width: 768px) {
  .floating-badge {
    position: absolute;
    margin: 0;
  }
}

.badge-users {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.dark .badge-users {
  background: hsl(0, 0%, 10%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .badge-users {
    bottom: 120px;
    right: 40px;
    z-index: 20;
    transform: rotate(5deg);
  }
}

.badge-api {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  padding: 0.5rem 0.875rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 600;
  border-radius: 9999px;
}

.dark .badge-api {
  background: hsl(0, 0%, 98%);
  border-color: hsl(0, 0%, 92%);
  color: hsl(0, 0%, 10%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

@media (min-width: 768px) {
  .badge-api {
    bottom: 70px;
    right: 50px;
    z-index: 21;
    transform: rotate(-3deg);
  }
}

/* Voice Library Card */
.bento-voice-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: visible;
}

.dark .bento-voice-card {
  background: hsl(0, 0%, 10%);
  border-color: hsl(0, 0%, 18%);
}

.voice-card-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  box-shadow: var(--shadow-md);
}

.code-icon {
  font-family: monospace;
  font-size: 0.875rem;
  font-weight: 700;
}

.badge-text {
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.voice-card-content {
  margin-bottom: 0.75rem;
}

.voice-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
  line-height: 1.2;
}

.voice-card-subtitle {
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
  margin: 0.25rem 0 0 0;
  line-height: 1.2;
}

.voice-card-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.voice-card-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid hsl(var(--background));
}

.voice-card-avatars img.avatar-blue {
  border-color: hsl(200, 70%, 50%);
}

.voice-card-avatars img.avatar-yellow {
  border-color: hsl(40, 90%, 50%);
}

.avatar-more {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
}

/* Code Card - Split header/body */
.bento-code-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.code-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-bottom: none;
  border-radius: 1rem 1rem 0 0;
}

.dark .code-card-header {
  background: hsl(0, 0%, 92%);
  border-color: hsl(0, 0%, 85%);
}

.header-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.dark .header-icon {
  background: hsl(0, 0%, 50%);
}

.header-title {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
}

.dark .header-title {
  color: hsl(0, 0%, 10%);
}

.header-subtitle {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0.125rem 0 0 0;
}

.dark .header-subtitle {
  color: hsl(0, 0%, 40%);
}

.code-card-body {
  background: hsl(0, 0%, 18%);
  padding: 1rem;
  border-radius: 0 0 1rem 1rem;
}

.terminal-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 0.75rem;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #27ca40; }

.terminal-code {
  font-size: 0.75rem;
  line-height: 1.5;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
  color: hsl(0, 0%, 75%);
  margin: 0;
  white-space: pre-wrap;
}

.terminal-code .token.keyword { color: hsl(280, 70%, 70%); }
.terminal-code .token.string { color: hsl(100, 50%, 55%); }
.terminal-code .token.function { color: hsl(200, 70%, 65%); }
.terminal-code .token.number { color: hsl(30, 80%, 60%); }
.terminal-code .token.comment { color: hsl(0, 0%, 50%); }

/* Code Card */
.bento-code-card {
  background: hsl(0, 0%, 14%);
  border: 1px solid hsl(0, 0%, 22%);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.bento-code-header {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.bento-icon-teal {
  width: 28px;
  height: 28px;
  border-radius: 0.375rem;
  background: hsl(180, 60%, 45%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.bento-card-title-light {
  font-size: 0.9375rem;
  font-weight: 700;
  color: hsl(0, 0%, 95%);
  margin: 0;
}

.bento-card-subtitle-light {
  font-size: 0.6875rem;
  color: hsl(0, 0%, 55%);
  margin: 0.125rem 0 0 0;
}

.bento-code {
  background: hsl(0, 0%, 8%);
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.6875rem;
  line-height: 1.5;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
  color: hsl(0, 0%, 70%);
  margin: 0;
  overflow-x: auto;
}

.bento-code .code-dots {
  color: hsl(40, 90%, 55%);
  letter-spacing: 2px;
}

.bento-code .token.keyword { color: hsl(280, 70%, 70%); }
.bento-code .token.string { color: hsl(100, 50%, 55%); }
.bento-code .token.function { color: hsl(200, 70%, 65%); }
.bento-code .token.number { color: hsl(30, 80%, 60%); }
.bento-code .token.comment { color: hsl(0, 0%, 45%); }

/* Savings Card */
.bento-savings-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.dark .bento-savings-card {
  background: hsl(0, 0%, 8%);
  border-color: hsl(0, 0%, 15%);
}

.bento-savings-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.bento-savings-badge {
  text-align: right;
}

.save-amount {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: hsl(100, 60%, 50%);
}

.save-label {
  font-size: 0.5rem;
  color: hsl(100, 50%, 45%);
  letter-spacing: 0.03em;
}

.bento-price-bars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.price-amount {
  font-size: 0.8125rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  width: 40px;
}

.price-amount.price-green {
  color: hsl(100, 60%, 50%);
}

.bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
}

.bar-gray {
  background: hsl(var(--muted-foreground));
  opacity: 0.25;
}

.bar-green {
  background: hsl(100, 60%, 50%);
  width: 10%;
  flex: none;
}

.bar-label {
  font-size: 0.5rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.08em;
  width: 45px;
}

.bar-label-green {
  color: hsl(100, 60%, 50%);
}

/* Large Card (Top) */
.hero-card-large {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.dark .hero-card-large {
  background: hsl(0, 0%, 10%);
  border-color: hsl(0, 0%, 18%);
}

.card-large-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.card-large-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0 0 0.25rem 0;
}

.card-large-subtitle {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.card-large-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: hsl(160, 70%, 50%);
  letter-spacing: 0.05em;
}

.card-large-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
}

.card-large-avatars img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid hsl(var(--background));
}

.card-large-avatars img.avatar-main {
  width: 72px;
  height: 72px;
  border: 4px solid hsl(180, 70%, 50%);
}

.avatar-count-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(180, 70%, 45%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* Bottom Cards Row */
.hero-cards-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-cards-bottom {
    grid-template-columns: 1fr 1fr;
  }
}

/* Small Cards */
.hero-card-small {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.dark .hero-card-small {
  background: hsl(0, 0%, 8%);
  border-color: hsl(0, 0%, 15%);
}

.hero-card-dark {
  background: hsl(0, 0%, 12%) !important;
  border-color: hsl(0, 0%, 18%) !important;
}

.card-small-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-small-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  background: hsl(180, 60%, 45%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.card-small-title {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
}

.hero-card-dark .card-small-title {
  color: hsl(0, 0%, 95%);
}

.card-small-subtitle {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0.125rem 0 0 0;
}

.hero-card-dark .card-small-subtitle {
  color: hsl(0, 0%, 60%);
}

/* Code Block in Card */
.card-code-block {
  background: hsl(0, 0%, 8%);
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  line-height: 1.5;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
  color: hsl(0, 0%, 75%);
  margin: 0;
  overflow-x: auto;
}

.card-code-block .dot-red { color: #ff5f56; margin-right: 4px; }
.card-code-block .dot-yellow { color: #ffbd2e; margin-right: 4px; }
.card-code-block .dot-green { color: #27ca40; }

.card-code-block .token.keyword { color: hsl(280, 70%, 70%); }
.card-code-block .token.string { color: hsl(100, 50%, 55%); }
.card-code-block .token.function { color: hsl(200, 70%, 65%); }
.card-code-block .token.number { color: hsl(30, 80%, 60%); }
.card-code-block .token.comment { color: hsl(0, 0%, 45%); }

/* Savings Highlight */
.savings-highlight {
  text-align: right;
  flex-shrink: 0;
}

.savings-amount {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(100, 60%, 50%);
}

.savings-label {
  font-size: 0.5rem;
  color: hsl(100, 50%, 45%);
  letter-spacing: 0.05em;
}

/* Price Bars */
.price-bars {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.price-bar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-bar-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  width: 45px;
}

.price-bar-label-accent {
  color: hsl(100, 60%, 50%);
}

.price-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
}

.price-bar-others {
  background: hsl(var(--muted-foreground));
  opacity: 0.3;
}

.price-bar-audixa {
  background: hsl(100, 60%, 50%);
  width: 10%;
  flex: none;
}

.price-bar-tag {
  font-size: 0.5625rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.1em;
  width: 50px;
}

.price-bar-tag-accent {
  color: hsl(100, 60%, 50%);
}

/* Hero Feature Cards */
.hero-feature-card {
  width: 100%;
  max-width: 400px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
}

.dark .hero-feature-card {
  background: hsl(0, 0%, 8%);
  border-color: hsl(0, 0%, 15%);
}

.hero-feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.hero-feature-card-dark {
  background: hsl(0, 0%, 10%);
  border-color: hsl(0, 0%, 18%);
}

.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.feature-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
}

.feature-card-title-light {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(0, 0%, 90%);
  margin: 0;
}

.feature-card-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--secondary));
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.feature-card-badge-accent {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
}

/* Voice Library Avatars */
.feature-card-avatars {
  display: flex;
  align-items: center;
}

.feature-card-avatars img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid hsl(var(--background));
  margin-left: -14px;
}

.feature-card-avatars img:first-child {
  margin-left: 0;
}

.avatars-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  font-size: 0.875rem;
  font-weight: 700;
  margin-left: -14px;
  border: 3px solid hsl(var(--background));
}

/* Price Comparison */
.price-comparison {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: hsl(var(--secondary));
  border-radius: 0.625rem;
}

.dark .price-item {
  background: hsl(0, 0%, 12%);
}

.price-item-strikethrough {
  opacity: 0.6;
}

.price-item-strikethrough .price-value {
  text-decoration: line-through;
}

.price-item-highlight {
  background: hsl(var(--foreground));
}

.price-item-highlight .price-label,
.price-item-highlight .price-value {
  color: hsl(var(--background));
}

.price-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.price-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

/* Feature Code Snippet */
.feature-code-snippet {
  font-size: 0.75rem;
  line-height: 1.5;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
  color: hsl(0, 0%, 80%);
  background: hsl(0, 0%, 6%);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin: 0;
  overflow-x: auto;
}

.feature-code-snippet .token.keyword {
  color: hsl(280, 80%, 70%);
}

.feature-code-snippet .token.string {
  color: hsl(100, 60%, 60%);
}

.feature-code-snippet .token.function {
  color: hsl(200, 80%, 70%);
}

/* Hero Code Snippet Card */
.hero-code-card {
  width: 100%;
  max-width: 420px;
  background: hsl(0, 0%, 10%);
  border: 1px solid hsl(0, 0%, 20%);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-top: 1rem;
  box-shadow: var(--shadow-lg);
}

.hero-code-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: hsl(0, 0%, 8%);
  border-bottom: 1px solid hsl(0, 0%, 15%);
}

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

.hero-code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27ca40; }

.hero-code-filename {
  font-size: 0.75rem;
  color: hsl(0, 0%, 50%);
  font-family: 'Monaco', 'Menlo', monospace;
}

.hero-code-content {
  padding: 1rem;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
  color: hsl(0, 0%, 85%);
  overflow-x: auto;
}

.hero-code-content .token.keyword {
  color: hsl(280, 80%, 70%);
}

.hero-code-content .token.string {
  color: hsl(100, 60%, 60%);
}

.hero-code-content .token.function {
  color: hsl(200, 80%, 70%);
}

.voices-showcase-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.dark .voices-showcase-card {
  background: hsl(0, 0%, 8%);
  border-color: hsl(0, 0%, 15%);
}

/* Subtle glass effect */
.voices-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, hsl(var(--foreground) / 0.02) 0%, transparent 100%);
  pointer-events: none;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.showcase-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.showcase-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.05em;
}

/* Avatar circles */
.showcase-avatars {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 1rem 0;
}

.avatar-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid hsl(var(--background));
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  animation: avatar-float 3s ease-in-out infinite;
}

.avatar-circle:nth-child(1) { animation-delay: 0s; }
.avatar-circle:nth-child(2) { animation-delay: 0.2s; }
.avatar-circle:nth-child(3) { animation-delay: 0.4s; }
.avatar-circle:nth-child(4) { animation-delay: 0.6s; }
.avatar-circle:nth-child(5) { animation-delay: 0.8s; }

@keyframes avatar-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-circle:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.avatar-circle-main {
  width: 72px;
  height: 72px;
  border-color: hsl(180, 80%, 50%);
  border-width: 3px;
}

.dark .avatar-circle {
  border-color: hsl(0, 0%, 12%);
}

.dark .avatar-circle-main {
  border-color: hsl(180, 75%, 45%);
}

/* Waveform section */
.showcase-waveform {
  background: hsl(var(--secondary));
  border-radius: 1rem;
  padding: 1.25rem;
  position: relative;
}

.dark .showcase-waveform {
  background: hsl(0, 0%, 5%);
}

.waveform-bars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 3px;
  margin-bottom: 0.75rem;
}

.waveform-bar {
  flex: 1;
  background: hsl(var(--foreground));
  border-radius: 4px;
  animation: waveform-dance 1.5s ease-in-out infinite;
}

.waveform-bar:nth-child(1) { animation-delay: 0s; height: 35%; }
.waveform-bar:nth-child(2) { animation-delay: 0.1s; height: 55%; }
.waveform-bar:nth-child(3) { animation-delay: 0.15s; height: 40%; }
.waveform-bar:nth-child(4) { animation-delay: 0.2s; height: 70%; }
.waveform-bar:nth-child(5) { animation-delay: 0.25s; height: 50%; }
.waveform-bar:nth-child(6) { animation-delay: 0.3s; height: 85%; }
.waveform-bar:nth-child(7) { animation-delay: 0.35s; height: 60%; }
.waveform-bar:nth-child(8) { animation-delay: 0.4s; height: 45%; }
.waveform-bar:nth-child(9) { animation-delay: 0.45s; height: 75%; }
.waveform-bar:nth-child(10) { animation-delay: 0.5s; height: 55%; }
.waveform-bar:nth-child(11) { animation-delay: 0.55s; height: 90%; }
.waveform-bar:nth-child(12) { animation-delay: 0.6s; height: 65%; }
.waveform-bar:nth-child(13) { animation-delay: 0.65s; height: 50%; }
.waveform-bar:nth-child(14) { animation-delay: 0.7s; height: 80%; }
.waveform-bar:nth-child(15) { animation-delay: 0.75s; height: 45%; }
.waveform-bar:nth-child(16) { animation-delay: 0.8s; height: 60%; }
.waveform-bar:nth-child(17) { animation-delay: 0.85s; height: 35%; }
.waveform-bar:nth-child(18) { animation-delay: 0.9s; height: 50%; }
.waveform-bar:nth-child(19) { animation-delay: 0.95s; height: 70%; }
.waveform-bar:nth-child(20) { animation-delay: 1s; height: 40%; }

@keyframes waveform-dance {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

.waveform-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.1em;
}

.waveform-dot {
  width: 6px;
  height: 6px;
  background: hsl(0, 80%, 55%);
  border-radius: 50%;
  animation: pulse-dot 1s ease-in-out infinite;
}

/* Static waveform - no animation */
.waveform-static .waveform-bar {
  animation: none;
}

/* Stats Inline Row */
.showcase-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.stat-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-dot {
  width: 6px;
  height: 6px;
  background: hsl(var(--foreground));
  border-radius: 50%;
  opacity: 0.5;
}

.stat-text {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.stat-text strong {
  font-weight: 700;
  color: hsl(var(--foreground));
}

/* Hero Trust Section */
.hero-trust-section {
  margin-top: 2.5rem;
}

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

@media (min-width: 640px) {
  .hero-features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-features {
    justify-content: flex-start;
  }
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

.hero-feature-item svg {
  color: hsl(var(--foreground));
  flex-shrink: 0;
}

/* Hero Floating Pills */
.hero-floating-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-floating-pills {
    justify-content: flex-start;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: all 0.2s ease;
}

.hero-pill:hover {
  background: hsl(var(--background));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hero-pill svg {
  color: hsl(var(--muted-foreground));
}

/* ========================================
   Sections Common
   ======================================== */

.section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Grid pattern overlay for sections */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(hsl(var(--foreground) / 0.18) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--foreground) / 0.18) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  pointer-events: none;
  z-index: 0 !important;
  opacity: var(--spotlight-opacity, 0); /* Default to hidden, JS controls visibility */
  transition: opacity 0.3s ease; /* Smooth fade out */
  -webkit-mask-image: 
    radial-gradient(ellipse at center, transparent 30%, black 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: 
    radial-gradient(ellipse at center, transparent 30%, black 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-composite: intersect;
}

.dark .section::before {
  background-image: 
    linear-gradient(hsl(var(--foreground) / 0.1) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--foreground) / 0.1) 1px, transparent 1px);
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }
}

.section-bg-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

/* ========================================
   Price Comparison Section
   ======================================== */

.circle-decoration {
  position: absolute;
  border: 2px solid hsl(var(--border));
  border-radius: 50%;
  opacity: 0.2;
}

.circle-1 {
  top: 5rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
}

.circle-2 {
  bottom: 5rem;
  right: 2.5rem;
  width: 12rem;
  height: 12rem;
}

.square-decoration {
  position: absolute;
  top: 10rem;
  right: 25%;
  width: 5rem;
  height: 5rem;
  background-color: hsl(var(--secondary));
  border-radius: 1rem;
  transform: rotate(12deg);
  opacity: 0.3;
}

.price-comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .price-comparison-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.slider-card {
  background-color: hsl(var(--background));
  border: 2px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.5rem;
}

.slider-value {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.slider-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.slider-label {
  color: hsl(var(--muted-foreground));
}

.slider {
  width: 100%;
  height: 0.5rem;
  background-color: hsl(var(--primary));
  border-radius: 0.5rem;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: hsl(var(--primary));
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: 2px solid hsl(var(--primary));
  transition: transform 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.slider::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: hsl(var(--primary-foreground));
  cursor: pointer;
  border: 2px solid hsl(var(--primary));
  box-shadow: var(--shadow-md);
}

.slider-range {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.price-cards-stack {
  position: relative;
}

.price-card-main {
  position: relative;
  z-index: 20;
  margin-bottom: 1rem;
}

.price-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}

.price-card-content:hover {
  transform: rotate(0deg);
}

.price-card-label {
  font-size: 0.875rem;
  opacity: 0.7;
}

.price-card-value {
  font-size: 1.875rem;
  font-weight: 700;
}

.best-value-badge {
  background-color: hsl(142, 76%, 50%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
}

.competitor-cards {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.competitor-line {
  position: absolute;
  left: -1rem;
  top: 0;
  bottom: 0;
  width: 0.25rem;
  background: linear-gradient(to bottom, hsl(var(--border)), hsl(var(--muted-foreground) / 0.3), hsl(var(--border)));
  border-radius: 9999px;
}

.competitor-card {
  margin-left: 1rem;
  padding: 1rem;
  background-color: hsl(var(--background));
  border: 2px solid hsl(var(--border));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.competitor-card:hover {
  transform: translateX(0.5rem);
}

.competitor-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.competitor-logo {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  border-radius: 4px; /* Optional: adds subtle rounding */
}

.competitor-name {
  font-weight: 500;
  color: hsl(var(--foreground));
}

.competitor-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  text-decoration: line-through;
  text-decoration-color: hsl(0, 84%, 60%);
}

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

.features-section {
  background: var(--gradient-section-1);
}

.features-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .features-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 4rem;
  }
}

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

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.feature-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.feature-card-large {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
}

@media (min-width: 1024px) {
  .feature-card-large {
    grid-column: span 7;
  }
}

.feature-card-tall {
  background-color: hsl(var(--secondary));
  border: 2px solid hsl(var(--border));
}

@media (min-width: 1024px) {
  .feature-card-tall {
    grid-column: span 5;
    grid-row: span 2;
  }
}

.feature-card-tall:hover {
  border-color: hsl(var(--foreground) / 0.3);
  box-shadow: var(--shadow-xl);
}

.feature-card-medium {
  background-color: hsl(var(--background));
  border: 2px solid hsl(var(--border));
}

@media (min-width: 1024px) {
  .feature-card-medium {
    grid-column: span 4;
  }
}

.feature-card-medium:hover {
  border-color: hsl(var(--foreground) / 0.3);
  box-shadow: var(--shadow-xl);
}

.feature-card-small {
  background: linear-gradient(135deg, hsl(var(--secondary)) 0%, hsl(var(--secondary)) 100%);
  border: 2px solid hsl(var(--border));
}

@media (min-width: 1024px) {
  .feature-card-small {
    grid-column: span 3;
  }
}

.feature-card-small:hover {
  border-color: hsl(var(--foreground) / 0.3);
  box-shadow: var(--shadow-xl);
}

.feature-card-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background-color: hsl(var(--background) / 0.05);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.feature-card-large .feature-card-bg-pattern::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 8rem;
  height: 8rem;
  background-color: hsl(var(--background) / 0.05);
  border-radius: 50%;
  transform: translate(-50%, 50%);
}

.feature-card-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon-light {
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground)); /* Fix: Contrast against the background-colored box */
}

.feature-icon-dark {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
}

.feature-title-light {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .feature-title-light {
    font-size: 1.875rem;
  }
}

.feature-description-light {
  font-size: 1.125rem;
  opacity: 0.7;
  max-width: 28rem;
  margin-bottom: 1.5rem;
}

.feature-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.feature-card:hover .feature-link {
  gap: 0.75rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.feature-circles {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
}

.feature-circle {
  position: absolute;
  border: 2px solid hsl(var(--border));
  border-radius: 50%;
}

.feature-circle-1 {
  width: 10rem;
  height: 10rem;
}

.feature-circle-2 {
  width: 14rem;
  height: 14rem;
  top: 1.5rem;
  left: 1.5rem;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 8rem;
  margin-top: auto;
}

.bar {
  flex: 1;
  border-radius: 0.5rem 0.5rem 0 0;
  position: relative;
  transition: height 0.5s ease;
}

.bar-1 {
  height: 30%;
  background-color: hsl(var(--foreground) / 0.1);
}

.bar-2 {
  height: 45%;
  background-color: hsl(var(--foreground) / 0.2);
}

.bar-3 {
  height: 60%;
  background-color: hsl(var(--foreground) / 0.3);
}

.bar-4 {
  height: 80%;
  background-color: hsl(var(--foreground));
}

.feature-card:hover .bar-1 { height: 35%; }
.feature-card:hover .bar-2 { height: 50%; }
.feature-card:hover .bar-3 { height: 65%; }
.feature-card:hover .bar-4 { height: 90%; }

.bar-label {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.bar-4 .bar-label {
  font-weight: 500;
  color: hsl(var(--foreground));
}

.bar-chart-baseline {
  height: 2px;
  background-color: hsl(var(--border));
  margin-top: 0.25rem;
}

.bar-chart-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-top: 0.5rem;
}

.feature-squares {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.feature-square {
  position: absolute;
  width: 5rem;
  height: 5rem;
  background-color: hsl(var(--secondary));
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.feature-square-1 {
  transform: rotate(12deg);
}

.feature-square-2 {
  top: 1rem;
  left: 1rem;
  opacity: 0.5;
  transform: rotate(6deg);
}

.feature-card:hover .feature-square-1 {
  transform: rotate(6deg);
}

.feature-card:hover .feature-square-2 {
  transform: rotate(12deg);
}

.speed-lines {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  opacity: 0.07;
}

.speed-line {
  height: 2px;
  background-color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.speed-line:nth-child(1) { margin-left: 1rem; width: 75%; }
.speed-line:nth-child(2) { width: 100%; }
.speed-line:nth-child(3) { margin-left: 2rem; width: 66%; }
.speed-line:nth-child(4) { margin-left: 0.5rem; width: 80%; }

.latency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: hsl(142, 76%, 50%);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

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

.integration-section {
  background: var(--gradient-section-6);
}

.large-circle-1 {
  top: -5rem;
  right: -5rem;
  width: 24rem;
  height: 24rem;
}

.large-circle-2 {
  bottom: -8rem;
  left: -8rem;
  width: 32rem;
  height: 32rem;
}

.integration-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.integration-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .integration-grid {
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
  }
}

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

.integration-feature-card {
  position: relative;
}

.integration-feature-shadow {
  position: absolute;
  inset: 0;
  background-color: hsl(var(--foreground) / 0.05);
  border-radius: 1rem;
  transform: translate(0.25rem, 0.25rem);
}

.integration-feature-content {
  position: relative;
  background-color: hsl(var(--background));
  border: 2px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.integration-feature-card:hover .integration-feature-content {
  transform: translate(0.125rem, 0.125rem);
  border-color: hsl(var(--foreground) / 0.3);
}

.integration-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.integration-feature-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.code-block-container {
  position: relative;
}

.code-block-shadow {
  position: absolute;
  inset: 0;
  background-color: hsl(var(--foreground) / 0.1);
  border-radius: 1.5rem;
  transform: translate(0.75rem, 0.75rem);
}

.code-block {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 2px solid hsl(var(--border));
  box-shadow: var(--shadow-xl);
  background-color: hsl(var(--background));
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background-color: hsl(var(--secondary));
  border-bottom: 2px solid hsl(var(--border));
}

.dark .code-header {
  background-color: hsl(0, 0%, 12%);
  border-bottom-color: hsl(0, 0%, 20%);
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.window-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.window-dot.red { background-color: hsl(0, 84%, 60%); }
.window-dot.yellow { background-color: hsl(45, 100%, 50%); }
.window-dot.green { background-color: hsl(142, 76%, 50%); }

.code-filename {
  margin-left: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.copy-btn:hover {
  color: hsl(var(--foreground));
}

.copy-btn .check-icon {
  display: none;
}

.copy-btn.copied .copy-icon {
  display: none;
}

.copy-btn.copied .check-icon {
  display: inline-block;
  color: hsl(0, 0%, 100%);
}

.code-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.75rem 1rem 0;
  background-color: hsl(var(--secondary));
  border-bottom: 2px solid hsl(var(--border));
}

.dark .code-tabs {
  background-color: hsl(0, 0%, 12%);
  border-bottom-color: hsl(0, 0%, 20%);
}

.code-tab {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  border-radius: 0.75rem 0.75rem 0 0;
  transition: all 0.2s ease;
}

.code-tab:hover {
  color: hsl(var(--foreground));
}

.code-tab.active {
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  border: 2px solid hsl(var(--border));
  border-bottom: none;
  margin-bottom: -2px;
}

.dark .code-tab.active {
  border-color: hsl(0, 0%, 20%);
}

.code-install {
  padding: 1rem 1.25rem;
  background-color: hsl(var(--secondary));
  border-bottom: 2px solid hsl(var(--border));
}

.dark .code-install {
  background-color: hsl(0, 0%, 12%);
  border-bottom-color: hsl(0, 0%, 20%);
}

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

.install-command {
  font-family: monospace;
  font-size: 0.875rem;
  color: hsl(142, 76%, 36%);
  font-weight: 500;
}

.code-content {
  padding: 1.25rem;
  overflow-x: auto;
  font-size: 0.875rem;
  font-family: monospace;
  line-height: 1.7;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

.dark .code-content {
  color: hsl(0, 0%, 85%);
}

.line-number {
  display: inline-block;
  width: 2rem;
  color: hsl(var(--muted-foreground) / 0.4);
  text-align: right;
  margin-right: 1rem;
  font-size: 0.75rem;
  user-select: none;
}

.token.keyword {
  color: hsl(280, 80%, 50%);
}

.token.string {
  color: hsl(142, 76%, 36%);
}

.token.function {
  color: hsl(210, 80%, 50%);
}

.dark .token.keyword {
  color: hsl(280, 80%, 70%);
}

.dark .token.string {
  color: hsl(142, 76%, 60%);
}

.dark .token.function {
  color: hsl(210, 80%, 70%);
}

/* ========================================
   Voice Samples Section
   ======================================== */

.center-circle-1 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50rem;
  height: 50rem;
}

.center-circle-2 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 37.5rem;
  height: 37.5rem;
  opacity: 0.3;
}

.voice-samples-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.voice-samples-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .voice-samples-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .voice-samples-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.voice-card {
  position: relative;
}

.voice-card-shadow {
  position: absolute;
  inset: 0;
  background-color: hsl(var(--foreground) / 0.1);
  border-radius: 1.5rem;
  transform: translate(0.5rem, 0.5rem);
}

.voice-card-content {
  position: relative;
  padding: 1.5rem;
  border: 2px solid hsl(var(--border));
  border-radius: 1.5rem;
  background-color: hsl(var(--background));
  transition: transform 0.3s ease;
}

.voice-card:hover .voice-card-content {
  transform: translate(0.25rem, 0.25rem);
}

.card-blue-gradient {
  background: linear-gradient(135deg, hsl(210, 100%, 95%) 0%, hsl(270, 100%, 95%) 100%);
}

.card-pink-gradient {
  background: linear-gradient(135deg, hsl(330, 100%, 95%) 0%, hsl(30, 100%, 95%) 100%);
}

.card-green-gradient {
  background: linear-gradient(135deg, hsl(142, 76%, 95%) 0%, hsl(166, 76%, 95%) 100%);
}

.dark .card-blue-gradient {
  background: linear-gradient(135deg, hsl(210, 50%, 15%) 0%, hsl(270, 50%, 15%) 100%);
}

.dark .card-pink-gradient {
  background: linear-gradient(135deg, hsl(330, 50%, 15%) 0%, hsl(30, 50%, 15%) 100%);
}

.dark .card-green-gradient {
  background: linear-gradient(135deg, hsl(142, 40%, 15%) 0%, hsl(166, 40%, 15%) 100%);
}

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

.voice-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  object-fit: cover;
  border: 2px solid hsl(var(--background) / 0.5);
  box-shadow: var(--shadow-md);
}

.voice-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.voice-accent {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.voice-quote {
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.voice-quote p {
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  line-height: 1.6;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.play-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background-color: hsl(var(--background));
  border: 2px solid hsl(var(--border));
  color: hsl(var(--foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.play-btn:hover {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
}

.play-btn.playing {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
}

.play-btn .pause-icon {
  display: none;
}

.play-btn.playing .play-icon {
  display: none;
}

.play-btn.playing .pause-icon {
  display: block;
}

.play-btn .play-icon {
  margin-left: 0.25rem;
}

.audio-progress-container {
  flex: 1;
}

.audio-progress {
  height: 0.75rem;
  background-color: hsl(var(--background) / 0.8);
  border-radius: 9999px;
  cursor: pointer;
  overflow: hidden;
}

.audio-progress-fill {
  height: 100%;
  width: 0%;
  background-color: hsl(var(--foreground));
  border-radius: 9999px;
  transition: width 0.1s linear;
}

.audio-time {
  display: flex;
  justify-content: space-between;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.volume-icon {
  color: hsl(var(--muted-foreground));
}

/* ========================================
   Why Choose Section
   ======================================== */


.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.gradient-blob-1 {
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: linear-gradient(to bottom left, hsl(var(--foreground) / 0.05), transparent);
}

.gradient-blob-2 {
  bottom: 0;
  left: 0;
  width: 24rem;
  height: 24rem;
  background: linear-gradient(to top right, hsl(var(--foreground) / 0.05), transparent);
}

.why-choose-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .why-choose-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.why-card {
  position: relative;
}

.why-card-shadow {
  position: absolute;
  inset: 0;
  background-color: hsl(var(--foreground) / 0.1);
  border-radius: 1rem;
  transform: translate(0.5rem, 0.5rem);
}

.why-card-content {
  position: relative;
  background-color: hsl(var(--background));
  border: 2px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  transform: rotate(0deg);
}

.why-card:hover .why-card-content {
  transform: translate(0.25rem, 0.25rem);
  box-shadow: var(--shadow-xl);
}

.why-number {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background-color: hsl(var(--secondary));
  border: 2px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

.why-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.why-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.why-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.why-stat-line {
  width: 2rem;
  height: 0.25rem;
  background-color: hsl(var(--foreground));
  border-radius: 9999px;
}

.why-stat span {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

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

.pricing-section {
  background: var(--gradient-section-5);
}

.pricing-blob-1 {
  top: 5rem;
  left: 0;
  width: 18rem;
  height: 18rem;
  background-color: hsl(var(--secondary));
  opacity: 0.5;
}

.pricing-blob-2 {
  bottom: 5rem;
  right: 0;
  width: 24rem;
  height: 24rem;
  background-color: hsl(var(--secondary));
  opacity: 0.5;
}

.floating-accent {
  display: none;
  position: absolute;
}

@media (min-width: 1024px) {
  .floating-accent {
    display: block;
  }
}

.accent-1 {
  top: 8rem;
  right: 15%;
  width: 3rem;
  height: 3rem;
  background-color: hsl(var(--accent) / 0.2);
  border-radius: 0.75rem;
  transform: rotate(12deg);
}

.accent-2 {
  top: 12rem;
  left: 10%;
  width: 2rem;
  height: 2rem;
  background-color: hsl(var(--accent-orange) / 0.2);
  border-radius: 50%;
}

.accent-3 {
  bottom: 10rem;
  left: 20%;
  width: 2.5rem;
  height: 2.5rem;
  background-color: hsl(var(--accent-purple) / 0.2);
  border-radius: 0.5rem;
  transform: rotate(-6deg);
}

.accent-4 {
  bottom: 8rem;
  right: 25%;
  width: 1.5rem;
  height: 1.5rem;
  background-color: hsl(var(--accent) / 0.3);
  border-radius: 50%;
}

.pricing-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.pricing-header .badge-dark {
  gap: 0.375rem;
}

.highlight-text {
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 0;
  width: 100%;
  height: 0.75rem;
  background-color: hsl(var(--accent) / 0.3);
  transform: rotate(-1deg);
  z-index: -1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-card {
  position: relative;
}

.pricing-card-popular {
  z-index: 10;
}

@media (min-width: 1024px) {
  .pricing-card-popular {
    transform: scale(1.05);
  }
}

.popular-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background-color: hsl(142, 76%, 50%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
  z-index: 11;
}

.pricing-card-shadow {
  position: absolute;
  inset: 0;
  background-color: hsl(var(--foreground) / 0.2);
  border-radius: 1.5rem;
  transform: translate(0.5rem, 0.5rem);
  filter: blur(4px);
}

.pricing-card-inner {
  position: relative;
  height: 100%;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 2px solid hsl(var(--border));
  background-color: hsl(var(--background));
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .pricing-card-inner {
    padding: 2rem;
  }
}

.pricing-card:hover .pricing-card-inner {
  border-color: hsl(var(--foreground) / 0.3);
  box-shadow: var(--shadow-xl);
}

.pricing-card-inner.inverted {
  background-color: hsl(var(--foreground));
  border-color: hsl(var(--foreground));
  color: hsl(var(--foreground));
}

.pricing-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.inverted .pricing-name {
  color: hsl(var(--background));
}

.pricing-subtitle {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.inverted .pricing-subtitle {
  color: hsl(var(--background) / 0.7);
}

.pricing-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
}

.inverted .pricing-number {
  background-color: hsl(var(--background) / 0.1);
}

.pricing-price {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid hsl(var(--border) / 0.1);
}

.inverted .pricing-price {
  border-bottom-color: hsl(var(--background) / 0.1);
}

.price-amount {
  font-size: 2.25rem;
  font-weight: 700;
}

.inverted .price-amount {
  color: hsl(var(--background));
}

.price-period {
  color: hsl(var(--muted-foreground));
}

.inverted .price-period {
  color: hsl(var(--background) / 0.7);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.inverted .pricing-features li {
  color: hsl(var(--background) / 0.9);
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.check-icon svg {
  color: hsl(var(--background));
}

.check-icon.inverted {
  background-color: hsl(var(--background) / 0.2);
}

.check-icon.inverted svg {
  color: hsl(var(--background));
}

/* Pricing balance/credits badge */
.pricing-credits,
.pricing-balance {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background: hsl(var(--secondary));
  border-radius: 0.375rem;
  display: inline-block;
}

.pricing-credits.inverted,
.pricing-balance.inverted {
  background: hsl(var(--background) / 0.2);
  color: hsl(var(--background));
}

/* Pricing Info Section - Unified Display */
.pricing-info-section {
  padding: 0.875rem;
  background: hsl(var(--secondary));
  border-radius: 0.625rem;
  margin-top: auto;
  margin-bottom: 1rem;
}

.pricing-info-section.inverted {
  background: hsl(var(--background));
}

.pricing-minutes-display {
  margin-bottom: 0.625rem;
}

.pricing-minutes-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.inverted .pricing-minutes-label {
  color: hsl(var(--foreground) / 0.6);
}

.pricing-minutes-item {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  padding: 0.25rem 0;
}

.pricing-minutes-number {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.inverted .pricing-minutes-number {
  color: hsl(var(--foreground));
}

.pricing-minutes-unit {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.inverted .pricing-minutes-unit {
  color: hsl(var(--foreground) / 0.7);
}

.pricing-rates-footer {
  padding-top: 0.625rem;
  border-top: 1px solid hsl(var(--border) / 0.3);
}

.inverted .pricing-rates-footer {
  border-top-color: hsl(var(--foreground) / 0.15);
}

.pricing-rates-header {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.375rem;
}

.inverted .pricing-rates-header {
  color: hsl(var(--foreground) / 0.6);
}

.pricing-rates-header svg {
  opacity: 0.7;
}

.pricing-rates-list {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

.inverted .pricing-rates-list {
  color: hsl(var(--foreground) / 0.6);
}

/* Legacy rate styles for compatibility */
.pricing-rate {
  color: hsl(var(--foreground));
}

.inverted .pricing-rate {
  color: hsl(var(--background));
}

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 3rem;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
  padding: 5rem 0;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .cta-section {
    padding: 8rem 0;
  }
}

.cta-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  background-color: hsl(var(--primary-foreground) / 0.05);
}

.cta-circle-1 {
  top: 0;
  left: 0;
  width: 24rem;
  height: 24rem;
  transform: translate(-50%, -50%);
}

.cta-circle-2 {
  bottom: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  transform: translate(50%, 50%);
}

.cta-ring {
  position: absolute;
  border: 1px solid hsl(var(--primary-foreground) / 0.1);
  border-radius: 50%;
}

.cta-ring-1 {
  top: 50%;
  left: 25%;
  width: 8rem;
  height: 8rem;
}

.cta-ring-2 {
  bottom: 25%;
  right: 33%;
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  transform: rotate(12deg);
}

.cta-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.cta-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background-color: hsl(var(--primary-foreground) / 0.1);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-description {
  font-size: 1.125rem;
  opacity: 0.7;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: hsl(var(--primary-foreground));
  color: hsl(var(--primary));
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  width: 100%;
}

@media (min-width: 640px) {
  .btn-cta-primary {
    width: auto;
  }
}

.btn-cta-primary:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 1px solid hsl(var(--primary-foreground) / 0.3);
  color: hsl(var(--primary-foreground));
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  width: 100%;
}

@media (min-width: 640px) {
  .btn-cta-secondary {
    width: auto;
  }
}

.btn-cta-secondary:hover {
  background-color: hsl(var(--primary-foreground) / 0.1);
}

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

.footer {
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 0;
  background-color: hsl(var(--secondary));
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
  }
}

.footer-logo {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: hsl(var(--foreground));
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ========================================
   Dialog
   ======================================== */

.dialog-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease, visibility 0.3s;
}

.dialog-overlay.active {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.dialog {
  position: relative;
  background-color: hsl(var(--background));
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.dialog-overlay.active .dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.dialog-close:hover {
  color: hsl(var(--foreground));
}

.dialog-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.dialog-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: hsl(var(--ring));
}

.form-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.dialog-note {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-top: 1rem;
}

/* Social Login Buttons */
.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-social:hover {
  background-color: hsl(var(--secondary));
  border-color: hsl(var(--ring) / 0.3);
  transform: translateY(-1px);
}

.btn-google:hover {
  border-color: #4285F4;
  box-shadow: 0 2px 8px hsl(217, 89%, 61%, 0.15);
}

.btn-discord {
  background-color: #5865F2;
  color: white;
  border-color: #5865F2;
}

.btn-discord:hover {
  background-color: #4752C4;
  border-color: #4752C4;
  box-shadow: 0 2px 8px hsl(235, 86%, 65%, 0.3);
}

.dark .btn-discord {
  background-color: #5865F2;
  border-color: #5865F2;
}

.dark .btn-discord:hover {
  background-color: #6d79f5;
  border-color: #6d79f5;
}

.dialog-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dialog-divider::before,
.dialog-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: hsl(var(--border));
}


/* ========================================
   Animations
   ======================================== */

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes bounceSub {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.02); }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.5) translateY(20px); }
  60% { transform: scale(1.1) translateY(-5px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

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

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

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 6s ease-in-out infinite 2s;
}

.animate-float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

.animate-bounce-subtle {
  animation: bounceSub 4s ease-in-out infinite;
}

.animate-pop-in {
  animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

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

.scroll-animate-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

/* ========================================
   Parallax & Dynamic Effects
   ======================================== */

/* Parallax Layer System */
.parallax-container {
  perspective: 1000px;
  perspective-origin: center center;
}

[data-parallax] {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* 3D Tilt Card Effect */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
}

.tilt-card:hover {
  box-shadow: var(--shadow-float);
}

.tilt-card .tilt-content {
  transform: translateZ(30px);
}

/* Enhanced Floating Cards with Parallax */
@media (min-width: 1024px) {
  .floating-card {
    transition: transform 0.2s ease-out;
  }
  
  .floating-card-1 {
    animation: floatParallax1 8s ease-in-out infinite;
  }
  
  .floating-card-2 {
    animation: floatParallax2 9s ease-in-out infinite;
  }
  
  .floating-card-3 {
    animation: floatParallax3 7s ease-in-out infinite;
  }
  
  .floating-card-4 {
    animation: floatParallax4 10s ease-in-out infinite;
  }
}

@keyframes floatParallax1 {
  0%, 100% { transform: rotate(-8deg) translateY(0) translateX(0); }
  25% { transform: rotate(-6deg) translateY(-15px) translateX(5px); }
  50% { transform: rotate(-10deg) translateY(-8px) translateX(-3px); }
  75% { transform: rotate(-7deg) translateY(-20px) translateX(2px); }
}

@keyframes floatParallax2 {
  0%, 100% { transform: rotate(6deg) translateY(0) translateX(0); }
  33% { transform: rotate(8deg) translateY(-12px) translateX(-5px); }
  66% { transform: rotate(4deg) translateY(-18px) translateX(3px); }
}

@keyframes floatParallax3 {
  0%, 100% { transform: rotate(-5deg) translateY(0) scale(1); }
  50% { transform: rotate(-3deg) translateY(-10px) scale(1.02); }
}

@keyframes floatParallax4 {
  0%, 100% { transform: rotate(4deg) translateY(0) translateX(0); }
  40% { transform: rotate(6deg) translateY(-14px) translateX(-4px); }
  80% { transform: rotate(2deg) translateY(-8px) translateX(6px); }
}

/* Gradient Shift Animation */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* Counter Animation */
.animate-counter {
  display: inline-block;
}

.animate-counter.counting {
  animation: counterPop 0.3s ease-out;
}

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

/* Staggered Card Reveal */
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stagger-reveal.in-view > *:nth-child(1) { transition-delay: 0s; }
.stagger-reveal.in-view > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-reveal.in-view > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-reveal.in-view > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-reveal.in-view > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-reveal.in-view > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-reveal.in-view > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Enhanced Feature Card Hover */
.feature-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              box-shadow 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px hsl(0 0% 0% / 0.25);
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: linear-gradient(135deg, 
    hsl(var(--accent) / 0.1) 0%, 
    transparent 50%, 
    hsl(var(--accent-purple) / 0.1) 100%);
  pointer-events: none;
}

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

/* Enhanced Pricing Card Hover */
.pricing-card-inner {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.pricing-card:hover .pricing-card-inner {
  transform: translateY(-5px);
}

/* Enhanced Voice Card Hover */
.voice-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.voice-card:hover {
  transform: translateY(-10px) rotate(0deg) !important;
}

.voice-card-content {
  transition: box-shadow 0.4s ease;
}

.voice-card:hover .voice-card-content {
  box-shadow: 0 30px 60px -15px hsl(0 0% 0% / 0.3);
}

/* Why Card Enhanced Hover */
.why-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-card:hover {
  transform: translateY(-8px) rotate(0deg) !important;
}

.why-card-content {
  transition: box-shadow 0.4s ease, border-color 0.3s ease;
}

.why-card:hover .why-card-content {
  box-shadow: 0 25px 50px -12px hsl(0 0% 0% / 0.2);
  border-color: hsl(var(--foreground) / 0.2);
}

/* Integration Feature Card Hover */
.integration-feature-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.integration-feature-card:hover {
  transform: translateY(-6px) rotate(0deg) !important;
}

/* Magnetic Hover Effect (applied via JS) */
.magnetic-hover {
  transition: transform 0.2s ease-out;
}

/* Section Background Parallax */
.section-bg-decorations {
  transition: transform 0.3s ease-out;
}

.circle-decoration {
  transition: transform 0.4s ease-out;
}

/* Hero Background Parallax Enhancement */
.hero-section::before {
  transition: transform 0.2s ease-out;
}

/* Shimmer Effect */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    hsl(var(--background) / 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Text Reveal Animation */
@keyframes textReveal {
  0% { 
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  100% { 
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

.text-reveal {
  animation: textReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .floating-card,
  .tilt-card,
  .feature-card,
  .pricing-card,
  .voice-card,
  .why-card,
  [data-parallax] {
    animation: none !important;
    transition: opacity 0.3s ease !important;
  }
  
  .scroll-animate,
  .scroll-animate-left,
  .scroll-animate-right,
  .scroll-animate-scale {
    transition: opacity 0.3s ease !important;
    transform: none !important;
  }
  
  .scroll-animate.in-view,
  .scroll-animate-left.in-view,
  .scroll-animate-right.in-view,
  .scroll-animate-scale.in-view {
    transform: none !important;
  }
}

/* Mobile: Simplified animations for performance */
@media (max-width: 768px) {
  .floating-card {
    animation-duration: 12s !important;
  }
  
  [data-parallax] {
    transform: none !important;
  }
  
  .feature-card:hover,
  .pricing-card:hover .pricing-card-inner,
  .voice-card:hover,
  .why-card:hover {
    transform: none;
  }
}

/* Hero Functional Card (3D Effect) */
.hero-functional-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 1.5rem;
  z-index: 10;
  
  /* 3D Transform */
  transform: perspective(1000px) rotateY(-12deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  
  /* Ensure visibility overrides */
  bottom: auto !important; 
  right: auto !important; 
  left: auto !important;
  margin: 0 !important;
}

.hero-functional-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
}

.dark .hero-functional-card:hover {
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
}

/* =========================================
   Hero Functional Card (Always White)
   ========================================= */

.hero-functional-card {
  /* Forced White Card */
  background-color: #ffffff;
  color: #0f172a; /* Dark text (Slate 900) */
  
  /* Rest of base styles */
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 1.5rem;
  z-index: 10;
  border-radius: 1rem;
  border: 1px solid #e2e8f0; /* Slate 200 */
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
  
  /* 3D Transform */
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  
  /* Layout overrides */
  bottom: auto !important; 
  right: auto !important; 
  left: auto !important;
  margin: 0 !important;
}

/* Hover Effect */
.hero-functional-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
}

/* Dark Mode - FORCE WHITE CARD Override */
.dark .hero-functional-card {
  background-color: #ffffff;
  color: #0f172a;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
  border-color: #e2e8f0;
}

/* Header Styles */
.hero-card-header {
  margin-bottom: 2rem;
  text-align: center;
}
.hero-card-header h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: inherit;
}
.hero-card-header p {
  font-size: 0.875rem;
  opacity: 0.7;
  color: inherit;
}

/* Slider Section */
.hero-slider-section {
  margin-bottom: 2.5rem;
}

.hero-slider-display-container {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-bottom: 1rem;
}

.hero-minutes-pill {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  
  background: #f1f5f9; /* Slate 100 */
  border: 1px solid #e2e8f0;
}

.hero-minutes-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: monospace;
  font-variant-numeric: tabular-nums;
  color: #0f172a; 
}

.hero-minutes-label {
  font-size: 0.875rem;
  color: #64748b; /* Slate 500 */
  font-weight: 600;
}

.hero-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8; /* Slate 400 */
}

/* Price Stack */
.hero-price-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Audixa Row - High Contrast (Black BG) */
.hero-audixa-row {
  background-color: #0f172a; /* Slate 900 */
  color: #ffffff;
  
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.2); /* Stronger shadow */
  transform: scale(1.02);
}

.row-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon-light { width: 24px; height: 24px; display: none !important; } /* Force hide dark logo (light mode icon) */
.logo-icon-dark { width: 24px; height: 24px; display: block !important; } /* Always show white logo */

/* Dark mode override for icons not needed since row is always black */
.dark .logo-icon-light { display: none !important; }
.dark .logo-icon-dark { display: block !important; }

.price-info { text-align: left; }
.provider-name {
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 600;
  color: inherit;
}
.price-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: inherit;
}

.save-badge-container { text-align: right; }
.save-badge {
  background: #22c55e; /* Green 500 */
  color: #ffffff;
  font-size: 0.625rem;
  padding: 0.25rem 0.625rem;
  border-radius: 99px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
}

/* Competitor Rows - Subtle */
.hero-competitor-row {
  background-color: #f8fafc; /* Slate 50 */
  color: #0f172a;
  
  border: 1px solid #e2e8f0;
  padding: 0.875rem 1.25rem;
  border-radius: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.competitor-logo {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.competitor-price {
  font-size: 0.875rem;
  text-decoration: line-through;
  font-weight: 500;
  color: #64748b;
}

.opacity-90 { opacity: 1; } /* Clean look, remove opacity */
.opacity-80 { opacity: 1; }


/* Grid Spotlight Effect (Global) */
.hero-section::after,
.section::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Duplicate grid pattern for perfect alignment */
  /* Increased opacity to 0.4 for "more visible" effect as requested */
  background-image: 
    linear-gradient(hsl(var(--foreground) / 0.4) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--foreground) / 0.4) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  pointer-events: none;
  z-index: 1;
  
  /* Spotlight Mask using CSS Variables from JS */
  -webkit-mask-image: radial-gradient(circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 100%);
  mask-image: radial-gradient(circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 100%);
  
  opacity: var(--spotlight-opacity, 0);
  transition: opacity 0.3s ease;
}

.dark .hero-section::after,
.dark .section::after {
  background-image: 
    linear-gradient(hsl(var(--foreground) / 0.3) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--foreground) / 0.3) 1px, transparent 1px);
}

/* ========================================
   Z-Index Fixes for Grid Overlay
   ======================================== */

/* Step 1: Lower the Grid Overlay Z-Index */
.hero-section::before,
.hero-section::after,
.section::before,
.section::after {
  z-index: 0 !important; /* Move grid to background level */
}

/* Step 2: Ensure Content Containers are Above Grid */
.container,
.hero-container-redesign,
.section-title,
.section-description {
  position: relative;
  z-index: 2 !important; /* Content sits above grid */
}

/* Step 3: Ensure ALL Cards are Explicitly Higher */
.card-savings,
.slider-card,
.feature-card,
.feature-icon,
.integration-feature-card,
.code-block,
.voice-card-content,
.why-card-content,
.pricing-card-inner,
.pricing-info-section, 
.hero-functional-card {
  position: relative;
  z-index: 10 !important; /* Cards sit well above everything */
}

/* Ensure inner interactive elements are clickable */
.slider,
.copy-btn,
.play-btn,
.audio-progress {
  z-index: 20 !important;
}


/* ========================================
   Global Scrollbar Styling
   Matches default Firefox / Modern OS look
   ======================================== */

/* Firefox */
* {
  scrollbar-width: auto;
  scrollbar-color: auto;
}

/* WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--secondary));
}

::-webkit-scrollbar-thumb {
  background-color: hsl(var(--muted-foreground) / 0.5);
  border-radius: 10px;
  border: 3px solid hsl(var(--secondary)); /* Creates padding effect */
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(var(--muted-foreground) / 0.8);
}

/* Dark mode adjustments if needed (using CSS variables handles most of it) */
.dark ::-webkit-scrollbar-track {
  background: hsl(var(--secondary));
}

.dark ::-webkit-scrollbar-thumb {
  background-color: hsl(var(--muted-foreground) / 0.5);
  border: 3px solid hsl(var(--secondary));
}

.dark ::-webkit-scrollbar-thumb:hover {
  background-color: hsl(var(--muted-foreground) / 0.7);
}
