/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #080c12;
  --bg-1:       #0d1220;
  --bg-2:       #111827;
  --bg-3:       #1a2235;
  --border:     rgba(0, 217, 255, 0.15);
  --border-dim: rgba(255,255,255,0.07);
  --cyan:       #00d9ff;
  --cyan-dim:   rgba(0, 217, 255, 0.35);
  --cyan-glow:  rgba(0, 217, 255, 0.12);
  --purple:     #7b2fff;
  --purple-dim: rgba(123, 47, 255, 0.3);
  --green:      #00ff9d;
  --text:       #c8d6e8;
  --text-bright:#e8f0fc;
  --text-muted: #6b7fa0;
  --radius:     12px;
  --radius-sm:  8px;
  --font:       -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono:       'Cascadia Code', 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

body > footer { margin-top: auto; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { color: var(--text-bright); font-weight: 700; line-height: 1.25; }

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, #00a8cc 40%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-green {
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p { color: var(--text); margin-bottom: 1rem; }
a { color: var(--cyan); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: 0.8; }
code { font-family: var(--mono); font-size: 0.875em; background: var(--bg-3); border: 1px solid var(--border-dim); border-radius: 4px; padding: 0.1em 0.4em; color: var(--cyan); }
strong { color: var(--text-bright); font-weight: 600; }

/* ===== LAYOUT ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; }
/* .hero owns its padding via its own rule. We deliberately do NOT zero
   padding-top on the first <section>: pages with a .page-hero (a sibling
   <div>) make the pricing/feature grid the first <section>, and absolutely-
   positioned children like .pricing-badge (top:-13px) would get clipped by
   the section's overflow:hidden if it had no top padding. */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 16px auto 0; }

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dim);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
  max-width: 1160px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-bright);
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.logo-icon:has(img) { background: none; }

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: opacity .2s, transform .2s !important;
}
.nav-cta:hover { opacity: 0.9 !important; transform: translateY(-1px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0099bb 100%);
  color: #000;
  box-shadow: 0 0 24px var(--cyan-dim);
}
.btn-primary:hover { box-shadow: 0 0 40px var(--cyan-dim); transform: translateY(-2px); color: #000; opacity: 1; }

.btn-secondary {
  background: transparent;
  color: var(--text-bright);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-glow); opacity: 1; }

.btn-ghost {
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--border-dim);
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-1);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .25s, box-shadow .25s;
}

.card:hover {
  border-color: var(--border);
  box-shadow: 0 0 28px var(--cyan-glow);
}

.card-glow {
  box-shadow: 0 0 40px var(--cyan-glow), inset 0 0 60px rgba(0,217,255,0.02);
}

/* ===== GLASS ===== */
.glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
}

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 80px 0 64px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,217,255,0.08);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 { margin-bottom: 24px; }
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border-dim);
}

.stat-item { }
.stat-value { font-size: 1.6rem; font-weight: 700; color: var(--text-bright); font-family: var(--mono); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* ===== FEATURE GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card { position: relative; overflow: hidden; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-1);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: all .25s;
}

.pricing-card.featured {
  border-color: var(--cyan);
  box-shadow: 0 0 40px var(--cyan-glow);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}

.pricing-name { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.pricing-price { font-size: 2.6rem; font-weight: 800; color: var(--text-bright); font-family: var(--mono); margin-bottom: 4px; }
.pricing-period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border-dim); }

.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 12px;
}
.pricing-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: var(--cyan-glow);
  border: 1px solid var(--cyan);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2300d9ff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ===== CODE BLOCK ===== */
.code-block {
  background: #060a10;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-dim);
}

.code-dots { display: flex; gap: 6px; }
.code-dot { width: 12px; height: 12px; border-radius: 50%; }
.code-dot:nth-child(1) { background: #ff5f57; }
.code-dot:nth-child(2) { background: #febc2e; }
.code-dot:nth-child(3) { background: #28c840; }

.code-lang {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.code-block pre {
  padding: 24px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text);
}

.kw  { color: #c792ea; }
.str { color: #c3e88d; }
.cm  { color: #546e7a; font-style: italic; }
.fn  { color: #82aaff; }
.ty  { color: #ffcb6b; }
.num { color: #f78c6c; }
.op  { color: var(--cyan); }

/* ===== LANG ECOSYSTEM ===== */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.lang-card {
  background: var(--bg-1);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  transition: all .2s;
  cursor: default;
}

.lang-card:hover {
  border-color: var(--border);
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-2px);
}

.lang-icon { font-size: 2rem; margin-bottom: 8px; display: flex; justify-content: center; align-items: center; min-height: 40px; }
.lang-icon svg { width: 36px; height: 36px; display: block; }

/* ===== NAV BREADCRUMB (product sub-pages) ===== */
.nav-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-bright);
}
.nav-breadcrumb .crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-breadcrumb .crumb:hover { color: var(--text-bright); }
.nav-breadcrumb .crumb-current { cursor: default; }
.nav-breadcrumb .crumb-current .crumb-label,
.nav-breadcrumb .crumb-current:hover .crumb-label,
nav .nav-logo .brand-text {
  background: linear-gradient(135deg, var(--cyan) 0%, #00a8cc 40%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-breadcrumb .crumb-sep {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.6;
}

@media (max-width: 640px) {
  .nav-breadcrumb .crumb:not(.crumb-current) span.crumb-label { display: none; }
}

/* ===== SECTION BACKGROUNDS (alternating, responsive) ===== */
/* Heroes share the same dark backdrop as section-dark — same grid + edge accents */
.section-dark,
.section-alt,
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.section-dark,
.hero,
.page-hero {
  background: var(--bg);
}

.section-alt {
  background: var(--bg-1);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}

/* Grid backdrop on every dark region — full bleed so transitions between sections are seamless */
.section-dark::before,
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,217,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,217,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Cyan + purple accents hugging the left and right edges so they never clip at section seams */
.section-dark::after,
.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 70% at -5% 50%,  rgba(0,217,255,0.10)  0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 105% 50%, rgba(123,47,255,0.10) 0%, transparent 60%);
}

/* Ensure region content sits above the decoration */
.section-dark > *,
.section-alt > *,
.hero > *,
.page-hero > * {
  position: relative;
  z-index: 1;
}
.lang-name { font-size: 0.85rem; font-weight: 600; color: var(--text-bright); }
.lang-status {
  font-size: 0.7rem;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 100px;
}
.lang-status.stable { color: var(--green); background: rgba(0,255,157,0.1); }
.lang-status.preview { color: var(--cyan); background: var(--cyan-glow); }

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

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

thead th {
  background: var(--bg-2);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border-dim);
  white-space: nowrap;
}

thead th.highlight { color: var(--cyan); }

tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-dim);
  color: var(--text);
  vertical-align: middle;
}

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

tbody tr:hover td { background: rgba(0,217,255,0.03); }

td.highlight { font-weight: 600; color: var(--cyan); }

td .check { color: var(--green); font-weight: 700; }
td .cross  { color: #ff5f57; }
td .partial { color: #febc2e; font-size: 0.8rem; }

/* ===== ARCH DIAGRAM ===== */
.arch-svg-wrap {
  background: var(--bg-1);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 32px;
  overflow-x: auto;
}

/* ===== STEPS / DOCS ===== */
.steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}

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

.step-line {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-num {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: var(--cyan-glow);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cyan);
  font-family: var(--mono);
}

.step-connector {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--border), transparent);
  margin-top: 8px;
}

.step-body { padding-top: 8px; }
.step-body h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }

