/* -------------------------------------------------------------------------- */
/*                                 Variables                                  */
/* -------------------------------------------------------------------------- */
:root {
  /* Palette - Enhanced with richer colors */
  --bg-body: #030304;
  --bg-surface: #0d0d0f;
  --bg-surface-hover: #161618;
  --bg-glass: rgba(15, 15, 18, 0.8);
  --bg-elevated: #1a1a1d;
  
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-tertiary: #ec4899;
  --accent-glow: rgba(99, 102, 241, 0.4);
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --accent-gradient-subtle: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
  
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-active: rgba(99, 102, 241, 0.5);
  
  /* Spacing & Layout */
  --max-width: 1200px;
  --nav-height: 72px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Fira Code", Consolas, monospace;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

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

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
  letter-spacing: -0.011em;
}

/* Background noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 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");
  opacity: 0.02;
  pointer-events: none;
  z-index: -1;
}

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

button, input { 
  font-family: inherit; 
  border: none; 
  outline: none; 
  background: none;
}

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

code {
  background: var(--bg-surface);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-primary);
  border: 1px solid var(--border-color);
}

/* -------------------------------------------------------------------------- */
/*                                 Components                                 */
/* -------------------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.btn-primary {
  background: linear-gradient(180deg, #fff 0%, #e5e5e7 100%);
  color: #000;
  box-shadow: 
    0 0 0 1px rgba(255,255,255,0.2),
    0 2px 4px rgba(0,0,0,0.1),
    var(--shadow-md),
    0 0 40px rgba(255, 255, 255, 0.1);
  position: relative;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 0 0 1px rgba(255,255,255,0.3),
    0 4px 8px rgba(0,0,0,0.2),
    0 20px 40px rgba(0,0,0,0.3),
    0 0 80px rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 20px;
  position: relative;
  transition: all var(--transition-base);
}

.icon-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: var(--accent-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.icon-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: var(--accent-gradient);
  opacity: 0;
  filter: blur(20px);
  transition: opacity var(--transition-base);
  z-index: -1;
}

.bento-card:hover .icon-box::before,
.step-card:hover .icon-box::before,
.feature-content:hover .icon-box::before {
  opacity: 1;
}

.bento-card:hover .icon-box::after,
.step-card:hover .icon-box::after {
  opacity: 0.3;
}

.bento-card:hover .icon-box,
.step-card:hover .icon-box {
  transform: scale(1.1);
}

.icon-box svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
  transition: transform var(--transition-base);
}

.bento-card:hover .icon-box svg,
.step-card:hover .icon-box svg {
  transform: scale(1.1);
}

/* -------------------------------------------------------------------------- */
/*                                 Navigation                                 */
/* -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(3, 3, 4, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.03em;
  transition: opacity var(--transition-fast);
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.nav-beta-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  color: #fff;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 1px;
  transition: width var(--transition-base);
}

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

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

.nav-cta {
  background: var(--text-primary);
  color: #000;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* -------------------------------------------------------------------------- */
/*                                    Hero                                    */
/* -------------------------------------------------------------------------- */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Floating Orbs Background */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
  top: 200px;
  right: -100px;
  animation-delay: -7s;
  animation-duration: 25s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
  bottom: 50px;
  left: 20%;
  animation-delay: -14s;
  animation-duration: 22s;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -40px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(40px, 30px) scale(1.02);
  }
}

/* Ambient Glow - Multiple layers */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 900px;
  background: 
    radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.12) 0%, transparent 55%);
  pointer-events: none;
  z-index: -1;
  filter: blur(100px);
  animation: heroGlow 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.7; transform: translateX(-50%) scale(1) rotate(0deg); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1) rotate(2deg); }
  100% { opacity: 0.8; transform: translateX(-50%) scale(1.05) rotate(-2deg); }
}

/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  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: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  background: linear-gradient(180deg, #fff 0%, #fff 40%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 21px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 48px;
}

