/* Agentkernet - Global styles */

:root {
  --bg: #f5f6fa;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-soft: #eef2ff;
  --mesh-1: rgba(79, 70, 229, 0.18);
  --mesh-2: rgba(168, 85, 247, 0.15);
  --mesh-3: rgba(59, 130, 246, 0.1);
  --grid-line: rgba(30, 41, 59, 0.06);
  --ink: #1e293b;
  --muted: #64748b;
  --line: rgba(30, 41, 59, 0.12);
  --line-strong: rgba(30, 41, 59, 0.2);
  --brand: #6366f1;
  --brand-deep: #4f46e5;
  --signal: #8b5cf6;
  --signal-soft: #ede9fe;
  --highlight: #a5b4fc;
  --success: #10b981;
  --shadow-sm: 0 14px 30px rgba(79, 70, 229, 0.1);
  --shadow-md: 0 24px 60px rgba(79, 70, 229, 0.14);
  --shadow-lg: 0 40px 90px rgba(79, 70, 229, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1200px 500px at 85% -6%, var(--mesh-1), transparent 60%),
    radial-gradient(900px 540px at 8% 8%, var(--mesh-2), transparent 62%),
    radial-gradient(750px 520px at 60% 110%, var(--mesh-3), transparent 70%),
    linear-gradient(180deg, #f8fafc 0%, #f5f6fa 45%, #ede9fe 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 120px 120px;
  content: "";
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

body::after {
  background:
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.08), transparent 38%),
    radial-gradient(circle at 80% 28%, rgba(139, 92, 246, 0.08), transparent 34%);
  content: "";
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
}

.header {
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 252, 0.84);
  border-bottom: 1px solid rgba(30, 41, 59, 0.05);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  z-index: 1000;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  box-shadow: 0 16px 34px rgba(30, 41, 59, 0.1);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 84px;
}

.logo {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: -0.03em;
}

.logo-mark {
  display: block;
  filter: drop-shadow(0 8px 14px rgba(99, 102, 241, 0.2));
  height: 42px;
  object-fit: contain;
  width: 42px;
}

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

.nav-links {
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(19, 35, 39, 0.08);
  border-radius: 999px;
  box-shadow: 0 7px 20px rgba(19, 35, 39, 0.05);
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 8px 14px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 8px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  background: linear-gradient(90deg, var(--brand), var(--signal));
  border-radius: 99px;
  bottom: -7px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  background: var(--ink);
  border-radius: 999px;
  display: block;
  height: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 24px;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  align-items: center;
  border-radius: calc(var(--radius-sm) + 4px);
  display: inline-flex;
  gap: 12px;
  justify-content: center;
  padding: 14px 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.25);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand), var(--signal));
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.3);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  box-shadow: 0 24px 60px rgba(99, 102, 241, 0.4), 0 0 40px rgba(139, 92, 246, 0.2);
  transform: translateY(-4px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.15);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-lg {
  padding: 15px 28px;
}

.home-hero-v2 {
  padding: 148px 0 98px;
  position: relative;
}

