/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

:root {
  /* Core palette */
  --primary: #2ea3ff;
  --primary-dark: #0f4d9b;
  --primary-light: #72d4ff;
  --secondary: #12c2ff;
  --accent: #3cf0ff;
  --accent-warm: #ffb347;

  /* Tool-specific colors */
  --color-image: #3a8dff;
  --color-sound: #24e28a;
  --color-video: #1bc8ff;
  --color-3d: #ff9f40;
  --color-ai: #1f4ba8;
  --color-creative: #3cf0ff;

  /* Neutrals */
  --dark: #05060d;
  --dark-light: #0d111f;
  --dark-surface: #14172b;
  --gray: #8086a3;
  --gray-light: #aeb4ce;
  --gray-lighter: #dfe3f5;
  --surface: #f7f8fa;
  --white: #ffffff;

  /* Gradients */
  --gradient-primary: linear-gradient(130deg, rgba(46, 163, 255, 0.95) 0%, rgba(24, 198, 255, 0.9) 45%, rgba(92, 250, 255, 0.88) 100%);
  --gradient-hero: radial-gradient(120% 120% at 10% 10%, rgba(46, 163, 255, 0.18) 0%, rgba(7, 16, 34, 0.93) 60%);
  --gradient-card: linear-gradient(150deg, rgba(46, 163, 255, 0.12) 0%, rgba(8, 14, 30, 0.8) 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(46, 163, 255, 0.5) 0%, transparent 70%);
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 14px 32px rgba(10, 12, 30, 0.24);
  --shadow-md: 0 24px 48px rgba(10, 12, 30, 0.32);
  --shadow-lg: 0 40px 80px rgba(16, 20, 50, 0.45);
  --shadow-xl: 0 60px 120px rgba(16, 20, 50, 0.55);
  --shadow-glow: 0 0 120px rgba(46, 163, 255, 0.35);
  
  /* Border Radius - Match app */
  --radius-sm: 12px;
  --radius-md: 12px;
  --radius-lg: 12px;
  
  /* Transitions */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--white);
  background: var(--dark);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

/* Three.js Canvas */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Animated gradient background (main effect when WebGL unavailable) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 50% 32%, rgba(46, 163, 255, 0.12) 0%, rgba(46, 163, 255, 0) 65%),
    linear-gradient(135deg, rgba(7, 11, 24, 0.95) 0%, rgba(12, 28, 58, 0.9) 40%, rgba(6, 38, 70, 0.94) 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  opacity: 0.12;
}

/* Add floating particles with CSS */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image:
    radial-gradient(circle at 16% 78%, rgba(46, 163, 255, 0.24) 0%, transparent 55%),
    radial-gradient(circle at 78% 22%, rgba(30, 184, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 42% 40%, rgba(83, 240, 255, 0.14) 0%, transparent 55%);
  animation: floatAnimation 20s ease-in-out infinite;
}

@keyframes floatAnimation {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(32px, 8vw, 96px);
  font-weight: 800;
  color: var(--white);
}

h2 {
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 700;
}

h3 {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 600;
}

p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 480px) {
  p {
    font-size: 16px;
  }
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
}

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(6, 10, 24, 0.86) 0%, rgba(14, 26, 58, 0.8) 40%, rgba(5, 40, 68, 0.88) 100%);
  backdrop-filter: blur(28px) saturate(220%);
  -webkit-backdrop-filter: blur(28px) saturate(220%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(5, 6, 15, 0.55);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
}

