/* ============================================================
   RocketMouse AI — Design System
   Inspired by Linear, Raycast, Arc Browser
   Dark-first, cinematic, modern SaaS aesthetic
   ============================================================ */

/* --- Custom Properties --- */
:root {
  /* Backgrounds */
  --bg-primary: #06060a;
  --bg-secondary: #0d0d14;
  --bg-surface: #111119;
  --bg-card: #15151f;
  --bg-card-hover: #1a1a26;
  --bg-elevated: #1e1e2c;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(88, 166, 255, 0.3);

  /* Text */
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-tertiary: #5a6370;
  --text-inverse: #06060a;

  /* Accent Colors */
  --accent-blue: #58a6ff;
  --accent-blue-dim: #1f6feb;
  --accent-blue-bright: #79c0ff;
  --accent-purple: #8b5cf6;
  --accent-purple-dim: #6d3fbf;
  --accent-green: #3fb950;
  --accent-orange: #f0883e;
  --accent-pink: #f778ba;
  --accent-cyan: #39d2c0;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0d6fd8 0%, #4f46e5 50%, #7c3aed 100%);
  --gradient-blue: linear-gradient(135deg, #0d6fd8, #58a6ff);
  --gradient-purple: linear-gradient(135deg, #6d3fbf, #8b5cf6);
  --gradient-mesh: radial-gradient(ellipse at 20% 50%, rgba(13, 111, 216, 0.15) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                   radial-gradient(ellipse at 50% 80%, rgba(88, 166, 255, 0.08) 0%, transparent 50%);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

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

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-8xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
  --shadow-glow-blue: 0 0 40px rgba(88, 166, 255, 0.15);
  --shadow-glow-purple: 0 0 40px rgba(139, 92, 246, 0.15);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --nav-height: 64px;
}


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

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* --- Global Star Field (all pages) --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 10px 20px, #fff, transparent),
    radial-gradient(1px 1px at 30px 60px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.5px 1.5px at 50px 40px, #fff, transparent),
    radial-gradient(1px 1px at 80px 90px, rgba(255,255,255,0.8), transparent),
    radial-gradient(2px 2px at 100px 30px, rgba(88,166,255,0.9), transparent),
    radial-gradient(1px 1px at 130px 70px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 150px 100px, rgba(139,92,246,0.9), transparent),
    radial-gradient(1px 1px at 170px 50px, #fff, transparent),
    radial-gradient(1px 1px at 25px 85px, #fff, transparent),
    radial-gradient(2px 2px at 65px 15px, rgba(88,166,255,0.8), transparent),
    radial-gradient(1px 1px at 115px 55px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 145px 25px, rgba(13,111,216,0.7), transparent),
    radial-gradient(1px 1px at 185px 75px, #fff, transparent),
    radial-gradient(1px 1px at 45px 110px, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 95px 5px, rgba(139,92,246,0.8), transparent),
    radial-gradient(1px 1px at 175px 115px, #fff, transparent);
  background-size: 200px 130px;
  animation: star-twinkle-1 3s ease-in-out infinite;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(2px 2px at 40px 50px, #fff, transparent),
    radial-gradient(3px 3px at 90px 20px, rgba(88,166,255,0.9), transparent),
    radial-gradient(2px 2px at 140px 80px, #fff, transparent),
    radial-gradient(2.5px 2.5px at 20px 100px, rgba(139,92,246,0.8), transparent),
    radial-gradient(2px 2px at 70px 70px, #fff, transparent),
    radial-gradient(3px 3px at 120px 40px, rgba(13,111,216,0.7), transparent),
    radial-gradient(2px 2px at 160px 110px, #fff, transparent),
    radial-gradient(2.5px 2.5px at 50px 10px, rgba(88,166,255,0.6), transparent);
  background-size: 180px 120px;
  animation: star-twinkle-2 4s ease-in-out infinite 1s;
}

@keyframes star-twinkle-1 {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.9; }
}

@keyframes star-twinkle-2 {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

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

a:hover {
  color: var(--accent-blue-bright);
}

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

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

::selection {
  background: rgba(88, 166, 255, 0.3);
  color: var(--text-primary);
}


/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

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

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

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

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}


/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition-base), border-color var(--transition-base),
              backdrop-filter var(--transition-base);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(6, 6, 10, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border-subtle);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-primary);
  text-decoration: none;
}

.nav__brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.nav__brand span {
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text-primary);
}

.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 1px;
}

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

/* Mobile menu */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: var(--space-sm);
}

.nav__toggle svg {
  width: 24px;
  height: 24px;
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--gradient-blue);
  color: white;
  box-shadow: 0 0 20px rgba(13, 111, 216, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(13, 111, 216, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: white;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

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

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
}

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

.btn--large {
  padding: 0.875rem 2rem;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
}

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


/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid var(--border-accent);
  background: rgba(88, 166, 255, 0.08);
  color: var(--accent-blue);
}

.badge--purple {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.08);
  color: var(--accent-purple);
}

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

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


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + var(--space-4xl)) var(--space-xl) var(--space-4xl);
  overflow: hidden;
}

/* Animated gradient mesh background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background:
    radial-gradient(ellipse 600px 400px at 30% 30%, rgba(13, 111, 216, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 70% 60%, rgba(139, 92, 246, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 800px 300px at 50% 80%, rgba(88, 166, 255, 0.08) 0%, transparent 70%);
  animation: hero-mesh 20s ease-in-out infinite alternate;
}

@keyframes hero-mesh {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -1%) rotate(1deg); }
  66% { transform: translate(-1%, 2%) rotate(-0.5deg); }
  100% { transform: translate(1%, -2%) rotate(0.5deg); }
}

/* Grid overlay */
.hero__grid {
  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: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

/* Stars/particles */
.hero__stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle var(--duration, 3s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: var(--max-opacity, 0.6); transform: scale(1); }
}

/* Shooting Stars (WPF版準拠: 8本, グラデーション尾 + 光るヘッドドット) */
.shooting-star {
  position: absolute;
  pointer-events: none;
  height: 2px;
  border-radius: 999px;
  opacity: 0;
  z-index: 1;
}
.shooting-star::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, rgba(16,185,129,0.3) 15%, rgba(6,182,212,0.7) 50%, #fff 100%);
}
.shooting-star::after {
  content: '';
  position: absolute;
  top: -3px; right: -2px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 4px rgba(255,255,255,0.8), 0 0 25px 8px rgba(16,185,129,0.5);
}

