*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:     #0a0a0a;
  --bg2:    #111111;
  --border: #1e1e1e;
  --text:   #ededed;
  --muted:  #606060;
  --accent: #ffffff;
  --adim:   rgba(255,255,255,0.05);
  --font:   'Space Grotesk', system-ui, -apple-system, sans-serif;
  --mono:   'JetBrains Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; }

/* dot grid on entire page */
body {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* â”€â”€â”€ keyframes â”€â”€â”€ */

@keyframes navSlideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-100%); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  50%       { box-shadow: 0 0 40px 0 rgba(255,255,255,0.06); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 0.9; transform: scale(1.08); }
}

/* cycling word keyframe: bottom â†’ visible â†’ top â†’ hold â†’ reset */
@keyframes wordCycle {
  0%    { transform: translateY(110%); opacity: 0; }
  6%    { transform: translateY(0);    opacity: 1; animation-timing-function: cubic-bezier(0.16,1,0.3,1); }
  74%   { transform: translateY(0);    opacity: 1; animation-timing-function: cubic-bezier(0.4,0,0.6,1); }
  82%   { transform: translateY(-110%); opacity: 0; }
  83%   { transform: translateY(110%);  opacity: 0; }
  100%  { transform: translateY(110%);  opacity: 0; }
}

/* â”€â”€â”€ page-load animations â”€â”€â”€ */

.nav-entrance {
  animation: navSlideDown 0.55s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-anim {
  animation: fadeSlideUp 0.65s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: var(--d, 0ms);
}

/* â”€â”€â”€ scroll fade-up â”€â”€â”€ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
  transition-delay: var(--delay, 0ms);
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* â”€â”€â”€ nav â”€â”€â”€ */

nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 48px);
  max-width: 1040px;
  border-radius: 9999px;
  border: 1px solid transparent;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: transparent;
  transition: max-width 0.6s cubic-bezier(0.22,1,0.36,1),
              background 0.45s ease,
              border-color 0.45s ease,
              box-shadow 0.45s ease;
}

nav.scrolled {
  max-width: 900px;
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.07);
  box-shadow: 0 20px 60px -15px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.15s;
}

.logo:hover { opacity: 1; }

.logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.nav-links a {
  position: relative;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 9999px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }

nav:not(.scrolled) .nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

nav.scrolled .nav-links a.active {
  background: rgba(255,255,255,0.08);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-outline {
  display: flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: background 0.2s, color 0.15s;
}

.btn-outline:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
}

/* â”€â”€â”€ hero â”€â”€â”€ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 32px 72px;
  overflow: hidden;
  z-index: 1;
}

/* stronger dot grid in hero, fades toward edges */
.hero-grid {
  position: absolute;
  inset: -10px;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ambient glow blob behind heading */
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 700px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 70%);
  transform: translate(-50%, -52%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

h1 {
  font-size: clamp(72px, 10vw, 116px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin-bottom: 32px;
}

/* liquid morph text */
.liquid-morph {
  display: inline-grid;
  filter: url(#liquid-threshold) blur(0.6px);
  padding-bottom: 0.1em;
  margin-top: 0.10em;
}

.liquid-morph span {
  grid-area: 1 / 1;
  white-space: nowrap;
  color: var(--text);
  will-change: filter, opacity;
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* â”€â”€â”€ buttons â”€â”€â”€ */

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  padding: 11px 22px;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.15s, transform 0.12s, box-shadow 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,255,255,0.12);
}

.btn-primary:active { transform: translateY(0); }
.btn-lg { padding: 13px 28px; font-size: 0.95rem; }

.btn-ghost {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}

.btn-ghost:hover { color: var(--text); }

/* -- liquid metal button -- */
.btn-lm {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-lm::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    from 0deg,
    #222 0%,
    #666 18%,
    #ccc 30%,
    #fff 42%,
    #bbb 52%,
    #555 65%,
    #222 78%,
    #888 88%,
    #ddd 95%,
    #fff 98%,
    #222 100%
  );
  animation: lm-spin 3s linear infinite;
}

.btn-lm::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  border-radius: 100px;
  background: linear-gradient(165deg, #1e1e1e 0%, #080808 100%);
  z-index: 1;
}

.btn-lm-text {
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 400;
  color: #888;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-lm-ripple {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  animation: lm-ripple 0.6s ease-out forwards;
  z-index: 3;
  pointer-events: none;
}

/* full-width variant for card buttons */
.btn-lm-full {
  width: 100%;
  height: 42px;
}

/* hCaptcha logo → monochrome */
.pc-logo-mono {
  filter: grayscale(1) brightness(2.5);
}

@keyframes lm-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes lm-ripple {
  to { transform: translate(-50%, -50%) scale(5); opacity: 0; }
}

/* â”€â”€â”€ stats bar â”€â”€â”€ */

.stats-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f0f0f;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding: 48px 32px;
}

.stat { flex: 1; max-width: 260px; text-align: center; }

