/* ============================================
   TAXLY PREMIUM DESIGN SYSTEM
   Aurora • Glassmorphism • 3D Effects • Premium
   ============================================ */

/* === CSS VARIABLES === */
:root {
  /* Backgrounds */
  --bg-base: #050507;
  --bg-raised: #0a0a0d;
  --bg-overlay: #111116;
  --bg-elevated: #1a1a22;
  --bg-hover: #25252f;
  
  /* Text */
  --text-primary: #fafafa;
  --text-secondary: #8a8a99;
  --text-tertiary: #55555f;
  --text-muted: #35353d;
  
  /* Borders */
  --border-subtle: rgba(255,255,255,0.04);
  --border-default: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.12);
  --border-glow: rgba(99,91,255,0.3);
  
  /* Brand */
  --brand: #635bff;
  --brand-hover: #7a73ff;
  --brand-glow: rgba(99,91,255,0.4);
  --brand-subtle: rgba(99,91,255,0.1);
  
  /* Accent */
  --accent: #00d4aa;
  --accent-glow: rgba(0,212,170,0.4);
  --accent-subtle: rgba(0,212,170,0.1);
  
  /* Semantic */
  --positive: #00e676;
  --positive-subtle: rgba(0,230,118,0.1);
  --caution: #ffab00;
  --caution-subtle: rgba(255,171,0,0.1);
  --negative: #ff5252;
  --negative-subtle: rgba(255,82,82,0.1);
  
  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #635bff 0%, #00d4aa 100%);
  --gradient-aurora-1: linear-gradient(135deg, rgba(99,91,255,0.3) 0%, rgba(0,212,170,0.15) 50%, transparent 100%);
  --gradient-aurora-2: linear-gradient(225deg, rgba(255,82,130,0.2) 0%, rgba(99,91,255,0.15) 50%, transparent 100%);
  --gradient-surface: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  
  /* Effects */
  --shadow-glow-sm: 0 0 20px rgba(99,91,255,0.2);
  --shadow-glow-md: 0 0 40px rgba(99,91,255,0.25);
  --shadow-glow-lg: 0 0 80px rgba(99,91,255,0.3);
  --shadow-float: 0 20px 60px rgba(0,0,0,0.5);
  
  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: rgba(99,91,255,0.3);
  color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 5px;
  border: 2px solid var(--bg-base);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

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

ul { list-style: none; }

/* === INTRO LOADER === */
/* === INTRO LOADER === */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Fast split reveal */
  transition: visibility 0.8s ease 0.1s;
}

.intro-loader.hidden {
  visibility: hidden;
  pointer-events: none;
}

.loader-split {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--bg-base);
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
  will-change: transform;
}

.split-top {
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Slight separation line */
}

.split-bottom {
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.intro-loader.hidden .split-top {
  transform: translateY(-100%);
}

.intro-loader.hidden .split-bottom {
  transform: translateY(100%);
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transition: opacity 0.4s ease;
}

.intro-loader.hidden .loader-content {
  opacity: 0;
}

.loader-logo {
  width: 80px;
  height: 80px;
}

.logo-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 40px rgba(99,91,255,0.5));
}

.logo-rect {
  opacity: 0;
  animation: logo-rect-in 0.8s ease forwards;
}

.logo-t {
  opacity: 0;
  animation: logo-t-in 0.5s ease forwards;
  animation-delay: 0.3s;
}

.logo-check {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: logo-check-draw 0.5s ease forwards;
  animation-delay: 0.6s;
}

@keyframes logo-rect-in {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes logo-t-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logo-check-draw {
  to { stroke-dashoffset: 0; }
}

.loader-text {
  opacity: 0;
  animation: loader-text-in 0.5s ease forwards;
  animation-delay: 0.8s;
}

.loader-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes loader-text-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.loader-line {
  width: 120px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: loader-line-in 0.3s ease forwards;
  animation-delay: 1s;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: var(--gradient-brand);
  border-radius: 2px;
  animation: loader-progress 1.5s ease forwards;
  animation-delay: 1.2s;
}

@keyframes loader-line-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes loader-progress {
  from { width: 0%; }
  to { width: 100%; }
}

/* === AURORA BACKGROUND === */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  animation: aurora 20s ease-in-out infinite;
}

.aurora-1 {
  width: 800px;
  height: 600px;
  top: -200px;
  left: -100px;
  background: radial-gradient(ellipse, rgba(99,91,255,0.35) 0%, transparent 70%);
  animation-delay: 0s;
}

.aurora-2 {
  width: 600px;
  height: 600px;
  top: 30%;
  right: -200px;
  background: radial-gradient(ellipse, rgba(0,212,170,0.25) 0%, transparent 70%);
  animation-delay: -7s;
}

.aurora-3 {
  width: 700px;
  height: 500px;
  bottom: 0;
  left: 30%;
  background: radial-gradient(ellipse, rgba(255,82,130,0.2) 0%, transparent 70%);
  animation-delay: -14s;
}

@keyframes aurora {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  33% {
    transform: translate(30px, -20px) scale(1.1);
    opacity: 0.4;
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
    opacity: 0.7;
  }
}

/* === PARTICLES === */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* === GRID OVERLAY === */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 20%, transparent 70%);
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 32px;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  padding: 12px 32px;
  background: rgba(5,5,7,0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s var(--ease-out);
}

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

.nav-logo {
  width: 38px;
  height: 38px;
  transition: transform 0.3s var(--ease-out);
}

.nav-brand:hover .nav-logo {
  transform: rotate(-5deg);
}

.nav-logo svg {
  width: 100%;
  height: 100%;
}

.nav-title {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.nav-badge {
  padding: 4px 10px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--gradient-brand);
  color: white;
  border-radius: 4px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

/* === BUTTONS === */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-glow {
  position: absolute;
  inset: -2px;
  background: var(--gradient-brand);
  border-radius: inherit;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 2px 8px rgba(0,0,0,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), var(--shadow-glow-md);
}

.btn-primary:hover .btn-glow {
  opacity: 0.6;
}

.btn-arrow {
  font-size: 1.1em;
  transition: transform 0.2s ease;
}

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

.btn-nav {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-hero {
  padding: 18px 36px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.0625rem;
  border-radius: 16px;
}

/* === TYPOGRAPHY === */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: var(--accent);
}

/* === HERO (Dashboard Section) === */
.hero {
  position: relative;
  z-index: 10;
  padding: 80px 32px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, transparent 0%, var(--bg-base) 20%);
}

.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255,171,0,0.1);
  border: 1px solid rgba(255,171,0,0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--caution);
  margin-bottom: 40px;
}

.badge-pulse {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: rgba(255,171,0,0.15);
  animation: badge-pulse 2s ease-out infinite;
}

@keyframes badge-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}

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

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
}

.title-line {
  display: block;
}

.title-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 48px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-counter {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

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

.counter-avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  margin-left: -8px;
  object-fit: cover;
}

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

.counter-more {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--bg-base);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

/* === HERO VISUAL (3D Dashboard) === */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: visible;
}

.dashboard-3d {
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.dashboard-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(99,91,255,0.25) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
}