.logo {
  --logo-size: 64px;
  --logo-progress: 1;
  --logo-glow: 1;
  --logo-tilt: 0deg;
  --logo-sheen: 0%;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--white);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 12%, rgba(46, 163, 255, 0.32) 0%, transparent 42%),
    radial-gradient(circle at 86% 12%, rgba(60, 240, 255, 0.22) 0%, transparent 36%),
    linear-gradient(135deg, rgba(10, 12, 30, 0.9) 0%, rgba(12, 16, 40, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 60px rgba(5, 6, 15, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 40px rgba(46, 163, 255, 0.35);
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.logo::before {
  content: '';
  position: absolute;
  inset: -45%;
  background: conic-gradient(
    from 90deg,
    rgba(46, 163, 255, 0.35),
    rgba(60, 240, 255, 0.25),
    rgba(255, 77, 148, 0.25),
    rgba(46, 163, 255, 0.35)
  );
  opacity: 0.32;
  filter: blur(28px);
  transform: rotate(-6deg) scale(1.05);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.logo::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform: translateX(calc(-35% + var(--logo-sheen, 0%)));
  mix-blend-mode: screen;
  opacity: 0.75;
  transition: transform 0.7s ease, opacity var(--transition-fast);
}

.logo:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(46, 163, 255, 0.45);
  box-shadow:
    0 24px 70px rgba(5, 6, 15, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 55px rgba(46, 163, 255, 0.45);
}

.logo:hover::before {
  opacity: 0.5;
  transform: rotate(2deg) scale(1.08);
}

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

.logo-text {
  letter-spacing: 8px;
  font-size: 14px;
  color: var(--gray-light);
  margin-left: 8px;
}

.header-logo {
  display: block;
  height: var(--logo-size);
  width: auto;
  transform-origin: left center;
  filter:
    drop-shadow(0 12px 32px rgba(46, 163, 255, 0.35))
    drop-shadow(0 0 24px rgba(60, 240, 255, 0.25));
  transform:
    translateZ(0)
    scale(calc(0.92 + (0.1 * var(--logo-progress))))
    rotate(var(--logo-tilt));
  transition:
    height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.nav-link {
  color: rgba(223, 227, 250, 0.72);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all var(--transition-fast);
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 60%;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(46, 163, 255, 0) 0%, rgba(46, 163, 255, 0.8) 50%, rgba(92, 250, 255, 0) 100%);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-normal);
  box-shadow: 0 0 16px rgba(46, 163, 255, 0.4);
  opacity: 0.9;
}

.nav-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(46, 163, 255, 0.14) 0%, rgba(60, 240, 255, 0.14) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

.nav-link:hover {
  color: var(--white);
  border-color: rgba(46, 163, 255, 0.35);
  box-shadow: 0 12px 24px rgba(12, 16, 30, 0.35);
}

.nav-link:hover::after {
  opacity: 1;
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 10, 24, 0.78);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 14px 28px rgba(5, 6, 15, 0.35);
}

.nav-toggle__icon {
  width: 20px;
  height: 14px;
  position: relative;
  display: inline-block;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition-fast), top var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle__icon::before {
  top: 0;
  box-shadow: 0 6px currentColor;
}

.nav-toggle__icon::after {
  top: 12px;
}

.header.nav-open .nav-toggle__icon::before {
  top: 6px;
  transform: rotate(45deg);
  box-shadow: none;
}

.header.nav-open .nav-toggle__icon::after {
  top: 6px;
  transform: rotate(-45deg);
}

.header.nav-open .nav-toggle {
  border-color: rgba(46, 163, 255, 0.45);
  box-shadow: 0 16px 36px rgba(5, 6, 15, 0.55);
}

/* Header Responsive */
@media (max-width: 1100px) {
  .header-content {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-height, 78px) + 12px);
    right: 16px;
    left: 16px;
    z-index: 1200;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(
      160deg,
      rgba(6, 10, 24, 0.96) 0%,
      rgba(10, 24, 52, 0.92) 100%
    );
    border-radius: 16px;
    border: 1px solid rgba(92, 250, 255, 0.3);
    box-shadow:
      0 24px 60px rgba(5, 6, 15, 0.66),
      0 0 0 1px rgba(46, 163, 255, 0.08);
    backdrop-filter: blur(16px) saturate(170%);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
    max-width: 520px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity var(--transition-fast),
      transform var(--transition-fast),
      visibility var(--transition-fast);
  }

  .header.nav-open .nav {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(120deg, rgba(46, 163, 255, 0.14) 0%, rgba(92, 250, 255, 0.14) 100%);
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(46, 163, 255, 0.08);
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: var(--space-sm) 0;
    gap: var(--space-xs);
  }

  .logo {
    --logo-size: 52px;
    padding: 8px 10px;
  }

  .logo-text {
    display: none;
  }

  .nav {
    gap: var(--space-sm);
  }

  .nav-link {
    font-size: 14px;
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .logo {
    --logo-size: 38px;
    padding: 6px 8px;
    max-width: calc(100vw - 120px); /* Leave room for menu button */
  }

  .header-logo {
    height: auto;
    max-height: var(--logo-size);
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .nav {
    gap: var(--space-xs);
    padding: 10px;
  }

  .nav-link {
    font-size: 12px;
    padding: 9px 10px;
  }

  .nav .btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  color: var(--white);
  backdrop-filter: blur(18px);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 0;
  background: rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: height 0.45s ease;
  opacity: 0.45;
}

.btn:hover::before {
  height: 220%;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(46, 163, 255, 0.96) 0%, rgba(24, 198, 255, 0.92) 45%, rgba(92, 250, 255, 0.88) 120%);
  box-shadow: 0 26px 50px rgba(46, 163, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 64px rgba(46, 163, 255, 0.45);
}

.btn-secondary {
  background: rgba(10, 12, 28, 0.65);
  color: var(--gray-lighter);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-secondary:hover {
  background: rgba(15, 18, 38, 0.75);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(8, 10, 26, 0.6);
  color: var(--gray-lighter);
  border-color: rgba(46, 163, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(60, 240, 255, 0.1);
}

.btn-outline:hover {
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(60, 240, 255, 0.25), 0 24px 48px rgba(12, 16, 30, 0.4);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-large {
  padding: 16px 36px;
  font-size: 18px;
}

@media (max-width: 768px) {
  .btn {
    padding: 10px 20px;
    font-size: 14px;
    gap: 8px;
  }

  .btn-large {
    padding: 12px 24px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .btn-large {
    padding: 10px 20px;
    font-size: 14px;
  }

  .btn-arrow,
  .btn-icon {
    display: none;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-4xl) 0;
  background: var(--gradient-hero);
  overflow: hidden;
}

/* Animated background */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 50%, rgba(25, 118, 210, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(33, 150, 243, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 40% 20%, rgba(66, 165, 245, 0.2) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-30px, -30px) rotate(120deg); }
  66% { transform: translate(30px, -20px) rotate(240deg); }
}

.hero-content {
  text-align: center;
  z-index: 1;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: rgba(25, 118, 210, 0.2);
  border: 1px solid rgba(25, 118, 210, 0.3);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

.hero-subtitle {
  font-size: 24px;
  color: var(--gray-light);
  margin-bottom: var(--space-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.4s forwards;
}

/* Floating elements */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  animation: floatCard 6s ease-in-out infinite;
}

.floating-card-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-card-2 {
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.floating-card-3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

/* Features Section */
.features-section {
  padding: var(--space-3xl) 0;
  position: relative;
  background: var(--dark);
}

@media (max-width: 768px) {
  .features-section {
    padding: var(--space-2xl) 0;
  }
}

@media (max-width: 480px) {
  .features-section {
    padding: var(--space-xl) 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  padding: 0 var(--space-md);
}

.section-header h2 {
  margin-bottom: var(--space-md);
  line-height: 1.3;
  overflow-wrap: break-word;
}

.section-header p {
  color: var(--gray-light);
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  overflow-wrap: break-word;
}

.section-badge {
  display: inline-flex;
  padding: 10px 26px;
  background: linear-gradient(135deg, rgba(46, 163, 255, 0.16) 0%, rgba(255, 77, 148, 0.14) 100%);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(223, 227, 250, 0.78);
  margin-bottom: var(--space-md);
  box-shadow: 0 18px 36px rgba(8, 10, 26, 0.45);
}

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

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .features-grid {
    gap: var(--space-sm);
  }

  
.stories-section {
  position: relative;
  padding-bottom: var(--space-3xl);
}

.stories-header {
  max-width: 820px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
  display: grid;
  gap: var(--space-md);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.story-card {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(150deg, rgba(12, 16, 30, 0.92) 0%, rgba(36, 20, 64, 0.8) 100%);
  box-shadow: 0 26px 60px rgba(5, 6, 15, 0.52);
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  gap: var(--space-md);
  transition: transform var(--transition-normal), border-color var(--transition-normal), opacity var(--transition-normal);
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

.story-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
}

.story-card__media {
  position: relative;
}

.media-placeholder--reel {
  background: linear-gradient(135deg, rgba(46, 163, 255, 0.15) 0%, rgba(255, 77, 148, 0.22) 60%, rgba(12, 16, 30, 0.92) 100%);
}

.story-card__content h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.story-card__content p {
  color: rgba(223, 227, 250, 0.78);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.story-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: rgba(223, 227, 250, 0.74);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.story-metrics li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.story-metrics li span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.story-card.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 768px) {
  .stories-header {
    text-align: left;
  }
}

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

/* Glass morphism cards */

.section-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(223, 227, 250, 0.78);
  font-size: 20px;
  line-height: 1.7;
}

.feature-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
  margin-bottom: var(--space-xl);
}

.feature-bento__card {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(12, 16, 30, 0.92) 0%, rgba(36, 20, 64, 0.82) 100%);
  box-shadow: 0 32px 72px rgba(5, 6, 15, 0.55);
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), opacity var(--transition-normal);
  opacity: 0;
  transform: translate3d(0, 32px, 0);
}

.feature-bento__card::after {
  content: '';
  position: absolute;
  inset: 18%;
  border-radius: 42px;
  background: radial-gradient(circle, rgba(46, 163, 255, 0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.feature-bento__card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.22);
}

.feature-bento__card.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.feature-bento__card:hover::after {
  opacity: 1;
}

.feature-bento__card--primary {
  grid-row: span 2;
  min-height: 520px;
}

.feature-bento__media {
  position: relative;
  z-index: 1;
}

.media-placeholder {
  position: relative;
  border-radius: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(46, 163, 255, 0.12) 0%, rgba(255, 77, 148, 0.12) 45%, rgba(12, 16, 30, 0.92) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(223, 227, 250, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  padding: 24px;
  overflow: hidden;
}

.media-placeholder--wide {
  aspect-ratio: 16 / 9;
}

.media-placeholder--portrait {
  aspect-ratio: 9 / 16;
}

.media-placeholder--timeline {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.media-placeholder__label {
  position: relative;
  z-index: 2;
}

.media-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 12px);
  opacity: 0.4;
}

.feature-bento__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature-tag {
  align-self: flex-start;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(46, 163, 255, 0.35);
  background: rgba(46, 163, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(223, 227, 250, 0.9);
}

.feature-tag--cool {
  border-color: rgba(60, 240, 255, 0.4);
  background: rgba(60, 240, 255, 0.16);
}

.feature-tag--warm {
  border-color: rgba(255, 179, 71, 0.35);
  background: rgba(255, 179, 71, 0.16);
}

.feature-point-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  
  color: rgba(223, 227, 250, 0.8);
  font-size: 15px;
  line-height: 1.7;
}

.feature-point-list li {
  position: relative;
  padding-left: 22px;
}

.feature-point-list li::before {
  content: '✶';
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(46, 163, 255, 0.6);
  font-size: 12px;
  transform: translateY(2px);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: rgba(172, 176, 252, 0.92);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.feature-link span {
  transition: transform var(--transition-fast);
}

.feature-link:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.feature-link:hover span {
  transform: translateX(4px);
}

.feature-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.feature-chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 10, 26, 0.6);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(223, 227, 250, 0.78);
}

.toolkit-summary {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  justify-content: space-between;
}

.toolkit-summary__card {
  flex: 1 1 520px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(12, 16, 30, 0.92) 0%, rgba(36, 20, 64, 0.8) 100%);
  box-shadow: 0 28px 64px rgba(5, 6, 15, 0.52);
  padding: clamp(28px, 3vw, 36px);
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: transform var(--transition-normal), opacity var(--transition-normal), border-color var(--transition-normal);
}

.toolkit-summary__card h4 {
  font-size: 22px;
  margin-bottom: var(--space-sm);
}

.toolkit-summary__card p {
  color: rgba(223, 227, 250, 0.78);
  font-size: 16px;
  margin-bottom: var(--space-md);
}

.toolkit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toolkit-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(8, 10, 26, 0.6);
  border: 1px solid rgba(46, 163, 255, 0.24);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(223, 227, 250, 0.78);
}

.toolkit-summary__card.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.toolkit-summary__cta {
  flex: 0 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
  color: rgba(223, 227, 250, 0.7);
}

.toolkit-summary__cta p {
  font-size: 16px;
}

.tool-directory {
  margin-top: var(--space-xl);
  display: grid;
  gap: var(--space-2xl);
}

.tool-directory__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.tool-directory__intro h3 {
  font-size: clamp(24px, 4vw, 30px);
}

.tool-directory__intro p {
  color: rgba(223, 227, 250, 0.75);
  font-size: 16px;
  line-height: 1.7;
}

.tool-directory__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 36px);
}

.tool-directory__group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: clamp(24px, 3vw, 32px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(150deg, rgba(12, 16, 30, 0.88) 0%, rgba(30, 24, 56, 0.82) 100%);
  box-shadow: 0 24px 60px rgba(5, 6, 15, 0.48);
  min-height: 320px;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.tool-directory__group:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
}

.tool-directory__group header {
  display: grid;
  gap: 12px;
}