.stat-num {
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label { font-size: 0.8rem; color: var(--muted); }

.stat-div {
  width: 1px;
  height: 52px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 48px;
}

/* â”€â”€â”€ sections â”€â”€â”€ */

.section-pricing,
.section-cta {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

h2 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 20px;
}

/* â”€â”€â”€ sites â”€â”€â”€ */

.section-sites {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.sites-header { margin-bottom: 40px; }

.site-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.site-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 20px 22px;
  transition: border-color 0.3s, box-shadow 0.4s, transform 0.4s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}

.site-card:not(.site-card-soon):hover {
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  transform: translateY(-4px);
}

.site-card-soon {
  opacity: 0.5;
  pointer-events: none;
}

.site-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.site-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}

.site-desc {
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 960px) {
  .site-cards { grid-template-columns: repeat(2, 1fr); }
}

/* â”€â”€â”€ pricing â”€â”€â”€ */

.pricing-header { margin-bottom: 48px; }
.pricing-lead   { color: var(--muted); font-size: 1rem; margin-top: 8px; }

/* -- pricing cards -- */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.pc {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.35s cubic-bezier(0.22,1,0.36,1);
  position: relative;
  overflow: hidden;
}

.pc::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.pc > * { position: relative; z-index: 1; }

.pc:not(.pc-soon):hover {
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  transform: translateY(-4px);
}

.pc-header {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  margin-bottom: 4px;
}

.pc-glass {
  position: absolute;
  inset-x: 0;
  top: 0;
  height: 140px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.025) 45%, transparent 100%);
  pointer-events: none;
}

.pc-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative;
}

.pc-plan-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}

.pc-badge {
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  border-radius: 9999px;
  padding: 2px 9px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pc-badge-live  { border-color: rgba(74,222,128,0.35); color: #4ade80; }
.pc-badge-soon  { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.35); }

.pc-price-row {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-bottom: 10px;
  position: relative;
}

.pc-price-main {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
}

.pc-price-per {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  padding-bottom: 3px;
}

.pc-desc {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative;
}

.pc-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  transition: opacity 0.15s;
  position: relative;
}

.pc-btn:hover { opacity: 0.88; }

.pc-btn-outline {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
}

.pc-btn-outline:hover { background: rgba(255,255,255,0.1); opacity: 1; }

.pc-btn-disabled {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.07);
  cursor: default;
  position: relative;
}

.pc-body {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px 14px 12px;
}

.pc-soon::before { display: none; }

.pc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pc-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  color: var(--muted);
}

.pc-item-locked { opacity: 0.5; }

.pc-ico {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.pc-ico-yes { border: 1.5px solid rgba(74,222,128,0.45); color: #4ade80; }
.pc-ico-no  { border: 1.5px solid rgba(248,113,113,0.35); color: #f87171; }

.pc-soon { pointer-events: none; }
.pc-soon .pc-header,
.pc-soon .pc-body { opacity: 0.45; }

.pc-redact {
  color: transparent;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  user-select: none;
}

/* -- cta -- */

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}


.cta-left {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  width: fit-content;
}

.cta-left h2 { margin-bottom: 0; }
.cta-left p  { color: var(--muted); font-size: 0.9rem; line-height: 1.7; max-width: 380px; margin: 0; }

.cta-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.cta-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid rgba(255,255,255,0.06);
  height: 100%;
}

.cta-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 36px 36px;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}

.cta-stat:nth-child(even) { border-right: none; }
.cta-stat:nth-child(3),
.cta-stat:nth-child(4) { border-bottom: none; }

.cta-stat svg { opacity: 0.4; }

.cta-stat-val {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.cta-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
}

/* â”€â”€â”€ docs page layout (kept for docs.html) â”€â”€â”€ */

.docs-page {
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.docs-sidebar {
  grid-column: 1;
  align-self: start;
  position: sticky;
  top: 58px;
  height: calc(100vh - 58px);
  overflow-y: auto;
  padding: 40px 0;
  border-right: 1px solid var(--border);
  scrollbar-width: none;
}

.docs-sidebar::-webkit-scrollbar { display: none; }

.sidebar-section-title {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 0 24px;
  margin-bottom: 6px;
  margin-top: 24px;
}

.sidebar-section-title:first-child { margin-top: 0; }

.docs-sidebar nav a {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 24px;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  border-left: 2px solid transparent;
}

.docs-sidebar nav a:hover { color: var(--text); }

.docs-sidebar nav a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--adim);
}

.sidebar-divider { height: 1px; background: var(--border); margin: 16px 24px; }

.docs-content {
  grid-column: 2;
  min-width: 0;
  padding: 64px 0 120px 64px;
  max-width: 720px;
  scroll-margin-top: 80px;
}

.docs-section { margin-bottom: 72px; padding-top: 8px; scroll-margin-top: 80px; }