.dashboard-window {
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  overflow: visible;
  box-shadow: var(--shadow-float), 0 0 100px rgba(99,91,255,0.15);
  position: relative;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-overlay);
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 8px;
}

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

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.window-title {
  flex: 1;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.window-content {
  display: flex;
  min-height: 380px;
}

.dash-sidebar {
  width: 60px;
  background: var(--bg-overlay);
  border-right: 1px solid var(--border-subtle);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sidebar-item {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: all 0.2s ease;
}

.sidebar-item:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.sidebar-item.active {
  background: var(--brand-subtle);
  color: var(--brand);
}

.sidebar-item svg {
  width: 20px;
  height: 20px;
}

.dash-main {
  flex: 1;
  padding: 24px;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dash-greeting {
  font-size: 1.125rem;
  font-weight: 600;
}

.dash-date {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.2s ease;
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

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

.stat-info {
  flex: 1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-value small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.stat-revenue .stat-value { color: var(--positive); }
.stat-tax .stat-value { color: var(--caution); }

.stat-trend {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.stat-trend.up {
  background: var(--positive-subtle);
  color: var(--positive);
}

.stat-badge {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 4px 8px;
  background: var(--caution-subtle);
  color: var(--caution);
  border-radius: 6px;
}

.dash-chart {
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100px;
  gap: 12px;
}

.bar {
  flex: 1;
  height: var(--height);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-hover) 100%);
  border-radius: 6px 6px 0 0;
  position: relative;
  transition: all 0.3s ease;
}

.bar:hover {
  background: linear-gradient(180deg, var(--brand-subtle) 0%, var(--brand) 100%);
}

.bar.active {
  background: var(--gradient-brand);
}

.bar span {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: var(--shadow-float);
  animation: float 6s ease-in-out infinite;
}

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

.card-1 {
  top: 0;
  right: -100px;
  animation-delay: 0s;
  border-color: rgba(0,230,118,0.3);
  color: var(--positive);
  z-index: 100;
}

.card-2 {
  top: 40%;
  left: -40px;
  animation-delay: -2s;
  border-color: rgba(255,171,0,0.3);
  color: var(--caution);
  z-index: 100;
}

.card-3 {
  bottom: 5%;
  right: -80px;
  animation-delay: -4s;
  border-color: rgba(99,91,255,0.3);
  color: var(--brand-hover);
  z-index: 100;
}

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

/* === CINEMATIC FULLSCREEN SCROLL === */
.cinema-container {
  position: relative;
  z-index: 10;
  /* Height = Increased for slower scroll (was 250vh) */
  /* Height = Optimized for snappier scroll (balanced) */
  height: 300vh;
}

.cinema-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.cinema-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.95);
  /* Snappier transitions for better UX */
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
  pointer-events: none;
}

.cinema-panel.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.panel-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.panel-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 32px;
  /* Foreground moves slower than background for depth */
  transform: translateY(calc(var(--scroll-ratio, 0) * -50px));
  will-change: transform;
}

/* Scene Large Icons */
.scene-icon-large {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 24px;
  animation: icon-float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.2));
}

.scene-icon-large.confused {
  animation: confused-shake 2s ease-in-out infinite;
}

.scene-icon-large.reveal-icon {
  animation: sparkle-pulse 1.5s ease-in-out infinite;
}

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

@keyframes confused-shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes sparkle-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(99,91,255,0.5)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 50px rgba(99,91,255,0.8)); }
}

/* Panel 1: Chaos Icons Background */
.chaos-icons {
  position: absolute;
  inset: 0;
  /* Parallax effect: background moves vertically based on scroll */
  transform: translateY(calc(var(--scroll-ratio, 0) * -150px));
  will-change: transform;
}

.chaos-icon {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(32px, 5vw, 48px);
  height: clamp(32px, 5vw, 48px);
  opacity: 0;
  stroke: rgba(255, 82, 82, 0.6);
  animation: chaos-float 4s ease-in-out infinite;
  animation-delay: var(--delay);
  filter: drop-shadow(0 0 15px rgba(255,82,82,0.3));
}

.panel-1.active .chaos-icon {
  opacity: 0.5;
}

/* Scene Icon Large - SVG styling */
.scene-icon-large svg {
  width: clamp(60px, 12vw, 100px);
  height: clamp(60px, 12vw, 100px);
}

@keyframes chaos-float {
  0%, 100% { 
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.4;
  }
  50% { 
    transform: translate(20px, -20px) rotate(15deg);
    opacity: 0.7;
  }
}

/* Panel 2: Question Glow */
.panel-bg-question .question-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255,171,0,0.15) 0%, transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
  /* Parallax movement */
  margin-top: calc(var(--scroll-ratio, 0) * -100px);
}

.scene-answer {
  margin-top: 16px;
  margin-bottom: 24px;
}

.no-answer {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-tertiary);
  font-style: italic;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease 0.3s;
}

.panel-2.active .no-answer {
  opacity: 1;
  transform: translateY(0);
}

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

/* Panel 3: Promise Rays */
.panel-bg-promise .promise-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: 
    conic-gradient(from 0deg, 
      transparent 0deg, 
      rgba(99,91,255,0.1) 30deg, 
      transparent 60deg,
      transparent 90deg,
      rgba(0,212,170,0.1) 120deg,
      transparent 150deg,
      transparent 180deg,
      rgba(99,91,255,0.1) 210deg,
      transparent 240deg,
      transparent 270deg,
      rgba(0,212,170,0.1) 300deg,
      transparent 330deg
    );
  animation: rays-rotate 20s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.panel-3.active .promise-rays {
  opacity: 1;
}

@keyframes rays-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.promise-sub {
  margin-top: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease 0.5s;
}

.panel-3.active .promise-sub {
  opacity: 1;
  transform: translateY(0);
}

.promise-sub span {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
}

/* Panel 4: Brand Glow */
.panel-bg-brand .brand-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(99,91,255,0.2) 0%, rgba(0,212,170,0.1) 40%, transparent 70%);
  filter: blur(60px);
  animation: brand-glow 4s ease-in-out infinite;
  /* Parallax movement */
  margin-top: calc(var(--scroll-ratio, 0) * -120px);
}

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

/* Brand Features Row */
.brand-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease 0.6s;
}

.panel-4.active .brand-features {
  opacity: 1;
  transform: translateY(0);
}

.brand-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.brand-feature:hover {
  background: rgba(99,91,255,0.1);
  border-color: rgba(99,91,255,0.3);
  transform: translateY(-2px);
}

.feature-icon {
  width: 20px;
  height: 20px;
  stroke: var(--brand);
  flex-shrink: 0;
}

/* Updated Scroll Progress - Dots */
.scroll-progress {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: opacity 0.4s ease;
}

.progress-dots {
  display: flex;
  gap: 10px;
}

.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: var(--brand);
  box-shadow: 0 0 15px var(--brand-glow);
  transform: scale(1.2);
}

.scroll-hint {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  animation: bounce-scroll 2s ease-in-out infinite;
}

/* Hide progress on last panel */
.panel-4.active ~ .scroll-progress {
  opacity: 0;
  pointer-events: none;
}

/* Panel 1: The Pain - Typewriter */
.scene-text {
  margin-bottom: 16px;
}


.typewriter-line {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
  display: inline-block;
  overflow: hidden;
  border-right: 2px solid var(--brand);
  white-space: nowrap;
  width: 0;
  transition: width 1.5s steps(30, end);
}

.panel-1.active .typewriter-line {
  width: 100%;
  animation: blink 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.scene-subtext {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s ease 0.8s;
}

.panel-1.active .scene-subtext {
  opacity: 1;
  transform: translateY(0);
}

.scene-subtext span {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--text-tertiary);
  font-style: italic;
}

/* Panel 2: The Question - Flicker */
.scene-question {
  position: relative;
}

.flicker-text {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--caution);
  animation: text-flicker 3s ease infinite;
  text-shadow: 0 0 20px rgba(255, 171, 0, 0.3);
}

@keyframes text-flicker {
  0%, 100% { opacity: 1; }
  5% { opacity: 0.8; }
  10% { opacity: 1; }
  15% { opacity: 0.6; }
  20% { opacity: 1; }
  50% { opacity: 0.9; }
  55% { opacity: 1; }
}

.scene-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.dot-pulse {
  width: 8px;
  height: 8px;
  background: var(--text-tertiary);
  border-radius: 50%;
  animation: dot-bounce 1.4s ease-in-out infinite;
}

.dot-pulse:nth-child(2) { animation-delay: 0.2s; }
.dot-pulse:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-bounce {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
  40% { transform: scale(1.2); opacity: 1; }
}

/* Panel 3: The Promise - Reveal Words */
.reveal-container {
  display: flex;
  gap: clamp(24px, 5vw, 60px);
  flex-wrap: wrap;
  justify-content: center;
}