.tool-directory__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(223, 227, 250, 0.85);
}

.tool-directory__badge.tool-color-image {
  background: rgba(88, 101, 242, 0.16);
  border-color: rgba(88, 101, 242, 0.3);
}

.tool-directory__badge.tool-color-video {
  background: rgba(24, 198, 255, 0.16);
  border-color: rgba(24, 198, 255, 0.3);
}

.tool-directory__badge.tool-color-sound {
  background: rgba(36, 226, 138, 0.16);
  border-color: rgba(36, 226, 138, 0.3);
}

.tool-directory__badge.tool-color-creative {
  background: rgba(60, 240, 255, 0.18);
  border-color: rgba(60, 240, 255, 0.32);
  color: rgba(223, 227, 250, 0.85);
}

.tool-directory__group h4 {
  font-size: 20px;
  color: var(--white);
  margin: 0;
}

.tool-directory__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1 1 auto;
}


.tool-directory__items {
  list-style: none;
  margin: 0;
  padding: 0 0 40px 0;
  display: grid;
  gap: 12px;
  color: rgba(223, 227, 250, 0.78);
  font-size: 14px;
  max-height: 340px;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  flex: 1 1 auto;
}

.tool-directory__items.expanded {
  max-height: 1000px;
}

.tool-directory__list li {
  position: relative;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.tool-directory__list li::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(46, 163, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(46, 163, 255, 0.12);
}

.tool-action {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(223, 227, 250, 0.9);
}

.tool-desc {
  color: rgba(223, 227, 250, 0.68);
}

.tool-directory__toggle {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(46, 163, 255, 0.12);
  border: 1px solid rgba(46, 163, 255, 0.3);
  color: rgba(223, 227, 250, 0.85);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.tool-directory__toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 163, 255, 0.45);
  background: rgba(46, 163, 255, 0.18);
}

.tool-directory__toggle-icon {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.tool-directory__toggle.expanded .tool-directory__toggle-icon {
  transform: rotate(180deg);
}

.tool-directory__extra {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.tool-directory__items.expanded .tool-directory__extra {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .tool-directory__intro {
    text-align: left;
  }

  .tool-directory__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .feature-bento {
    grid-template-columns: 1fr;
  }

  .feature-bento__card--primary {
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .section-subtitle {
    font-size: 18px;
  }

  .feature-bento__card {
    padding: clamp(24px, 6vw, 36px);
  }

  .media-placeholder {
    letter-spacing: 0.2em;
  }

  .toolkit-summary {
    flex-direction: column;
  }

  .toolkit-summary__cta {
    flex: 1 1 auto;
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: scale(1.01);
  border-color: rgba(25, 118, 210, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .feature-icon {
  animation: pulse 2s ease-in-out infinite;
}

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

.feature-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--white);
  position: relative;
  z-index: 1;
}

.feature-description {
  color: var(--gray-light);
  font-size: 16px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Tool Cards - App-like Design */
.tools-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: var(--space-3xl);
}

.tool-category-card {
  background: #1A1B1D;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.tool-category-card:hover {
  transform: scale(1.01);
}

.tool-card-inner {
  padding: 24px;
}

.tool-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.tool-card-icon-wrapper {
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-card-icon {
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 1;
}

.tool-card-info {
  flex: 1;
}

.tool-card-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.tool-card-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.tool-card-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

.tool-items-list {
  display: flex;
  flex-direction: column;
}

.tool-item {
  display: flex;
  align-items: center;
  padding: 12px;
  margin: 0 -12px;
  border-radius: 8px;
  transition: background 200ms ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.tool-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tool-item-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  opacity: 0.7;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-item-content {
  flex: 1;
}

.tool-item-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 2px;
}

.tool-item-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.show-more-btn {
  width: 100%;
  padding: 8px 12px;
  margin-top: 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.show-more-btn:hover {
  background: rgba(25, 118, 210, 0.1);
}

.show-more-icon {
  font-size: 16px;
  transition: transform 200ms ease;
}

.show-more-btn.expanded .show-more-icon {
  transform: rotate(180deg);
}

/* Category-specific colors */
.tool-category-image .tool-card-icon-wrapper {
  background: rgba(33, 150, 243, 0.1);
  color: #2196f3;
}

.tool-category-sound .tool-card-icon-wrapper {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

.tool-category-video .tool-card-icon-wrapper {
  background: rgba(156, 39, 176, 0.1);
  color: #9c27b0;
}

.tool-category-3d .tool-card-icon-wrapper {
  background: rgba(255, 152, 0, 0.1);
  color: #ff9800;
}

.tool-category-ai .tool-card-icon-wrapper {
  background: rgba(103, 58, 183, 0.1);
  color: #673ab7;
}

.tool-category-creative .tool-card-icon-wrapper {
  background: rgba(0, 150, 136, 0.1);
  color: #009688;
}

/* Responsive tool grid */
@media (min-width: 768px) {
  .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  }
}

/* Bento Grid Section */
.bento-section {
  padding: var(--space-4xl) 0;
  background: var(--dark-light);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 280px);
  gap: var(--space-md);
}

.bento-item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.bento-item:hover {
  transform: scale(1.01);
  border-color: rgba(25, 118, 210, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
}

.bento-icon {
  font-size: 48px;
  margin-bottom: var(--space-md);
}

.bento-content h3 {
  font-size: 28px;
  margin-bottom: var(--space-sm);
}

.bento-visual {
  position: absolute;
  top: 50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: var(--gradient-glow);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.features-section.tight-top {
  padding-top: var(--space-2xl);
}
.features-section.tight-bottom {
  padding-bottom: var(--space-2xl);
}

/* Personas */
.personas-section {
  background: var(--dark-light);
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.persona-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
  min-height: 420px;
}

.persona-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 118, 210, 0.4);
}

.persona-header {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}

.persona-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(25, 118, 210, 0.15);
  flex-shrink: 0;
}

.persona-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  margin-bottom: 4px;
  line-height: 1.2;
}

.persona-role {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-light);
  margin: 0;
  margin-bottom: 8px;
  line-height: 1.2;
}

.persona-focus {
  color: var(--gray-light);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-wrap: break-word;
  margin: 0;
}

.persona-strengths {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  margin-bottom: var(--space-md);
}

.persona-strength {
  display: flex;
  gap: 8px;
  color: var(--gray-light);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: break-word;
  margin-bottom: 6px;
}

.strength-bullet {
  color: var(--primary-light);
  font-weight: 700;
}

.persona-prompt {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  margin-top: auto;
}

.prompt-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 8px;
  opacity: 0.8;
}

.persona-prompt p {
  color: var(--gray-light);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

/* Automation Engine */
.automation-section .section-flex {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .automation-section .section-flex {
    flex-direction: row;
    align-items: stretch;
  }
}

.automation-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.automation-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
}

.automation-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
}

.automation-stat-card .stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

.automation-stat-card .stat-label {
  font-size: 14px;
  color: var(--gray-light);
}

.automation-capabilities {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.automation-capability-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform var(--transition-normal);
}

.automation-capability-card:hover {
  transform: translateY(-6px);
}

.capability-icon {
  font-size: 28px;
}

.automation-flow {
  margin-top: var(--space-2xl);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.automation-flow-step {
  display: flex;
  gap: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  align-items: flex-start;
}

.flow-index {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(25, 118, 210, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary-light);
  margin-top: 4px;
}

/* 3D Pipeline */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.pipeline-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pipeline-icon {
  font-size: 32px;
}

.pipeline-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.pipeline-highlight {
  display: flex;
  gap: 10px;
  color: var(--gray-light);
  font-size: 16px;
}

.highlight-icon {
  color: var(--primary-light);
  font-weight: 700;
}

/* Collaboration enhancements */
.collaboration-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.collaboration-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
}

.collaboration-stat-value {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
}

.collaboration-stat-label {
  font-size: 14px;
  color: var(--gray-light);
}

.collaboration-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.collaboration-detail-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.collaboration-detail-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--gray-light);
  padding-left: 18px;
}

/* Automation Studio */
.automation-studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.automation-studio-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.automation-studio-icon {
  font-size: 36px;
}

.automation-studio-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--gray-light);
}

.automation-studio-card .card-cta {
  align-self: flex-start;
}

/* Creator Ops */
.creator-ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.creator-ops-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.creator-ops-icon {
  font-size: 36px;
}

.creator-ops-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--gray-light);
  padding-left: 20px;
}

@media (max-width: 768px) {
  .persona-card,
  .automation-capability-card,
  .pipeline-card,
  .collaboration-detail-card,
  .automation-studio-card,
  .creator-ops-card {
    padding: var(--space-lg);
  }

  .automation-flow {
    grid-template-columns: 1fr;
  }
}

