/* AstraCipher — Award-Winning Dark Theme
   Deep space aesthetic with aurora gradients, grain texture, glassmorphism
   Inspired by: Linear, Stripe, Vercel, Awwwards 2025-2026 winners */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- @property for Gradient Animation ---- */
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  /* Deep space backgrounds — NOT pure black */
  --bg-deepest: #06060e;
  --bg-deep: #0a0a1a;
  --bg-base: #0d0d22;
  --bg-elevated: #12122b;
  --bg-surface: #1a1a3e;
  --bg-subtle: rgba(255,255,255,0.04);

  /* Text */
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-accent: #a78bfa;

  /* Accent gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
  --gradient-secondary: linear-gradient(135deg, #06b6d4, #3b82f6, #6366f1);
  --gradient-accent: linear-gradient(135deg, #f43f5e, #ec4899, #a855f7);
  --gradient-spectrum: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4, #a78bfa);
  --gradient-text: linear-gradient(135deg, #818cf8, #a78bfa, #c084fc);

  /* Functional */
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.1);
  --green-glow: rgba(52, 211, 153, 0.15);
  --red: #f87171;
  --red-soft: rgba(248, 113, 113, 0.1);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.1);

  /* Borders & shadows */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(99, 102, 241, 0.2);
  --glow-primary: rgba(99, 102, 241, 0.15);
  --glow-cyan: rgba(6, 182, 212, 0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);

  /* Radius */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-full: 100px;

  /* Fonts */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;

  /* Fluid type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-hero: clamp(3rem, 2rem + 5vw, 5rem);
}

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

body {
  font-family: var(--font);
  background: var(--bg-deepest);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--text-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* ---- Grid Background Layer ---- */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 60% 50% at 50% 50%,
    black 30%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 60% 50% at 50% 50%,
    black 30%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* ---- Grain Texture Overlay ---- */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

/* ---- Cursor Spotlight ---- */
.spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(99, 102, 241, 0.04),
    transparent 60%
  );
  transition: background 0.15s ease;
}

/* ---- Animated Aurora Blobs ---- */
.aurora-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  will-change: transform;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  top: -15%;
  right: -5%;
  animation: blob-morph 20s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite alternate;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  bottom: -10%;
  left: -5%;
  animation: blob-morph 25s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite alternate-reverse;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: blob-morph 30s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite alternate;
  opacity: 0.12;
}

@keyframes blob-morph {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 60% 40% 30% 70% / 100% 85% 92% 74%;
  }
  33% {
    transform: translate(50px, -30px) scale(1.1);
    border-radius: 70% 30% 50% 50% / 30% 70% 70% 30%;
  }
  66% {
    transform: translate(-30px, 50px) scale(0.95);
    border-radius: 40% 60% 70% 30% / 50% 60% 30% 60%;
  }
  100% {
    transform: translate(20px, 20px) scale(1.05);
    border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
  }
}

/* ---- CSS Particles ---- */
.particles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(99, 102, 241, 0.4);
  animation: float-up var(--duration, 15s) var(--delay, 0s) linear infinite;
}

.particle:nth-child(1) { left: 8%; --duration: 18s; --delay: 0s; }
.particle:nth-child(2) { left: 18%; --duration: 22s; --delay: 3s; }
.particle:nth-child(3) { left: 33%; --duration: 16s; --delay: 6s; }
.particle:nth-child(4) { left: 48%; --duration: 20s; --delay: 1s; }
.particle:nth-child(5) { left: 62%; --duration: 24s; --delay: 4s; }
.particle:nth-child(6) { left: 78%; --duration: 17s; --delay: 7s; }
.particle:nth-child(7) { left: 92%; --duration: 21s; --delay: 2s; }

@keyframes float-up {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
    transform: translateY(90vh) translateX(10px) scale(1);
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-10vh) translateX(-10px) scale(0.5);
    opacity: 0;
  }
}