/* ===== ENV VAR TABLE ===== */
.env-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.env-table th {
  background: var(--bg-2);
  padding: 10px 16px;
  text-align: left;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border-dim);
}
.env-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-dim);
  vertical-align: top;
}
.env-table tr:last-child td { border-bottom: none; }
.env-table tr:hover td { background: rgba(0,217,255,0.02); }
.env-table code { font-size: 0.8em; }
.env-table .default { color: var(--text-muted); font-size: 0.8em; }

/* ===== TABS ===== */
.tabs { margin-bottom: 0; }
.tab-list { display: flex; gap: 4px; border-bottom: 1px solid var(--border-dim); margin-bottom: 0; flex-wrap: wrap; }
.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
  font-family: var(--font);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== CALLOUT ===== */
.callout {
  display: flex;
  gap: 16px;
  background: rgba(0,217,255,0.05);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}
.callout-icon { font-size: 1.2rem; margin-top: 2px; }
.callout-body p { margin: 0; font-size: 0.9rem; }
.callout.warn { border-left-color: #febc2e; background: rgba(254,188,46,0.05); }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border-dim);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p { font-size: 0.875rem; color: var(--text-muted); margin-top: 12px; max-width: 280px; }

.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.875rem; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--text-bright); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-dim);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== ABOUT PAGE ===== */
.arch-section { padding: 96px 0; }

.component-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.component-card {
  background: var(--bg-1);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .2s;
}

.component-card:hover { border-color: var(--border); box-shadow: 0 0 24px var(--cyan-glow); }

.component-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.tag-server { background: rgba(0,217,255,0.1); color: var(--cyan); border: 1px solid var(--border); }
.tag-client { background: rgba(0,255,157,0.1); color: var(--green); border: 1px solid rgba(0,255,157,0.2); }
.tag-infra  { background: rgba(123,47,255,0.15); color: #a78bfa; border: 1px solid rgba(123,47,255,0.3); }

.component-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.component-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 80px 0 64px;
  text-align: center;
}

.page-hero h1 { margin-bottom: 20px; }
.page-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ===== FLOW INDICATORS ===== */
.flow-arrow {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  color: var(--cyan);
  font-size: 1.4rem;
  opacity: 0.6;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .pricing-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== PAGE TRANSITIONS ===== */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
body { animation: pageFadeIn 0.35s ease-out; }

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}

/* ===== PRODUCT CARDS (Schipper.io directory) ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  border-color: var(--cyan-dim);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -16px var(--cyan-glow);
}
.product-card.coming-soon { opacity: 0.6; cursor: default; }
.product-card.coming-soon:hover { transform: none; border-color: var(--border-dim); box-shadow: none; }

.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.product-card-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 10px;
}
.product-card h3 {
  color: var(--text-bright);
  margin-bottom: 8px;
}
.product-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  flex-grow: 1;
}
.product-card-meta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.status-badge.active {
  color: var(--green);
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid rgba(0, 255, 157, 0.3);
}
.status-badge.coming {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dim);
}
.status-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ===== SCHIPPERSOFT MONOGRAM ===== */
.logo-icon.ss-mark {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
}
.logo-icon.ss-mark svg { color: #fff; }

/* ===== PRINCIPLES / VALUES LIST ===== */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.principle {
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
}
.principle-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 12px;
}
.principle h4 { margin-bottom: 8px; }
.principle p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== CONTACT BLOCK ===== */
.contact-card {
  max-width: 560px;
  margin: 48px auto;
  padding: 36px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.contact-email {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 22px;
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--cyan);
  background: rgba(0, 217, 255, 0.06);
  border: 1px solid var(--cyan-dim);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.contact-email:hover { background: rgba(0, 217, 255, 0.12); }