.shooting-star-1 { top: 3%; right: 2%; width: 200px; transform: rotate(145deg); animation: shoot1 6s ease-in infinite 0.5s; }
.shooting-star-2 { top: 18%; right: 8%; width: 160px; transform: rotate(150deg); animation: shoot2 7s ease-in infinite 2.5s; }
.shooting-star-2::before { background: linear-gradient(90deg, transparent 0%, rgba(99,102,241,0.3) 15%, rgba(6,182,212,0.7) 50%, #fff 100%); }
.shooting-star-2::after { box-shadow: 0 0 10px 4px rgba(255,255,255,0.8), 0 0 25px 8px rgba(99,102,241,0.5); }

.shooting-star-3 { top: 38%; right: 0%; width: 240px; height: 2.5px; transform: rotate(142deg); animation: shoot3 8s ease-in infinite 5s; }
.shooting-star-3::before { background: linear-gradient(90deg, transparent 0%, rgba(6,182,212,0.3) 10%, rgba(16,185,129,0.7) 45%, #fff 100%); }
.shooting-star-3::after { width: 10px; height: 10px; top: -4px; box-shadow: 0 0 12px 5px rgba(255,255,255,0.9), 0 0 30px 10px rgba(6,182,212,0.5); }

.shooting-star-4 { top: 55%; right: 5%; width: 140px; transform: rotate(148deg); animation: shoot4 9s ease-in infinite 3.8s; }
.shooting-star-4::before { background: linear-gradient(90deg, transparent 0%, rgba(99,102,241,0.3) 15%, rgba(16,185,129,0.7) 50%, #fff 100%); }
.shooting-star-4::after { box-shadow: 0 0 10px 4px rgba(255,255,255,0.8), 0 0 25px 8px rgba(16,185,129,0.5); }

.shooting-star-5 { top: 72%; right: 3%; width: 180px; transform: rotate(138deg); animation: shoot5 7.5s ease-in infinite 7s; }
.shooting-star-5::before { background: linear-gradient(90deg, transparent 0%, rgba(16,185,129,0.3) 15%, rgba(99,102,241,0.7) 50%, #fff 100%); }
.shooting-star-5::after { box-shadow: 0 0 10px 4px rgba(255,255,255,0.8), 0 0 25px 8px rgba(99,102,241,0.5); }

.shooting-star-6 { top: 12%; right: 0%; width: 220px; height: 2.5px; transform: rotate(140deg); animation: shoot6 8.5s ease-in infinite 1.5s; }
.shooting-star-6::before { background: linear-gradient(90deg, transparent 0%, rgba(167,139,250,0.3) 15%, rgba(16,185,129,0.7) 50%, #fff 100%); }
.shooting-star-6::after { width: 10px; height: 10px; top: -4px; box-shadow: 0 0 12px 5px rgba(255,255,255,0.9), 0 0 30px 10px rgba(167,139,250,0.5); }

.shooting-star-7 { top: 48%; right: 10%; width: 170px; transform: rotate(152deg); animation: shoot7 6.5s ease-in infinite 4.5s; }
.shooting-star-7::before { background: linear-gradient(90deg, transparent 0%, rgba(6,182,212,0.3) 15%, rgba(99,102,241,0.7) 50%, #fff 100%); }
.shooting-star-7::after { box-shadow: 0 0 10px 4px rgba(255,255,255,0.8), 0 0 25px 8px rgba(6,182,212,0.5); }

.shooting-star-8 { top: 82%; right: 0%; width: 260px; height: 3px; transform: rotate(136deg); animation: shoot8 10s ease-in infinite 6.5s; }
.shooting-star-8::before { background: linear-gradient(90deg, transparent 0%, rgba(16,185,129,0.3) 10%, rgba(6,182,212,0.7) 45%, #fff 100%); }
.shooting-star-8::after { width: 12px; height: 12px; top: -5px; box-shadow: 0 0 14px 6px rgba(255,255,255,0.9), 0 0 35px 12px rgba(16,185,129,0.5); }

@keyframes shoot1 {
  0%   { opacity: 0; transform: rotate(145deg) translateX(0); }
  2%   { opacity: 1; }
  14%  { opacity: 1; transform: rotate(145deg) translateX(1500px); }
  17%  { opacity: 0; transform: rotate(145deg) translateX(1700px); }
  100% { opacity: 0; }
}
@keyframes shoot2 {
  0%   { opacity: 0; transform: rotate(150deg) translateX(0); }
  2%   { opacity: 1; }
  12%  { opacity: 1; transform: rotate(150deg) translateX(1300px); }
  15%  { opacity: 0; transform: rotate(150deg) translateX(1500px); }
  100% { opacity: 0; }
}
@keyframes shoot3 {
  0%   { opacity: 0; transform: rotate(142deg) translateX(0); }
  2%   { opacity: 1; }
  13%  { opacity: 1; transform: rotate(142deg) translateX(1600px); }
  16%  { opacity: 0; transform: rotate(142deg) translateX(1800px); }
  100% { opacity: 0; }
}
@keyframes shoot4 {
  0%   { opacity: 0; transform: rotate(148deg) translateX(0); }
  2%   { opacity: 1; }
  11%  { opacity: 1; transform: rotate(148deg) translateX(1200px); }
  14%  { opacity: 0; transform: rotate(148deg) translateX(1400px); }
  100% { opacity: 0; }
}
@keyframes shoot5 {
  0%   { opacity: 0; transform: rotate(138deg) translateX(0); }
  2%   { opacity: 1; }
  13%  { opacity: 1; transform: rotate(138deg) translateX(1400px); }
  16%  { opacity: 0; transform: rotate(138deg) translateX(1600px); }
  100% { opacity: 0; }
}
@keyframes shoot6 {
  0%   { opacity: 0; transform: rotate(140deg) translateX(0); }
  2%   { opacity: 1; }
  12%  { opacity: 1; transform: rotate(140deg) translateX(1600px); }
  15%  { opacity: 0; transform: rotate(140deg) translateX(1800px); }
  100% { opacity: 0; }
}
@keyframes shoot7 {
  0%   { opacity: 0; transform: rotate(152deg) translateX(0); }
  2%   { opacity: 1; }
  14%  { opacity: 1; transform: rotate(152deg) translateX(1300px); }
  17%  { opacity: 0; transform: rotate(152deg) translateX(1500px); }
  100% { opacity: 0; }
}
@keyframes shoot8 {
  0%   { opacity: 0; transform: rotate(136deg) translateX(0); }
  2%   { opacity: 1; }
  11%  { opacity: 1; transform: rotate(136deg) translateX(1800px); }
  14%  { opacity: 0; transform: rotate(136deg) translateX(2000px); }
  100% { opacity: 0; }
}

/* Aurora / Nebula glow in hero */
.hero__aurora {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(13, 111, 216, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 70% 35% at 50% 5%, rgba(88, 166, 255, 0.1) 0%, transparent 50%);
  animation: aurora-shift 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes aurora-shift {
  0% {
    opacity: 0.5;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(20px) scale(1.05);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero__badge {
  margin-bottom: var(--space-xl);
}

.hero__title {
  font-size: clamp(var(--text-5xl), 8vw, var(--text-8xl));
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--space-xl);
}

.hero__title .line {
  display: block;
}

.hero__subtitle {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  color: var(--text-tertiary);
  font-size: var(--text-sm);
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero__meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--text-tertiary);
}

/* Hero window mockup */
.hero__window {
  position: relative;
  z-index: 1;
  margin-top: var(--space-4xl);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.window-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glow-blue);
}

.window-frame__titlebar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.window-frame__title {
  flex: 1;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  font-weight: 500;
}

.window-frame__body {
  padding: var(--space-xl);
  min-height: 300px;
  position: relative;
}

/* Block editor mockup */
.block-editor-mock {
  display: flex;
  gap: var(--space-lg);
}

.block-palette-mock {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.palette-category {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  color: white;
  opacity: 0.9;
}

.block-workspace-mock {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-block {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  color: white;
  font-weight: 500;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mock-block--indent {
  margin-left: 24px;
}

.mock-block--indent-2 {
  margin-left: 48px;
}

.mock-block input {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: white;
  font-size: var(--text-xs);
  padding: 2px 8px;
  font-family: var(--font-mono);
  width: 80px;
}

.mock-block .reporter {
  display: inline-block;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 1px 10px;
  font-size: var(--text-xs);
  font-family: var(--font-mono);
}

/* Screenshot placeholder */
.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  border: 1px dashed var(--border-default);
}


/* ============================================================
   SECTION STYLES
   ============================================================ */
.section {
  padding: var(--space-5xl) var(--space-xl);
  position: relative;
  z-index: 1;
}

.section--alt {
  background: var(--bg-secondary);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}

.section__overline {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: var(--space-md);
}

.section__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.section__desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Divider line */
.section__divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  border: none;
}


/* ============================================================
   FEATURE BENTO GRID
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(88, 166, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

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

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

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

.bento-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 24px;
}

.bento-card__icon--blue {
  background: rgba(88, 166, 255, 0.1);
  color: var(--accent-blue);
}

.bento-card__icon--purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
}

.bento-card__icon--green {
  background: rgba(63, 185, 80, 0.1);
  color: var(--accent-green);
}

.bento-card__icon--orange {
  background: rgba(240, 136, 62, 0.1);
  color: var(--accent-orange);
}

.bento-card__icon--pink {
  background: rgba(247, 120, 186, 0.1);
  color: var(--accent-pink);
}

.bento-card__icon--cyan {
  background: rgba(57, 210, 192, 0.1);
  color: var(--accent-cyan);
}

.bento-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.bento-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-card__visual {
  margin-top: var(--space-xl);
  border-radius: var(--radius-md);
  overflow: hidden;
}


/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4xl);
  padding: var(--space-3xl) var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}


/* ============================================================
   AI SECTION (Purple themed)
   ============================================================ */
.ai-section {
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 30% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 70% 30%, rgba(88, 166, 255, 0.05) 0%, transparent 70%);
}

.ai-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.ai-card {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
}

.ai-card:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-2px);
}

.ai-card__icon {
  font-size: 32px;
  margin-bottom: var(--space-lg);
}

.ai-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.ai-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.ai-providers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  flex-wrap: wrap;
  position: relative;
}

.ai-provider {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.ai-provider:hover {
  color: var(--text-secondary);
}

.ai-provider svg,
.ai-provider img {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}


/* ============================================================
   BLOCK SHAPES SHOWCASE
   ============================================================ */
.shapes-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.shape-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

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

.shape-item__visual {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.shape-item__name {
  font-size: var(--text-sm);
  font-weight: 600;
}

.shape-item__desc {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-xs);
}


/* ============================================================
   CATEGORY GRID
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.category-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: all var(--transition-base);
}

.category-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.category-item__color {
  width: 4px;
  height: 32px;
  border-radius: 2px;
  flex-shrink: 0;
}

.category-item__info {
  flex: 1;
  min-width: 0;
}

.category-item__name {
  font-size: var(--text-sm);
  font-weight: 600;
}

.category-item__count {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}


/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  z-index: 1;
  padding: var(--space-5xl) var(--space-xl);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 50% 100%, rgba(13, 111, 216, 0.15) 0%, transparent 70%);
}

.cta__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  position: relative;
}

.cta__desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  position: relative;
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  position: relative;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-4xl) var(--space-xl) var(--space-2xl);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
}

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

.footer__brand-name {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: var(--text-lg);
}

.footer__brand-name img {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 280px;
}

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  max-width: var(--max-width);
  margin: var(--space-3xl) auto 0;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}


/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card--featured {
  border-color: var(--accent-blue-dim);
  box-shadow: var(--shadow-glow-blue);
}

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

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-blue);
  color: white;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xs);
}

.pricing-card__price span {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pricing-card__features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-green);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}


/* ============================================================
   DOWNLOAD PAGE
   ============================================================ */
.download-hero {
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-4xl)) var(--space-xl) var(--space-3xl);
}

.download-hero__icon {
  width: 128px;
  height: 128px;
  margin: 0 auto var(--space-xl);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.download-hero__version {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-top: var(--space-md);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.requirement-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.requirement-card__label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.requirement-card__value {
  font-size: var(--text-base);
  font-weight: 600;
}

.permissions-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.permission-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.permission-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  background: rgba(88, 166, 255, 0.1);
}

.permission-item__title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.permission-item__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Install steps */
.install-steps {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.install-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.install-step__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(88, 166, 255, 0.1);
  border: 1px solid rgba(88, 166, 255, 0.2);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.install-step__content h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.install-step__content p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}


/* ============================================================
   HELP PAGE
   ============================================================ */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.help-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
  display: block;
}

.help-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  color: inherit;
}

.help-card__icon {
  font-size: 28px;
  margin-bottom: var(--space-md);
}

.help-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.help-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.help-card__count {
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  font-weight: 500;
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

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

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

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-lg);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  transition: background var(--transition-fast);
}

.faq-item__question:hover {
  background: var(--bg-card-hover);
}

.faq-item__question svg {
  width: 16px;
  height: 16px;
  color: var(--text-tertiary);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.open .faq-item__question svg {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 var(--space-lg);
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item.open .faq-item__answer {
  padding: 0 var(--space-lg) var(--space-lg);
  max-height: 500px;
}

.faq-item__answer p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ============================================================
   RELEASES PAGE
   ============================================================ */
.releases-timeline {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.release-item {
  position: relative;
  padding-left: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-left: 1px solid var(--border-subtle);
}

.release-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.release-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 10px rgba(88, 166, 255, 0.4);
}

.release-item__header {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.release-item__version {
  font-size: var(--text-xl);
  font-weight: 700;
}

.release-item__date {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.release-item__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: rgba(63, 185, 80, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(63, 185, 80, 0.2);
}

.release-item__body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.release-item__body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.release-item__body li::before {
  content: '+ ';
  color: var(--accent-green);
  font-weight: 700;
}


/* ============================================================
   TABLE
   ============================================================ */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.spec-table th,
.spec-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
}

.spec-table th {
  color: var(--text-tertiary);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-table td:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}


/* ============================================================
   PAGE HEADER (subpages)
   ============================================================ */
.page-header {
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-4xl)) var(--space-xl) var(--space-3xl);
  z-index: 1;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 30%, rgba(13, 111, 216, 0.1) 0%, transparent 70%);
}

.page-header__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  position: relative;
}

.page-header__desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}


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

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

  .ai-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 1.25rem;
    --space-4xl: 3rem;
    --space-5xl: 4rem;
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(6, 6, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: var(--space-xl);
    border-bottom: 1px solid var(--border-subtle);
  }

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

  .bento-card--wide {
    grid-column: span 1;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .stats-bar {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__meta {
    flex-direction: column;
    gap: var(--space-md);
  }

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

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

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

  .block-palette-mock {
    display: none;
  }

  .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: var(--text-4xl);
  }

  .section__title {
    font-size: var(--text-3xl);
  }

  .shapes-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--accent-blue-bright) 50%,
    var(--text-primary) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

/* Typing cursor for hero */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent-blue);
  margin-left: 4px;
  animation: blink-cursor 1s step-end infinite;
  vertical-align: text-bottom;
}

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

/* Glow line separator */
.glow-line {
  position: relative;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue-dim), transparent);
  border: none;
  margin: 0;
}


/* ============================================================
   HERO APP ICON (large, glowing, floating)
   ============================================================ */
.hero-icon {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-xl);
}

.hero-icon__img {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(13, 111, 216, 0.4))
          drop-shadow(0 0 80px rgba(13, 111, 216, 0.2));
}