/* Stats Section */
.stats-section {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 12% 12%, rgba(46, 163, 255, 0.14) 0%, transparent 55%),
              radial-gradient(120% 120% at 88% 78%, rgba(255, 77, 148, 0.16) 0%, transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.stat-card {
  position: relative;
  text-align: center;
  padding: calc(var(--space-xl) + 12px);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(140deg, rgba(12, 16, 30, 0.85) 0%, rgba(39, 23, 72, 0.75) 100%);
  box-shadow: 0 30px 70px rgba(5, 6, 15, 0.55);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 20%;
  background: radial-gradient(circle, rgba(46, 163, 255, 0.32) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 38px 90px rgba(8, 10, 26, 0.65);
}

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

.stat-number {
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--space-sm);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(223, 227, 250, 0.72);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-number {
    font-size: clamp(46px, 12vw, 64px);
  }

  .stat-label {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

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

  .stat-number {
    font-size: clamp(36px, 12vw, 48px);
  }

  .stat-label {
    line-height: 1.3;
    hyphens: auto;
  }
}

/* CTA Section */
.cta-section {
  padding: var(--space-4xl) 0;
  background: var(--primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 30s linear infinite;
}

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

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  margin-bottom: var(--space-xl);
}

.feature-highlights {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 500;
  transition: all var(--transition-normal);
}

.highlight-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.highlight-icon {
  font-size: 18px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--gray-light);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: 18px;
}

.footer-link {
  color: var(--gray);
  text-decoration: none;
  display: block;
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Storyboard Section */
.storyboard-section {
  padding: var(--space-4xl) 0;
  background: var(--dark);
}

.storyboard-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.storyboard-main h3 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.feature-list {
  list-style: none;
  margin-top: var(--space-lg);
}

.feature-list li {
  padding: var(--space-sm) 0;
  color: var(--gray-light);
  padding-left: 24px;
  position: relative;
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.storyboard-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.mini-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
}

.mini-icon {
  font-size: 32px;
}

/* Models Section */
.models-section {
  padding: var(--space-4xl) 0;
  background: var(--dark-light);
}

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

.model-category {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: var(--space-lg);
}

.model-category h4 {
  margin-bottom: var(--space-md);
  font-size: 18px;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.model-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 14px;
  color: var(--gray-light);
}

/* Pricing Section */
.pricing-section {
  padding: var(--space-4xl) 0;
  background: var(--dark);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: rgba(25, 118, 210, 0.1);
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: var(--space-md);
}

.price {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--gray-light);
}

.pricing-card ul {
  list-style: none;
  text-align: left;
}

.pricing-card li {
  padding: var(--space-sm) 0;
  color: var(--gray-light);
}

/* Mobile Optimization */
@media (max-width: 768px) {

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-large,
  .bento-wide,
  .bento-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .floating-card {
    display: none;
  }

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

  .storyboard-cards {
    grid-template-columns: 1fr;
  }

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

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

  .persona-card {
    padding: var(--space-md);
    min-height: auto;
  }

  .automation-capabilities {
    grid-template-columns: 1fr;
  }

  .automation-flow {
    grid-template-columns: 1fr;
  }

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

  .collaboration-details {
    grid-template-columns: 1fr;
  }

  .automation-studio-grid {
    grid-template-columns: 1fr;
  }

  .creator-ops-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: clamp(28px, 6vw, 48px);
  }

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mouse follower */
.mouse-follower {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(25, 118, 210, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
}

/* ==================== NEW INTERACTIVE COMPONENTS ==================== */

/* Feature Tour Styles */
.feature-tour-start {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.tour-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(25, 118, 210, 0.4);
  transition: all var(--transition-normal);
}

.tour-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(25, 118, 210, 0.5);
}

.tour-icon {
  font-size: 20px;
  animation: bounce 2s infinite;
}

.tour-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none; /* Do not block clicks when inactive */
  transition: opacity var(--transition-normal);
}

.tour-overlay.active {
  opacity: 1;
  pointer-events: auto; /* Enable interaction when active */
}

