/* api-mirror.com — Developer API Platform */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --dark: #0F0F0F;
  --surface: #1A1A2E;
  --surface-2: #16213E;
  --cyan: #06B6D4;
  --cyan-dim: rgba(6, 182, 212, 0.15);
  --lime: #84CC16;
  --lime-dim: rgba(132, 204, 22, 0.15);
  --slate: #94A3B8;
  --white: #E2E8F0;
  --red: #EF4444;
  --yellow: #EAB308;
  --green: #22C55E;
  --radius: 8px;
  --mono: 'Fira Code', monospace;
  --body: 'Inter', sans-serif;
  --max-w: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background: var(--dark);
  color: var(--slate);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--white);
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── HEADER / NAV ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

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

.logo {
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--cyan);
}

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

.nav-links a {
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--cyan);
  color: var(--dark) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
}

.nav-cta:hover {
  background: var(--white);
  color: var(--dark) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
  padding: 140px 0 80px;
  text-align: center;
}

.hero h1 {
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: 3rem;
  letter-spacing: -1px;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--body);
}

.btn-primary {
  background: var(--cyan);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ─── TERMINAL / CODE BLOCK ─── */
.terminal {
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: var(--radius);
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.r { background: var(--red); }
.terminal-dot.y { background: var(--yellow); }
.terminal-dot.g { background: var(--green); }

.terminal-bar span.terminal-title {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--slate);
  margin-left: 8px;
}

.terminal-body {
  padding: 20px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.8;
  overflow-x: auto;
}

.terminal-body pre {
  margin: 0;
  white-space: pre;
}

.terminal-body .prompt {
  color: var(--lime);
}

.terminal-body .cmd {
  color: var(--white);
}

.terminal-body .flag {
  color: var(--cyan);
}

.terminal-body .str {
  color: var(--yellow);
}

.terminal-body .key {
  color: var(--cyan);
}

.terminal-body .val-str {
  color: var(--lime);
}

.terminal-body .val-num {
  color: var(--yellow);
}

.terminal-body .comment {
  color: #6B7280;
}

.terminal-body .punctuation {
  color: var(--slate);
}

/* ─── FEATURE PILLS ─── */
.feature-pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 56px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

.pill .pill-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.pill:nth-child(2) .pill-icon { background: var(--lime); }
.pill:nth-child(3) .pill-icon { background: var(--yellow); }

/* ─── SECTIONS ─── */
.section {
  padding: 80px 0;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  max-width: 580px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

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

.section.centered .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ─── HOW IT WORKS ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius);
  padding: 32px;
}

.step-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 16px;
  display: block;
}

.step h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.step p {
  font-size: 0.93rem;
}

/* ─── STATS ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 32px 16px;
}

.stat-val {
  font-family: var(--mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cyan);
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--slate);
}

/* ─── IMAGE BAND ─── */
.image-band {
  padding: 40px 0;
}

.image-band img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

/* ─── CTA SECTION ─── */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius);
  padding: 36px;
}

.price-card.featured {
  border-color: var(--cyan);
  position: relative;
}

.price-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
}

.price-tier {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 8px;
  display: block;
}

.price-card h3 {
  margin-bottom: 8px;
}

.price-amount {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.price-amount span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--slate);
}

.price-desc {
  font-size: 0.9rem;
  margin-bottom: 24px;
  display: block;
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
}

.price-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before {
  content: '>';
  font-family: var(--mono);
  color: var(--cyan);
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
  justify-content: center;
}

/* ─── DOCS PAGE ─── */
.docs-layout {
  padding: 120px 0 80px;
}

.docs-header {
  margin-bottom: 48px;
}

.docs-header h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.docs-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.docs-nav a {
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-family: var(--mono);
  color: var(--slate);
}

.docs-nav a:hover,
.docs-nav a.active {
  border-color: var(--cyan);
  color: var(--cyan);
}

.docs-section {
  margin-bottom: 56px;
}

.docs-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.docs-section h3 {
  font-size: 1.15rem;
  margin: 24px 0 12px;
}

.docs-section p,
.docs-section li {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.docs-section ul, .docs-section ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.code-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
}

.code-tab {
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.3);
  color: var(--slate);
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.code-tab:hover,
.code-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.code-panel {
  display: none;
}

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

.inline-code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
  padding: 2px 6px;
  border-radius: 4px;
}

