/* ============================================================
   ctx Landing Page — Design System & Styles
   ============================================================ */

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

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111119;
  --bg-card: rgba(17, 17, 25, 0.6);
  --bg-card-hover: rgba(25, 25, 40, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(0, 212, 255, 0.15);

  --text-primary: #e8e8ed;
  --text-secondary: #9898a8;
  --text-muted: #5a5a6e;
  --text-inverse: #0a0a0f;

  --accent-cyan: #00d4ff;
  --accent-violet: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;

  --gradient-primary: linear-gradient(135deg, #00d4ff, #8b5cf6);
  --gradient-warm: linear-gradient(135deg, #8b5cf6, #ec4899);
  --gradient-hero: linear-gradient(180deg, #0a0a0f 0%, #0d0d1a 50%, #0a0a0f 100%);
  --gradient-radial: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 60%);

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

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 8rem);
  --content-max: 1200px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out-expo);
  --transition-mid: 0.4s var(--ease-out-expo);
  --transition-slow: 0.6s var(--ease-out-expo);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

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

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

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

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

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent-cyan);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

/* --- Utility --- */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

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

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

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.section-subheading {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.1); }
  50%      { box-shadow: 0 0 40px rgba(0, 212, 255, 0.2); }
}

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

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

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

@keyframes orbit {
  from { transform: rotate(0deg) translateX(200px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(200px) rotate(-360deg); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.7);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-mid);
}

.navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(10, 10, 15, 0.92);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-inverse);
  font-family: var(--font-mono);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

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

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

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

.nav-cta {
  padding: 0.55rem 1.4rem;
  background: var(--gradient-primary);
  color: var(--text-inverse) !important;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.25);
  color: var(--text-inverse) !important;
}

.nav-cta::after {
  display: none !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-effects .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.hero-bg-effects .orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(0, 212, 255, 0.06);
  top: -10%;
  left: -5%;
  animation: float 8s ease-in-out infinite;
}

.hero-bg-effects .orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.06);
  bottom: -15%;
  right: -5%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-bg-effects .orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(236, 72, 153, 0.04);
  top: 40%;
  left: 60%;
  animation: float 12s ease-in-out infinite 2s;
}

.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 at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.1s both;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-glow 2s ease infinite;
  box-shadow: 0 0 8px var(--accent-green);
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-title .line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.35s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.5s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--gradient-primary);
  color: var(--text-inverse);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.3);
  color: var(--text-inverse);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
  color: var(--accent-cyan);
}

/* Hero Terminal */
.hero-terminal {
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.65s both;
}

.terminal {
  background: rgba(10, 10, 18, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(0, 212, 255, 0.06),
    inset 0 0 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.terminal-body {
  padding: 1.5rem 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.9;
}

.terminal-line {
  display: flex;
  gap: 0;
  margin-bottom: 0.15rem;
  opacity: 0;
  animation: fadeInUp 0.5s var(--ease-out-expo) forwards;
}

.terminal-line:nth-child(1) { animation-delay: 1s; }
.terminal-line:nth-child(2) { animation-delay: 1.4s; }
.terminal-line:nth-child(3) { animation-delay: 1.7s; }
.terminal-line:nth-child(4) { animation-delay: 2s; }
.terminal-line:nth-child(5) { animation-delay: 2.3s; }
.terminal-line:nth-child(6) { animation-delay: 2.6s; }
.terminal-line:nth-child(7) { animation-delay: 3s; }
.terminal-line:nth-child(8) { animation-delay: 3.4s; }

.terminal-prompt {
  color: var(--accent-cyan);
  margin-right: 0.5rem;
  user-select: none;
  white-space: nowrap;
}

.terminal-command {
  color: var(--text-primary);
  white-space: nowrap;
}

.terminal-comment {
  color: var(--text-muted);
  font-style: italic;
  white-space: nowrap;
}

.terminal-output {
  color: var(--accent-green);
  padding-left: 1.3rem;
  white-space: nowrap;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 18px;
  background: var(--accent-cyan);
  animation: typing-cursor 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}

/* --- Problem Section --- */
.problem-section {
  padding: var(--section-pad) 0;
  position: relative;
}

.problem-section .container {
  text-align: center;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: left;
  transition: all var(--transition-mid);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-mid);
}

.problem-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

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

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 212, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.problem-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- How It Works --- */
.how-section {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--gradient-radial), var(--bg-primary);
}

