/* ============================================================
   jinpia — Landing Page Design System
   Premium dark theme with glassmorphism + mesh gradients
   ============================================================ */

/* ========== Design Tokens ========== */
:root {
  /* Background System */
  --bg-base: #080B14;
  --bg-surface: #0D1120;
  --bg-elevated: #141929;
  --bg-overlay: #1A2135;

  /* Brand Primary — Electric Violet */
  --primary-300: #A89CFF;
  --primary-400: #8B7FFF;
  --primary-500: #6C63FF;
  --primary-600: #5548E0;
  --primary-700: #3D34C0;

  /* Accent — Cyan */
  --accent-300: #67E8F9;
  --accent-400: #22D3EE;
  --accent-500: #00D4FF;
  --accent-600: #00AACC;

  /* Semantic */
  --success: #10D9A0;
  --warning: #FFB224;
  --error: #FF5555;

  /* Text — bumped for readability on dark bg */
  --text-primary: #F4F7FF;
  --text-secondary: #CBD5EE;
  --text-muted: #8B9BC0;
  --text-disabled: #4D5E82;

  /* Borders */
  --border-subtle: rgba(108, 99, 255, 0.12);
  --border-normal: rgba(108, 99, 255, 0.22);
  --border-strong: rgba(108, 99, 255, 0.40);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #8B7FFF 0%, #6C63FF 40%, #00D4FF 100%);
  --grad-cta: linear-gradient(135deg, #1A1060 0%, #080B14 50%, #003040 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 24px rgba(108,99,255,0.3);
  --shadow-glow-cyan: 0 0 24px rgba(0,212,255,0.25);

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

  /* Motion */
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;
  --dur-reveal: 600ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing */
  --section-gap: clamp(80px, 12vw, 140px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Pretendard Variable", "Space Grotesk", system-ui,
    -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text-secondary);
  background: var(--bg-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  color: var(--text-primary);
  word-break: keep-all;
  overflow-wrap: break-word;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

p { word-break: keep-all; }

.container {
  width: min(1120px, 90%);
  margin-inline: auto;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-400);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--primary-500);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.section-lede {
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.85;
}

.section-lede.center { margin-inline: auto; }

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

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 11, 20, 0.6);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--dur-base) ease, box-shadow var(--dur-base) ease;
}

.site-header.scrolled {
  background: rgba(8, 11, 20, 0.92);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

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

.brand-name {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--dur-fast), background var(--dur-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(108, 99, 255, 0.1);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-subtle);
  background: rgba(13, 17, 32, 0.6);
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--dur-base), top var(--dur-base), opacity var(--dur-base);
}

.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.site-header.open .nav-toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-base) ease, background var(--dur-base) ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, #6C63FF, #5548E0);
  color: #fff;
  border-color: rgba(108, 99, 255, 0.4);
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.25), var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(108, 99, 255, 0.45), var(--shadow-lg);
}

.btn-ghost {
  background: rgba(108, 99, 255, 0.08);
  color: var(--primary-300);
  border-color: rgba(108, 99, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(108, 99, 255, 0.15);
  border-color: rgba(108, 99, 255, 0.4);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary-700);
  font-weight: 700;
}

.btn-white:hover {
  background: #F0F4FF;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.15), var(--shadow-lg);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 14px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.actions.center { justify-content: center; }

/* ========== Glass Card ========== */
.glass-card {
  background: rgba(13, 17, 32, 0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border-normal);
  border-radius: 20px;
  padding: 32px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow-md);
  transition: border-color var(--dur-base) ease, box-shadow var(--dur-base) ease, transform var(--dur-base) ease;
}

.glass-card:hover {
  border-color: var(--border-normal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow-lg), 0 0 20px rgba(108, 99, 255, 0.1);
  transform: translateY(-4px);
}

.glass-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid var(--border-subtle);
}

.glass-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ========== Backgrounds ========== */
.mesh-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.mesh-orb-1 {
  width: clamp(300px, 50vw, 600px);
  height: clamp(300px, 50vw, 600px);
  background: rgba(108, 99, 255, 0.3);
  top: -15%;
  left: -10%;
  animation: float 10s ease-in-out infinite alternate;
}

.mesh-orb-2 {
  width: clamp(250px, 40vw, 500px);
  height: clamp(250px, 40vw, 500px);
  background: rgba(0, 212, 255, 0.2);
  bottom: -10%;
  right: -5%;
  animation: float 12s ease-in-out infinite alternate-reverse;
}

.mesh-orb-3 {
  width: clamp(200px, 30vw, 400px);
  height: clamp(200px, 30vw, 400px);
  background: rgba(139, 127, 255, 0.15);
  top: 10%;
  right: 20%;
  animation: float 8s ease-in-out infinite alternate;
}

.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(108, 99, 255, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.5;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-inline: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid var(--border-normal);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary-300);
  margin-bottom: 28px;
  animation: fade-up 700ms var(--ease-out) both;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fade-up 700ms var(--ease-out) 100ms both;
}

.hero-lede {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.85;
  animation: fade-up 700ms var(--ease-out) 200ms both;
}

.hero .actions {
  animation: fade-up 700ms var(--ease-out) 300ms both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  animation: fade-up 700ms var(--ease-out) 450ms both;
}

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