.docs-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.docs-section h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; margin: 28px 0 12px; display: flex; align-items: center; gap: 10px; }
.docs-section p  { font-size: 0.925rem; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.docs-section p:last-child { margin-bottom: 0; }
.docs-section code { font-family: var(--mono); font-size: 0.82em; background: rgba(255,255,255,0.06); border: 1px solid var(--border); padding: 1px 6px; border-radius: 4px; color: var(--text); }

.docs-content h1 { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 12px; animation: fadeSlideUp 0.5s ease both; }
.docs-content .page-desc { font-size: 1rem; color: var(--muted); margin-bottom: 56px; animation: fadeSlideUp 0.5s ease both 80ms; }

.base-url { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; font-family: var(--mono); font-size: 0.85rem; margin: 20px 0; }
.base-label { font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.base-val { color: var(--accent); }

.auth-block { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 16px 0; }
.auth-row { display: flex; align-items: flex-start; gap: 16px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.03); }
.auth-row:last-child { border-bottom: none; }
.auth-header-name { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); font-weight: 500; min-width: 130px; flex-shrink: 0; padding-top: 1px; }
.auth-desc { font-size: 0.875rem; color: var(--muted); }

.param-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 16px 0; }
.param-table thead { background: rgba(255,255,255,0.02); }
.param-table th { text-align: left; padding: 11px 18px; font-size: 0.65rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--border); }
.param-table td { padding: 11px 18px; border-bottom: 1px solid rgba(255,255,255,0.03); vertical-align: top; }
.param-table tr:last-child td { border-bottom: none; }
.param-table .pname { font-family: var(--mono); font-size: 0.8rem; color: var(--text); }
.param-table .ptype { font-family: var(--mono); font-size: 0.78rem; color: #c0c0c0; }
.param-table .preq  { font-size: 0.72rem; color: #fb923c; }
.param-table .popt  { font-size: 0.72rem; color: var(--muted); }
.param-table .pdesc { font-size: 0.85rem; color: var(--muted); }

.docs-code-block { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 16px 0; transition: border-color 0.2s; }
.docs-code-block:hover { border-color: rgba(255,255,255,0.12); }
.docs-code-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.docs-code-label { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; }
.resp-200 { color: #4ade80; } .resp-4xx { color: #fb923c; } .resp-5xx { color: #f87171; }
.docs-code-block pre { padding: 18px 20px; font-family: var(--mono); font-size: 0.8rem; line-height: 1.7; overflow-x: auto; color: #b8b8d4; }

.error-section { margin-top: 12px; }
.error-list { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg2); }
.error-row { display: flex; align-items: center; gap: 24px; padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 0.875rem; }
.error-row:last-child { border-bottom: none; }
.err-code { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); font-weight: 600; min-width: 32px; }
.err-msg { color: var(--muted); }

/* â”€â”€â”€ syntax â”€â”€â”€ */
.k  { color: #909090; } .fn { color: #60a5fa; } .s  { color: #86d88a; }
.jk { color: #c0c0c0; } .js { color: #86d88a; } .jn { color: #fb923c; } .jc { color: #3a3a3a; }

/* â”€â”€â”€ shared â”€â”€â”€ */
.badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 0.68rem; font-family: var(--mono); font-weight: 600; letter-spacing: 0.04em; }
.badge-post { background: rgba(255,255,255,0.15); color: #c0c0c0; }
.badge-get  { background: rgba(34,197,138,0.15);  color: #4ade80; }
.badge-del  { background: rgba(244,80,110,0.15);  color: #f87171; }
.mono { font-family: var(--mono); font-size: 0.8rem; }
.dim  { color: var(--muted) !important; }

/* â”€â”€â”€ copy btn â”€â”€â”€ */
.copy-btn {
  background: none; border: 1px solid var(--border); color: var(--muted);
  font-size: 0.7rem; font-family: var(--mono); padding: 3px 10px;
  border-radius: 4px; cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--adim); }

/* -- footer floating card -- */
.footer-wrap {
  padding: 0 20px 20px;
  position: relative;
  z-index: 1;
}

.footer-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 44px 52px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo-link { display: inline-block; }

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-tag {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
}

.footer-cols {
  display: flex;
  gap: 56px;
  flex-shrink: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 0.83rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--text); }

/* â”€â”€â”€ scrollbar â”€â”€â”€ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* â”€â”€â”€ responsive â”€â”€â”€ */

@media (max-width: 960px) {
  h1 { font-size: clamp(52px, 12vw, 80px); }

  .pc-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-bar { flex-direction: column; gap: 36px; padding: 44px 24px; }
  .stat-div  { width: 40px; height: 1px; margin: 0; }

  .cta-inner { grid-template-columns: 1fr; }
  .cta-stats { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .cta-left { padding: 36px 28px; }
  .cta-stat { padding: 24px 28px; }

  .docs-page     { grid-template-columns: 1fr; }
  .docs-sidebar  { display: none; }
  .docs-content  { grid-column: 1; padding: 48px 0 80px; }
}

@media (max-width: 600px) {
  .pc-grid { grid-template-columns: 1fr; }
  h2 { font-size: 2.2rem; }
  .hero         { padding: 80px 20px 40px; }
  .section-wrap { padding: 0 20px; }
  .nav-inner    { padding: 0 20px; }
  .footer-card { padding: 32px 24px; flex-direction: column; gap: 32px; }
  .footer-cols { gap: 32px; }
  .docs-page    { padding: 0 20px; }
  .nav-links a:not(.btn-outline) { display: none; }
  .stats-bar { padding: 36px 20px; }
}