/* ---- Scroll Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  animation: revealUp 0.6s ease both;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
.reveal-delay-1 { animation-delay: 80ms; }
.reveal-delay-2 { animation-delay: 160ms; }
.reveal-delay-3 { animation-delay: 240ms; }

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  animation: revealScale 0.6s ease both;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

@keyframes revealScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@supports not (animation-timeline: view()) {
  .reveal, .reveal-scale {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
  .blob, .particle { display: none; }
}

/* ---- Navigation ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6, 6, 14, 0.6);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(6, 6, 14, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo { width: 34px; height: 34px; border-radius: 8px; object-fit: contain; }
.nav-name {
  font-weight: 800; font-size: 18px; color: var(--text-primary);
  letter-spacing: -0.5px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-tertiary); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); text-decoration: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; text-decoration: none !important;
  transition: all 0.25s ease; cursor: pointer; border: none;
  letter-spacing: -0.1px; position: relative;
}
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-primary {
  background: var(--gradient-primary); color: white;
  box-shadow: 0 2px 20px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}
.btn-outline {
  border: 1.5px solid var(--border-hover); color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}
.btn-outline:hover {
  border-color: rgba(99, 102, 241, 0.5); color: white;
  transform: translateY(-1px);
  background: rgba(99, 102, 241, 0.06);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  text-align: center;
  padding: 160px 24px 100px;
  overflow: hidden;
  z-index: 2;
}

/* Radial light behind hero */
.hero::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  top: -200px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Perspective grid floor */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 300px;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-overline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: var(--radius-full);
  background: var(--green-soft); color: var(--green);
  font-size: 13px; font-weight: 600; margin-bottom: 28px;
  border: 1px solid rgba(52, 211, 153, 0.15);
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -3px;
  color: white;
}

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

/* Animated shimmer on hero heading */
.shimmer-text {
  --bg-size: 400%;
  background: linear-gradient(
    110deg,
    #e2e8f0 0%,
    #a78bfa 20%,
    #818cf8 40%,
    #06b6d4 60%,
    #a78bfa 80%,
    #e2e8f0 100%
  );
  background-size: var(--bg-size) 100%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex; gap: 12px; justify-content: center;
  margin-bottom: 36px; flex-wrap: wrap;
}

.hero-install {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 12px 20px; border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}
.hero-install code { font-family: var(--font-mono); font-size: 14px; color: var(--text-accent); }
.hero-install button {
  background: none; border: none; color: var(--text-tertiary);
  cursor: pointer; padding: 4px; transition: color 0.2s;
}
.hero-install button:hover { color: var(--text-accent); }

/* ---- Trust Bar ---- */
.trust {
  position: relative; z-index: 2;
  text-align: center; padding: 48px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust p {
  font-size: 11px; text-transform: uppercase; letter-spacing: 3px;
  color: var(--text-tertiary); margin-bottom: 18px; font-weight: 600;
}
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.trust-logos span {
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  padding: 8px 18px; border: 1px solid var(--border);
  border-radius: var(--radius-full); transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}
.trust-logos span:hover {
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--text-accent);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
  background: rgba(99, 102, 241, 0.05);
}

/* ---- Sections ---- */
.section {
  position: relative; z-index: 2;
  padding: 100px 24px;
}
.section-alt {
  background: var(--bg-deep);
}

.section-title {
  font-size: clamp(30px, 4vw, 42px); font-weight: 900;
  text-align: center; margin-bottom: 14px; letter-spacing: -1.5px;
  color: white;
}

.section-subtitle {
  font-size: 17px; color: var(--text-secondary); text-align: center;
  margin-bottom: 56px; max-width: 560px; margin-left: auto; margin-right: auto;
  line-height: 1.7;
}

.section-label {
  font-size: 13px; text-transform: uppercase; letter-spacing: 2px;
  font-weight: 700; margin-bottom: 10px; display: inline-block;
  padding: 4px 12px; border-radius: var(--radius-full);
}
.section-label-red { background: var(--red-soft); color: var(--red); }
.section-label-green { background: var(--green-soft); color: var(--green); }

/* ---- Problem / Solution Split ---- */
.split-screen {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 1080px; margin: 0 auto;
}

