/* ============================================================
   NextStat Cloud Landing — Design System v2.1 (Production)
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --gold: #D4AF37;
  --gold-light: #E5C158;
  --gold-dark: #B8962E;
  --gold-dim: rgba(212, 175, 55, 0.12);
  --gold-glow: rgba(212, 175, 55, 0.30);
  --gold-text: var(--gold);

  --bg-color: #0A0A0A;
  --bg-fade: rgba(10, 10, 10, 0.9);
  --bg-elevated: #141414;
  --bg-card: rgba(26, 26, 26, 0.8);

  --text: #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-muted: #606060;

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-gold: rgba(212, 175, 55, 0.4);

  --radius-pill: 9999px;
  --radius-card: 16px;

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --max-width: 1200px;
  --section-py: 120px;
  --grain-opacity: 0.04;

  --code-bg: #0F0F0F;
  --code-comment: #606060;
  --code-string: #7EC699;
  --code-key: #CC99CD;
  --code-flag: #67CDCC;
}

[data-theme="light"] {
  --bg-color: #FAFAF8;
  --bg-fade: rgba(250, 250, 248, 0.9);
  --bg-elevated: #F0EDE8;
  --bg-card: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #737373;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --border-gold: rgba(212, 175, 55, 0.6);
  --gold-text: #AC8419;
  --code-bg: #F5F3EF;
  --code-comment: #999;
  --grain-opacity: 0.025;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg-color);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

/* ---------- Grain Overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
}

/* ---------- Section Backgrounds (unique per section) ---------- */
.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.bg-gen-hero {
  background:
    radial-gradient(circle at 50% 100%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(212, 175, 55, 0.015) 2deg, transparent 4deg),
    linear-gradient(180deg, var(--bg-color) 0%, var(--bg-fade) 100%);
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.8;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, var(--bg-color) 100%);
  z-index: 1;
}

.bg-gen-scatter {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 0%, var(--gold-dim) 0%, transparent 70%);
}

.bg-gen-pipeline {
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
    linear-gradient(225deg, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, var(--gold-dim) 0%, transparent 60%);
}

.bg-gen-waves {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.bg-gen-circuit {
  background:
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    linear-gradient(0deg, rgba(212, 175, 55, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-content {
  position: relative;
  z-index: 2;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 max(24px, 6vw);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(250, 250, 248, 0.85);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 28px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ---------- Navigation ---------- */
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--gold);
}

/* ---------- Theme Toggle ---------- */
.theme-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.theme-toggle svg {
  width: 14px;
  height: 14px;
}

/* Dark: show sun, hide moon */
[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* Light: show moon, hide sun */
[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  color: var(--text);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 10px 24px;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--gold-dim);
}

.btn-ghost {
  padding: 10px 24px;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 12px;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 0 max(24px, 6vw) 24px;
  background: var(--bg-color);
  border-bottom: 1px solid var(--border);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-link {
  font-size: 13px;
  padding: 8px 0;
}

/* ---------- Hero Particles ---------- */
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

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

.hero h1 {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 40px;
}

.hero h1 .gold {
  color: var(--gold-text, var(--gold));
}

/* Hero Decorative Rule */
.hero-rule {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.3;
  z-index: 1;
}

/* ---------- Vertical Tabs ---------- */
.hero-verticals {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 32px;
}

.hero-verticals-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

.hero-vtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 800px;
}

.hero-vtab {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.hero-vtab:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.hero-vtab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hero-vtab[aria-selected="true"] {
  color: #000;
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}

/* ---------- Vertical Content (stacked crossfade) ---------- */
.hero-vertical-content {
  position: relative;
  min-height: 160px;
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.hero-vblock {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(8px);
}

.hero-vblock.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-vblock p.hero-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 24px;
}

/* ---------- Hero Tags ---------- */
.hero-formats,
.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
  gap: 8px;
  align-items: center;
}

.hero-format-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-right: 4px;
}

.hero-format-pill {
  border-radius: 4px;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold-text, var(--gold));
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
}

.hero-cap {
  border-radius: 4px;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
}

/* ---------- Hero Actions ---------- */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-docs-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: all 0.2s;
}