.home-hero-frame {
  background:
    radial-gradient(820px 420px at 100% 0, rgba(45, 93, 255, 0.12), transparent 65%),
    radial-gradient(760px 360px at 0 100%, rgba(10, 110, 110, 0.1), transparent 64%),
    linear-gradient(155deg, #ffffff 0%, #f8fbff 56%, #f3f8ff 100%);
  border: 1px solid rgba(19, 35, 39, 0.1);
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(19, 35, 39, 0.12);
  color: var(--ink);
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.home-hero-frame::before {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(19, 35, 39, 0.04) 0,
      rgba(19, 35, 39, 0.04) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(19, 35, 39, 0.03) 0,
      rgba(19, 35, 39, 0.03) 1px,
      transparent 1px,
      transparent 24px
    );
  content: "";
  inset: 0;
  opacity: 0.7;
  position: absolute;
}

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

.home-hero-topline {
  align-items: center;
  border-bottom: 1px solid rgba(19, 35, 39, 0.12);
  display: flex;
  justify-content: space-between;
  padding: 2px 2px 18px;
}

.home-hero-kernel {
  align-items: center;
  color: var(--brand-deep);
  display: inline-flex;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.84rem;
  font-weight: 500;
  gap: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-kernel-dot {
  background: linear-gradient(135deg, #0d6e6e, #6366f1);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(53, 208, 187, 0.22);
  height: 8px;
  width: 8px;
}

.home-hero-live {
  background: rgba(13, 110, 110, 0.08);
  border: 1px solid rgba(13, 110, 110, 0.24);
  border-radius: 999px;
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  text-transform: uppercase;
}

.home-hero-content {
  display: grid;
  gap: 26px;
  grid-template-columns: 1.25fr 0.75fr;
  padding-top: 26px;
}

.home-hero-main h1 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.2vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 20px;
  max-width: 13ch;
  text-wrap: balance;
}

.home-hero-main p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 62ch;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.home-hero-tags span {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(19, 35, 39, 0.14);
  border-radius: 999px;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 9px 12px;
}

.home-hero-track {
  display: grid;
  gap: 12px;
}

.home-hero-side {
  display: grid;
  gap: 12px;
}

.home-hero-video-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 35, 39, 0.14);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.home-hero-video-card::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(15, 24, 35, 0.12));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.home-hero-video {
  display: block;
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.home-track-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 35, 39, 0.14);
  border-radius: 18px;
  padding: 16px 16px 14px;
}

.home-track-item span {
  color: var(--brand);
  display: inline-block;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.home-track-item h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.home-track-item p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.home-hero-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.home-metric {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 35, 39, 0.14);
  border-radius: 14px;
  padding: 14px 14px 12px;
}

.home-metric strong {
  color: var(--brand-deep);
  display: block;
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.home-metric span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero,
.page-hero {
  isolation: isolate;
  overflow: hidden;
  padding: 148px 0 92px;
  position: relative;
}

.hero::before,
.page-hero::before {
  background:
    radial-gradient(circle at center, rgba(99, 102, 241, 0.18), transparent 65%),
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
  content: "";
  height: 420px;
  pointer-events: none;
  position: absolute;
  right: -150px;
  top: -120px;
  transform: rotate(-10deg);
  width: 420px;
  z-index: -1;
}

.hero::after,
.page-hero::after {
  background:
    radial-gradient(circle at center, rgba(139, 92, 246, 0.16), transparent 66%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.05), transparent);
  border-radius: 50%;
  content: "";
  height: 340px;
  left: -100px;
  pointer-events: none;
  position: absolute;
  top: 50px;
  width: 340px;
  z-index: -1;
}

.page-hero {
  padding-bottom: 72px;
}

.hero-shell {
  align-items: center;
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 1200px) {
  .hero-shell {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-copy h1,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
  max-width: 16ch;
  text-wrap: balance;
}

.page-hero h1 {
  margin-left: auto;
  margin-right: auto;
  max-width: 16ch;
  text-align: center;
}

.hero-copy p,
.page-hero p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.72;
  max-width: 760px;
}

.page-hero p {
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-deep);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 10px;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  padding: 10px 14px;
  text-transform: uppercase;
}

.hero-badge svg {
  color: var(--signal);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 24px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: calc(var(--radius-sm) + 2px);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 16px;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}

.chip:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.hero-panel,
.content-panel,
.quick-start,
.contact-panel,
.cta-band,
.hero-card {
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: calc(var(--radius-lg) + 4px);
  box-shadow: 0 32px 80px rgba(79, 70, 229, 0.18);
}

.hero-panel {
  background:
    linear-gradient(135deg, rgba(30, 27, 75, 0.98), rgba(67, 56, 202, 0.95), rgba(99, 102, 241, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
  color: #ffffff;
  overflow: hidden;
  padding: 36px;
  position: relative;
  transform-style: preserve-3d;
}

.hero-panel::before {
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.35), transparent 40%),
    radial-gradient(circle at bottom left, rgba(165, 180, 252, 0.3), transparent 40%),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 12px
    );
  content: "";
  inset: 0;
  position: absolute;
}