.hero-stat .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-stat .stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-disabled);
  font-size: 0.75rem;
  animation: fade-up 700ms var(--ease-out) 600ms both;
}

.scroll-indicator .scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--primary-500), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

/* ========== PROBLEM ========== */
.problem {
  position: relative;
  padding: var(--section-gap) 0;
  background: var(--bg-surface);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.problem-card {
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 85, 85, 0.6), rgba(255, 178, 36, 0.4));
  border-radius: 20px 20px 0 0;
}

.problem-card .card-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 85, 85, 0.08);
  line-height: 1;
  margin-bottom: 12px;
}

.problem-card h3 {
  color: var(--text-primary);
  font-size: 1.0625rem;
}

.problem-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-top: 10px;
  line-height: 1.75;
}

/* Contrast Block */
.contrast-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 48px;
}

.contrast-side {
  padding: 24px;
  border-radius: var(--radius-xl);
}

.contrast-side.old {
  background: rgba(255, 85, 85, 0.06);
  border: 1px solid rgba(255, 85, 85, 0.15);
}

.contrast-side.new {
  background: rgba(108, 99, 255, 0.08);
  border: 1px solid var(--border-normal);
}

.contrast-side h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.contrast-side.old h4 { color: var(--error); }
.contrast-side.new h4 { color: var(--primary-400); }

.contrast-side ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contrast-side ul li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}

.contrast-side.old ul li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--error);
  font-size: 0.75rem;
  top: 3px;
}

.contrast-side.new ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  top: 1px;
}

.contrast-arrow {
  font-size: 1.5rem;
  color: var(--text-disabled);
}

/* ========== SOLUTION / HOW IT WORKS ========== */
.solution {
  position: relative;
  padding: var(--section-gap) 0;
  overflow: hidden;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-500), var(--accent-500), transparent);
  opacity: 0.3;
}

.step-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 24px 0;
  align-items: start;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid var(--border-normal);
  color: var(--primary-300);
  position: relative;
  z-index: 2;
}

.step-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 6px;
}

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

/* ========== PRODUCT ========== */
.product {
  position: relative;
  padding: var(--section-gap) 0;
  background: var(--bg-surface);
  overflow: hidden;
}

.product-showcase {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.product-visual {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.product-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.window-dots {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  position: relative;
  z-index: 2;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #FF5F57; }
.window-dots span:nth-child(2) { background: #FEBC2E; }
.window-dots span:nth-child(3) { background: #28C840; }

.mock-content {
  padding: 16px;
}

.mock-upload {
  border: 2px dashed var(--border-normal);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.mock-upload .upload-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.mock-questions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-q {
  background: rgba(108, 99, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.mock-q .q-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary-400);
  margin-bottom: 4px;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.mock-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(108, 99, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.mock-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--grad-brand);
  width: 0;
  transition: width 1.2s var(--ease-out);
}

.mock-bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-300);
  min-width: 36px;
}

.product-info h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.product-info > p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.85;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.feature-list li .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 217, 160, 0.15);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========== VISION ========== */
.vision {
  position: relative;
  padding: var(--section-gap) 0;
  overflow: hidden;
}

.vision-quote {
  max-width: 720px;
  margin: 48px auto;
  text-align: center;
  position: relative;
  padding: 40px 24px;
}

.vision-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
}

.vision-quote blockquote {
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 500;
}

.vision-quote cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pillar-card {
  position: relative;
  overflow: hidden;
}

.pillar-card .pillar-num {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.15;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pillar-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

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

/* ========== CTA ========== */
.cta-section {
  position: relative;
  padding: var(--section-gap) 0;
  background: var(--grad-cta);
  text-align: center;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-inline: auto;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content > p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1.0625rem;
  line-height: 1.85;
}

/* ========== Footer ========== */
.site-footer {
  background: #050810;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .brand-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.footer-brand .brand-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-nav {
  display: flex;
  gap: 48px;
}

.footer-nav-group h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer-nav-group a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 4px 0;
  transition: color var(--dur-fast);
}

.footer-nav-group a:hover {
  color: var(--primary-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-top: 24px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-legal p { margin-bottom: 2px; }

/* ========== Animations ========== */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.02); }
}

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

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(108, 99, 255, 0); }
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* Scroll Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}

[data-stagger].revealed > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].revealed > *:nth-child(2) { transition-delay: 80ms; }
[data-stagger].revealed > *:nth-child(3) { transition-delay: 160ms; }
[data-stagger].revealed > *:nth-child(4) { transition-delay: 240ms; }
[data-stagger].revealed > *:nth-child(5) { transition-delay: 320ms; }

[data-stagger].revealed > * {
  opacity: 1;
  transform: none;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 64px;
    background: rgba(8, 11, 20, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    display: none;
    flex-direction: column;
    padding: 12px;
  }

  .site-header.open .nav-links { display: flex; }
  .nav-links a { width: 100%; text-align: center; padding: 12px; }
}

@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .problem-grid,
  .vision-pillars {
    grid-template-columns: 1fr;
  }

  .contrast-block {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contrast-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .product-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-visual { order: -1; }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .container { width: 92%; }
  .actions { flex-direction: column; align-items: stretch; }
  .btn-lg { padding: 14px 20px; }
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  [data-stagger] > * { opacity: 1; transform: none; }
  .mesh-orb { animation: none; }
}

/* ========== Focus ========== */
:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}