.reveal-word {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(30px) rotateX(-20deg);
  animation: word-reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.panel-3.active .reveal-word {
  animation: word-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.panel-3.active .reveal-word:nth-child(1) { animation-delay: 0s; }
.panel-3.active .reveal-word:nth-child(2) { animation-delay: 0.15s; }
.panel-3.active .reveal-word:nth-child(3) { animation-delay: 0.3s; }

.reveal-word.accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes word-reveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Panel 4: Brand Reveal */
.brand-reveal {
  display: flex;
  gap: clamp(8px, 2vw, 20px);
  margin-bottom: 24px;
}

.brand-letter {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(50px) scale(0.8);
  animation: letter-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  position: relative;
}

.brand-letter::after {
  content: attr(data-letter);
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(20px);
  opacity: 0.5;
  z-index: -1;
}

.panel-4.active .brand-letter {
  animation: letter-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.panel-4.active .brand-letter:nth-child(1) { animation-delay: 0s; }
.panel-4.active .brand-letter:nth-child(2) { animation-delay: 0.08s; }
.panel-4.active .brand-letter:nth-child(3) { animation-delay: 0.16s; }
.panel-4.active .brand-letter:nth-child(4) { animation-delay: 0.24s; }
.panel-4.active .brand-letter:nth-child(5) { animation-delay: 0.32s; }

@keyframes letter-pop {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.brand-tagline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.5s;
}

.brand-tagline span {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  font-weight: 500;
}

.panel-4.active .brand-tagline {
  opacity: 1;
  transform: translateY(0);
}

.brand-tagline .tagline-accent {
  color: var(--accent);
  font-weight: 600;
}

@keyframes cinema-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cinema-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Cinema CTA - inside panel-4 */
.cinema-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.4s;
  margin-top: 32px;
}

.panel-4.active .cinema-cta {
  opacity: 1;
  transform: translateY(0);
}

.cta-subtle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(99, 91, 255, 0.1);
  border: 1px solid rgba(99, 91, 255, 0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-hover);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(99, 91, 255, 0.4);
  }
  50% { 
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(99, 91, 255, 0);
  }
}

.cinema-btn {
  animation: btn-glow-pulse 3s ease-in-out infinite;
  animation-delay: 12s;
}

@keyframes btn-glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(99, 91, 255, 0.2); }
  50% { box-shadow: 0 0 40px rgba(99, 91, 255, 0.4); }
}

/* Skip animation on interaction */
.cinema-sequence.skipped .scene-1,
.cinema-sequence.skipped .scene-2,
.cinema-sequence.skipped .scene-3 {
  display: none;
}

.cinema-sequence.skipped .scene-4 {
  position: relative;
  opacity: 1;
  animation: none;
}

.cinema-sequence.skipped .brand-letter,
.cinema-sequence.skipped .brand-tagline {
  opacity: 1;
  animation: none;
  transform: none;
}

.cinema-sequence.skipped + .cinema-cta {
  opacity: 1;
  animation: none;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  animation: bounce-scroll 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--border-default);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--text-tertiary);
  border-radius: 2px;
  animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 18px; opacity: 0.3; }
}

@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === MARQUEE === */
.marquee-section {
  position: relative;
  z-index: 10;
  padding: 32px 0;
  background: linear-gradient(90deg, var(--bg-base), var(--bg-raised), var(--bg-base));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.marquee {
  display: flex;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marquee 30s linear infinite;
}

.marquee-content span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: -0.01em;
}

.marquee-dot {
  color: var(--brand) !important;
  font-size: 0.5rem !important;
}

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

/* === SECTIONS === */
.section {
  position: relative;
  z-index: 10;
  padding: 120px 32px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 16px;
}

.overline-icon-svg {
  width: 18px;
  height: 18px;
  stroke: var(--brand);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title.massive {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-desc a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === PROBLEM SECTION - 3D IMMERSIVE === */
.problem {
  height: 300vh; /* Scrollable height */
  position: relative;
  background: var(--bg-base);
}

.problem-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Ambient glow */
.problem .problem-sticky::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,171,0,0.06) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.split-layout-3d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  height: 100%;
}

.split-left-3d {
  position: relative;
  z-index: 2;
}

.split-right-3d {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px; /* 3D Scene Depth */
}

.pain-cards-3d {
  position: relative;
  width: 100%;
  height: 500px; /* Reduced to keep them tighter */
  transform-style: preserve-3d;
}

.pain-card-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 500px;
  transform-style: preserve-3d;
  
  /* Initial state: Hidden deep in Z */
  opacity: 0;
  
  /* Transforms controlled by JS via inline styles */
  /* transform: translate(-50%, var(--y-pos)) translateZ(var(--z-pos)); */
  
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  
  /* Smooth movement for transform changes */
  /* transition: transform 0.1s linear, opacity 0.2s ease; */
  /* Actually better to remove transition on transform for direct scroll mapping smoothness */
  transition: opacity 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform, opacity;
}

/* Stacking positions (Y-offsets relative to center) 
   Increased spacing for better breatheability
*/
.pain-card-3d:nth-child(1) { --stack-y: -240px; }
.pain-card-3d:nth-child(2) { --stack-y: -80px; }
.pain-card-3d:nth-child(3) { --stack-y: 80px; }
.pain-card-3d:nth-child(4) { --stack-y: 240px; }

/* Creative Text Container Styles */
.split-left-3d {
  position: relative;
  z-index: 2;
  /* Enable 3D transforms for text elements */
  transform-style: preserve-3d;
  perspective: 1000px;
}

