/* ================================================
   now2sdk — Corporate SDK Site CSS
   ================================================ */

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

:root {
  --bg: #000000;
  --bg-1: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --bg-4: #222222;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --accent: #818cf8;
  --accent-2: #38bdf8;
  --accent-3: #a78bfa;
  --green: #34d399;
  --orange: #fb923c;
  --red: #f87171;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.section {
  padding: 96px 0;
}

.desktop-only {
  display: inline;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-3);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

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

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

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 13px 28px;
  font-size: 16px;
}

code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.875em;
  color: var(--accent);
  background: rgba(129, 140, 248, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ── Announcement Bar ──────────────────────── */
.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 20px;
  position: relative;
  background: linear-gradient(90deg, rgba(129, 140, 248, .1), rgba(52, 211, 153, .06), rgba(129, 140, 248, .1));
  border-bottom: 1px solid rgba(129, 140, 248, .18);
  font-size: 13px;
  color: var(--text-secondary);
}

.announcement-bar .badge {
  background: linear-gradient(135deg, var(--accent), var(--green));
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.announcement-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
}

.announcement-link:hover {
  text-decoration: underline;
}

.announcement-close {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.announcement-close:hover {
  color: var(--text-primary);
}

/* ── Navbar ────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, .96);
  box-shadow: 0 1px 40px rgba(0, 0, 0, .7);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.nav-item {
  position: relative;
}

.nav-link,
.nav-link-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 450;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color .15s, background .15s;
}

.nav-link:hover,
.nav-link-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, .05);
}

.chevron {
  transition: transform .2s;
}

.nav-item:hover .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  gap: 24px;
  min-width: 500px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, visibility .2s, transform .2s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}

.dropdown-sm {
  min-width: 280px;
  gap: 0;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-col {
  flex: 1;
  min-width: 0;
}

.dropdown-heading {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
  padding: 0 8px;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-primary);
  transition: background .15s;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, .05);
}

.di-icon {
  font-size: 16px;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}

.di-purple {
  color: var(--accent-3);
}

.di-blue {
  color: var(--accent-2);
}

.di-cyan {
  color: #22d3ee;
}

.di-green {
  color: var(--green);
}

.di-orange {
  color: var(--orange);
}

.di-red {
  color: var(--red);
}

.dropdown-item strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 1px;
}

.dropdown-item small {
  display: block;
  font-size: 11.5px;
  color: var(--text-tertiary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}

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

.mobile-menu a {
  padding: 11px 14px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: all .15s;
}

.mobile-menu a:hover {
  background: var(--bg-3);
  color: var(--text-primary);
}

.mobile-menu hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, black, transparent);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 700px;
  height: 600px;
  top: -250px;
  left: 50%;
  transform: translateX(-55%);
  background: rgba(129, 140, 248, .1);
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: 0%;
  background: rgba(56, 189, 248, .07);
}

.hero-glow-3 {
  width: 300px;
  height: 300px;
  top: 300px;
  left: 0%;
  background: rgba(52, 211, 153, .05);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}

.free-badge {
  background: linear-gradient(135deg, var(--accent), var(--green));
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 100px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-badge-sep {
  opacity: .3;
}

.hero-title {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* Hero code area */
.hero-code-wrap {
  max-width: 760px;
  margin: 0 auto 36px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .04);
}

.hero-code-tabs {
  display: flex;
  gap: 0;
  padding: 12px 16px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
}

.hct {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .15s;
  margin-bottom: -1px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.hct:hover {
  color: var(--text-secondary);
}

.hct.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
}

.hero-code-block {
  position: relative;
}

.hero-code-panel {
  display: none;
}

.hero-code-panel.active {
  display: block;
}

/* Code block shared */
.code-block,
.hero-code-block {
  background: #090909;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13px;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .02);
}

.lang-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ldot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.ldot-r {
  background: #ff5f56;
}

.ldot-y {
  background: #ffbd2e;
}

.ldot-g {
  background: #27c93f;
}

.code-lang {
  font-size: 11px;
  color: var(--text-tertiary);
  font-family: 'Inter', sans-serif;
}

.copy-btn {
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  color: var(--text-tertiary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 10px;
  border-radius: 4px;
  transition: all .15s;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--text-primary);
}

pre {
  overflow-x: auto;
}

pre code {
  display: block;
  padding: 20px;
  line-height: 1.85;
  color: #cdd6f4;
  background: none;
  border-radius: 0;
  font-size: 13px;
}

/* mini-code inside cards */
.mini-code pre code {
  padding: 14px;
  font-size: 12px;
  line-height: 1.75;
}

.mini-code {
  margin-top: 20px;
  background: #090909;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Syntax colors */
.cm {
  color: #6c7086;
}

.kw {
  color: #cba6f7;
}

.str {
  color: #a6e3a1;
}

.fn {
  color: #89b4fa;
}

.num {
  color: #fab387;
}

.prop {
  color: #f38ba8;
}

.tmpl {
  color: #f38ba8;
}

/* Platform chips */
.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-tertiary);
  transition: all .15s;
}

.platform-chip:hover {
  border-color: var(--border-hover);
  color: var(--text-secondary);
}