.pipeline-visual {
  margin-top: 3.5rem;
}

.pipeline-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.pipeline-stage {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
  cursor: default;
}

.pipeline-stage .stage-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.2rem;
  transition: all var(--transition-mid);
  position: relative;
  z-index: 2;
}

.pipeline-stage:hover .stage-icon {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
}

.pipeline-stage h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.pipeline-stage p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pipeline-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  min-width: 32px;
  align-self: center;
  padding-bottom: 2.5rem;
}

/* Three-step flow */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet), var(--accent-pink));
  opacity: 0.3;
}

.flow-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 1.2rem;
  position: relative;
  z-index: 2;
  transition: all var(--transition-mid);
}

.flow-step:nth-child(1) .step-number {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.flow-step:nth-child(2) .step-number {
  border-color: var(--accent-violet);
  color: var(--accent-violet);
}

.flow-step:nth-child(3) .step-number {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.flow-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.flow-step code {
  font-size: 0.82rem;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.flow-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- Features Section --- */
.features-section {
  padding: var(--section-pad) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-mid);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-mid);
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.feature-icon.cyan   { background: rgba(0, 212, 255, 0.1); }
.feature-icon.violet { background: rgba(139, 92, 246, 0.1); }
.feature-icon.pink   { background: rgba(236, 72, 153, 0.1); }
.feature-icon.green  { background: rgba(16, 185, 129, 0.1); }
.feature-icon.orange { background: rgba(245, 158, 11, 0.1); }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* --- Comparison Section --- */
.comparison-section {
  padding: var(--section-pad) 0;
  background: var(--gradient-radial), var(--bg-primary);
}

.comparison-section .container {
  text-align: center;
}

.comparison-table-wrapper {
  margin-top: 3rem;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.9rem;
}

.comparison-table th {
  padding: 1rem 1.2rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.comparison-table td {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:last-child {
  background: rgba(0, 212, 255, 0.04);
}

.comparison-table tbody tr:last-child td {
  color: var(--text-primary);
  font-weight: 600;
}

.comparison-table .check {
  color: var(--accent-green);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--text-muted);
}

.comparison-table .partial {
  color: var(--accent-orange);
}

.comparison-table td:first-child,
.comparison-table th:first-child {
  text-align: left;
  padding-left: 1.5rem;
}

/* --- Snapshot Format Section --- */
.snapshot-section {
  padding: var(--section-pad) 0;
}

.snapshot-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

.snapshot-info {
  padding-right: 1rem;
}

.snapshot-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.snapshot-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.snapshot-info ul {
  list-style: none;
  padding: 0;
}

.snapshot-info ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.snapshot-info ul li .checkmark {
  color: var(--accent-green);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.snapshot-preview {
  position: relative;
}

.snapshot-code {
  background: rgba(10, 10, 18, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.snapshot-code-header {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
}

.snapshot-code-header span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.snapshot-code pre {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-secondary);
  overflow-x: auto;
  margin: 0;
}

.snapshot-code pre .key {
  color: var(--accent-cyan);
}

.snapshot-code pre .heading {
  color: var(--accent-violet);
  font-weight: 600;
}

.snapshot-code pre .value {
  color: var(--accent-green);
}

.snapshot-code pre .conf {
  color: var(--accent-orange);
  font-style: italic;
}

/* --- CTA Section --- */
.cta-section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.15;
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-card p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-install-block {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(10, 10, 18, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cta-install-block:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.cta-install-block .dollar {
  color: var(--accent-cyan);
}

.cta-install-block .copy-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

/* --- Footer --- */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-left .logo-icon {
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-inverse);
  font-family: var(--font-mono);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .terminal-body {
    font-size: 0.72rem;
    padding: 1rem;
  }

  .pipeline-flow {
    flex-direction: column;
    align-items: center;
  }

  .pipeline-arrow {
    transform: rotate(90deg);
    padding-bottom: 0;
    min-width: auto;
  }

  .pipeline-stage {
    max-width: 100%;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .flow-steps::before {
    display: none;
  }

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

  .snapshot-layout {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