.tour-tooltip {
  position: fixed;
  max-width: 400px;
  background: var(--dark-light);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 32px rgba(25, 118, 210, 0.3);
  z-index: 2001;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.tour-tooltip.active {
  opacity: 1;
  transform: translateY(0);
}

.tooltip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip-header h3 {
  margin: 0;
  font-size: 20px;
  color: var(--white);
}

.close-button {
  background: none;
  border: none;
  color: var(--gray-light);
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.close-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.tooltip-description {
  padding: 20px 24px;
  color: var(--gray-light);
  line-height: 1.6;
}

.tooltip-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-button {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

.nav-button.primary {
  background: var(--primary);
  border-color: var(--primary);
}

.nav-button.primary:hover {
  background: var(--primary-dark);
  transform: translateX(2px);
}

.step-indicators {
  display: flex;
  gap: 8px;
}

.step-indicators .indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
}

.step-indicators .indicator.active {
  width: 24px;
  border-radius: 4px;
  background: var(--primary);
}

/* Community Gallery Section */
.community-section {
  padding: var(--space-4xl) 0;
  background: var(--dark);
  position: relative;
}

.community-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: var(--space-3xl);
}

.gallery-item {
  position: relative;
  background: #1A1B1D;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-image-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0A0B0D;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.placeholder-letter {
  font-size: 48px;
  font-weight: 600;
  color: white;
  opacity: 0.9;
}

.gallery-content {
  padding: 16px;
  background: #1A1B1D;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  opacity: 1;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.gallery-model {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(25, 118, 210, 0.9);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
}

.gallery-title {
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.gallery-author {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin: 0 0 8px 0;
}

.gallery-description {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.gallery-stats {
  display: flex;
  gap: 16px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.stat-icon {
  font-size: 14px;
}

.gallery-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.5);
}

.gallery-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .community-gallery {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .community-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.demo-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

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

.prompt-selection h3 {
  margin-bottom: var(--space-md);
  color: var(--white);
}

.prompt-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.prompt-card {
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.prompt-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.prompt-card.active {
  background: rgba(25, 118, 210, 0.2);
  border-color: var(--primary);
  box-shadow: 0 0 24px rgba(25, 118, 210, 0.3);
}

.prompt-category {
  display: inline-block;
  font-size: 14px;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.prompt-text {
  color: var(--gray-light);
  line-height: 1.5;
  margin: 0;
}

.generate-button {
  width: 100%;
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.generate-button:hover:not(.generating) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(25, 118, 210, 0.4);
}

.generate-button.generating {
  background: linear-gradient(135deg, var(--gray) 0%, var(--gray-light) 100%);
  cursor: not-allowed;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}

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

.preview-window {
  background: var(--dark);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.preview-container {
  aspect-ratio: 16 / 9;
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-content {
  text-align: center;
  color: var(--gray);
}

.ai-icon, .preview-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
  animation: pulse 2s infinite;
}

.progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 100%);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  to { transform: translateX(100%); }
}

.progress-text {
  display: block;
  text-align: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.status-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  animation: slideIn 0.5s ease;
}

.status-badge.success {
  color: #4caf50;
  border: 2px solid #4caf50;
}

.badge-icon {
  font-size: 16px;
}

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

.info-panel {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-panel h4 {
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.info-panel ul {
  list-style: none;
  margin-bottom: var(--space-md);
}

.info-panel li {
  padding: 8px 0;
  color: var(--gray-light);
  position: relative;
  padding-left: 24px;
}

.info-panel li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.cta-link:hover {
  transform: translateX(4px);
  color: var(--primary-light);
}

/* Three.js Canvas */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(180deg, #0A0B0D 0%, #1A1B1D 100%);
}

/* Hero Experience */
.hero-experience {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: clamp(120px, 20vh, 220px) 0 clamp(96px, 18vh, 160px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-experience__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-experience__bg::after {
  content: '';
  position: absolute;
  inset: -6%;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 20% 20%, rgba(92, 250, 255, 0.05) 0%, transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(46, 163, 255, 0.06) 0%, transparent 45%);
  mix-blend-mode: soft-light;
  opacity: 0.2;
  pointer-events: none;
}

.hero-experience__video-shell {
  position: absolute;
  inset: -15% -5% -10%;
  filter: saturate(120%) contrast(110%);
  mix-blend-mode: screen;
  opacity: 0.45;
  transform: rotate(-2deg);
  border-radius: clamp(48px, 10vw, 160px);
  overflow: hidden;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(46, 163, 255, 0.16) 0%, rgba(255, 77, 148, 0.18) 55%, rgba(15, 18, 38, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 14px;
  font-weight: 600;
  color: rgba(222, 225, 247, 0.7);
  position: relative;
}

.video-placeholder__label {
  background: rgba(5, 6, 13, 0.65);
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.hero-experience__gradient {
  position: absolute;
  inset: -10%;
  background: var(--gradient-hero);
  opacity: 0.9;
  mix-blend-mode: luminosity;
}

.hero-experience__noise {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 4px);
  opacity: 0.35;
  pointer-events: none;
}

.hero-experience__content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-experience__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(48px, 6vw, 120px);
  align-items: center;
}

.hero-experience__copy {
  max-width: 620px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-md);
  position: relative;
}

.hero-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(99, 102, 255, 0.6) 100%);
}

.hero-heading {
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.hero-heading__accent {
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 18px 48px rgba(46, 163, 255, 0.32);
}

.hero-lede {
  font-size: 20px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-xl);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.hero-cta .btn {
  box-shadow: 0 24px 48px rgba(46, 163, 255, 0.22);
}

.hero-cta .btn-outline {
  box-shadow: none;
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 18, 38, 0.6);
  backdrop-filter: blur(16px);
  color: rgba(223, 227, 250, 0.85);
  font-size: 15px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(16px);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.highlight-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(46, 163, 255, 0.35);
  background: rgba(46, 163, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

.hero-experience__visual {
  position: relative;
  perspective: 1600px;
}

.screen-stack {
  position: relative;
  display: grid;
  gap: 24px;
  transform-style: preserve-3d;
}

.screen {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 30% 12%, rgba(46, 163, 255, 0.1) 0%, rgba(10, 14, 30, 0.85) 60%);
  box-shadow: 0 28px 70px rgba(6, 10, 30, 0.62);
  backdrop-filter: blur(22px);
  padding: var(--space-lg);
  color: rgba(223, 227, 250, 0.9);
  overflow: hidden;
}

.screen::after {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 40px;
  background: radial-gradient(circle at 20% 20%, rgba(60, 240, 255, 0.12) 0%, transparent 65%);
  opacity: 0.5;
  pointer-events: none;
}

.screen--primary {
  transform: rotate(-1deg) translate3d(0, 0, 120px);
  min-height: 460px;
}

.screen--secondary {
  padding: 24px 28px;
  max-width: 420px;
  margin-left: auto;
  transform: rotate(4deg) translate3d(40px, -40px, 40px);
}

.screen--tertiary {
  padding: 24px 28px;
  max-width: 360px;
  transform: rotate(-6deg) translate3d(-20px, 20px, -20px);
  align-self: flex-start;
}

.screen__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(223, 227, 250, 0.7);
  margin-bottom: var(--space-md);
}

.screen__tag {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 22, 48, 0.78);
  font-weight: 600;
  letter-spacing: 0.16em;
}

.screen__timecode {
  font-weight: 500;
}

.screen__body {
  display: flex;
  gap: var(--space-lg);
}

.screen__frame-placeholder {
  flex: 1;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.26);
  background: linear-gradient(135deg, rgba(12, 18, 36, 0.88) 0%, rgba(46, 163, 255, 0.28) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: rgba(223, 227, 250, 0.6);
}

.screen__sidebar {
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 13, 33, 0.88);
  padding: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(223, 227, 250, 0.88);
}

.sidebar-card__label {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(46, 163, 255, 0.3);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.sidebar-card p {
  color: rgba(223, 227, 250, 0.78);
  font-size: 14px;
  margin: 0;
}

.sidebar-card ul {
  margin: 0;
  padding-left: 16px;
  color: rgba(223, 227, 250, 0.78);
  font-size: 13px;
  display: grid;
  gap: 6px;
}

.sidebar-card ul li {
  list-style: disc;
}

.thumbnail-strip {
  display: flex;
  gap: 16px;
}

.thumbnail-strip__frame {
  flex: 1;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(223, 227, 250, 0.6);
  background: linear-gradient(180deg, rgba(46, 163, 255, 0.15) 0%, rgba(13, 17, 31, 0.95) 100%);
}

.timeline-placeholder {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  background: rgba(9, 13, 33, 0.82);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-track {
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(46, 163, 255, 0.36) 0%, rgba(12, 16, 30, 0.9) 100%);
  display: flex;
  align-items: center;
  padding-left: 24px;
  color: rgba(223, 227, 250, 0.86);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.timeline-track--secondary {
  background: linear-gradient(135deg, rgba(255, 77, 148, 0.3) 0%, rgba(12, 16, 30, 0.85) 100%);
}

.timeline-track__label {
  font-weight: 600;
}

.hero-experience__halo {
  position: absolute;
  width: clamp(320px, 40vw, 620px);
  height: clamp(320px, 40vw, 620px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 163, 255, 0.35) 0%, transparent 65%);
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-experience__halo--one {
  top: -120px;
  right: -160px;
}

.hero-experience__halo--two {
  bottom: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 77, 148, 0.28) 0%, transparent 60%);
}

@media (max-width: 1200px) {
  .hero-experience__grid {
    grid-template-columns: 1fr;
  }

  .hero-experience__visual {
    order: -1;
    margin-bottom: var(--space-2xl);
  }

  .screen--secondary,
  .screen--tertiary {
    margin-left: 0;
    transform: translate3d(0, 0, 0) rotate(0deg);
    max-width: 100%;
  }

  .screen-stack {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero-experience {
    padding: 140px 0 96px;
  }

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

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-highlights li {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-experience__video-shell {
    inset: -30%;
    opacity: 0.38;
  }

  .screen {
    padding: 24px;
  }

  .screen__body {
    flex-direction: column;
  }

  .screen__sidebar {
    width: 100%;
    flex-direction: column;
  }

  .screen__frame-placeholder {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-eyebrow {
    letter-spacing: 0.18em;
  }

  .hero-heading {
    font-size: clamp(40px, 10vw, 60px);
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-highlights li {
    padding: 14px 16px;
  }

  .screen {
    border-radius: 22px;
  }
}

/* Enhanced Feature Cards */
.feature-card-enhanced {
  position: relative;
  background: var(--dark-light);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-normal);
  overflow: hidden;
  cursor: pointer;
}

.feature-card-enhanced:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 32px rgba(25, 118, 210, 0.2);
}

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(25, 118, 210, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card-enhanced.hovered .card-background {
  opacity: 1;
}

.icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-md);
}

.feature-icon {
  font-size: 48px;
  display: block;
  transition: all var(--transition-normal);
}

.feature-icon.animate {
  animation: iconBounce 0.6s ease;
}

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

.icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(25, 118, 210, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.5; }
}

.feature-title {
  margin-bottom: var(--space-sm);
  color: var(--white);
  transition: color var(--transition-fast);
}

.feature-card-enhanced:hover .feature-title {
  color: var(--primary-light);
}

.feature-description {
  color: var(--gray-light);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.preview-window {
  margin: var(--space-md) 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.preview-image img,
.preview-video video {
  width: 100%;
  height: auto;
  display: block;
}

.preview-audio {
  padding: var(--space-md);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.waveform-animation {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
}

.wave-bar {
  width: 3px;
  height: 100%;
  background: var(--primary);
  animation: wave 1s ease-in-out infinite;
}

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

.audio-label {
  color: var(--primary);
  font-weight: 600;
}

.preview-animation {
  padding: var(--space-lg);
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  height: 200px;
}

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

.shape {
  position: absolute;
  border-radius: 50%;
}

.shape-1 {
  width: 60px;
  height: 60px;
  background: var(--primary);
  top: 20%;
  left: 20%;
  animation: float 3s ease-in-out infinite;
}

.shape-2 {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  top: 50%;
  right: 30%;
  animation: float 3s ease-in-out infinite 0.5s;
}

.shape-3 {
  width: 50px;
  height: 50px;
  background: var(--accent);
  bottom: 20%;
  left: 40%;
  animation: float 3s ease-in-out infinite 1s;
}

.feature-list {
  margin-top: var(--space-md);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.feature-list.visible {
  opacity: 1;
  max-height: 200px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 0;
  color: var(--gray-light);
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.5s ease forwards;
}

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

.check-icon {
  color: var(--primary);
  font-weight: bold;
}

.explore-button {
  margin-top: var(--space-md);
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.explore-button.visible {
  opacity: 1;
  transform: translateY(0);
}

.explore-button:hover {
  background: var(--primary-dark);
  transform: translateX(4px);
}

.explore-button .arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.explore-button:hover .arrow {
  transform: translateX(4px);
}

.card-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: rotate(45deg) translateY(-100%); }
  100% { transform: rotate(45deg) translateY(100%); }
}

.card-border-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
  background-size: 400% 400%;
  border-radius: var(--radius-lg);
  opacity: 0.5;
  z-index: -1;
  animation: gradientShift 3s ease infinite;
}

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

/* Fade in animations */
.fade-in {
  animation: fadeIn 0.6s ease;
}

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

.fade-in-up-delay {
  animation: fadeInUp 0.6s ease 0.2s both;
}

.fade-in-up-delay-2 {
  animation: fadeInUp 0.6s ease 0.4s both;
}

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

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

/* Pulse animation */
.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Bounce animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .demo-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .hero-title {
    font-size: clamp(36px, 7vw, 56px);
  }
  
  .hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
  }
}

@media (max-width: 768px) {
  .feature-tour-start {
    bottom: 20px;
    right: 20px;
  }
  
  .tour-button {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .tour-tooltip {
    max-width: 90%;
    left: 5% !important;
    right: 5%;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .slide-indicators {
    margin-top: var(--space-md);
  }
}

/* Chat Interface in Persona Showcase */
.chat-interface-section {
  margin-top: var(--space-3xl);
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.05) 0%, rgba(25, 118, 210, 0.02) 100%);
  border-radius: 20px;
  border: 1px solid rgba(25, 118, 210, 0.1);
}

.chat-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.chat-header h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.chat-header p {
  color: var(--gray);
  font-size: 16px;
}

.chat-input-demo {
  margin-bottom: var(--space-lg);
}

.chat-input-wrapper {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--primary-light);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.1);
  transition: all 0.3s ease;
}