/* ── Stats Bar ─────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 0;
  width: fit-content;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}

.stat-num {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 40%, #71717a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-lbl {
  font-size: 11.5px;
  color: var(--text-tertiary);
  margin-top: 3px;
}

.stat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Architecture ──────────────────────────── */
.arch-intro {
  padding-bottom: 0;
}

.arch-flow {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 48px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.arch-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.arch-col-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-tertiary);
  margin-bottom: 4px;
  padding-left: 4px;
}

.arch-node {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color .2s;
}

.arch-node:hover {
  border-color: var(--border-hover);
}

.arch-node-accent {
  border-color: rgba(129, 140, 248, .25);
  background: rgba(129, 140, 248, .05);
}

.arch-sink {
  border-color: rgba(56, 189, 248, .2);
  background: rgba(56, 189, 248, .04);
}

.arch-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.arch-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .06);
  color: var(--text-tertiary);
  margin-bottom: 4px;
  width: fit-content;
}

.arch-tag.accent {
  background: rgba(129, 140, 248, .15);
  color: var(--accent);
}

.arch-tag.sink {
  background: rgba(56, 189, 248, .12);
  color: var(--accent-2);
}

.arch-arrow {
  font-size: 24px;
  color: var(--text-tertiary);
  padding-top: 52px;
  flex-shrink: 0;
}

/* ── Bento Grid ────────────────────────────── */
.bento-section {
  padding-top: 48px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto;
  gap: 14px;
}

/* Row 1: SDK=8 cols, Free=4 cols */
.bento-sdk {
  grid-column: 1 / 9;
  grid-row: 1;
}

.bento-free {
  grid-column: 9 / 13;
  grid-row: 1;
}

/* Row 2: Playout=6, Switch=6 */
.bento-grid>#bento-playout {
  grid-column: 1 / 7;
  grid-row: 2;
}

.bento-grid>#bento-switch {
  grid-column: 7 / 13;
  grid-row: 2;
}

/* Row 3: Record=6, CG=6 */
.bento-grid>#bento-rec {
  grid-column: 1 / 7;
  grid-row: 3;
}

.bento-grid>#bento-cg {
  grid-column: 7 / 13;
  grid-row: 3;
}

/* Row 4: Linux full-width */
.bento-linux {
  grid-column: 1 / -1;
  grid-row: 4;
}

.bento-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: border-color .3s, transform .25s;
}

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

.bento-content {
  padding: 28px 32px;
  position: relative;
  z-index: 1;
}

.bento-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.bento-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(129, 140, 248, .1);
  border: 1px solid rgba(129, 140, 248, .2);
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 14px;
}

/* when inside bento-top-row, remove bottom margin */
.bento-top-row .bento-badge {
  margin-bottom: 0;
}

.free-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(52, 211, 153, .1);
  border: 1px solid rgba(52, 211, 153, .2);
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.bento-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.bento-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
}

.bento-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .4s;
}

.bento-card:hover .bento-glow {
  opacity: 1;
}

/* Free card specifics */
.big-free-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.big-free-badge span {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.free-modules {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fm-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.fm-item code {
  font-size: 11.5px;
}

.fm-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.fm-paid {
  opacity: .7;
}

.fm-paid-tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  background: rgba(167, 139, 250, .12);
  border: 1px solid rgba(167, 139, 250, .25);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-3);
}

/* Feature pills */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.fpill {
  padding: 4px 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11.5px;
  color: var(--text-secondary);
}

/* SDK card — back to single column */
.bento-sdk .bento-content {
  padding: 28px 32px;
  display: block;
}

.bento-sdk-left,
.bento-sdk-right {
  display: none;
}

/* LPreview arch node */
.arch-preview {
  border-color: rgba(167, 139, 250, .35);
  background: rgba(167, 139, 250, .07);
}

.arch-tag.preview {
  background: rgba(167, 139, 250, .15);
  color: var(--accent-3);
}

.arch-note {
  margin-top: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--text-tertiary);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.arch-note-inner {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.arch-note-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.arch-tag-sm {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: .05em;
  background: rgba(129, 140, 248, .12);
  color: var(--accent);
  flex-shrink: 0;
}

/* Linux card */
.bento-linux .bento-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.linux-logos {
  display: flex;
  gap: 20px;
  align-items: center;
}

.linux-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-tertiary);
}

.linux-logo-item small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.linux-logo-bright {
  color: #60a5fa;
}

.linux-info {}

.distro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.dchip {
  padding: 4px 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ── Tech Stack Grid ───────────────────────── */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tech-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .2s, background .2s;
}

.tech-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-3);
}

.tech-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-info {
  flex: 1;
  min-width: 0;
}

.tech-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  font-family: 'JetBrains Mono', monospace;
}