/* Glass card */
.split-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 40px;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}
.split-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.split-card h3 {
  font-size: 22px; margin-bottom: 16px; letter-spacing: -0.3px;
  font-weight: 800; color: white;
}
.split-card p { color: var(--text-secondary); margin-bottom: 20px; font-size: 15px; line-height: 1.7; }
.split-card ul { list-style: none; }
.split-card li {
  padding: 10px 0; padding-left: 32px; position: relative;
  color: var(--text-secondary); font-size: 15px; line-height: 1.6;
}
.problem-list li::before {
  content: '✕'; position: absolute; left: 0;
  color: var(--red); font-weight: 700; font-size: 14px;
}
.solution-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--green); font-weight: 700; font-size: 14px;
}

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

.bento-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border);
  padding: 32px; border-radius: 20px;
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}

/* Gradient glow border on hover */
.bento-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), transparent 40%, transparent 60%, rgba(6, 182, 212, 0.3));
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}
.bento-card:hover::before { opacity: 1; }

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

.bento-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.15);
}
.bento-card h3 {
  font-size: 18px; margin-bottom: 10px; font-weight: 700;
  letter-spacing: -0.2px; color: white;
}
.bento-card p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}
.bento-card .tag {
  display: inline-block; margin-top: 14px; padding: 4px 12px;
  border-radius: var(--radius-full); font-size: 11px; font-weight: 600;
  letter-spacing: 0.3px;
}
.tag-free { background: var(--green-soft); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.15); }
.tag-pro { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(251, 191, 36, 0.15); }

/* ---- Code Demo ---- */
.code-demo {
  max-width: 780px; margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.code-tabs {
  display: flex; border-bottom: 1px solid var(--border);
  padding: 0 8px; background: rgba(255, 255, 255, 0.02);
}
.code-tab {
  padding: 12px 20px; font-size: 13px; font-weight: 600;
  color: var(--text-tertiary); background: none; border: none;
  cursor: pointer; border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.code-tab:hover { color: var(--text-secondary); }
.code-tab.active { color: var(--text-accent); border-bottom-color: #6366f1; }
.code-block {
  padding: 24px; overflow-x: auto;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.8;
  background: rgba(0, 0, 0, 0.3); color: var(--text-primary);
}
.code-block .kw { color: #c792ea; }
.code-block .str { color: #c3e88d; }
.code-block .cm { color: #546e7a; }
.code-block .num { color: #f78c6c; }

/* ---- Integrations Grid ---- */
.integrations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.integration-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--border);
  padding: 32px; border-radius: var(--radius);
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.integration-card::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
  top: calc(var(--y, 0) * 1px - 100px);
  left: calc(var(--x, 0) * 1px - 100px);
  pointer-events: none;
}
.integration-card:hover::after { opacity: 1; }
.integration-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.integration-card h3 { font-size: 18px; margin-bottom: 10px; font-weight: 700; letter-spacing: -0.2px; color: white; }
.integration-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; }
.integration-card code {
  display: block; font-family: var(--font-mono); font-size: 13px;
  color: var(--text-accent); background: rgba(99, 102, 241, 0.08);
  padding: 10px 14px; border-radius: var(--radius-xs);
  white-space: nowrap; overflow-x: auto;
  border: 1px solid rgba(99, 102, 241, 0.12);
}

/* ---- Pricing Section ---- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1080px; margin: 0 auto;
}

.pricing-split {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 860px; margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--border);
  padding: 36px 32px; border-radius: 20px;
  transition: all 0.3s ease;
  display: flex; flex-direction: column;
  position: relative;
  backdrop-filter: blur(8px);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--border-hover);
}
.pricing-card.featured {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.04) 100%);
}
.pricing-card.featured::before {
  content: 'Recommended';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-primary); color: white;
  padding: 4px 16px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700;
}
.pricing-tier {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-accent); margin-bottom: 8px;
}
.pricing-price {
  font-size: 36px; font-weight: 900; letter-spacing: -1px; color: white;
  margin-bottom: 4px;
}
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--text-tertiary); }
.pricing-desc {
  font-size: 14px; color: var(--text-secondary); margin-bottom: 24px;
  line-height: 1.6; padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.pricing-features { list-style: none; flex: 1; margin-bottom: 28px; }
.pricing-features li {
  padding: 8px 0; padding-left: 28px; position: relative;
  font-size: 14px; color: var(--text-secondary);
}
.pricing-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--green); font-weight: 700;
}
.pricing-btn {
  display: block; text-align: center; padding: 12px 24px;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  text-decoration: none !important; transition: all 0.25s;
}
.pricing-btn-primary {
  background: var(--gradient-primary); color: white;
  box-shadow: 0 2px 20px rgba(99, 102, 241, 0.3);
}
.pricing-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.5);
}
.pricing-btn-outline {
  border: 1.5px solid var(--border-hover); color: var(--text-primary);
  background: transparent;
}
.pricing-btn-outline:hover {
  border-color: rgba(99, 102, 241, 0.5); color: var(--text-accent);
  background: rgba(99, 102, 241, 0.05);
}

/* ---- Compliance Banner ---- */
.compliance-banner {
  max-width: 900px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(6, 182, 212, 0.04) 100%);
  border: 1px solid var(--border-accent);
  border-radius: 20px; padding: 48px;
  text-align: center; position: relative; overflow: hidden;
}
.compliance-banner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-secondary);
}
.compliance-banner h3 {
  font-size: 24px; font-weight: 800; color: white; margin-bottom: 12px;
}
.compliance-banner p {
  color: var(--text-secondary); font-size: 15px; line-height: 1.7;
  max-width: 600px; margin: 0 auto 24px;
}
.compliance-logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-bottom: 28px;
}
.compliance-logos span {
  padding: 8px 16px; border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  transition: all 0.2s; background: rgba(255, 255, 255, 0.02);
}
.compliance-logos span:hover {
  border-color: rgba(99, 102, 241, 0.4);
  color: white;
  background: rgba(99, 102, 241, 0.06);
}