.chat-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 30px rgba(25, 118, 210, 0.2);
}

.chat-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 20px;
  font-size: 16px;
  background: transparent;
}

.chat-send-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.chat-send-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: var(--white);
}

.quick-tools {
  text-align: center;
}

.quick-tools-label {
  display: block;
  margin-bottom: var(--space-md);
  color: var(--gray);
  font-size: 14px;
}

.tool-links {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.tool-link {
  background: var(--white);
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(25, 118, 210, 0.2);
  transition: all 0.2s ease;
}

.tool-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

@media (max-width: 768px) {
  .chat-input-wrapper {
    flex-direction: row;
    border-radius: 14px;
    padding: 6px;
    margin: 0 var(--space-sm);
  }

  .chat-input {
    padding: 12px 16px;
    font-size: 16px;
  }

  .chat-send-btn {
    margin-top: 0;
    margin-left: 8px;
    text-align: center;
    border-radius: 10px;
    padding: 12px 20px;
    flex-shrink: 0;
  }

  .tool-links {
    flex-direction: column;
    align-items: center;
  }

  .tool-link {
    width: 200px;
    text-align: center;
  }
}

/* AI Chat Interface Section (tools_chat.dart replica) */
.ai-chat-interface-section {
  background: linear-gradient(135deg, #0A0B0D 0%, #1A1B1D 50%, #0A0B0D 100%);
  color: var(--white);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.ai-chat-interface-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(25, 118, 210, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(156, 39, 176, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.chat-interface-hero {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.chat-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  color: var(--white);
}

.chat-title .highlight-text {
  background: linear-gradient(135deg, #42a5f5, #1976d2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.chat-subtitle {
  font-size: 20px;
  color: var(--gray-light);
  margin-bottom: var(--space-2xl);
  font-weight: 400;
}

.chat-input-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 12px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.chat-input-container:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(25, 118, 210, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.chat-attach-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--gray-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 20px;
  font-weight: 300;
  margin-right: 12px;
}

.chat-attach-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transform: scale(1.05);
}

.chat-input-field {
  flex: 1;
  background: none;
  border: none;
  color: var(--white);
  padding: 16px 20px;
  font-size: 16px;
  outline: none;
  font-family: inherit;
}

.chat-input-field::placeholder {
  color: var(--gray);
}

.chat-send-btn {
  background: var(--primary);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 18px;
  margin-left: 12px;
}

.chat-send-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
}

.capabilities-section,
.expert-guidance-section {
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.capability-header,
.guidance-header {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

.capability-header:hover,
.guidance-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.capability-icon,
.guidance-icon {
  font-size: 20px;
}

.capability-title,
.guidance-title {
  flex: 1;
  font-weight: 600;
}

.expand-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
  color: var(--gray-light);
}

.capability-content,
.guidance-content {
  padding: 0 var(--space-lg) var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.capability-description,
.guidance-description {
  color: var(--gray-light);
  margin-bottom: var(--space-lg);
  font-size: 14px;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.capability-tag {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(25, 118, 210, 0.1);
  border: 1px solid rgba(25, 118, 210, 0.2);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--primary-light);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.capability-tag:hover {
  background: rgba(25, 118, 210, 0.2);
  border-color: var(--primary);
  transform: translateY(-1px);
  color: var(--white);
}

.tag-icon {
  font-size: 14px;
}

.expert-personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-sm);
}

.expert-persona {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--white);
  text-decoration: none;
}

.expert-persona:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: var(--white);
}

.persona-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
}

.persona-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.persona-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.persona-role {
  font-size: 12px;
  color: var(--gray-light);
}

.tool-mode-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

.tool-mode-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gray-light);
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  backdrop-filter: blur(10px);
}

.tool-mode-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.25);
}

.grid-icon {
  font-size: 16px;
}

@media (max-width: 768px) {
  .ai-chat-interface-section {
    min-height: 80vh;
    padding: var(--space-2xl) 0;
  }

  .chat-input-container {
    flex-direction: row;
    border-radius: 16px;
    padding: 6px;
    gap: 6px;
    margin: 0 16px;
    max-width: calc(100vw - 32px);
    width: 100%;
    box-sizing: border-box;
  }

  .chat-attach-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin: 0;
    flex-shrink: 0;
  }

  .chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin: 0;
    flex-shrink: 0;
  }

  .chat-input-field {
    flex: 1;
    text-align: left;
    padding: 12px 14px;
    font-size: 16px;
    min-width: 0;
  }

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

  .expert-persona {
    min-width: 0;
    overflow: hidden;
    padding: var(--space-sm);
  }

  .persona-info {
    min-width: 0;
    overflow: hidden;
  }

  .persona-name,
  .persona-role {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .capability-tags {
    justify-content: center;
    gap: var(--space-xs);
  }

  .capability-tag {
    padding: 6px 12px;
    font-size: 12px;
    min-width: 0;
    overflow: hidden;
    flex-shrink: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .capability-tag span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .capabilities-section,
  .expert-guidance-section {
    margin-left: var(--space-sm);
    margin-right: var(--space-sm);
    max-width: calc(100vw - (var(--space-sm) * 2));
    box-sizing: border-box;
  }

  .capability-content,
  .guidance-content {
    padding: 0 var(--space-sm) var(--space-lg);
    overflow: hidden;
  }

  .chat-title {
    font-size: clamp(28px, 8vw, 48px);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .chat-subtitle {
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Additional mobile improvements for very small screens */
@media (max-width: 480px) {
  .ai-chat-interface-section {
    padding: var(--space-xl) 0;
  }

  .chat-input-container {
    margin: 0 var(--space-xs);
    padding: 6px;
  }

  .chat-title {
    font-size: clamp(24px, 10vw, 36px);
    margin-bottom: var(--space-sm);
  }

  .capabilities-section,
  .expert-guidance-section {
    margin-left: var(--space-xs);
    margin-right: var(--space-xs);
    max-width: calc(100vw - (var(--space-xs) * 2));
  }

  .capability-tags {
    gap: 4px;
  }

  .capability-tag {
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 12px;
  }

  .expert-persona {
    padding: var(--space-xs);
    border-radius: 8px;
  }

  .persona-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
    flex-shrink: 0;
  }

  .persona-name {
    font-size: 13px;
    font-weight: 600;
  }

  .persona-role {
    font-size: 11px;
    opacity: 0.8;
  }
}

/* ============================================
   Hero Two-Column Layout
   ============================================ */

.hero-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 600px;
}

.hero-left {
  position: relative;
  z-index: 3;
}

.hero-left .hero-text-wrapper {
  text-align: left;
}

.hero-left .hero-cta {
  justify-content: flex-start;
}

.hero-right {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 600px;
  min-height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(0, 188, 212, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}

/* Increase hero title weight */
.hero-title {
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Add depth to entire text block */
.hero-left {
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

/* Responsive: Stack on mobile/tablet */
@media (max-width: 1024px) {
  .hero-two-column {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }

  .hero-left .hero-text-wrapper {
    text-align: center;
  }

  .hero-left .hero-cta {
    justify-content: center;
  }

  .hero-right {
    order: -1; /* Show image above text on mobile */
  }

  .hero-visual {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .hero-two-column {
    gap: 30px;
  }

  .hero-visual {
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }

  .hero-left .hero-cta {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-two-column {
    gap: 20px;
  }

  .hero-left .hero-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .hero-subtitle {
    font-size: 14px;
  }
}

/* ============================================
   Production Workflow Section
   ============================================ */

.workflow-section {
  background: linear-gradient(180deg,
    rgba(13, 17, 23, 0.3) 0%,
    rgba(0, 150, 136, 0.1) 50%,
    rgba(13, 17, 23, 0.3) 100%);
  padding: 100px 0;
}

.workflow-steps {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.workflow-step {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.workflow-step.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

.workflow-step-number {
  font-size: 80px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(24, 198, 255, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}

.workflow-step-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.workflow-step-content.workflow-reverse {
  direction: rtl;
}

.workflow-step-content.workflow-reverse > * {
  direction: ltr;
}

.workflow-step-visual {
  position: relative;
}

.workflow-mockup-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg,
    rgba(17, 24, 39, 0.9) 0%,
    rgba(88, 28, 135, 0.6) 50%,
    rgba(59, 130, 246, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(24, 198, 255, 0.2);
}

.workflow-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.workflow-step-info h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.workflow-step-info p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-light);
  margin-bottom: 24px;
}

.workflow-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.workflow-feature-tag {
  padding: 8px 16px;
  background: rgba(24, 198, 255, 0.15);
  border: 1px solid rgba(24, 198, 255, 0.3);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(24, 198, 255, 1);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .workflow-step-content,
  .workflow-step-content.workflow-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .workflow-step-visual {
    order: -1; /* Always show visual first on mobile */
  }

  .workflow-step-number {
    font-size: 60px;
  }

  .workflow-step-info h3 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .workflow-steps {
    gap: 60px;
  }

  .workflow-step-number {
    font-size: 48px;
  }

  .workflow-step-content {
    gap: 30px;
  }

  .workflow-step-info h3 {
    font-size: 24px;
  }

  .workflow-step-info p {
    font-size: 16px;
  }
}

/* ============================================
   Abstract Visual Designs (No Screenshots)
   ============================================ */

/* Hero Abstract Visual */
.hero-visual-abstract::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 188, 212, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 150, 136, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.2) 0%, transparent 50%);
  animation: hero-pulse 8s ease-in-out infinite;
}

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

/* Workflow Abstract Visuals */
.workflow-visual-abstract {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg,
    rgba(13, 17, 23, 0.95) 0%,
    rgba(0, 150, 136, 0.7) 40%,
    rgba(0, 188, 212, 0.6) 100%);
}

.workflow-visual-abstract::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 188, 212, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 150, 136, 0.25) 0%, transparent 50%);
  animation: workflow-glow 6s ease-in-out infinite;
}

@keyframes workflow-glow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

.workflow-icon-large {
  font-size: 80px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.workflow-visual-title {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Step-specific gradient variations - Using teal/cyan palette */
.workflow-visual-abstract[data-step="script"]::before {
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 229, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 188, 212, 0.25) 0%, transparent 50%);
}

.workflow-visual-abstract[data-step="cast"]::before {
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 188, 212, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 150, 136, 0.25) 0%, transparent 50%);
}