.hero-panel::after {
  background: 
    radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.15), transparent 50%);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

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

.panel-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.panel-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.panel-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  margin-top: 18px;
  padding: 18px 20px;
}

.status-list {
  display: grid;
  gap: 12px;
}

.status-row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.status-row span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.93rem;
}

.status-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 10px;
}

.signal-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.signal-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 18px;
}

.signal-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.signal-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.section {
  padding: 96px 0;
}

.section-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(238, 242, 255, 0.7));
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(30, 41, 59, 0.06);
}

.section-header {
  margin: 0 auto 54px;
  max-width: 760px;
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.stats-row {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: calc(var(--radius-md) + 4px);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.1);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stat-item::before {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
  content: "";
  height: 4px;
  left: 20%;
  position: absolute;
  right: 20%;
  top: 0;
  border-radius: 99px;
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.18);
}

.stat-item .number {
  background: linear-gradient(135deg, var(--brand-deep), var(--signal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat-item .label {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 500;
  margin-top: 14px;
}

.features-grid,
.value-grid,
.docs-grid,
.contact-cards,
.timeline-grid {
  display: grid;
  gap: 22px;
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.value-grid {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 26px;
}

.docs-grid,
.contact-cards,
.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.doc-card,
.value-card,
.timeline-card,
.contact-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: calc(var(--radius-md) + 2px);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.08);
  overflow: hidden;
  padding: 32px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::after,
.doc-card::after,
.value-card::after,
.timeline-card::after,
.contact-card::after {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.06));
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card::before,
.doc-card::before,
.value-card::before,
.timeline-card::before,
.contact-card::before {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.88), rgba(139, 92, 246, 0.82));
  border-radius: 99px;
  content: "";
  height: 3px;
  left: 20px;
  position: absolute;
  top: 0;
  width: 52px;
}

.feature-card:hover,
.doc-card:hover,
.value-card:hover,
.timeline-card:hover,
.contact-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2), 0 0 40px rgba(139, 92, 246, 0.1);
  transform: translateY(-8px) scale(1.02);
}

.feature-card:hover::after,
.doc-card:hover::after,
.value-card:hover::after,
.timeline-card:hover::after,
.contact-card:hover::after {
  opacity: 1;
}

.feature-icon,
.contact-card-icon,
.value-card-icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.14));
  border-radius: 18px;
  color: var(--brand-deep);
  display: inline-flex;
  height: 58px;
  justify-content: center;
  margin-bottom: 18px;
  width: 58px;
}

.feature-card h3,
.doc-card h3,
.value-card h3,
.timeline-card h3,
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 12px;
}

.feature-card p,
.doc-card p,
.value-card p,
.timeline-card p,
.contact-card p,
.content-panel p,
.contact-panel p {
  color: var(--muted);
}

.contact-card h3 a {
  color: inherit;
  display: block;
  font-size: 1.12rem;
  line-height: 1.22;
  overflow-wrap: anywhere;
  text-decoration: none;
  word-break: break-word;
}

.feature-list,
.detail-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin-top: 18px;
}

.feature-list li,
.detail-list li {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  gap: 10px;
}

.feature-list li::before,
.detail-list li::before {
  color: var(--signal);
  content: "+";
  font-weight: 700;
  line-height: 1;
  margin-top: 1px;
}

.split-layout {
  display: grid;
  gap: 48px;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

@media (min-width: 900px) {
  .split-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
  }
}

.content-panel,
.contact-panel {
  padding: 32px;
}

.content-panel h3,
.contact-panel h3,
.quick-start h3,
.cta-band h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 16px;
}

.content-panel .chip-row {
  margin-top: 22px;
}

.arch-stack {
  display: grid;
  gap: 24px;
  position: relative;
}