.api-endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.method {
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.method.get { background: rgba(34, 197, 94, 0.15); color: var(--green); }
.method.post { background: rgba(6, 182, 212, 0.15); color: var(--cyan); }
.method.put { background: rgba(234, 179, 8, 0.15); color: var(--yellow); }
.method.delete { background: rgba(239, 68, 68, 0.15); color: var(--red); }

.endpoint-path {
  color: var(--white);
}

.endpoint-desc {
  color: var(--slate);
  margin-left: auto;
  font-family: var(--body);
  font-size: 0.8rem;
}

/* ─── CHANGELOG ─── */
.changelog-layout {
  padding: 120px 0 80px;
  max-width: 760px;
  margin: 0 auto;
}

.changelog-entry {
  padding: 32px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.changelog-entry:last-child {
  border-bottom: none;
}

.changelog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.changelog-version {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.changelog-date {
  font-size: 0.85rem;
  color: var(--slate);
}

.changelog-entry h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.changelog-entry ul {
  list-style: none;
  padding: 0;
}

.changelog-entry li {
  padding: 4px 0;
  font-size: 0.93rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.changelog-entry li::before {
  content: '+';
  font-family: var(--mono);
  color: var(--lime);
  font-weight: 700;
  flex-shrink: 0;
}

.tag-new,
.tag-fix,
.tag-improve {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.tag-new { background: var(--cyan-dim); color: var(--cyan); }
.tag-fix { background: rgba(239, 68, 68, 0.15); color: var(--red); }
.tag-improve { background: var(--lime-dim); color: var(--lime); }

/* ─── STATUS PAGE ─── */
.status-layout {
  padding: 120px 0 80px;
}

.status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius);
  margin-bottom: 48px;
}

.status-banner.degraded {
  background: rgba(234, 179, 8, 0.08);
  border-color: rgba(234, 179, 8, 0.2);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.status-banner.degraded .status-dot {
  background: var(--yellow);
}

.status-banner span {
  font-weight: 600;
  color: var(--white);
  font-size: 1.05rem;
}

.uptime-section {
  margin-bottom: 48px;
}

.uptime-section h3 {
  margin-bottom: 20px;
}

.uptime-bars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
  height: 32px;
  align-items: flex-end;
}

.uptime-bar {
  flex: 1;
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  min-width: 3px;
}

.uptime-bar.incident {
  background: var(--yellow);
}

.uptime-bar.down {
  background: var(--red);
}

.uptime-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--slate);
  font-family: var(--mono);
}

.components-list {
  margin-bottom: 48px;
}

.component {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.component:last-child {
  border-bottom: none;
}

.component-name {
  color: var(--white);
  font-weight: 500;
}

.component-status {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
}

.component-status.operational { color: var(--green); }
.component-status.degraded { color: var(--yellow); }
.component-status.down { color: var(--red); }

.incidents-list {
  margin-top: 48px;
}

.incidents-list h2 {
  margin-bottom: 24px;
}

.incident-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.incident-item h4 {
  margin-bottom: 4px;
  color: var(--white);
}

.incident-date {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--slate);
  margin-bottom: 8px;
  display: block;
}

.incident-item p {
  font-size: 0.9rem;
}

.incident-resolved {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--green);
  margin-top: 8px;
  display: inline-block;
}

/* ─── BLOG ─── */
.blog-layout {
  padding: 120px 0 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.blog-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
}

.blog-card-date {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cyan);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.blog-card h3 a {
  color: var(--white);
}

.blog-card h3 a:hover {
  color: var(--cyan);
}

.blog-card p {
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 16px;
}

.blog-card .read-more {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--cyan);
}

/* ─── BLOG POST ─── */
.post-layout {
  padding: 120px 0 80px;
  max-width: 760px;
  margin: 0 auto;
}

.post-layout .container {
  max-width: 760px;
}

.post-meta {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--cyan);
  margin-bottom: 16px;
}

.post-layout h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.post-body h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.post-body h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.post-body p {
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.post-body ul, .post-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.post-body li {
  margin-bottom: 8px;
  font-size: 0.97rem;
}

.post-body blockquote {
  border-left: 3px solid var(--cyan);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.post-body blockquote p {
  margin-bottom: 0;
  color: var(--white);
  font-style: italic;
}

.post-body .terminal {
  margin: 24px 0;
}

.post-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

/* ─── ABOUT ─── */
.about-layout {
  padding: 120px 0 80px;
}

.about-layout h1 {
  margin-bottom: 24px;
}

.about-content {
  max-width: 680px;
}

.about-content p {
  margin-bottom: 16px;
  font-size: 1rem;
}

/* ─── PRIVACY ─── */
.privacy-layout {
  padding: 120px 0 80px;
  max-width: 760px;
  margin: 0 auto;
}

.privacy-layout h1 {
  margin-bottom: 8px;
}

.privacy-layout .updated {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--slate);
  margin-bottom: 32px;
  display: block;
}

.privacy-layout h2 {
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.privacy-layout p,
.privacy-layout li {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.privacy-layout ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* ─── 404 ─── */
.error-layout {
  padding: 200px 0 80px;
  text-align: center;
}

.error-code {
  font-family: var(--mono);
  font-size: 6rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 16px;
}

.error-layout p {
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand .logo {
  margin-bottom: 8px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.85rem;
  max-width: 280px;
}

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

.footer-col h4 {
  font-size: 0.82rem;
  font-family: var(--mono);
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--slate);
  font-size: 0.88rem;
}

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

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.06);
  font-size: 0.82rem;
  color: var(--slate);
}

/* ─── FORMS ─── */
.contact-form {
  max-width: 480px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
  font-family: var(--mono);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--body);
  font-size: 0.93rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cyan);
}

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

.form-success {
  display: none;
  padding: 16px 20px;
  background: var(--cyan-dim);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius);
  color: var(--cyan);
  font-size: 0.93rem;
  align-items: center;
  gap: 10px;
}

.form-success.visible {
  display: flex;
}

.form-success svg {
  flex-shrink: 0;
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero { padding: 110px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 56px 0; }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--dark);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }

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

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }

  .terminal-body {
    font-size: 0.72rem;
  }

  .api-endpoint {
    flex-wrap: wrap;
  }

  .endpoint-desc {
    margin-left: 0;
    width: 100%;
  }

  .docs-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-val { font-size: 1.8rem; }
}