.section-title.massive {
  /* Initial state for parallax */
  transform: translateZ(20px);
  will-change: transform;
  text-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.section-overline {
   transform: translateZ(50px); /* Pops out more */
   will-change: transform;
}

/* Decorative 3D Element */
.problem-3d-decoration {
  margin-top: 60px;
  position: relative;
  width: 300px;
  height: 200px;
  perspective: 1000px;
  transform: translateX(20px);
  margin-left: 100px;
}

.decoration-float-container {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: float-3d 6s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.card-front {
  width: 240px;
  height: 160px;
  top: 0;
  left: 0;
  transform: translateZ(20px) rotateY(-15deg) rotateX(10deg);
  z-index: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-back {
  width: 200px;
  height: 60px;
  bottom: -80px; /* Moved down to clear the button */
  right: -30px; /* Moved right for better composition */
  transform: translateZ(40px) rotateY(-15deg) rotateX(10deg);
  background: rgba(16, 185, 129, 0.15); /* Greenish for success */
  border-color: rgba(16, 185, 129, 0.3);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

/* Mock UI Elements - Refined Spacing */
.mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px; /* Increased bottom margin */
}

.mock-circle {
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.mock-line {
  width: 60px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.mock-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 8px; /* More space below label */
}

.mock-amount {
  font-size: 1.75rem; /* Larger font */
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.mock-chart {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 30px;
  position: absolute; /* Position absolute to move it freely */
  right: 20px;
  bottom: 60px; /* Position it relative to bottom of card content area */
  opacity: 0.5; /* Subtle */
}

.mock-body {
  position: relative; /* Context for absolute chart */
  margin-bottom: 20px;
}

.mock-bar {
  width: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.mock-bar.active {
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  opacity: 1;
}

.mock-btn {
  background: var(--brand);
  color: white;
  text-align: center;
  padding: 10px; /* Larger padding */
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-top: auto; /* Push to bottom */
}

.mock-btn:hover {
  transform: scale(1.02);
  background: #7b74fd;
}

/* Notification Card Styles */
.mock-notif-icon {
  width: 24px;
  height: 24px;
  background: #10B981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: white;
  font-weight: bold;
}

.mock-notif-text {
  display: flex;
  flex-direction: column;
}

.mock-notif-text span {
  font-size: 0.8125rem;
  color: white;
  font-weight: 600;
}

.mock-notif-text span.sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.floating-orb {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--accent), transparent);
  filter: blur(20px);
  opacity: 0.6;
  animation: pulse-orb 4s ease-in-out infinite;
}

@keyframes float-3d {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

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

/* Active state (Docked) */
.pain-card-3d.active {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border-color: rgba(99, 91, 255, 0.2);
    opacity: 1 !important; /* Force visibility when active */
}

.pain-card-3d.active:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(99, 91, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Base styles for card content */
.card-index {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.pain-card-3d.active .card-index {
    color: rgba(99, 91, 255, 0.1);
}

.pain-card::before {
  content: attr(data-index);
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: var(--border-subtle);
  line-height: 1;
}

.pain-card:hover {
  border-color: var(--border-hover);
  transform: translateX(-8px);
  box-shadow: 20px 20px 60px rgba(0,0,0,0.3);
}

.pain-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.pain-content h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.pain-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* === FEATURES SECTION === */
.features {
  background: var(--bg-raised);
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.feature-card.feature-main {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-overlay) 0%, rgba(99,91,255,0.08) 100%);
  border-color: rgba(99,91,255,0.2);
}

.feature-card.feature-ai {
  grid-column: span 2;
}

.feature-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--brand-subtle);
  color: var(--brand-hover);
  border-radius: 100px;
  margin-bottom: 20px;
}

.feature-badge.planned {
  background: var(--accent-subtle);
  color: var(--accent);
}

.feature-badge.explore {
  background: var(--caution-subtle);
  color: var(--caution);
}

.feature-icon-large {
  width: 56px;
  height: 56px;
  background: var(--bg-elevated);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-large {
  background: var(--brand-subtle);
}

.feature-icon-large svg {
  width: 28px;
  height: 28px;
  color: var(--brand);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Feature Visual - Calculator Preview */
.feature-visual {
  margin-bottom: 24px;
}

.calc-preview {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 0.9375rem;
}

.calc-row span:first-child {
  color: var(--text-secondary);
}

.calc-value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.calc-value.negative { color: var(--negative); }
.calc-value.positive { color: var(--positive); font-size: 1.125rem; }

.calc-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
}

.calc-row.result {
  padding-top: 16px;
}

.calc-row.result span:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

/* Feature Visual - AI Chat */
.ai-visual {
  margin-bottom: 24px;
}

.ai-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-message {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.ai-message.user {
  align-self: flex-end;
  background: var(--brand);
  color: white;
  border-bottom-right-radius: 4px;
}

.ai-message.bot {
  align-self: flex-start;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 4px;
  color: var(--text-secondary);
}

.ai-typing {
  display: inline-flex;
  gap: 4px;
}

.ai-typing span {
  width: 6px;
  height: 6px;
  background: var(--text-tertiary);
  border-radius: 50%;
  animation: typing-dot 1.4s ease-in-out infinite;
}

.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.ai-response {
  display: none;
}

.feature-card.feature-ai:hover .ai-typing {
  display: none;
}

.feature-card.feature-ai:hover .ai-response {
  display: inline;
}

/* Disclaimer */
.disclaimer-float {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 40px;
  padding: 24px;
  background: var(--caution-subtle);
  border: 1px solid rgba(255,171,0,0.2);
  border-radius: 16px;
}

.disclaimer-float svg {
  width: 22px;
  height: 22px;
  color: var(--caution);
  flex-shrink: 0;
  margin-top: 1px;
}

.disclaimer-float p {
  font-size: 0.9375rem;
  color: var(--caution);
  line-height: 1.6;
}

/* === TARGET SECTION === */
.target {
  background: linear-gradient(180deg, var(--bg-raised) 0%, var(--bg-base) 100%);
}

.target-comparison {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto 0;
  position: relative;
}

/* Card Base Style */
.target-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 48px 40px;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

/* "YES" Card - The Hero */
.target-yes {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.1);
}

.target-yes:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 30px 80px rgba(16, 185, 129, 0.2);
}

.target-yes .target-icon {
  background: #10B981;
  color: #000;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
  font-size: 2rem;
}

.target-yes h4 {
  color: white;
  font-size: 1.75rem;
}

/* "NO" Card - Receding */
.target-no {
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.7;
}

.target-no:hover {
  opacity: 1;
  border-color: rgba(239, 68, 68, 0.3);
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.target-no .target-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #EF4444;
  font-size: 1.5rem;
}

.target-no h4 {
  color: var(--text-secondary);
}

/* Header & Icon */
.target-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  text-align: center;
}

.target-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 0.3s ease;
}

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

.target-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* List Styling */
.target-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.target-card li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.target-yes li svg {
  color: #10B981;
  filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.4));
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.target-no li svg {
  color: #EF4444;
  opacity: 0.6;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .target-comparison {
    flex-direction: column;
    gap: 30px;
  }
}

/* === PRICING === */
/* === PRICING - 3D IMMERSIVE === */
.pricing {
  background: linear-gradient(180deg, var(--bg-base) 0%, #0a0a0f 100%);
  padding-bottom: 120px;
}

.pricing-card-3d {
  max-width: 600px;
  margin: 60px auto 0;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 60px 50px;
  position: relative;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.pricing-card-3d:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(99, 91, 255, 0.2);
  border-color: rgba(99, 91, 255, 0.3);
}

/* Floating Badge */
.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #635bff 0%, #7c3aed 100%);
  color: white;
  padding: 8px 24px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 30px rgba(99, 91, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
}

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

.badge-sparkle {
  font-size: 1rem;
  animation: sparkle 2s ease-in-out infinite;
}

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

/* Price Display */
.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 16px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.price-value {
  font-size: 5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #b4b4b4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price-period {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.pricing-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  margin-bottom: 40px;
}

/* Features Grid */
.pricing-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  text-align: left;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-check svg {
  width: 14px;
  height: 14px;
  color: #10B981;
  filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.5));
}

.pricing-cta-wrapper {
  margin-top: 20px;
}

/* Pricing Split Layout */
.pricing-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  max-width: 1200px;
  margin: 60px auto 0;
}

.pricing-card-side .pricing-card-3d {
  margin: 0;
  max-width: none;
}

/* Bank Preview Side */
.bank-preview-side {
  perspective: 1000px;
}

.bank-preview-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(2deg);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.bank-preview-card:hover {
  transform: rotateY(0deg) rotateX(0deg);
  box-shadow: 0 40px 80px rgba(99, 91, 255, 0.15);
}

/* Bank Header */
.bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.bank-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: white;
}