/* Feature Ticker */
.feature-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  padding: 20px 0;
  background: linear-gradient(180deg, transparent, rgba(3, 3, 4, 0.9));
  border-top: 1px solid var(--border-color);
}

.ticker-track {
  display: flex;
  gap: 48px;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.ticker-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

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

/* Installation Note */
.install-note {
  max-width: 540px;
  margin: 0 auto 72px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: left;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.04);
}

.note-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.note-header svg {
  color: #fbbf24;
  flex-shrink: 0;
}

.command-box {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 4px;
  padding-left: 14px;
}

.command-box code {
  flex: 1;
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: var(--text-primary);
  overflow-x: auto;
  white-space: nowrap;
  margin-right: 8px;
  /* Hide scrollbar */
  scrollbar-width: none; 
  -ms-overflow-style: none;
}

.command-box code::-webkit-scrollbar { 
  display: none; 
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: rgba(255, 255, 255, 0.05);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  transform: scale(1.05);
}

.copy-btn.copied {
  color: #34d399;
  background: rgba(52, 211, 153, 0.15);
}

.license-reminder {
  margin-top: 18px;
}

.license-reminder a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-sm);
  color: #a5b4fc;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-base);
  text-decoration: none;
}

.license-reminder a strong {
  color: #c7d2fe;
}

.license-reminder a:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.12));
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}

/* App Window / Interface Visualization */
.app-window {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 16px;
  background: linear-gradient(180deg, #1e1e20, #141416);
  box-shadow: 
    0 0 0 1px rgba(255,255,255,0.08),
    0 2px 4px rgba(0,0,0,0.3),
    0 8px 16px rgba(0,0,0,0.3),
    0 24px 48px rgba(0,0,0,0.4),
    0 48px 96px rgba(0,0,0,0.3),
    0 0 120px rgba(99, 102, 241, 0.15),
    0 0 200px rgba(139, 92, 246, 0.1);
  overflow: hidden;
  transform: perspective(2000px) rotateX(4deg);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  animation: appWindowFloat 6s ease-in-out infinite;
}

@keyframes appWindowFloat {
  0%, 100% { transform: perspective(2000px) rotateX(4deg) translateY(0); }
  50% { transform: perspective(2000px) rotateX(3deg) translateY(-8px); }
}

.app-window:hover {
  transform: perspective(2000px) rotateX(0deg) translateY(-10px);
  box-shadow: 
    0 0 0 1px rgba(255,255,255,0.12),
    0 4px 8px rgba(0,0,0,0.3),
    0 16px 32px rgba(0,0,0,0.3),
    0 32px 64px rgba(0,0,0,0.4),
    0 64px 128px rgba(0,0,0,0.3),
    0 0 160px rgba(99, 102, 241, 0.2),
    0 0 280px rgba(139, 92, 246, 0.15);
  animation: none;
}

/* Shine effect on app window */
.app-window::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.03) 55%,
    transparent 60%
  );
  transform: rotate(45deg);
  animation: windowShine 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes windowShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  50%, 100% { transform: translateX(100%) rotate(45deg); }
}

.window-header {
  height: 48px;
  background: linear-gradient(180deg, #3a3a3c, #2c2c2e);
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid rgba(0,0,0,0.5);
  position: relative;
}

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

.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
}

