/* ========================================
   NAIL AI — Design System
   Premium Dark Mode Landing Page
   ======================================== */

/* === 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&display=swap');

/* === CUSTOM PROPERTIES === */
:root {
  /* Primary palette */
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;

  /* Backgrounds */
  --bg-primary: #030712;
  --bg-secondary: #0a0f1e;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-card-hover: rgba(22, 33, 62, 0.8);
  --bg-glass: rgba(15, 23, 42, 0.4);

  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-accent: var(--cyan-400);

  /* Borders */
  --border-subtle: rgba(148, 163, 184, 0.08);
  --border-hover: rgba(34, 211, 238, 0.3);
  --border-glass: rgba(148, 163, 184, 0.12);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--cyan-500), var(--blue-500), var(--violet-500));
  --gradient-card: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.05));
  --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(6, 182, 212, 0.06), transparent 40%);

  /* Shadows */
  --shadow-glow: 0 0 60px rgba(6, 182, 212, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 8px 48px rgba(0, 0, 0, 0.5);

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-max: 1200px;
  --border-radius: 16px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === 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;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* === GLOBAL BACKGROUND EFFECTS === */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(6, 182, 212, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.04), transparent),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(59, 130, 246, 0.04), transparent);
  pointer-events: none;
  z-index: 0;
}

/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(3, 7, 18, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  position: relative;
}

.nav-logo-icon svg {
  width: 100%;
  height: 100%;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

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

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: 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-hero);
  transition: var(--transition-fast);
  border-radius: 1px;
}

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

.nav-cta {
  padding: 0.55rem 1.5rem;
  background: var(--gradient-hero);
  color: var(--bg-primary) !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth) !important;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

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

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.35);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--cyan-400);
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

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

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--gradient-hero);
  color: var(--bg-primary);
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.25);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  backdrop-filter: blur(10px);
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.hero-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.hero-stat-value .accent {
  color: var(--cyan-400);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 0.2rem;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease-out 0.5s both;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-glass);
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--border-radius) + 2px);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), transparent 50%, rgba(139, 92, 246, 0.2));
  z-index: -1;
  opacity: 0.6;
}

/* Floating badges on the hero image */
.floating-badge {
  position: absolute;
  padding: 0.6rem 1rem;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-card);
  animation: float 4s ease-in-out infinite;
}

.floating-badge.risk-score {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.floating-badge.coverage {
  bottom: 15%;
  left: -8%;
  animation-delay: 1.5s;
}

.floating-badge .badge-icon {
  font-size: 1.1rem;
}

.floating-badge .badge-value {
  color: var(--cyan-400);
  font-weight: 700;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* === SECTION SHARED === */
section {
  padding: var(--section-padding) 0;
  position: relative;
}

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

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

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* === PROBLEM / GAP SECTION === */
.problem-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.gap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.gap-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

.gap-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

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

.gap-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.gap-card-icon.red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.gap-card-icon.amber {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.gap-card-icon.gray {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-secondary);
}

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

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

.gap-card .coverage-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.coverage-status.covered {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.coverage-status.uncovered {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* === THREE LAYERS SECTION === */
.layers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.layer-card {
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-align: center;
}

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

.layer-number {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan-400);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.layer-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
}

.layer-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.layer-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.layer-features {
  list-style: none;
  text-align: left;
}

.layer-features li {
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.layer-features li:first-child {
  border-top: none;
}

.layer-features .check {
  color: var(--cyan-400);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* === CODE BLOCK SECTION === */
.code-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.code-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.code-block {
  background: #0d1117;
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(148, 163, 184, 0.04);
  border-bottom: 1px solid var(--border-subtle);
}

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

.code-dot.red {
  background: #ff5f57;
}

.code-dot.yellow {
  background: #febc2e;
}

.code-dot.green {
  background: #28c840;
}

.code-filename {
  margin-left: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.code-body {
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  overflow-x: auto;
}

.code-body .keyword {
  color: #ff7b72;
}

.code-body .string {
  color: #a5d6ff;
}

.code-body .function {
  color: #d2a8ff;
}

.code-body .comment {
  color: #8b949e;
}

.code-body .variable {
  color: #ffa657;
}

.code-body .bracket {
  color: #8b949e;
}

/* === FRONTIER TECHNOLOGY === */
.frontier-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.03) 0%, transparent 100%);
}

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

.frontier-card {
  background: var(--card-bg);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.frontier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #06b6d4, #3b82f6, #8b5cf6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.frontier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
}

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

.frontier-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.3));
}

.frontier-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.frontier-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.frontier-card em {
  color: #06b6d4;
  font-style: italic;
}

.frontier-badge {
  display: inline-block;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: #06b6d4;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* === COMPARISON TABLE === */
.comparison-section .table-wrapper {
  overflow-x: auto;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-glass);
}

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

.comparison-table thead {
  background: rgba(6, 182, 212, 0.06);
}

.comparison-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-glass);
  white-space: nowrap;
}

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

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

.comparison-table .highlight-col {
  background: rgba(6, 182, 212, 0.04);
  color: var(--text-primary);
  font-weight: 500;
}

.comparison-table .highlight-col strong {
  color: var(--cyan-400);
}

.table-check {
  color: #22c55e;
  font-weight: 700;
}

.table-cross {
  color: #ef4444;
  font-weight: 700;
}

/* === PRICING SECTION === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(6, 182, 212, 0.3);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(59, 130, 246, 0.04));
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1rem;
  background: var(--gradient-hero);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.pricing-tier {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.pricing-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-tertiary);
}

.pricing-coverage {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pricing-features .check {
  color: var(--cyan-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 0.85rem;
  text-align: center;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.pricing-btn.primary {
  background: var(--gradient-hero);
  color: var(--bg-primary);
  border: none;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.pricing-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.35);
}

.pricing-btn.outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.pricing-btn.outline:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}

/* === PARTNERS / INTEGRATIONS === */
.integrations {
  text-align: center;
}

.integrations-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin-bottom: 2rem;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.logos-row:hover {
  opacity: 0.8;
}

.logo-item {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-item img {
  height: 24px;
  opacity: 0.6;
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: calc(var(--border-radius) + 8px);
  backdrop-filter: blur(10px);
  position: relative;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--border-radius) + 9px);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), transparent 50%, rgba(139, 92, 246, 0.15));
  z-index: -1;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

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

.cta-input:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.cta-submit {
  padding: 0.85rem 2rem;
  background: var(--gradient-hero);
  color: var(--bg-primary);
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.cta-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

.cta-note {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 1rem;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand .logo-text {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-secondary);
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

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

.footer-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

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

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .gap-grid,
  .layers-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .code-demo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .floating-badge {
    display: none;
  }

  .cta-form {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
}