.hero-docs-link:hover {
  color: var(--text);
  border-color: var(--text);
}

/* Micro label */
.hero-micro {
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-speed-badge {
  color: var(--gold-text, var(--gold));
  font-weight: 600;
}

.hero-sep {
  color: var(--border);
}

/* ---------- Metrics Strip ---------- */
.metrics {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

[data-theme="light"] .metrics {
  background: rgba(255, 255, 255, 0.4);
}

.metrics-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
}

.metric {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.metric:last-child {
  border-right: none;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.metric-value .gold {
  color: var(--gold);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  font-weight: 400;
}

/* ---------- Cards Grid ---------- */
.verticals-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.v-card,
.why-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.v-card::after,
.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 1px var(--border-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.v-card:hover,
.why-card:hover {
  transform: translateY(-4px);
  background: var(--bg-elevated);
}

.v-card:hover::after,
.why-card:hover::after {
  opacity: 1;
}

.v-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
}

.v-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.v-card h3,
.why-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.v-card p,
.why-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.v-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px dashed var(--border);
  padding: 4px 8px;
  border-radius: 4px;
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 64px;
}

.step {
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ---------- Code Block ---------- */
.code-block {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 840px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .code-block {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.code-header {
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #EF4444;
}

.code-dot:nth-child(2) {
  background: #F59E0B;
}

.code-dot:nth-child(3) {
  background: #10B981;
}

.code-header span:last-child {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.code-body {
  padding: 24px 32px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}

.code-body pre {
  font-family: var(--font-mono);
  color: var(--text);
  tab-size: 4;
}

.c-cmt {
  color: var(--code-comment);
}

.c-str {
  color: var(--code-string);
}

.c-key {
  color: var(--code-key);
}

.c-url {
  color: var(--gold);
}

.c-flg {
  color: var(--code-flag);
}

/* ---------- Why Cards ---------- */
.why-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
  letter-spacing: 0.1em;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg-color);
}

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

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.05em;
}

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

/* ---------- GSAP Fallback ---------- */
.no-gsap .hero-word,
.no-gsap .hero-verticals,
.no-gsap .hero-vblock.active,
.no-gsap .hero-actions,
.no-gsap .hero-micro,
.no-gsap .hero-rule,
.no-gsap .hero-bg,
.no-gsap .section-header,
.no-gsap .metric,
.no-gsap .v-card,
.no-gsap .why-card,
.no-gsap .step,
.no-gsap .code-block,
.no-gsap .cta-section .section-content {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* ---------- noscript ---------- */
.noscript-content {
  max-width: var(--max-width);
  margin: 120px auto 60px;
  padding: 0 24px;
  font-family: var(--font-body);
}

.noscript-content h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

.noscript-content h2 {
  font-size: 28px;
  margin: 48px 0 16px;
}

.noscript-content p,
.noscript-content li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.noscript-content ul {
  padding-left: 20px;
}

.noscript-content a {
  color: var(--gold);
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  :root {
    --section-py: 80px;
  }

  .header-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 56px);
    margin-bottom: 32px;
  }

  .hero-rule {
    display: none;
  }

  .hero-vtab {
    font-size: 10px;
    padding: 6px 12px;
  }

  .hero-vertical-content {
    min-height: 200px;
  }

  .hero-vblock p.hero-subtitle {
    font-size: 16px;
  }

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

  .metric:nth-child(2) {
    border-right: none;
  }

  .metric:nth-child(3),
  .metric:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .verticals-grid,
  .why-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .v-card,
  .why-card {
    padding: 32px 24px;
  }

  .code-body {
    padding: 16px 20px;
    font-size: 12px;
  }

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

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-vtabs {
    gap: 6px;
  }

  .hero-vtab {
    font-size: 9px;
    padding: 5px 10px;
  }

  .hero-formats,
  .hero-capabilities {
    gap: 6px;
  }

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

  .metric {
    padding: 24px 16px;
  }

  .metric-value {
    font-size: 24px;
  }
}