.control { 
  width: 12px; 
  height: 12px; 
  border-radius: 50%;
  transition: all var(--transition-fast);
  cursor: pointer;
}
.control:hover { transform: scale(1.15); }
.control.red { background: linear-gradient(180deg, #ff6259, #ff5047); box-shadow: 0 0 8px rgba(255, 95, 87, 0.5); }
.control.yellow { background: linear-gradient(180deg, #ffc130, #febc2e); box-shadow: 0 0 8px rgba(254, 188, 46, 0.5); }
.control.green { background: linear-gradient(180deg, #2dd23d, #28c840); box-shadow: 0 0 8px rgba(40, 200, 64, 0.5); }

.window-content {
  position: relative;
  /* Aspect ratio for 2196x1590 is approx 1.38:1 */
  aspect-ratio: 2196 / 1590;
  background: linear-gradient(180deg, #121214, #0a0a0c);
}

.window-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

/* Fallback UI (CSS-drawn app interface) */
.fallback-ui {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.fallback-body {
  display: flex;
  flex: 1;
}

.sidebar {
  width: 220px;
  background: linear-gradient(180deg, #141416, #0f0f11);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 16px;
}

.sidebar-header {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  margin-bottom: 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sidebar-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.sidebar-item.active {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
}

.sidebar-divider {
  height: 1px;
  background: var(--border-color);
  margin: 16px 0;
}

.sidebar-line {
  height: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border-radius: 6px;
  margin-bottom: 14px;
}

.main-area {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, #0c0c0e, #080809);
}

.main-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  width: fit-content;
}

.main-tabs .tab {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.main-tabs .tab.active {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
}

.chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
}

.chat-bubble {
  display: flex;
  gap: 10px;
  max-width: 80%;
  animation: bubbleFade 0.5s ease-out;
}

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

.chat-bubble.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.bubble-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.bubble-text {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.chat-bubble.user .bubble-text {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
}

.bubble-text.typing .dots {
  animation: typingDots 1.5s infinite;
}

@keyframes typingDots {
  0%, 20% { opacity: 0.3; }
  40% { opacity: 1; }
  60%, 100% { opacity: 0.3; }
}

.content-block {
  height: 110px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
}

/* -------------------------------------------------------------------------- */
/*                               License Section                              */
/* -------------------------------------------------------------------------- */
.license-section {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  margin-bottom: 140px;
}

.license-card {
  background: linear-gradient(180deg, rgba(25, 25, 30, 0.95), rgba(15, 15, 20, 0.98));
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 
    0 0 0 1px rgba(255,255,255,0.03),
    0 4px 8px rgba(0,0,0,0.2),
    0 16px 32px rgba(0,0,0,0.3),
    var(--shadow-lg),
    0 0 100px rgba(99, 102, 241, 0.1),
    0 0 200px rgba(139, 92, 246, 0.05);
  position: relative;
  overflow: hidden;
}

.license-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.license-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.license-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  position: relative;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.license-input {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px 18px;
  color: #fff;
  font-size: 15px;
  transition: all var(--transition-base);
}

.license-input::placeholder {
  color: var(--text-tertiary);
}

.license-input:focus {
  border-color: var(--accent-primary);
  background: rgba(0,0,0,0.5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.license-btn {
  width: 100%;
  background: var(--accent-gradient);
  color: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.license-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

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

.license-output {
  margin-top: 28px;
  min-height: 70px;
  padding: 20px;
  background: rgba(0,0,0,0.25);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
}

.license-key {
  font-family: var(--font-mono);
  color: #a5b4fc;
  font-size: 18px;
  margin-top: 8px;
  word-break: break-all;
}

/* -------------------------------------------------------------------------- */
/*                                  Features                                  */
/* -------------------------------------------------------------------------- */
.section-title {
  text-align: center;
  margin-bottom: 100px;
  position: relative;
}

.section-title::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 19px;
  max-width: 500px;
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 140px;
}

.feature-block.reversed {
  direction: rtl;
}

.feature-block.reversed .feature-content {
  direction: ltr;
}

.feature-content h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 15px;
}

.feature-list li svg {
  color: var(--accent-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.feature-visual {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-surface-hover) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
}

.feature-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient-subtle);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.feature-visual:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.feature-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-smooth);
}

.feature-visual:hover img {
  transform: scale(1.03) translateY(-8px);
}

/* -------------------------------------------------------------------------- */
/*                                 Steps                                      */
/* -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 140px;
  position: relative;
}

/* Connecting line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-color), var(--border-color), transparent);
  z-index: 0;
}

.step-card {
  background: linear-gradient(180deg, var(--bg-surface), var(--bg-body));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  transition: all var(--transition-base);
  z-index: 1;
}

.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.step-number {
  font-size: 64px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.15), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.step-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  margin-top: 12px;
  letter-spacing: -0.02em;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* -------------------------------------------------------------------------- */
/*                                 Bento Grid                                 */
/* -------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 140px;
}

.bento-card {
  background: linear-gradient(180deg, var(--bg-surface), rgba(13, 13, 15, 0.5));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient-subtle);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

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

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

.bento-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  position: relative;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  position: relative;
}

.bento-card .icon-box {
  position: relative;
}

/* -------------------------------------------------------------------------- */
/*                             Beta Community                                 */
/* -------------------------------------------------------------------------- */
.beta-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.beta-card {
  background: linear-gradient(180deg, var(--bg-surface), rgba(13, 13, 15, 0.5));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.beta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient-subtle);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.beta-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

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

.beta-card.featured {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), rgba(13, 13, 15, 0.5));
}

.beta-card.featured::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--accent-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.beta-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 1;
}

.beta-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.beta-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-primary);
}

.beta-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  position: relative;
}

.beta-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  position: relative;
}

/* Social Proof Bar */
.social-proof-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 32px 40px;
  background: linear-gradient(180deg, var(--bg-surface), rgba(13, 13, 15, 0.5));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.proof-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
}

/* -------------------------------------------------------------------------- */
/*                                  Roadmap                                   */
/* -------------------------------------------------------------------------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.roadmap-item {
  background: linear-gradient(180deg, var(--bg-surface), rgba(13, 13, 15, 0.5));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.roadmap-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--border-color);
  transition: background var(--transition-base);
}

.roadmap-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.roadmap-item:hover::before {
  background: var(--accent-gradient);
}

.roadmap-status {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.roadmap-status.in-progress {
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.roadmap-status.planned {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.roadmap-status.exploring {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.roadmap-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.roadmap-item p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.roadmap-eta {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* Feature Request Box */
.feature-request-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 36px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-xl);
}