.arch-stack::before {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
  border-radius: 24px;
  content: "";
  inset: -20px;
  position: absolute;
  z-index: -1;
}

.arch-layer {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(99, 102, 241, 0.14);
  border-radius: calc(var(--radius-md) + 4px);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.1);
  overflow: hidden;
  padding: 32px;
  position: relative;
  backdrop-filter: blur(12px);
}

.arch-layer::before {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
  content: "";
  height: 80px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
}

.arch-layer:not(:last-child)::after {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.35), rgba(139, 92, 246, 0.35));
  border-radius: 999px;
  bottom: -24px;
  content: "";
  height: 24px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 3px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.arch-layer.highlight {
  background:
    linear-gradient(135deg, rgba(30, 27, 75, 0.94), rgba(79, 70, 229, 0.9)),
    rgba(255, 255, 255, 0.9);
  color: #f5f3ff;
}

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

.arch-layer.highlight p,
.arch-layer.highlight .arch-service {
  color: #eff8f6;
}

.arch-layer-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.arch-layer-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.badge {
  background: rgba(255, 123, 44, 0.14);
  border-radius: 999px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.arch-layer.highlight .badge {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.arch-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.arch-service {
  background: rgba(19, 35, 39, 0.05);
  border: 1px solid rgba(19, 35, 39, 0.08);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 9px 12px;
}

.arch-layer.highlight .arch-service {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}

.timeline-card {
  min-height: 210px;
}

.timeline-step {
  color: var(--brand);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.use-cases-vertical {
  display: grid;
  gap: 20px;
  margin: 20px 0;
}

.use-case-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: calc(var(--radius-md) + 2px);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.08);
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  padding: 28px 32px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.use-case-row::before {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.88), rgba(139, 92, 246, 0.82));
  border-radius: 99px;
  content: "";
  height: calc(100% - 32px);
  left: 12px;
  position: absolute;
  top: 16px;
  width: 4px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.use-case-row:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.15), 0 0 32px rgba(139, 92, 246, 0.08);
  transform: translateX(10px) scale(1.01);
  background: rgba(255, 255, 255, 0.85);
}

.use-case-icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(139, 92, 246, 0.18));
  border-radius: 18px;
  color: var(--brand-deep);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  height: 54px;
  justify-content: center;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  width: 54px;
}

.use-case-content h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  margin-bottom: 6px;
}

.use-case-content p {
  color: var(--muted);
}

.use-case-compute {
  background: var(--signal-soft);
  border: 1px solid rgba(255, 123, 44, 0.2);
  border-radius: 999px;
  color: #b24f0a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 12px;
  white-space: nowrap;
}

.code-block {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(30, 27, 75, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(30, 27, 75, 0.28);
  overflow: hidden;
}

.code-actions {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
}

.code-actions span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.82rem;
  padding: 8px 12px;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.code-block pre {
  color: #e0e7ff;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.9rem;
  line-height: 1.75;
  overflow-x: auto;
  padding: 22px 24px 26px;
}

.code-block .comment {
  color: #94a3b8;
}

.code-block .keyword {
  color: #a5b4fc;
}

.code-block .string {
  color: #f0abfc;
}

.code-block .function {
  color: #818cf8;
}

.docs-search {
  margin: 30px auto 0;
  max-width: 620px;
  position: relative;
}

.docs-search input {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(19, 35, 39, 0.14);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  padding: 16px 18px 16px 50px;
  width: 100%;
}

.docs-search input:focus {
  border-color: rgba(13, 110, 110, 0.4);
  box-shadow: 0 0 0 5px rgba(13, 110, 110, 0.08);
  outline: none;
}

.docs-search svg {
  color: var(--muted);
  left: 18px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.docs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.docs-nav-item {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(19, 35, 39, 0.11);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 11px 16px;
}

.docs-nav-item:hover,
.docs-nav-item.active {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  border-color: transparent;
  color: #ffffff;
}

.quick-start {
  padding: 32px;
}

.quick-start-steps {
  counter-reset: step;
  display: grid;
  gap: 22px;
}

.step {
  border-left: 2px solid rgba(99, 102, 241, 0.18);
  padding-left: 58px;
  position: relative;
}

.step::before {
  align-items: center;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  border-radius: 50%;
  color: #ffffff;
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  left: -18px;
  position: absolute;
  top: 0;
  width: 34px;
}

.step:last-child {
  padding-bottom: 0;
}

.step h4 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  margin-bottom: 16px;
}

.api-endpoint {
  align-items: center;
  background: rgba(12, 33, 37, 0.96);
  border-radius: 18px;
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 18px;
}

.api-method {
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 7px 11px;
  text-transform: uppercase;
}

.api-method.post {
  background: #1f8d65;
}

.api-method.get {
  background: #2f79ba;
}

.api-method.put {
  background: #b9771e;
}

.api-path {
  color: #e4efec;
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 0.88rem;
}

.resource-list {
  display: grid;
  gap: 14px;
  list-style: none;
}

.resource-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 35, 39, 0.09);
  border-radius: 18px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
  padding: 18px 20px;
}