.workflow-visual-abstract[data-step="scenes"]::before {
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 150, 136, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 172, 193, 0.25) 0%, transparent 50%);
}

.workflow-visual-abstract[data-step="audio"]::before {
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 172, 193, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 188, 212, 0.25) 0%, transparent 50%);
}

.workflow-visual-abstract[data-step="export"]::before {
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 229, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 188, 212, 0.3) 0%, transparent 50%);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .workflow-visual-abstract::before,
  .hero-visual-abstract::after {
    animation: none;
    opacity: 0.7;
  }
}

/* ============================================
   Script Designer Interface Mockup
   ============================================ */

.hero-interface-mockup {
  background: linear-gradient(135deg,
    rgba(17, 24, 39, 0.98) 0%,
    rgba(31, 41, 55, 0.95) 100%);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.mockup-header {
  text-align: center;
}

.mockup-title {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.mockup-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.mockup-steps {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.mockup-step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(59, 130, 246, 1);
}

.step-text {
  font-size: 13px;
  font-weight: 500;
}

.mockup-input-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-input-container {
  background: rgba(31, 41, 55, 0.8);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.mockup-input-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(59, 130, 246, 1);
  font-size: 18px;
  font-weight: 600;
}

.mockup-input-field {
  flex: 1;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.mockup-generate-btn {
  padding: 8px 16px;
  background: rgba(59, 130, 246, 1);
  border-radius: 8px;
  color: white;
  font-size: 13px;
  font-weight: 600;
}

.mockup-info-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 4px;
}

.mockup-icon {
  font-size: 14px;
}

.mockup-prompt-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mockup-card {
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(75, 85, 99, 0.4);
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: all 0.2s ease;
}

.mockup-card:hover {
  background: rgba(31, 41, 55, 0.8);
  border-color: rgba(59, 130, 246, 0.4);
}

.mockup-card-icon {
  font-size: 28px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-card-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-interface-mockup {
    padding: 24px 20px;
    gap: 16px;
  }

  .mockup-title {
    font-size: 20px;
  }

  .mockup-subtitle {
    font-size: 13px;
  }

  .mockup-steps {
    gap: 8px;
  }

  .mockup-step-pill {
    padding: 8px 12px;
    font-size: 12px;
  }

  .step-num {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .step-text {
    font-size: 12px;
  }

  .mockup-input-container {
    padding: 12px;
    gap: 10px;
  }

  .mockup-input-icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .mockup-input-field {
    font-size: 13px;
  }

  .mockup-generate-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .mockup-info-text {
    font-size: 11px;
  }

  .mockup-prompt-cards {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mockup-card {
    flex-direction: row;
    text-align: left;
    padding: 10px 12px;
    gap: 10px;
  }

  .mockup-card-icon {
    width: 36px;
    height: 36px;
    font-size: 20px;
    flex-shrink: 0;
  }

  .mockup-card-title {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .hero-visual {
    min-height: 350px;
    max-width: 100%;
  }

  .hero-interface-mockup {
    padding: 16px 12px;
    gap: 10px;
  }

  .mockup-title {
    font-size: 18px;
    word-wrap: break-word;
  }

  .mockup-subtitle {
    font-size: 12px;
  }

  .mockup-steps {
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }

  .mockup-step-pill {
    width: 100%;
    justify-content: flex-start;
    padding: 8px 12px;
    font-size: 11px;
    box-sizing: border-box;
  }

  .step-text {
    font-size: 11px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mockup-input-section {
    gap: 8px;
    width: 100%;
  }

  .mockup-input-container {
    padding: 10px 12px;
    gap: 8px;
  }

  .mockup-input-field {
    font-size: 12px;
    min-width: 0;
  }

  .mockup-generate-btn {
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .mockup-prompt-cards {
    display: none; /* Hide on mobile to save space */
  }

  .mockup-card {
    padding: 8px 10px;
  }

  .mockup-card-title {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .hero-visual {
    min-height: 320px;
    max-width: 100%;
  }

  .hero-interface-mockup {
    padding: 12px 10px;
    gap: 8px;
  }

  .mockup-title {
    font-size: 15px;
    line-height: 1.3;
  }

  .mockup-subtitle {
    font-size: 11px;
  }

  .mockup-step-pill {
    padding: 6px 10px;
    font-size: 10px;
  }

  .step-num {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .step-text {
    font-size: 10px;
  }

  .mockup-input-container {
    padding: 8px 10px;
    gap: 6px;
  }

  .mockup-input-icon {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  .mockup-input-field {
    font-size: 11px;
  }

  .mockup-generate-btn {
    padding: 5px 8px;
    font-size: 10px;
  }

  .mockup-info-text {
    font-size: 10px;
    flex-wrap: wrap;
  }

  .mockup-prompt-cards {
    display: none; /* Hide on small mobile */
  }

  .mockup-card {
    padding: 6px 8px;
  }

.mockup-card-icon {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .mockup-card-title {
    font-size: 10px;
  }
}

/* Waitlist-focused refresh */
.section-header--compact {
  max-width: 760px;
  margin: 0 auto var(--space-2xl);
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.vision-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: rgba(20, 23, 44, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.vision-card h3 {
  font-size: clamp(20px, 2.6vw, 28px);
}

.vision-card p {
  color: var(--gray-light);
  font-size: 17px;
}

@media (max-width: 1024px) {
  .vision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.waitlist-section {
  position: relative;
}

.waitlist-card {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(6, 12, 26, 0.94) 0%, rgba(12, 24, 46, 0.9) 50%, rgba(4, 32, 64, 0.95) 100%);
  border: 1px solid rgba(46, 163, 255, 0.15);
  box-shadow:
    0 28px 60px rgba(5, 6, 15, 0.55),
    0 0 80px rgba(46, 163, 255, 0.12);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.waitlist-card::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(46, 163, 255, 0.1);
  pointer-events: none;
  box-shadow: inset 0 0 30px rgba(46, 163, 255, 0.08);
}

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

.waitlist-fields {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.waitlist-input {
  flex: 1 1 240px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 11, 24, 0.85);
  color: var(--white);
  font-size: 16px;
  font-family: inherit;
  transition: border var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.waitlist-input::placeholder {
  color: rgba(223, 227, 250, 0.7);
}

.waitlist-input:focus {
  outline: none;
  border-color: rgba(46, 163, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(46, 163, 255, 0.18);
  background: rgba(9, 11, 24, 0.9);
}

.waitlist-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(223, 227, 250, 0.6)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 45px;
}

.waitlist-select option {
  background: rgba(6, 12, 26, 1);
  color: var(--white);
}

.waitlist-textarea {
  flex: 1 1 100%;
  min-height: 80px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.waitlist-custom-role {
  flex: 1 1 100%;
}

.waitlist-submit {
  flex: 0 0 auto;
  align-self: center;
  white-space: nowrap;
}

.waitlist-disclaimer {
  font-size: 15px;
  color: rgba(223, 227, 250, 0.8);
}

.waitlist-message {
  min-height: 24px;
  font-size: 16px;
  font-weight: 500;
}

.waitlist-message--success {
  color: #58f4a7;
}

.waitlist-message--error {
  color: #ff8a8a;
}

.footer {
  margin-top: var(--space-3xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-lg) 0;
  background: linear-gradient(135deg, rgba(6, 10, 22, 0.9) 0%, rgba(4, 14, 32, 0.94) 100%);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  color: rgba(223, 227, 250, 0.7);
  font-size: 14px;
}

.footer-link {
  color: rgba(223, 227, 250, 0.9);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--white);
}

.footer-main {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer-main p {
  margin: 0;
}

.footer-separator {
  color: rgba(223, 227, 250, 0.4);
  margin: 0 var(--space-xs);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-legal-link {
  color: rgba(223, 227, 250, 0.6);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
  }
}

.btn.is-loading,
.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 640px) {
  .waitlist-card {
    padding: var(--space-xl);
  }

  .waitlist-input {
    flex: 1 1 100%;
  }

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

/* Blog pages */
.blog-hero {
  position: relative;
  padding: 160px 0 60px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(115, 110, 255, 0.25), transparent 35%),
              radial-gradient(circle at 80% 10%, rgba(0, 195, 255, 0.15), transparent 30%),
              linear-gradient(180deg, #0a0c1a 0%, #0d1024 100%);
}

.blog-hero.detail-hero {
  padding: 140px 0 80px;
}

.blog-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(12px);
  opacity: 0.4;
  z-index: 0;
}

.blog-hero .container {
  position: relative;
  z-index: 1;
}

.blog-page-title {
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 700;
  margin: 0 0 var(--space-md);
  color: var(--white);
  letter-spacing: -0.02em;
}

.blog-hero-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  margin: 0 0 var(--space-sm);
  color: rgba(223, 227, 250, 0.9);
}

.blog-hero-subtitle {
  font-size: 16px;
  color: rgba(223, 227, 250, 0.65);
  max-width: 600px;
}

.blog-list {
  padding: 60px 0 100px;
  background: linear-gradient(180deg, #0d1024 0%, #0c0f20 60%, #0a0c1a 100%);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.blog-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.blog-card {
  background: #121427;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

a.blog-card:visited,
a.blog-card:active,
a.blog-card:focus {
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(142, 92, 246, 0.35);
  box-shadow: 0 28px 70px rgba(92, 129, 255, 0.25);
}

.blog-card-image {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: #1a1d35;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-placeholder {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

.blog-card-body {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(223, 227, 250, 0.6);
  font-size: 13px;
}

.dot-separator {
  opacity: 0.5;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  color: rgba(223, 227, 250, 0.7);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-card-link,
.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9ec5ff;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.blog-card-link:hover,
.blog-back-link:hover {
  color: #c7d9ff;
  transform: translateX(2px);
}

.blog-loading,
.blog-error,
.blog-empty {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: rgba(223, 227, 250, 0.8);
}

.blog-article {
  padding: 40px 0 100px;
  background: linear-gradient(180deg, #0a0c1a 0%, #0c0f20 60%, #0d1024 100%);
}

.blog-body {
  margin-top: var(--space-lg);
}

.rich-text {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(223, 227, 250, 0.9);
}

.blog-body p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
  color: rgba(223, 227, 250, 0.9);
}

.blog-body p:last-child {
  margin-bottom: 0;
}

/* Legal content styling */
.legal-content h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
  color: rgba(223, 227, 250, 0.9);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal-content li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
  color: rgba(223, 227, 250, 0.85);
}

.legal-content strong {
  color: var(--white);
  font-weight: 600;
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-content a:hover {
  color: var(--white);
  text-decoration: underline;
}

.blog-teaser {
  padding: 60px 0 20px;
  background: linear-gradient(180deg, #0c0f20 0%, #0a0c1a 100%);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

  .blog-card-image {
    height: 140px;
  }

  .blog-page-title {
    font-size: clamp(40px, 8vw, 56px);
  }
}

@media (max-width: 640px) {
  .blog-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-meta {
    flex-wrap: wrap;
  }
}

/* Community pages */
.community-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(46, 163, 255, 0.2), transparent 35%),
              radial-gradient(circle at 80% 10%, rgba(60, 240, 255, 0.12), transparent 30%),
              linear-gradient(180deg, #0a0c1a 0%, #0d1024 100%);
}

.community-detail-hero {
  padding: 140px 0 80px;
}

.community-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(12px);
  opacity: 0.4;
  z-index: 0;
}

.community-hero .container,
.community-detail-hero .container {
  position: relative;
  z-index: 1;
}

.community-page-title {
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 700;
  margin: 0 0 var(--space-md);
  color: var(--white);
  letter-spacing: -0.02em;
}

.community-hero-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  margin: 0 0 var(--space-sm);
  color: rgba(223, 227, 250, 0.9);
}

.community-hero-subtitle {
  font-size: 16px;
  color: rgba(223, 227, 250, 0.65);
  max-width: 760px;
}

.community-list {
  padding: 60px 0 100px;
  background: linear-gradient(180deg, #0d1024 0%, #0c0f20 60%, #0a0c1a 100%);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.community-card {
  background: #121427;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.community-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 163, 255, 0.35);
  box-shadow: 0 28px 70px rgba(46, 163, 255, 0.2);
}

.community-card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #1a1d35;
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-card-placeholder {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
}

.community-card-body {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.community-card-title {
  font-size: 20px;
  margin: 0;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.community-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.community-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

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

.community-author-avatar-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.community-author-avatar-placeholder.community-author-avatar--large {
  width: 48px;
  height: 48px;
  font-size: 20px;
}

.community-author-name {
  font-size: 14px;
  color: rgba(223, 227, 250, 0.7);
}

.community-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.community-author-info .community-author-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}

.community-publish-date {
  font-size: 14px;
  color: rgba(223, 227, 250, 0.6);
}

.community-card-summary {
  color: rgba(223, 227, 250, 0.75);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.community-card-stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.community-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: rgba(223, 227, 250, 0.6);
}

.community-stat-icon {
  font-size: 14px;
}

.community-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

.community-loading,
.community-error,
.community-empty {
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: rgba(223, 227, 250, 0.8);
  text-align: center;
}

.community-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9ec5ff;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast), transform var(--transition-fast);
  margin-bottom: var(--space-lg);
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.community-back-link:hover {
  color: #c7d9ff;
  transform: translateX(-2px);
}

.community-detail-content {
  padding: 40px 0 100px;
  background: linear-gradient(180deg, #0a0c1a 0%, #0c0f20 60%, #0d1024 100%);
}

.community-detail-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: var(--space-md);
}

.community-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
}

.community-detail-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.community-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

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

.community-section-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.community-description {
  color: rgba(223, 227, 250, 0.85);
  line-height: 1.7;
  margin: 0;
}

.community-scenes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-md);
}

.community-scene-card {
  background: #121427;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.community-scene-image {
  height: 100px;
  background-size: cover;
  background-position: center;
  background-color: #1a1d35;
}

.community-scene-placeholder {
  height: 100px;
  background: linear-gradient(135deg, #1a1d35 0%, #252942 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
}

.community-scene-name {
  padding: 10px 12px;
  font-size: 13px;
  color: rgba(223, 227, 250, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.community-info-card {
  background: #121427;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.community-info-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.community-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.community-info-label {
  font-size: 14px;
  color: rgba(223, 227, 250, 0.6);
}

.community-info-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

@media (max-width: 960px) {
  .community-detail-grid {
    grid-template-columns: 1fr;
  }

  .community-detail-sidebar {
    order: -1;
  }
}

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

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

  .community-scenes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
