/* ========================================
   LIA — AI Music Agent for Ableton Live
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* smooth scroll handled via JS for anchor clicks only */
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: hsl(222 20% 4%);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ========================================
   Background Effects
   ======================================== */

.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  will-change: transform;
}

.aurora-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 20%, hsl(220 90% 48% / 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, hsl(25 100% 50% / 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, hsl(220 80% 40% / 0.08) 0%, transparent 60%);
  animation: aurora-rotate 60s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

@keyframes aurora-rotate {
  0% { transform: translateZ(0) rotate(0deg); }
  100% { transform: translateZ(0) rotate(360deg); }
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
  pointer-events: none;
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.5s ease;
}

.nav.scrolled {
  background: hsl(260 20% 4% / 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(260 15% 15% / 0.3);
  padding: 0.75rem 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: scale(1.1);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

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

.nav-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #ff6b00);
  transition: width 0.3s ease;
}

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

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

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: transparent;
  border: 1px solid hsl(222 15% 25%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  border-color: hsl(220 90% 55% / 0.4);
  color: white;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: hsl(260 20% 8%);
  border: 1px solid hsl(260 15% 20%);
  border-radius: 12px;
  padding: 0.5rem;
  z-index: 200;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.lang-dropdown.open {
  display: flex;
  flex-direction: column;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.lang-option:hover {
  background: hsl(260 20% 15%);
  color: white;
}

.lang-option.active {
  color: #2563eb;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  justify-content: flex-end;
}

.mobile-menu-btn {
  display: flex;
  color: white;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: hsl(260 20% 4% / 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(260 15% 15% / 0.3);
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 0.75rem;
}

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

.mobile-link {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

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

.mobile-menu hr {
  border: none;
  border-top: 1px solid hsl(260 15% 20%);
  margin: 0.5rem 0;
}

/* Mobile Language Selector */
.mobile-lang-selector {
  position: relative;
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
  width: 100%;
}

.mobile-lang-btn:hover {
  color: white;
}

.mobile-lang-chevron {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.mobile-lang-selector.open .mobile-lang-chevron {
  transform: rotate(180deg);
}

.mobile-lang-options {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0 0.5rem 1.5rem;
}

.mobile-lang-selector.open .mobile-lang-options {
  display: flex;
}

.mobile-lang-option {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.4rem 0;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
}

.mobile-lang-option:hover {
  color: white;
}

.mobile-lang-option.active {
  color: #2563eb;
}

@media (min-width: 768px) {
  .mobile-lang-selector {
    display: none;
  }
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 20px hsl(220 90% 55% / 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px hsl(220 90% 55% / 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: hsl(222 15% 15%);
  border: 1px solid hsl(222 15% 25%);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: hsl(260 15% 20%);
  border-color: hsl(220 90% 55% / 0.4);
}

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

.w-full {
  width: 100%;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(220 90% 55% / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, hsl(220 90% 55% / 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 6s ease-in-out infinite;
}

.orb-1 {
  width: 256px;
  height: 256px;
  top: 25%;
  left: 25%;
  background: hsl(220 90% 48% / 0.1);
}

.orb-2 {
  width: 384px;
  height: 384px;
  bottom: 25%;
  right: 25%;
  background: hsl(25 100% 50% / 0.1);
  animation-delay: 3s;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: hsl(260 20% 10% / 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(260 15% 20% / 0.5);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.badge svg {
  color: #2563eb;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #ff6b00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px hsl(220 90% 55% / 0.3);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  background: hsl(260 20% 8% / 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(260 15% 18% / 0.5);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.pill:hover {
  background: hsl(260 20% 10% / 0.8);
  border-color: hsl(220 90% 55% / 0.3);
}

.pill-icon {
  display: flex;
  align-items: center;
}

.pill-icon.purple {
  color: #2563eb;
}

.pill-icon.cyan {
  color: #ff6b00;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 6px;
  height: 10px;
  border-radius: 3px;
  background: #2563eb;
  animation: bounce 2s infinite;
}

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

/* ========================================
   Chat Demo (Hero)
   ======================================== */

/* ========================================
   Chat Demo — Real LIA App Replica
   ======================================== */

.chat-demo {
  max-width: 560px;
  margin: 0 auto;
  contain: content;
}

.chat-window {
  border-radius: 1rem;
  overflow: hidden;
  background: hsl(220 15% 10%);
  border: 1px solid hsl(220 10% 20% / 0.6);
  box-shadow: 0 20px 60px hsl(220 90% 48% / 0.15);
  display: flex;
  flex-direction: column;
}

/* macOS title bar */
.chat-header-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: hsl(220 15% 12%);
  border-bottom: 1px solid hsl(220 10% 18% / 0.5);
}

.chat-header-bar .chat-dots { display: flex; gap: 0.5rem; }
.chat-dot { width: 10px; height: 10px; border-radius: 50%; }
.chat-dot.red { background: #ff5f57; }
.chat-dot.yellow { background: #febc2e; }
.chat-dot.green { background: #28c840; }

.chat-title {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.chat-session-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  color: #22c55e;
  font-weight: 500;
}

.session-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  animation: pulse-status 2s infinite;
}

/* Messages area */
.chat-messages {
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 260px;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

/* Message row — contains avatar + bubble */
.msg-row {
  display: flex;
  gap: 0.5rem;
  animation: msg-in 0.35s ease;
}

.msg-row.user { flex-direction: row-reverse; }

@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Avatars */
.msg-avatar {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.msg-avatar.user-avatar {
  background: hsl(221 83% 53%);
  color: white;
}

.msg-avatar.ai-avatar {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  color: white;
}

.msg-avatar svg { width: 13px; height: 13px; }

/* Bubble content */
.msg-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 80%;
  min-width: 0;
}

.msg-bubble {
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.78rem;
  line-height: 1.5;
}

.msg-row.user .msg-bubble {
  background: hsl(221 83% 53%);
  color: white;
  border-bottom-right-radius: 4px;
}

.msg-row.ai .msg-bubble {
  background: hsl(220 15% 15%);
  color: rgba(255, 255, 255, 0.88);
  border-bottom-left-radius: 4px;
}

/* Streaming cursor */
.stream-cursor {
  display: inline-block;
  width: 2px; height: 14px;
  background: rgba(255, 255, 255, 0.5);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursor-pulse 0.8s infinite;
}

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

/* Tool call card */
.tool-card {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(220 10% 22% / 0.5);
  background: hsl(220 15% 13%);
  font-size: 0.68rem;
  animation: msg-in 0.3s ease;
}

.tool-card .tool-icon {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.tool-card .tool-check {
  color: #22c55e;
  font-size: 0.7rem;
}

.tool-card .tool-spinner {
  width: 10px; height: 10px;
  border: 1.5px solid hsl(221 83% 53% / 0.3);
  border-top-color: hsl(221 83% 53%);
  border-radius: 50%;
  animation: tool-spin 0.8s linear infinite;
}

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

.tool-card .tool-wrench {
  color: rgba(255, 255, 255, 0.4);
}

.tool-card .tool-name {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
}

.tool-card .tool-time {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.6rem;
}

/* Typing indicator */
.typing-indicator {
  display: inline-flex;
  gap: 4px;
  padding: 2px 0;
}

.typing-indicator span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: typing-bounce 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Input bar (visual only) */
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  border-top: 1px solid hsl(220 10% 18% / 0.5);
  background: hsl(220 15% 11%);
}

.chat-input-field {
  flex: 1;
  padding: 0.45rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid hsl(220 10% 22% / 0.5);
  background: hsl(220 15% 14%);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  min-height: 32px;
  display: flex;
  align-items: center;
}

.chat-input-field::before {
  content: attr(data-placeholder);
}

.chat-send-btn {
  width: 32px; height: 32px;
  border-radius: 0.5rem;
  background: hsl(221 83% 53%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ========================================
   Steps Grid (How It Works)
   ======================================== */

.steps-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .steps-grid {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }
}

.step-card {
  flex: 1;
  max-width: 320px;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  background: hsl(260 20% 6%);
  border: 1px solid hsl(260 15% 18% / 0.5);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.step-card:hover {
  border-color: hsl(220 90% 55% / 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px hsl(220 90% 55% / 0.1);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #ff6b00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step-icon.purple {
  background: hsl(220 90% 55% / 0.15);
  color: #60a5fa;
}

.step-icon.cyan {
  background: hsl(25 100% 50% / 0.15);
  color: #ff6b00;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.step-connector {
  display: none;
  align-items: center;
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .step-connector {
    display: flex;
  }
}

/* ========================================
   Architecture Diagram
   ======================================== */

.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 1rem 0;
}

@media (min-width: 768px) {
  .arch-diagram {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: hsl(260 20% 10%);
  border: 1px solid hsl(260 15% 20%);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  min-width: 100px;
  text-align: center;
  transition: all 0.3s ease;
}

.arch-node:hover {
  border-color: hsl(220 90% 55% / 0.4);
}

.browser-node { color: #60a5fa; }
.cloud-node { color: #ff6b00; }
.bridge-node { color: #2563eb; }
.ableton-node { color: #ff6b00; }

.arch-line {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, hsl(220 90% 55% / 0.3), hsl(25 100% 50% / 0.3));
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .arch-line {
    width: 32px;
    height: 2px;
    background: linear-gradient(to right, hsl(220 90% 55% / 0.3), hsl(25 100% 50% / 0.3));
  }
}

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

.section {
  position: relative;
  padding: 6rem 1.5rem;
  z-index: 10;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: block;
  font-size: 0.875rem;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-label.cyan {
  color: #ff6b00;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 640px;
  margin: 0 auto;
}

/* ========================================
   Feature Grid
   ======================================== */

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

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

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

.feature-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: hsl(260 20% 8% / 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(260 15% 18% / 0.5);
  text-align: center;
  transition: all 0.5s ease;
}

.feature-card:hover {
  background: hsl(260 20% 10% / 0.8);
  border-color: hsl(220 90% 55% / 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px hsl(220 90% 55% / 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon.purple {
  background: hsl(220 90% 55% / 0.2);
  color: #60a5fa;
}

.feature-icon.cyan {
  background: hsl(25 100% 50% / 0.2);
  color: #ff6b00;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Glass Card & Gradient Border
   ======================================== */

.gradient-border {
  position: relative;
  padding: 1px;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #2563eb, #ff6b00, #2563eb);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

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

.glass-card {
  background: hsl(260 20% 6%);
  border-radius: 1.5rem;
  padding: 2rem;
}

/* Accessibility Callout */
.accessibility-callout {
  margin-top: 3rem;
}

.accessibility-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.accessibility-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, hsl(220 90% 55% / 0.15), hsl(25 100% 50% / 0.15));
  border: 1px solid hsl(220 90% 55% / 0.2);
  color: #60a5fa;
}

.accessibility-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.accessibility-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .accessibility-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* AI Demo */
.ai-demo {
  padding: 2rem;
}

.ai-demo-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .ai-demo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ai-demo-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.badge-small {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, hsl(220 90% 55% / 0.2), hsl(25 100% 50% / 0.2));
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid hsl(220 90% 55% / 0.3);
  margin-bottom: 1rem;
}

.ai-demo-content p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ========================================
   Accordion
   ======================================== */

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

.accordion-item {
  border-radius: 1rem;
  overflow: hidden;
  background: hsl(260 20% 6%);
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.accordion-item::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(1rem + 1px);
  background: linear-gradient(135deg, hsl(220 90% 55%), hsl(25 100% 50%), hsl(220 90% 55%));
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
  z-index: -1;
  opacity: 0.5;
}

/* FAQ accordion — simpler style */
.faq-accordion .accordion-item::before {
  opacity: 0.25;
}

.accordion-header {
  width: 100%;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  color: white;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.accordion-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accordion-icon.purple {
  background: hsl(220 90% 55% / 0.2);
  color: #60a5fa;
}

.accordion-icon.cyan {
  background: hsl(25 100% 50% / 0.2);
  color: #ff6b00;
}

.accordion-title-group {
  flex: 1;
  min-width: 0;
}

.accordion-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.accordion-title-row h3 {
  font-size: 1rem;
  font-weight: 600;
}

.tag {
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.tag.purple {
  background: hsl(220 90% 55% / 0.2);
  color: #60a5fa;
}

.tag.cyan {
  background: hsl(25 100% 50% / 0.2);
  color: #ff6b00;
}

.accordion-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}

.accordion-chevron {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
  max-height: 800px;
}

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

.accordion-body h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.accordion-body > p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

/* FAQ has simpler body */
.faq-accordion .accordion-body > p {
  margin-bottom: 0;
  line-height: 1.7;
}

.feature-points {
  display: grid;
  gap: 1rem;
}

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

.point {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
}

.point-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.point h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.point p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* ========================================
   Pricing (4-column)
   ======================================== */

/* Pricing Toggle Pills */
.pricing-toggle-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 3rem;
  background: hsl(260 20% 8%);
  border: 1px solid hsl(260 15% 18%);
  border-radius: 9999px;
  padding: 0.25rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.toggle-pill {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.toggle-pill:hover {
  color: rgba(255, 255, 255, 0.7);
}

.toggle-pill.active {
  background: hsl(260 15% 18%);
  color: white;
  font-weight: 600;
}

.toggle-badge {
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #2563eb, #ff6b00);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Pricing Grids */
.pricing-grid.pricing-three {
  max-width: 1100px;
}

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

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

.pricing-grid.pricing-lifetime {
  max-width: 520px;
}

/* Credits Box */
.pricing-credits-box {
  background: hsl(260 20% 10%);
  border: 1px solid hsl(260 15% 20%);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.credits-amount {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: white;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.credits-amount svg {
  color: #2563eb;
}

.credits-rate {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Billed annually label */
.pricing-billed {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: -1rem;
  margin-bottom: 1rem;
}

/* Save badge */
.pricing-save {
  font-size: 0.75rem;
  color: #22c55e;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Section labels in feature list */
.pricing-features li.section-label-li {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  padding-top: 0.75rem;
  padding-bottom: 0.25rem;
  border-top: 1px solid hsl(260 15% 15%);
  margin-top: 0.25rem;
}

.pricing-features li.section-label-li:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

/* Unlimited tag */
.tag-unlimited {
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: hsl(220 90% 55% / 0.15);
  color: #60a5fa;
  font-size: 0.65rem;
  font-weight: 600;
  margin-left: auto;
}

/* Legacy toggle (hidden) */
.pricing-toggle {
  display: none;
}

.toggle-label, .toggle-sep {
  display: none;
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  padding: 2.25rem 2rem;
  border-radius: 1.5rem;
  background: hsl(260 20% 6%);
  border: 2px solid hsl(260 15% 18%);
  display: flex;
  flex-direction: column;
}

.pricing-card .pricing-features {
  flex: 1;
}

.pricing-card > a {
  margin-top: auto;
}

.pricing-card.popular {
  border: 2px solid transparent;
  background:
    linear-gradient(hsl(260 20% 6%), hsl(260 20% 6%)) padding-box,
    linear-gradient(135deg, #2563eb, #ff6b00) border-box;
}

.pricing-card.lifetime {
  border-color: hsl(30 90% 50% / 0.4);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #2563eb, #ff6b00);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 2;
  white-space: nowrap;
}

.lifetime-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, hsl(30 90% 50%), hsl(25 100% 42%));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 2;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 1.5rem;
  min-height: 3.5rem;
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.pricing-header p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Ensure badges don't push content down — use consistent top padding */
.pricing-card.popular,
.pricing-card.lifetime {
  padding-top: 2.25rem;
}

.pricing-price {
  margin-bottom: 1.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.period {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 0.25rem;
}

.price-original {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: line-through;
  margin-right: 0.5rem;
  font-weight: 500;
}

.early-adopter-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, hsl(45 100% 55% / 0.2), hsl(30 100% 50% / 0.2));
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid hsl(45 100% 55% / 0.3);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.pricing-features {
  margin-bottom: 1.5rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.pricing-features li.included {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-features li.not-included {
  color: rgba(255, 255, 255, 0.3);
}

.pricing-features li svg {
  flex-shrink: 0;
}

.pricing-features li.included svg {
  color: #2563eb;
}

.pricing-features li.not-included svg {
  color: rgba(255, 255, 255, 0.2);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.trust-badge svg {
  color: #2563eb;
}

/* ========================================
   Reviews
   ======================================== */

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

.review-card {
  background: hsl(220 20% 10% / 0.6);
  border: 1px solid hsl(0 0% 100% / 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: hsl(0 0% 100% / 0.12);
}

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

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.review-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: hsl(0 0% 95%);
}

.review-role {
  font-size: 0.75rem;
  color: hsl(0 0% 50%);
}

.review-stars {
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  color: #fbbf24;
}

.review-stars .star-empty {
  color: hsl(0 0% 25%);
}

.review-stars .star-half {
  background: linear-gradient(90deg, #fbbf24 50%, hsl(0 0% 25%) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.review-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: hsl(0 0% 65%);
}

/* Responsive */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .review-card {
    padding: 1.25rem;
  }
}

/* ========================================
   Roadmap
   ======================================== */

.roadmap-month-label {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.roadmap-month-label span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #2563eb;
  white-space: nowrap;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: hsl(220 90% 55% / 0.1);
  border: 1px solid hsl(220 90% 55% / 0.25);
}

.roadmap-month-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, hsl(220 90% 55% / 0.3), transparent);
}

.roadmap-month-label.future {
  margin-top: 3rem;
}

.roadmap-month-label.future span {
  color: #ff6b00;
  background: hsl(25 100% 50% / 0.1);
  border-color: hsl(25 100% 50% / 0.2);
}

.roadmap-month-label.future::after {
  background: linear-gradient(to right, hsl(25 100% 50% / 0.2), transparent);
}

.roadmap-timeline {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roadmap-phase {
  display: flex;
  gap: 1.5rem;
}

.phase-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 24px;
}

.phase-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid hsl(222 15% 25%);
  background: hsl(260 20% 8%);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.phase-marker.active .phase-dot {
  border-color: #2563eb;
  background: #2563eb;
  box-shadow: 0 0 12px hsl(220 90% 55% / 0.5);
}

.phase-marker.upcoming .phase-dot {
  border-color: #ff6b00;
}

.phase-marker.mystery .phase-dot {
  border-color: hsl(220 90% 55% / 0.4);
  animation: pulse-mystery 2s ease-in-out infinite;
}

@keyframes pulse-mystery {
  0%, 100% { box-shadow: 0 0 0 0 hsl(220 90% 55% / 0.3); }
  50% { box-shadow: 0 0 12px 4px hsl(220 90% 55% / 0.2); }
}

.phase-line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, hsl(222 15% 25%), hsl(222 15% 15%));
}

.phase-marker.active .phase-line {
  background: linear-gradient(to bottom, #2563eb, hsl(222 15% 25%));
}

.phase-content {
  flex: 1;
  padding-bottom: 2.5rem;
}

.phase-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.phase-badge.live {
  background: hsl(30 90% 50% / 0.2);
  color: #4ade80;
  border: 1px solid hsl(30 90% 50% / 0.3);
}

.phase-badge.soon {
  background: hsl(25 100% 50% / 0.1);
  color: #ff6b00;
  border: 1px solid hsl(25 100% 50% / 0.2);
}

.phase-badge.mystery-badge {
  background: hsl(220 90% 55% / 0.15);
  color: #60a5fa;
  border: 1px solid hsl(220 90% 55% / 0.25);
}

.phase-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.phase-content > p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.phase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.phase-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  background: hsl(260 20% 10%);
  border: 1px solid hsl(260 15% 20%);
  color: rgba(255, 255, 255, 0.6);
}

/* DAW Grid */
.daw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

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

.daw-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: hsl(260 20% 8%);
  border: 1px solid hsl(260 15% 20%);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.daw-chip:hover {
  border-color: hsl(25 100% 50% / 0.3);
  background: hsl(260 20% 10%);
}

.daw-icon {
  font-size: 1.25rem;
}

/* Mystery Grid */
.mystery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

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

.mystery-card {
  padding: 1.25rem;
  border-radius: 1rem;
  background: hsl(260 20% 7%);
  border: 1px solid hsl(260 15% 18% / 0.5);
  transition: all 0.4s ease;
}

.mystery-card:hover {
  border-color: hsl(220 90% 55% / 0.3);
  transform: translateY(-2px);
}

.mystery-card.locked {
  opacity: 0.6;
}

.mystery-card.blurred {
  opacity: 0.35;
}

.mystery-card.blurred h4,
.mystery-card.blurred p {
  filter: blur(2px);
}

.mystery-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: hsl(220 90% 55% / 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 0.75rem;
}

.mystery-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.mystery-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

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

.newsletter-section {
  padding-bottom: 3rem;
}

.newsletter-card {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 384px;
  height: 384px;
  background: hsl(220 90% 48% / 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

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

.newsletter-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: linear-gradient(135deg, hsl(220 90% 55% / 0.2), hsl(25 100% 50% / 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin: 0 auto 1.5rem;
}

.newsletter-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.newsletter-content > p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1rem;
}

.newsletter-note a {
  color: #60a5fa;
}

.newsletter-note a:hover {
  text-decoration: underline;
}

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

.footer {
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid hsl(260 15% 15% / 0.5);
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

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

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.375rem 0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(260 15% 15% / 0.5);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

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

.footer-meta a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.footer-meta a:hover {
  color: white;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-status 2s infinite;
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Custom Scrollbar
   ======================================== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: hsl(222 20% 4%);
}

::-webkit-scrollbar-thumb {
  background: hsl(220 90% 55% / 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(220 90% 55% / 0.5);
}

/* ========================================
   Auth Pages (Login / Sign Up)
   ======================================== */

.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-nav .nav-container {
  justify-content: space-between;
}

.auth-back-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.auth-back-link:hover {
  color: white;
}

.auth-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 1.5rem 3rem;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.auth-card {
  width: 100%;
  background: hsl(222 15% 8% / 0.8);
  border: 1px solid hsl(222 15% 18%);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  background: hsl(222 15% 12%);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 1.75rem;
}

.auth-tab {
  flex: 1;
  padding: 0.625rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-tab.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
}

.auth-tab:hover:not(.active) {
  color: rgba(255, 255, 255, 0.8);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.form-link {
  font-size: 0.75rem;
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.form-link:hover {
  color: #93bbfd;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid hsl(222 15% 25%);
  background: hsl(222 15% 12%);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px hsl(220 90% 55% / 0.2);
}

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

/* Auth Buttons */
.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary {
  background: hsl(222 15% 15%);
  border: 1px solid hsl(222 15% 25%);
  color: white;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: hsl(222 15% 20%);
  border-color: hsl(222 15% 35%);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-xs {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 0.375rem 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.btn-ghost:hover {
  color: white;
  background: hsl(222 15% 15%);
}

/* Auth Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: hsl(222 15% 20%);
}

.auth-divider span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Auth Messages */
.auth-message {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.auth-message.error {
  background: hsl(0 80% 50% / 0.12);
  border: 1px solid hsl(0 80% 50% / 0.25);
  color: #f87171;
}

.auth-message.success {
  background: hsl(140 60% 40% / 0.12);
  border: 1px solid hsl(140 60% 40% / 0.25);
  color: #4ade80;
}

/* Auth Footer */
.auth-footer-text {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

.auth-footer-text a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

.spinner-lg {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ========================================
   Dashboard
   ======================================== */

.dashboard-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.dashboard-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 1.5rem 3rem;
  width: 100%;
}

.dashboard-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
}

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

.dashboard-card {
  background: hsl(222 15% 8% / 0.8);
  border: 1px solid hsl(222 15% 18%);
  border-radius: 16px;
  padding: 1.75rem;
  backdrop-filter: blur(20px);
}

.dashboard-card-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.dashboard-card-header h2 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin: 0;
}

.dashboard-card-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Plan Info */
.plan-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
}

.plan-free { background: hsl(222 15% 20%); color: rgba(255, 255, 255, 0.6); }
.plan-starter { background: hsl(220 80% 55% / 0.2); color: #60a5fa; border: 1px solid hsl(220 80% 55% / 0.3); }
.plan-pro { background: hsl(270 80% 55% / 0.2); color: #a78bfa; border: 1px solid hsl(270 80% 55% / 0.3); }
.plan-studio { background: hsl(25 95% 55% / 0.2); color: #fb923c; border: 1px solid hsl(25 95% 55% / 0.3); }
.plan-lifetime { background: linear-gradient(135deg, hsl(220 90% 55% / 0.2), hsl(25 95% 55% / 0.2)); color: #fbbf24; border: 1px solid hsl(45 90% 55% / 0.3); }

.plan-status, .plan-billing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.status-label {
  color: rgba(255, 255, 255, 0.45);
}

.status-value {
  color: rgba(255, 255, 255, 0.8);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: inline-block;
}

.status-dot.active {
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

.status-dot.canceled {
  background: #f87171;
}

.plan-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Bridge Download */
.bridge-download {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.bridge-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* API Key */
.api-key-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.api-key-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: hsl(222 15% 6%);
  border: 1px solid hsl(222 15% 18%);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.api-key-display code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.copy-btn:hover {
  color: white;
  background: hsl(222 15% 15%);
}

.api-key-actions {
  display: flex;
  gap: 0.5rem;
}

/* Account */
.account-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.account-label {
  color: rgba(255, 255, 255, 0.45);
}

.account-value {
  color: rgba(255, 255, 255, 0.8);
}

.account-actions {
  display: flex;
  gap: 0.75rem;
}

/* Nav user email */
.nav-user-email {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========================================
   Auth/Dashboard Responsive
   ======================================== */

@media (max-width: 768px) {
  .auth-card {
    padding: 1.75rem;
    border-radius: 16px;
  }

  .auth-container {
    padding: 100px 1rem 2rem;
  }

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

  .dashboard-container {
    padding: 100px 1rem 2rem;
  }

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

  .nav-user-email {
    display: none;
  }
}