.tech-desc {
  font-size: 11.5px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.tech-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border: 1px solid;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Module Table ──────────────────────────── */
.modules-section {
  border-top: 1px solid var(--border);
}

.modules-table {
  margin-top: 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.mt-header {
  display: grid;
  grid-template-columns: 160px 90px 1fr 100px;
  padding: 12px 24px;
  background: var(--bg-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border);
}

.mt-row {
  display: grid;
  grid-template-columns: 160px 90px 1fr 100px;
  padding: 14px 24px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.mt-row:last-child {
  border-bottom: none;
}

.mt-row:hover {
  background: rgba(255, 255, 255, .02);
}

.mt-row-paid {
  background: rgba(167, 139, 250, .03);
}

.mt-class {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.mt-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  width: fit-content;
}

.mt-type.source {
  background: rgba(129, 140, 248, .1);
  color: var(--accent);
  border: 1px solid rgba(129, 140, 248, .2);
}

.mt-type.router {
  background: rgba(251, 146, 60, .1);
  color: var(--orange);
  border: 1px solid rgba(251, 146, 60, .2);
}

.mt-type.sink {
  background: rgba(56, 189, 248, .1);
  color: var(--accent-2);
  border: 1px solid rgba(56, 189, 248, .2);
}

.mt-type.paid-t {
  background: rgba(167, 139, 250, .1);
  color: var(--accent-3);
  border: 1px solid rgba(167, 139, 250, .2);
}

.mt-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.mt-lic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.free-lic {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(52, 211, 153, .1);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, .2);
}

.paid-lic {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(167, 139, 250, .1);
  color: var(--accent-3);
  border: 1px solid rgba(167, 139, 250, .2);
  white-space: nowrap;
}

/* ── Pricing ───────────────────────────────── */
.pricing-section {
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 52px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 36px;
  position: relative;
  transition: border-color .3s;
}

.pricing-card:hover {
  border-color: var(--border-hover);
}

.pricing-popular {
  border-color: rgba(129, 140, 248, .35);
  background: linear-gradient(160deg, rgba(129, 140, 248, .06), var(--bg-1));
  box-shadow: 0 0 0 1px rgba(129, 140, 248, .15);
}

.plan-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.plan-price {
  margin-bottom: 10px;
}

.price-amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-left: 6px;
}

.plan-desc {
  font-size: 13.5px;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.plan-features {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pf-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.pf-dim {
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* ── CTA ───────────────────────────────────── */
.cta-section {
  padding: 40px 0 96px;
}

.cta-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid rgba(129, 140, 248, .2);
  border-radius: 28px;
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(129, 140, 248, .13), transparent);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  font-size: clamp(28px, 4.5vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-card>.cta-content>p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

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

.cta-install {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.install-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.install-cmd {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
}

.install-cmd code {
  font-size: 13px;
  color: var(--accent-2);
  background: none;
  padding: 0;
}

/* ── Footer ────────────────────────────────── */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  margin-bottom: 56px;
}

.footer-tagline {
  font-size: 13.5px;
  color: var(--text-tertiary);
  line-height: 1.75;
  margin-bottom: 24px;
}

.footer-tagline code {
  font-size: 12px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-tertiary);
  text-decoration: none;
  transition: all .15s;
}

.social-link:hover {
  background: var(--bg-3);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.footer-col h5 {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text-tertiary);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color .15s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-tech-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tech-chip {
  padding: 3px 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11px;
  color: var(--text-tertiary);
  font-family: 'JetBrains Mono', monospace;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .bento-sdk {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .bento-free {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .bento-grid>#bento-playout {
    grid-column: 1 / 7;
    grid-row: 3;
  }

  .bento-grid>#bento-switch {
    grid-column: 7 / 13;
    grid-row: 3;
  }

  .bento-grid>#bento-rec {
    grid-column: 1 / 7;
    grid-row: 4;
  }

  .bento-grid>#bento-cg {
    grid-column: 7 / 13;
    grid-row: 4;
  }

  .bento-linux {
    grid-column: 1 / -1;
    grid-row: 5;
  }

  .bento-linux .bento-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .linux-logos {
    justify-content: flex-start;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .arch-flow {
    flex-direction: column;
  }

  .arch-arrow {
    transform: rotate(90deg);
    padding-top: 0;
    padding-left: 100px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 70px 0 60px;
  }

  .hero-badge {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 30px;
  }

  .desktop-only {
    display: none;
  }

  .bento-grid>#bento-playout,
  .bento-grid>#bento-switch,
  .bento-grid>#bento-rec,
  .bento-grid>#bento-cg {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .stats-inner {
    flex-direction: column;
    padding: 24px;
    width: 100%;
  }

  .stat-div {
    width: 60px;
    height: 1px;
  }

  .mt-header {
    display: none;
  }

  .mt-row {
    grid-template-columns: 140px 1fr;
    grid-template-rows: auto auto;
    gap: 6px;
    padding: 14px 16px;
  }

  .mt-class {
    grid-column: 1;
    grid-row: 1;
  }

  .mt-type {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-start;
  }

  .mt-desc {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .mt-lic {
    display: none;
  }

  .cta-card {
    padding: 48px 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .footer-links-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-inner {
    width: 100%;
  }

  .footer-links-group {
    grid-template-columns: 1fr 1fr;
  }

  .hero-platforms {
    gap: 6px;
  }

  .platform-chip {
    font-size: 11px;
    padding: 4px 10px;
  }
}

/* ── Animations ────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

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