.hero-icon__glow {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 111, 216, 0.3) 0%, rgba(88, 166, 255, 0.1) 40%, transparent 70%);
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* CTA icon */
.cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin: 0 auto var(--space-xl);
  position: relative;
  filter: drop-shadow(0 0 30px rgba(13, 111, 216, 0.35));
  animation: float 5s ease-in-out infinite;
}

/* Download page icon enhanced */
.download-hero__icon {
  width: 128px;
  height: 128px;
  margin: 0 auto var(--space-xl);
  border-radius: 28px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(13, 111, 216, 0.3);
  animation: float 6s ease-in-out infinite;
}

/* Page header icon */
.page-header__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto var(--space-lg);
  position: relative;
  filter: drop-shadow(0 0 20px rgba(13, 111, 216, 0.3));
}

/* Footer icon enhanced */
.footer__brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  filter: drop-shadow(0 0 12px rgba(13, 111, 216, 0.25));
}

/* Section background watermark icon */
.section-watermark {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}


/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 2px;
  margin-left: var(--space-sm);
}

.lang-switch__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-tertiary);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1;
}

.lang-switch__btn:hover {
  color: var(--text-secondary);
}

.lang-switch__btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .lang-switch {
    margin-left: 0;
  }

  .hero-icon__img {
    width: 100px;
    height: 100px;
    border-radius: 24px;
  }

  .cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
}