.feature-request-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.feature-request-content svg {
  width: 40px;
  height: 40px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.feature-request-content h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-request-content p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

/* Newsletter Section */
.newsletter-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(180deg, var(--bg-surface), rgba(13, 13, 15, 0.5));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.newsletter-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient-subtle);
  opacity: 0.5;
  pointer-events: none;
}

.newsletter-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.newsletter-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.newsletter-icon svg {
  width: 24px;
  height: 24px;
}

.newsletter-content h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.newsletter-content p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-group {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.newsletter-form input:focus {
  border-color: var(--accent-primary);
  background: rgba(0, 0, 0, 0.4);
}

.status-message {
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
  margin-top: 8px;
}

.status-message.success {
  color: #10b981;
}

.status-message.error {
  color: #ef4444;
}

@media (max-width: 600px) {
  .input-group {
    flex-direction: column;
  }
}

/* -------------------------------------------------------------------------- */
/*                                Testimonials                                */
/* -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 140px;
}

.testimonial-card {
  background: linear-gradient(180deg, var(--bg-surface), rgba(13, 13, 15, 0.5));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: all var(--transition-base);
}

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

.testimonial-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}

.author-info h5 {
  font-size: 15px;
  font-weight: 600;
}

.author-info span {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* -------------------------------------------------------------------------- */
/*                                     FAQ                                    */
/* -------------------------------------------------------------------------- */
.faq-container {
  max-width: 800px;
  margin: 0 auto 140px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(180deg, var(--bg-surface), rgba(13, 13, 15, 0.5));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.active {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.08);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  padding: 24px 28px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-icon {
  transition: transform var(--transition-base);
  color: var(--text-tertiary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.faq-answer p {
  padding: 0 28px 24px;
}

/* -------------------------------------------------------------------------- */
/*                                 Bottom CTA                                 */
/* -------------------------------------------------------------------------- */
.cta-section {
  text-align: center;
  padding: 140px 32px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  animation: ctaGlow 8s ease-in-out infinite;
}

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

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.cta-section p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* -------------------------------------------------------------------------- */
/*                                   Footer                                   */
/* -------------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--border-color);
  padding: 100px 0 48px;
  background: linear-gradient(180deg, var(--bg-body), #000);
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-brand h5 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: 15px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-links h6 {
  color: var(--text-primary);
  font-size: 13px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 15px;
  transition: color var(--transition-fast);
}

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

.footer-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-badges a {
  display: block;
  transition: all var(--transition-base);
  opacity: 0.7;
}

.footer-badges a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-badges img {
  height: 44px;
  width: auto;
  display: block;
}

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

@media (max-width: 900px) {
  .feature-block, .feature-block.reversed {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
    gap: 48px;
  }
  
  .feature-content {
    order: 1;
  }
  
  .feature-visual {
    order: 2;
  }
  
  .feature-list li {
    justify-content: center;
  }
  
  .bento-grid, .steps-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-card.span-2 {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
  
  .hero {
    padding-top: 140px;
    padding-bottom: 80px;
  }
  
  .hero h1 { 
    font-size: 38px;
    letter-spacing: -0.03em;
  }
  
  .hero p {
    font-size: 17px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .nav-links { 
    display: none; 
  }
  
  .license-form { 
    flex-direction: column;
  }
  
  .license-card {
    padding: 32px 24px;
  }
  
  .section-title h2 {
    font-size: 32px;
  }
  
  .cta-section h2 {
    font-size: 32px;
  }
  
  .feature-visual {
    padding: 24px;
  }
  
  .step-card, .bento-card {
    padding: 28px;
  }
  
  .faq-question {
    padding: 20px;
    font-size: 16px;
  }
  
  .faq-answer p {
    padding: 0 20px 20px;
  }
}

/* Animation Utilities */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.35s; }

/* Selection styling */
::selection {
  background: rgba(99, 102, 241, 0.3);
  color: #fff;
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------- */
/*                           NEW ENHANCED STYLES                              */
/* -------------------------------------------------------------------------- */

/* Hero Gradient Text */
.hero-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animated Badge */
.badge.pulse-glow {
  animation: badgePulse 3s ease-in-out infinite;
  position: relative;
}

.badge-text {
  position: relative;
}

.badge-live {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px #34d399;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.1); }
  50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.25); }
}

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

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--border-color), transparent);
}