.resource-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 2px;
}

.resource-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.resource-badge {
  background: rgba(13, 110, 110, 0.1);
  border-radius: 999px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 10px;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 35, 39, 0.09);
  border-collapse: collapse;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  width: 100%;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid rgba(19, 35, 39, 0.08);
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: rgba(13, 110, 110, 0.08);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.data-table td {
  color: var(--muted);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.contact-cards {
  margin-bottom: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-card small {
  color: var(--brand);
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.contact-main {
  display: grid;
  gap: 26px;
  grid-template-columns: 0.95fr 1.05fr;
}

.contact-points {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-point {
  align-items: flex-start;
  display: flex;
  gap: 14px;
}

.contact-point-icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.16));
  border-radius: 16px;
  color: var(--brand-deep);
  display: inline-flex;
  flex-shrink: 0;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.contact-point strong {
  display: block;
  margin-bottom: 4px;
}

.contact-point a,
.contact-point span {
  color: var(--muted);
}

.contact-map-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(19, 35, 39, 0.1);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
  padding: 16px;
}

.contact-map-head {
  margin-bottom: 12px;
}

.contact-map-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.contact-map-head span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-map-head a {
  color: var(--brand);
  font-weight: 600;
}

.contact-map-frame {
  border: 1px solid rgba(19, 35, 39, 0.14);
  border-radius: 14px;
  overflow: hidden;
}

.contact-map-frame iframe {
  border: 0;
  display: block;
  height: 300px;
  width: 100%;
}

.contact-map-link {
  margin-top: 12px;
}

.contact-form {
  padding: 32px;
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(19, 35, 39, 0.14);
  border-radius: 16px;
  color: var(--ink);
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(13, 110, 110, 0.42);
  box-shadow: 0 0 0 5px rgba(13, 110, 110, 0.08);
  outline: none;
}

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

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 18px;
}

.form-feedback {
  border: 1px solid transparent;
  border-radius: 12px;
  display: none;
  font-size: 0.9rem;
  margin-top: 10px;
  padding: 10px 12px;
}

.form-feedback.is-success {
  background: rgba(45, 147, 108, 0.12);
  border-color: rgba(45, 147, 108, 0.35);
  color: #14533d;
  display: block;
}

.form-feedback.is-error {
  background: rgba(255, 123, 44, 0.12);
  border-color: rgba(255, 123, 44, 0.35);
  color: #8f3f0d;
  display: block;
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(30, 27, 75, 0.98), rgba(67, 56, 202, 0.95), rgba(79, 70, 229, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent);
  color: #ffffff;
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr auto;
  overflow: hidden;
  padding: 42px 48px;
  position: relative;
  border-radius: calc(var(--radius-lg) + 8px);
  box-shadow: 0 40px 120px rgba(79, 70, 229, 0.3);
}