.bank-title svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.bank-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.bank-status.connected {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Bank Account Info */
.bank-account-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: rgba(99, 91, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-bank {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
}

.account-number {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: monospace;
}

.account-balance {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.balance-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

.balance-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #10B981;
}

/* Transactions List */
.transactions-list {
  padding: 8px 0;
}

.transaction-row {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.transaction-row:last-child {
  border-bottom: none;
}

.transaction-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.transaction-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transaction-icon svg {
  width: 18px;
  height: 18px;
}

.transaction-icon.expense {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

.transaction-icon.income {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.transaction-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.transaction-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.transaction-date {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

.transaction-amount {
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
}

.transaction-amount.expense {
  color: #EF4444;
}

.transaction-amount.income {
  color: #10B981;
}

.transaction-category select {
  padding: 6px 10px;
  font-size: 0.75rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.transaction-category select:hover {
  background: rgba(99, 91, 255, 0.15);
  border-color: rgba(99, 91, 255, 0.3);
}

.transaction-category.categorized span {
  padding: 6px 10px;
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
}

/* Bank Footer */
.bank-footer {
  display: flex;
  gap: 32px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.bank-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bank-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

.bank-value {
  font-size: 1.25rem;
  font-weight: 700;
}

.bank-value.warning {
  color: #F59E0B;
}

.bank-value.success {
  color: #10B981;
}

@media (max-width: 1024px) {
  .pricing-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .bank-preview-card {
    transform: none;
  }
}

@media (max-width: 768px) {
  .pricing-card-3d {
    padding: 50px 30px;
  }
  
  .pricing-features-grid {
    grid-template-columns: 1fr;
  }
  
  .price-value {
    font-size: 3.5rem;
  }
  
  .transaction-row {
    grid-template-columns: 32px 1fr auto;
  }
  
  .transaction-category {
    display: none;
  }
}

/* === FAQ - 3D IMMERSIVE === */
.faq {
  background: linear-gradient(180deg, #0a0a0f 0%, var(--bg-base) 100%);
}

.faq-contact-link {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

.faq-contact-link:hover {
  color: #8b7eff;
}

.faq-grid {
  max-width: 900px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* FAQ Card */
.faq-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.faq-card[aria-expanded="true"] {
  border-color: rgba(99, 91, 255, 0.3);
  box-shadow: 0 15px 50px rgba(99, 91, 255, 0.1);
}

/* Question Button */
.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: white;
  transition: all 0.3s ease;
}

.faq-q-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.3s ease;
}

.faq-card[aria-expanded="true"] .faq-q-text {
  background: linear-gradient(135deg, #fff 0%, #b4b4b4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Icon Toggle */
.faq-icon-toggle {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-icon-toggle svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-card:hover .faq-icon-toggle {
  background: rgba(99, 91, 255, 0.1);
}

.faq-card[aria-expanded="true"] .faq-icon-toggle {
  background: var(--brand);
  transform: rotate(45deg);
}

.faq-card[aria-expanded="true"] .faq-icon-toggle svg {
  color: white;
}

/* Answer Wrapper */
.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1), 
              padding 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-card[aria-expanded="true"] .faq-answer-wrapper {
  max-height: 500px;
  padding: 0 32px 28px 32px;
}

.faq-answer-wrapper p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 1rem;
}

.faq-answer-wrapper a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

.faq-answer-wrapper a:hover {
  color: #8b7eff;
}

@media (max-width: 768px) {
  .faq-question-btn {
    padding: 20px 24px;
  }
  
  .faq-q-text {
    font-size: 1rem;
  }
  
  .faq-card[aria-expanded="true"] .faq-answer-wrapper {
    padding: 0 24px 20px 24px;
  }
}

/* === CTA SECTION - 3D IMMERSIVE === */
.cta-section-3d {
  position: relative;
  background: linear-gradient(180deg, var(--bg-base) 0%, #0a0a0f 100%);
  padding: 120px 32px;
  overflow: hidden;
}

/* Animated Background Orbs */
.cta-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: orb-float 8s ease-in-out infinite;
}

.cta-orb-1 {
  width: 500px;
  height: 500px;
  top: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.3) 0%, transparent 70%);
}

.cta-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  animation-delay: -4s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  50% { transform: translate(30px, -20px) scale(1.1); opacity: 1; }
}

/* Main Card */
.cta-card-3d {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 70px 60px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-card-3d:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 100px rgba(99, 91, 255, 0.15);
  border-color: rgba(99, 91, 255, 0.2);
}

/* Floating Badge */
.cta-floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #10B981;
  margin-bottom: 32px;
  animation: float 3s ease-in-out infinite;
  margin-left: 100px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

/* Title */
.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: white;
}

.gradient-text-premium {
  background: linear-gradient(135deg, #635bff 0%, #10B981 50%, #635bff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Form */
.cta-form-glass {
  margin-bottom: 40px;
}

.cta-input-group {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}

.cta-input-wrapper {
  flex: 1;
  position: relative;
}

.cta-input-wrapper svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  transition: color 0.3s ease;
}

.cta-input-wrapper input {
  width: 100%;
  padding: 18px 20px 18px 52px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: white;
  transition: all 0.3s ease;
}

.cta-input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cta-input-wrapper input:focus {
  outline: none;
  border-color: rgba(99, 91, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.1);
}

.cta-input-wrapper:focus-within svg {
  color: #635bff;
}

/* Submit Button */
.cta-submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: white;
  background: linear-gradient(135deg, #635bff 0%, #7c3aed 100%);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 91, 255, 0.4);
}

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

.cta-submit-btn:hover .btn-glow {
  left: 100%;
}

.cta-submit-btn .btn-arrow {
  transition: transform 0.3s ease;
}

.cta-submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Benefits Grid */
.cta-benefits-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.cta-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.benefit-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 14px;
  height: 14px;
  color: #10B981;
  filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.5));
}

/* Privacy Note */
.cta-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.cta-privacy-note svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .cta-card-3d {
    padding: 50px 30px;
    border-radius: 28px;
  }
  
  .cta-input-group {
    flex-direction: column;
  }
  
  .cta-submit-btn {
    width: 100%;
    justify-content: center;
  }
  
  .cta-benefits-grid {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* Split Layout */
.cta-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content-side {
  text-align: left;
}

.cta-content-side .cta-floating-badge {
  margin-bottom: 24px;
}

.cta-content-side .cta-title {
  text-align: left;
}

.cta-content-side .cta-subtitle {
  text-align: left;
  max-width: 450px;
}

/* Stacked Form */
.cta-input-group-stacked {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.cta-input-group-stacked .cta-submit-btn {
  width: 100%;
  justify-content: center;
}

/* Benefits List (Vertical) */
.cta-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.cta-content-side .cta-privacy-note {
  justify-content: flex-start;
}

/* Preview Side */
.cta-preview-side {
  perspective: 1000px;
}

.invoice-preview-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(2deg);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.invoice-preview-card:hover {
  transform: rotateY(0deg) rotateX(0deg);
  box-shadow: 0 40px 80px rgba(99, 91, 255, 0.15);
}

/* Preview Header */
.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.preview-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: white;
}

.preview-title svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.preview-badge {
  padding: 4px 12px;
  background: rgba(99, 91, 255, 0.15);
  border: 1px solid rgba(99, 91, 255, 0.3);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #a5a0ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Invoice List */
.invoice-list {
  padding: 8px 0;
}

.invoice-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.invoice-row:last-child {
  border-bottom: none;
}

.invoice-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.invoice-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.invoice-number {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}

.invoice-client {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.invoice-amount {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  text-align: right;
}

.invoice-status {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.invoice-status.paid {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.invoice-status.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
}

.invoice-status.draft {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Preview Footer */
.preview-footer {
  display: flex;
  gap: 24px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.preview-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #10B981;
}

.stat-value.pending {
  color: #F59E0B;
}

@media (max-width: 1024px) {
  .cta-split-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .cta-content-side {
    text-align: center;
  }
  
  .cta-content-side .cta-title,
  .cta-content-side .cta-subtitle {
    text-align: center;
    max-width: none;
  }
  
  .cta-content-side .cta-privacy-note {
    justify-content: center;
  }
  
  .cta-benefits-list {
    align-items: center;
  }
  
  .invoice-preview-card {
    transform: none;
  }
}
.footer {
  position: relative;
  z-index: 10;
  padding: 80px 32px 40px;
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand .nav-logo {
  width: 44px;
  height: 44px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-name {
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* === ANIMATIONS === */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: animateIn 0.8s var(--ease-out) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.5s; }

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .features-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-card.feature-main,
  .feature-card.feature-ai {
    grid-column: span 2;
  }
  
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .pricing-features {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 12px 20px;
  }
  
  .nav-right {
    gap: 16px;
  }
  
  .nav-link {
    display: none;
  }
  
  .section {
    padding: 80px 20px;
  }
  
  .hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-sub {
    font-size: 1.0625rem;
  }
  
  .hero-sub br {
    display: none;
  }
  
  .hero-visual {
    display: none;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  .features-bento {
    grid-template-columns: 1fr;
  }
  
  .feature-card.feature-main,
  .feature-card.feature-ai {
    grid-column: span 1;
  }
  
  .target-comparison {
    flex-direction: column;
  }
  
  .target-divider {
    width: 100%;
    padding: 16px 0;
  }
  
  .pricing-wrapper {
    padding: 48px 24px;
  }
  
  .cta-wrapper {
    padding: 48px 24px;
    border-radius: 28px;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .form-group .btn {
    width: 100%;
  }
  
  .cta-benefits {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .floating-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-title.massive {
    font-size: 2rem;
  }
  
  .btn-hero {
    padding: 16px 24px;
    font-size: 0.9375rem;
  }
  
  .pain-card {
    flex-direction: column;
    text-align: center;
  }
  
  .pain-card::before {
    display: none;
  }
  
  .feature-card {
    padding: 24px;
  }
  
  .target-card {
    padding: 28px;
  }
}

/* 
   -----------------------------------
   3D BENTO GRID STYLES - REMASTERED
   -----------------------------------
*/

.bento-grid-3d {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 320px); /* Slightly taller for breathing room */
  gap: 30px; /* Increased gap */
  max-width: 1200px;
  margin: 80px auto 0;
  perspective: 2000px;
  padding: 0 20px;
}

.bento-card {
  position: relative;
  /* Rich, dark glass background */
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle border */
  border-radius: 32px; /* Softer corners */
  padding: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  cursor: default;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2); /* Deep shadow */
}

/* Hover State - "Active Glass" */
.bento-card:hover {
  border-color: rgba(99, 91, 255, 0.4);
  box-shadow: 0 30px 60px rgba(99, 91, 255, 0.15), inset 0 0 20px rgba(99, 91, 255, 0.05);
  transform: translateY(-5px) scale(1.01);
}

/* Specific Layouts */
.bento-large {
  grid-column: span 2;
  background: linear-gradient(145deg, rgba(20, 20, 25, 0.6) 0%, rgba(20, 20, 25, 0.4) 100%);
}

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

/* Card Content Typography */
.bento-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bento-text h3 {
  font-size: 1.75rem; /* Larger, clearer */
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #fff, #b4b4b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.bento-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-weight: 400;
}

/* Visual Container - The "Stage" */
.bento-visual {
  flex-grow: 1;
  position: relative;
  margin-top: 10px;
  border-radius: 20px;
  /* Add a subtle inner container look */
  /* background: rgba(0,0,0,0.2); */ 
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* --- VISUAL 1: DASHBOARD MOCKUP --- */
.visual-dashboard {
  align-items: flex-end; /* Align to bottom */
  padding-bottom: 0;
  overflow: visible;
}

.mini-dash-u {
  width: 100%;
  height: 180px; /* Taller */
  background: rgba(13, 13, 16, 0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px 16px 0 0; /* Attach to bottom */
  position: relative;
  transform: rotateX(15deg) rotateY(-5deg) translateZ(30px); /* Strong 3D */
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 -20px 50px rgba(0,0,0,0.5);
  transition: transform 0.4s ease;
}

.bento-card:hover .mini-dash-u {
  transform: rotateX(5deg) rotateY(0deg) translateZ(40px) translateY(-10px);
}

.md-header { 
  height: 16px; 
  width: 120px; 
  background: rgba(255,255,255,0.15); 
  border-radius: 8px; 
}

.md-graph { 
  flex-grow: 1; 
  width: 100%;
  background: linear-gradient(180deg, rgba(99,91,255,0.15), transparent); 
  border-radius: 12px; 
  border-top: 2px solid #635bff;
  position: relative;
  overflow: hidden;
}

/* Add some grid lines inside graph */
.md-graph::before {
  content: '';
  position: absolute;
  top: 30%; left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,0.05);
}
.md-graph::after {
  content: '';
  position: absolute;
  top: 60%; left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,0.05);
}

/* --- VISUAL 2: TAXES --- */
.visual-taxes {
  flex-direction: column;
  gap: 16px;
}

.tax-pill {
  background: rgba(16, 185, 129, 0.1); /* Green tint */
  padding: 12px 24px;
  border-radius: 100px;
  color: #10B981;
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
  transform: translateZ(20px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.tax-pill:nth-child(2) {
  background: rgba(99, 91, 255, 0.1); /* Purple tint */
  color: #635bff;
  border-color: rgba(99, 91, 255, 0.3);
  transform: translateZ(40px) translateX(20px); /* Offset */
}

.bento-card:hover .tax-pill {
  transform: translateZ(60px) scale(1.1);
}
.bento-card:hover .tax-pill:nth-child(2) {
  transform: translateZ(80px) translateX(20px) scale(1.1);
}

/* --- VISUAL 3: DOCS --- */
.visual-docs {
  align-items: center;
  justify-content: center;
}

.doc-file {
  width: 80px;
  height: 100px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  border-radius: 12px;
  position: relative;
  transform: rotate(-10deg) translateZ(30px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 8px;
  transition: transform 0.4s ease;
}

.doc-file::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 24px 24px 0;
  border-color: transparent white transparent transparent; /* Fold effect */
  box-shadow: -5px 5px 10px rgba(0,0,0,0.1);
  border-radius: 0 0 0 4px;
}

.doc-lines { height: 4px; width: 60%; background: #ccc; border-radius: 2px; box-shadow: 0 8px 0 #ccc, 0 16px 0 #ccc; }
.doc-badge { 
  margin-top: auto; 
  font-size: 0.6rem; 
  font-weight: 800; 
  color: #ff4757; 
  border: 1px solid #ff4757; 
  padding: 2px 4px; 
  border-radius: 4px; 
  align-self: flex-start; 
}

.bento-card:hover .doc-file {
  transform: rotate(0deg) translateZ(50px) scale(1.1);
}

/* --- VISUAL 4: AI ORB --- */
.visual-ai {
  align-items: center;
  justify-content: center;
}

.ai-orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9) 0%, rgba(99,91,255,1) 40%, rgba(20,20,30,1) 100%);
  box-shadow: 0 0 60px rgba(99, 91, 255, 0.6);
  position: relative;
  transform: translateZ(30px);
}

.ai-orb::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  animation: orbit 4s linear infinite;
}

@keyframes orbit { from { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.1); } to { transform: rotate(360deg) scale(1); } }

/* Glow Effect Overlay */
.card-glow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}

.bento-card:hover .card-glow {
  opacity: 1;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
  .bento-grid-3d { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .bento-large { grid-column: span 2; }
  .bento-tall { grid-column: span 1; grid-row: span 2; }
}

@media (max-width: 768px) {
  .bento-grid-3d { grid-template-columns: 1fr; gap: 20px; }
  .bento-large, .bento-tall, .bento-medium { grid-column: span 1; grid-row: auto; height: 340px; }
}

/* 
   -----------------------------------
   ROADMAP SECTION STYLES 
   -----------------------------------
*/
.section.roadmap {
  position: relative;
  overflow: hidden;
  padding-bottom: 120px;
}

.roadmap-timeline {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Central Line */
.roadmap-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), rgba(99,91,255,0.2) 100%);
  transform: translateX(-50%);
  z-index: 1;
}

/* Items */
.roadmap-item {
  display: flex;
  width: 100%;
  position: relative;
  align-items: center;
}

.roadmap-item.left { justify-content: flex-start; }
.roadmap-item.right { justify-content: flex-end; }

/* Marker Dots */
.roadmap-marker {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px #0a0a0f; /* Knockout outline */
}

/* Status Colors used for markers */
.roadmap-marker.live { background: #10B981; box-shadow: 0 0 10px #10B981, 0 0 0 4px #0a0a0f; }
.roadmap-marker.dev { background: #F59E0B; box-shadow: 0 0 10px #F59E0B, 0 0 0 4px #0a0a0f; }
.roadmap-marker.plan { background: #3B82F6; box-shadow: 0 0 10px #3B82F6, 0 0 0 4px #0a0a0f; }
.roadmap-marker.explore { background: #8B5CF6; box-shadow: 0 0 10px #8B5CF6, 0 0 0 4px #0a0a0f; }

/* Content Cards - Holographic Glass */
.roadmap-content.roadmap-glass {
  width: 45%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08); /* Thinner border */
  border-top: 1px solid rgba(255, 255, 255, 0.2); /* Highlight top */
  padding: 28px;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.roadmap-content.roadmap-glass:hover {
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: rgba(99, 91, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 20px rgba(99, 91, 255, 0.05);
}

/* AI Card Special Styling */
.roadmap-content.roadmap-ai-card {
  width: 48%; /* Slightly wider to fit chat */
  background: linear-gradient(135deg, rgba(20, 20, 25, 0.8) 0%, rgba(99, 91, 255, 0.1) 100%);
  border: 1px solid rgba(99, 91, 255, 0.3);
}

.roadmap-content h3 {
  font-size: 1.35rem;
  margin: 12px 0 8px;
  color: white;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.roadmap-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Badges - Premium Glass Pills */
.badger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.badger::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.roadmap-content:hover .badger {
  transform: scale(1.05);
}

/* Status Colors */
.badge-live { 
  background: rgba(16, 185, 129, 0.08); 
  color: #34D399; 
  border: 1px solid rgba(16, 185, 129, 0.2); 
}

.badge-dev { 
  background: rgba(245, 158, 11, 0.08); 
  color: #FBBF24; 
  border: 1px solid rgba(245, 158, 11, 0.2); 
}

.badge-plan { 
  background: rgba(59, 130, 246, 0.08); 
  color: #60A5FA; 
  border: 1px solid rgba(59, 130, 246, 0.2); 
}

.badge-explore { 
  background: rgba(139, 92, 246, 0.08); 
  color: #A78BFA; 
  border: 1px solid rgba(139, 92, 246, 0.2); 
}

/* Chat UI Simulation */
.ai-chat-simulation {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chat-bubble.user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 16px 16px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-bubble.bot {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.2) 0%, rgba(99, 91, 255, 0.1) 100%);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 16px 16px 16px 0;
  border: 1px solid rgba(99, 91, 255, 0.3);
}

.bot-avatar {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(99, 91, 255, 0.5);
}

.avatar-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.bot-text strong {
  color: #a5a0ff;
}

/* Disclaimer */
.roadmap-disclaimer {
  text-align: center;
  margin-top: 80px;
  opacity: 0.4;
}

.roadmap-disclaimer p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .roadmap-line { display: none; }
  .roadmap-marker { display: none; }
  .roadmap-item { 
    flex-direction: column; 
    align-items: flex-start; 
    margin-left: 0; 
    width: 100%; 
    margin-bottom: 20px; 
  }
  .roadmap-item.left, .roadmap-item.right { justify-content: flex-start; }
  .roadmap-content.roadmap-glass, 
  .roadmap-content.roadmap-ai-card { width: 100%; }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE STYLES
   All devices: 1440px → 320px
   ============================================ */

/* === LARGE TABLETS / SMALL LAPTOPS (1024px) === */
@media (max-width: 1024px) {
  .section-inner {
    padding: 0 24px;
  }
  
  .nav-link {
    display: none;
  }
  
  .nav-right {
    gap: 16px;
  }
  
  .hero-visual {
    max-width: 700px;
  }
  
  .dashboard-window {
    transform: scale(0.9);
  }
  
  .floating-card {
    display: none;
  }
  
  .bento-grid-3d {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .bento-large {
    grid-column: span 2;
  }
  
  .bento-tall, .bento-medium {
    grid-column: span 1;
  }
  
  .cta-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cta-preview-side {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .split-layout-3d {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .problem-3d-decoration {
    display: none;
  }
}

/* === TABLETS (768px) === */
@media (max-width: 768px) {
  /* Base */
  html {
    font-size: 15px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-inner {
    padding: 0 20px;
  }
  
  /* Navigation - Mobile Menu */
  .nav {
    padding: 12px 16px;
  }
  
  .nav.scrolled {
    padding: 10px 16px;
  }
  
  .nav-link {
    display: none;
  }
  
  .nav-title {
    font-size: 1.1rem;
  }
  
  .nav-badge {
    padding: 3px 8px;
    font-size: 0.5rem;
  }
  
  .nav-logo {
    width: 32px;
    height: 32px;
  }
  
  .btn-nav {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  
  /* Cinema Sections */
  .cinema-container {
    height: 300vh;
  }
  
  .cinema-panel {
    padding: 20px;
  }
  
  .scene-text {
    font-size: 1.75rem;
  }
  
  .scene-subtext {
    font-size: 1rem;
  }
  
  .scene-icon-large {
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  
  .panel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 20px;
  }
  
  .brand-reveal {
    font-size: 3.5rem;
    gap: 8px;
  }
  
  .brand-tagline {
    font-size: 1.1rem;
    flex-direction: column;
    gap: 4px;
  }
  
  .brand-features {
    flex-direction: column;
    gap: 12px;
  }
  
  .cinema-cta .btn {
    padding: 14px 24px;
    font-size: 0.9rem;
  }
  
  .scroll-progress {
    bottom: 20px;
  }
  
  .chaos-icons {
    opacity: 0.3;
  }
  
  /* Hero */
  .hero {
    padding: 40px 0 60px;
  }
  
  .hero-visual {
    padding: 0 10px;
  }
  
  .dashboard-3d {
    perspective: 500px;
  }
  
  .dashboard-window {
    border-radius: 16px;
    transform: none;
  }
  
  .window-content {
    min-height: 280px;
  }
  
  .dash-sidebar {
    width: 50px;
    padding: 12px 0;
  }
  
  .dash-stats {
    flex-direction: column;
    gap: 12px;
  }
  
  .stat-card {
    padding: 14px;
  }
  
  .stat-value {
    font-size: 1.1rem;
  }
  
  .dash-chart {
    height: 80px;
  }
  
  .dash-greeting {
    font-size: 0.9rem;
  }
  
  /* Marquee */
  .marquee-section {
    padding: 16px 0;
  }
  
  .marquee-content {
    font-size: 0.9rem;
    gap: 24px;
  }
  
  /* Problem Section - Mobile Fix */
  .problem {
    height: auto !important;
    padding-top: 80px;
    overflow: visible;
  }
  
  .problem-sticky {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
    padding: 40px 0;
  }
  
  .section-title.massive {
    font-size: 2rem;
    transform: none;
  }
  
  .split-right-3d {
    perspective: none;
    height: auto;
  }
  
  .pain-cards-3d {
    perspective: none;
    transform-style: flat;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .pain-card-3d {
    transform: none !important;
    opacity: 1 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .pain-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  
  .pain-content h4 {
    font-size: 1rem;
  }
  
  .pain-content p {
    font-size: 0.85rem;
  }
  
  .card-index {
    font-size: 2rem;
    top: 16px;
    right: 16px;
  }
  
  /* Bento Grid */
  .bento-grid-3d {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .bento-large, .bento-tall, .bento-medium {
    grid-column: span 1;
  }
  
  .bento-card {
    padding: 24px;
  }
  
  .bento-text h3 {
    font-size: 1.1rem;
  }
  
  .bento-text p {
    font-size: 0.85rem;
  }
  
  /* Target Section */
  .target-card {
    padding: 32px 24px;
    border-radius: 24px;
  }
  
  .target-header h4 {
    font-size: 1.25rem;
  }
  
  .target-card li {
    font-size: 0.9rem;
    gap: 12px;
  }
  
  .target-yes li svg,
  .target-no li svg {
    width: 20px;
    height: 20px;
  }
  
  /* FAQ */
  .faq-item {
    border-radius: 16px;
  }
  
  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 20px 20px;
    font-size: 0.9rem;
  }
  
  /* CTA Section */
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-subtitle {
    font-size: 1rem;
  }
  
  .cta-form-glass {
    padding: 24px;
  }
  
  .cta-input-group-stacked {
    flex-direction: column;
    gap: 12px;
  }
  
  .cta-submit-btn {
    width: 100%;
    justify-content: center;
  }
  
  .cta-benefits-list {
    gap: 12px;
  }
  
  .cta-benefit-item {
    font-size: 0.85rem;
  }
  
  /* Invoice Preview */
  .invoice-preview-card {
    padding: 16px;
    border-radius: 20px;
  }
  
  .invoice-row {
    padding: 12px;
    gap: 12px;
  }
  
  .invoice-amount {
    font-size: 1rem;
  }
  
  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  
  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .footer-brand-text {
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
  
  /* Section Headers */
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-desc {
    font-size: 1rem;
  }
  
  .section-overline {
    font-size: 0.7rem;
  }
}

/* === SMALL TABLETS / LARGE PHONES (640px) === */
@media (max-width: 640px) {
  .hero-counter {
    flex-direction: column;
    gap: 8px;
  }
  
  .counter-avatars img {
    width: 32px;
    height: 32px;
  }
  
  .brand-reveal {
    font-size: 2.5rem;
    gap: 6px;
  }
  
  .scene-text {
    font-size: 1.4rem;
  }
  
  .scene-question {
    font-size: 1.2rem;
  }
  
  .price-value {
    font-size: 3rem;
  }
  
  .pricing-card-3d {
    padding: 40px 24px;
    border-radius: 24px;
  }
  
  .bank-preview-card {
    border-radius: 16px;
  }
  
  .bank-footer {
    flex-direction: column;
    gap: 16px;
  }
  
  .invoice-list {
    gap: 8px;
  }
}

/* === PHONES (480px) === */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-inner {
    padding: 0 16px;
  }
  
  /* Navigation */
  .nav {
    padding: 10px 12px;
  }
  
  .nav-brand {
    gap: 8px;
  }
  
  .nav-logo {
    width: 28px;
    height: 28px;
  }
  
  .nav-title {
    font-size: 1rem;
  }
  
  .nav-badge {
    display: none;
  }
  
  .btn-nav {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  
  /* Cinema */
  .cinema-container {
    height: 280vh;
  }
  
  .scene-icon-large {
    width: 60px;
    height: 60px;
  }
  
  .scene-text {
    font-size: 1.2rem;
  }
  
  .scene-subtext,
  .scene-answer {
    font-size: 0.85rem;
  }
  
  .brand-reveal {
    font-size: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .brand-tagline {
    font-size: 0.95rem;
  }
  
  .brand-feature {
    font-size: 0.75rem;
    gap: 6px;
  }
  
  .brand-feature svg {
    width: 14px;
    height: 14px;
  }
  
  /* Hero */
  .hero {
    padding: 30px 0 50px;
  }
  
  .dashboard-window {
    border-radius: 12px;
  }
  
  .window-bar {
    padding: 8px 12px;
  }
  
  .window-title {
    font-size: 0.6rem;
  }
  
  .window-dots .dot {
    width: 8px;
    height: 8px;
  }
  
  .dash-sidebar {
    width: 40px;
  }
  
  .sidebar-item {
    width: 28px;
    height: 28px;
  }
  
  .dash-main {
    padding: 12px;
  }
  
  .dash-header {
    margin-bottom: 12px;
  }
  
  .dash-greeting {
    font-size: 0.8rem;
  }
  
  .dash-date {
    font-size: 0.6rem;
  }
  
  .stat-card {
    padding: 10px;
    border-radius: 8px;
  }
  
  .stat-icon {
    font-size: 1rem;
  }
  
  .stat-label {
    font-size: 0.55rem;
  }
  
  .stat-value {
    font-size: 0.9rem;
  }
  
  .stat-trend, .stat-badge {
    font-size: 0.5rem;
    padding: 2px 4px;
  }
  
  .dash-chart {
    height: 60px;
    margin-top: 12px;
  }
  
  /* Problem Section */
  .section-title.massive {
    font-size: 1.6rem;
  }
  
  .pain-card-3d {
    padding: 16px;
    border-radius: 12px;
  }
  
  .pain-icon {
    width: 36px;
    height: 36px;
  }
  
  .pain-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .card-index {
    font-size: 0.6rem;
  }
  
  /* Bento Grid */
  .bento-card {
    padding: 20px;
    border-radius: 16px;
  }
  
  .bento-icon-box {
    width: 48px;
    height: 48px;
  }
  
  /* Target Section */
  .target-comparison {
    gap: 20px;
  }
  
  .target-card {
    padding: 24px 20px;
  }
  
  .target-icon {
    width: 48px;
    height: 48px;
  }
  
  .target-header {
    margin-bottom: 24px;
  }
  
  .target-card ul {
    gap: 14px;
  }
  
  /* Pricing */
  .pricing-card-3d {
    padding: 32px 20px;
    border-radius: 20px;
  }
  
  .pricing-badge {
    font-size: 0.7rem;
    padding: 6px 16px;
  }
  
  .price-currency {
    font-size: 1.25rem;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
  
  .price-period {
    font-size: 1rem;
  }
  
  .pricing-feature-item {
    font-size: 0.85rem;
    gap: 10px;
  }
  
  .feature-check {
    width: 20px;
    height: 20px;
  }
  
  .feature-check svg {
    width: 12px;
    height: 12px;
  }
  
  /* FAQ */
  .faq-list {
    gap: 12px;
  }
  
  .faq-item {
    border-radius: 12px;
  }
  
  .faq-question {
    padding: 16px;
    font-size: 0.9rem;
    gap: 12px;
  }
  
  .faq-answer {
    padding: 0 16px 16px;
    font-size: 0.85rem;
  }
  
  /* CTA Section */
  .cta-floating-badge {
    font-size: 0.75rem;
    padding: 8px 16px;
  }
  
  .cta-title {
    font-size: 1.6rem;
  }
  
  .cta-subtitle {
    font-size: 0.9rem;
  }
  
  .cta-form-glass {
    padding: 20px;
    border-radius: 16px;
  }
  
  .cta-input-wrapper input {
    padding: 14px 14px 14px 44px;
    font-size: 0.9rem;
  }
  
  .cta-submit-btn {
    padding: 14px 20px;
    font-size: 0.9rem;
  }
  
  .cta-privacy-note {
    font-size: 0.75rem;
  }
  
  /* Invoice Preview */
  .invoice-preview-card {
    border-radius: 16px;
    padding: 12px;
  }
  
  .preview-header {
    padding: 12px;
  }
  
  .preview-title {
    font-size: 0.85rem;
  }
  
  .preview-badge {
    font-size: 0.6rem;
    padding: 3px 8px;
  }
  
  .invoice-row {
    padding: 10px;
    border-radius: 8px;
  }
  
  .invoice-number {
    font-size: 0.75rem;
  }
  
  .invoice-client {
    font-size: 0.65rem;
  }
  
  .invoice-amount {
    font-size: 0.85rem;
  }
  
  .invoice-badge {
    font-size: 0.55rem;
    padding: 3px 6px;
  }
  
  /* Footer */
  .footer {
    padding: 40px 0 24px;
  }
  
  .footer-brand {
    gap: 8px;
  }
  
  .footer-logo {
    width: 28px;
    height: 28px;
  }
  
  .footer-name {
    font-size: 1rem;
  }
  
  .footer-links {
    gap: 12px;
  }
  
  .footer-link {
    font-size: 0.8rem;
  }
  
  /* Scroll Indicator */
  .scroll-indicator {
    display: none;
  }
  
  /* Loader */
  .loader-logo svg {
    width: 60px;
    height: 60px;
  }
  
  .loader-brand {
    font-size: 1.25rem;
  }
}

/* === SMALL PHONES (360px and below) === */
@media (max-width: 360px) {
  html {
    font-size: 13px;
  }
  
  .section-inner {
    padding: 0 12px;
  }
  
  .nav {
    padding: 8px 10px;
  }
  
  .nav-logo {
    width: 24px;
    height: 24px;
  }
  
  .nav-title {
    font-size: 0.9rem;
  }
  
  .btn-nav {
    padding: 5px 10px;
    font-size: 0.7rem;
  }
  
  .brand-reveal {
    font-size: 1.6rem;
  }
  
  .scene-text {
    font-size: 1rem;
  }
  
  .section-title.massive {
    font-size: 1.4rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .cta-title {
    font-size: 1.4rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
}

/* === LANDSCAPE PHONES === */
@media (max-height: 500px) and (orientation: landscape) {
  .cinema-container {
    height: 400vh;
  }
  
  .cinema-panel {
    padding: 16px;
  }
  
  .scene-icon-large {
    width: 50px;
    height: 50px;
  }
  
  .scroll-progress {
    display: none;
  }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .aurora, .particles, .floating-card, .card-glow {
    display: none;
  }
}