/* Feature Glow Effect */
.feature-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.feature-visual:hover .feature-glow {
  opacity: 1;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: linear-gradient(180deg, var(--bg-surface), rgba(13, 13, 15, 0.5));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

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

.testimonial-card.featured {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), rgba(13, 13, 15, 0.8));
  border-color: rgba(99, 102, 241, 0.2);
}

.testimonial-card.featured::before {
  opacity: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 16px;
}

.author-info h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Enhanced CTA Section */
.cta-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #6ee7b7;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

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

.cta-note {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-top: 0;
  margin-bottom: 0;
}

/* Responsive for new elements */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .beta-features-grid {
    grid-template-columns: 1fr;
  }
  
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-request-box {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .feature-request-content {
    flex-direction: column;
    text-align: center;
  }
  
  .social-proof-bar {
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px;
  }
  
  .stats-row {
    gap: 20px;
  }
  
  .stat-divider {
    display: none;
  }
}

@media (max-width: 600px) {
  .stats-row {
    gap: 24px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .social-proof-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .beta-card {
    padding: 32px 24px;
  }
  
  .roadmap-item {
    padding: 24px;
  }
  
  .feature-request-box {
    padding: 24px;
  }
}

/* Button ripple effect */
.btn {
  position: relative;
  overflow: hidden;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Stat pop animation */
@keyframes statPop {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Gradient text animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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