/* ---- Quick Start Steps ---- */
.quickstart-steps {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 40px; height: 40px; min-width: 40px; border-radius: 50%;
  background: var(--gradient-primary); color: white; display: flex;
  align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
  flex-shrink: 0;
}
.step-content { min-width: 0; flex: 1; }
.step h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 12px;
  letter-spacing: -0.2px; color: white;
}
.step pre {
  background: rgba(0, 0, 0, 0.4); border: 1px solid var(--border);
  padding: 14px 18px; border-radius: var(--radius-sm);
  overflow-x: auto; margin: 0;
}
.step code {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--text-accent); line-height: 1.7;
  white-space: pre; display: block;
}

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(28px, 4vw, 38px); margin-bottom: 14px;
  letter-spacing: -0.8px; font-weight: 900; color: white;
}
.cta-section p { color: var(--text-secondary); margin-bottom: 36px; font-size: 17px; }

/* ---- Footer ---- */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  padding: 64px 24px 24px;
  background: var(--bg-deepest);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 48px;
}
.footer-brand { max-width: 300px; }
.footer-brand span { font-weight: 800; font-size: 18px; color: var(--text-primary); }
.footer-brand p { font-size: 14px; color: var(--text-tertiary); margin-top: 8px; }
.footer-copy { margin-top: 16px !important; }
.footer-links { display: flex; gap: 64px; }
.footer-links h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px; color: var(--text-primary); font-weight: 700;
}
.footer-links a {
  display: block; color: var(--text-tertiary); font-size: 14px; padding: 5px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-accent); text-decoration: none; }
.footer-bottom {
  max-width: 1200px; margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid var(--border);
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--text-tertiary); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .pricing-split { grid-template-columns: 1fr; max-width: 440px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .split-screen { grid-template-columns: 1fr; gap: 20px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .integrations-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .hero { padding: 120px 24px 60px; }
  .section { padding: 72px 24px; }
  .step { grid-template-columns: 40px 1fr; gap: 16px; }
  .hero::after { display: none; }
  .blob { opacity: 0.1; }
}

@media (max-width: 480px) {
  .hero-install { flex-direction: column; gap: 8px; }
  .hero-install code { font-size: 12px; }
  .code-tabs { overflow-x: auto; }
  .step pre { padding: 10px 12px; }
  .step code { font-size: 12px; }
  .compliance-logos { gap: 8px; }
  .compliance-logos span { font-size: 11px; padding: 6px 12px; }
}