.cta-band::before {
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.35), transparent 45%),
    radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.3), transparent 40%),
    repeating-linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.1) 0,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px,
      transparent 14px
    );
  content: "";
  inset: 0;
  position: absolute;
}

.cta-band::after {
  background: 
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.2), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.2), transparent 50%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

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

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}

.cta-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer {
  background: 
    linear-gradient(180deg, rgba(30, 27, 75, 0.98), rgba(30, 41, 59, 0.96)),
    linear-gradient(0deg, rgba(99, 102, 241, 0.05), transparent);
  color: #ffffff;
  margin-top: 120px;
  padding: 96px 0 36px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  background: 
    radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.12), transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.1), transparent 60%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.6fr 1.2fr 1.2fr;
  position: relative;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  margin: 24px 0 28px;
  max-width: 460px;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-links a,
.footer-meta {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 32px;
  position: relative;
}

.footer-bottom::before {
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: -1px;
  right: 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.animate-fade-in {
  animation: fadeUp 0.78s cubic-bezier(0.21, 1, 0.28, 1) forwards;
  will-change: transform, opacity;
}

@keyframes fadeUp {
  from {
    filter: blur(5px);
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-fade-in,
  .feature-card,
  .doc-card,
  .value-card,
  .timeline-card,
  .contact-card,
  .use-case-row,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1080px) {
  .home-hero-content {
    grid-template-columns: 1fr;
  }

  .home-hero-main h1 {
    max-width: 16ch;
  }

  .home-hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split-layout,
  .contact-main,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-band {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .features-grid,
  .docs-grid,
  .timeline-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
  }

  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 820px) {
  .home-hero-v2 {
    padding: 126px 0 80px;
  }

  .home-hero-frame {
    border-radius: 24px;
    padding: 20px;
  }

  .home-hero-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 14px;
  }

  .home-hero-main h1 {
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.08;
    max-width: 20ch;
  }

  .home-hero-main p {
    font-size: 1rem;
  }

  .home-hero-actions .btn {
    width: 100%;
  }

  .home-hero-video {
    height: 200px;
  }

  .home-hero-metrics {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 72px;
  }

  .nav {
    gap: 12px;
  }

  .nav-links {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 28px;
    box-shadow: 0 16px 48px rgba(79, 70, 229, 0.12);
    display: none;
    flex-direction: column;
    left: 16px;
    padding: 20px;
    position: absolute;
    right: 16px;
    top: calc(100% + 12px);
  }

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

  .nav .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .features-grid,
  .value-grid,
  .docs-grid,
  .contact-cards,
  .timeline-grid,
  .stats-row,
  .form-grid,
  .signal-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .use-case-row {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 24px;
  }

  .use-case-row:hover {
    transform: translateY(-4px);
  }

  .use-case-compute {
    justify-self: start;
  }

  .contact-map-frame iframe {
    height: 260px;
  }

  .hero-panel,
  .content-panel,
  .cta-band {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .home-hero-v2 {
    padding-top: 118px;
  }

  .home-hero-frame {
    padding: 16px;
  }

  .home-hero-main h1 {
    font-size: 1.9rem;
  }

  .home-hero-video {
    height: 176px;
  }

  .home-hero-track {
    gap: 10px;
  }

  .home-track-item {
    padding: 14px 12px 12px;
  }

  .container {
    padding: 0 16px;
  }

  .hero,
  .page-hero {
    padding-top: 128px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    max-width: 20ch;
  }

  .section {
    padding: 64px 0;
  }

  .feature-card,
  .doc-card,
  .value-card,
  .timeline-card,
  .contact-card,
  .content-panel,
  .contact-panel,
  .quick-start,
  .contact-form,
  .cta-band,
  .hero-panel,
  .arch-layer {
    padding: 24px;
  }

  .step {
    padding-left: 48px;
  }

  .contact-map-frame iframe {
    height: 230px;
  }

  .btn-lg {
    padding: 13px 22px;
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
