/* ── BoneHost dark theme ─────────────────────────────────────────── */
:root {
  --bg: #0a0c10;
  --bg-alt: #0e1117;
  --surface: #131722;
  --surface-2: #1a1f2e;
  --border: #232a3b;
  --text: #e7eaf2;
  --text-dim: #9aa3b5;
  --accent: #4f8dff;
  --accent-2: #2563eb;
  --accent-dim: rgba(79, 141, 255, 0.12);
  --steam: #1b2838;
  --steam-hi: #2a475e;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: none; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.center { text-align: center; margin-top: 2rem; }
.note { color: var(--text-dim); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #061021;
  padding: 0.5rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.62rem 1.25rem; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-lg { padding: 0.85rem 1.7rem; font-size: 1.05rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 4px 24px rgba(79, 141, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(79, 141, 255, 0.35); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-steam { background: linear-gradient(135deg, var(--steam-hi), var(--steam)); color: #dfe9f2; border-color: #35597a; }
.btn-steam:hover { transform: translateY(-2px); border-color: #66c0f4; color: #fff; }

/* ── Nav ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 12, 16, 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.brand em { color: var(--accent); font-style: normal; }
.brand-icon { width: 1.5em; height: 1.5em; color: var(--accent); }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { color: var(--text-dim); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.nav-avatar { width: 26px; height: 26px; border-radius: 50%; }
.btn-user { padding: 0.4rem 0.9rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); display: block; border-radius: 2px; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 7rem 0 5rem; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% -5%, rgba(79, 141, 255, 0.14), transparent 65%),
    radial-gradient(ellipse 40% 35% at 85% 25%, rgba(37, 99, 235, 0.1), transparent 60%);
}
.hero-inner { position: relative; text-align: center; }
.pill {
  display: inline-block; padding: 0.35rem 0.95rem; border: 1px solid var(--border);
  border-radius: 999px; background: var(--surface); color: var(--text-dim); font-size: 0.85rem; margin-bottom: 1.4rem;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 620px; margin: 1.3rem auto 2.2rem; color: var(--text-dim); font-size: 1.15rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  max-width: 760px; margin: 3.5rem auto 0;
}
.hero-stats div { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 0.5rem; background: rgba(19, 23, 34, 0.6); }
.hero-stats dt { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.hero-stats dd { color: var(--text-dim); font-size: 0.85rem; }

/* ── Sections ── */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2, .page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; font-weight: 800; }
.section-head p { color: var(--text-dim); margin-top: 0.5rem; font-size: 1.05rem; }
.page-head { padding-bottom: 0; text-align: center; }
.page-head p { color: var(--text-dim); margin-top: 0.6rem; font-size: 1.1rem; }

.grid { display: grid; gap: 1.3rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; transition: border-color 0.2s ease, transform 0.2s ease;
}

/* ── Features ── */
.feature-card:hover { border-color: #31507a; transform: translateY(-3px); }
.feature-card h3 { margin: 0.9rem 0 0.4rem; font-size: 1.15rem; }
.feature-card p { color: var(--text-dim); font-size: 0.95rem; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: linear-gradient(145deg, rgba(79, 141, 255, 0.18), rgba(37, 99, 235, 0.07));
  border: 1px solid rgba(79, 141, 255, 0.25);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon .ic { width: 22px; height: 22px; color: var(--accent); }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.btn .ic { width: 1.05em; height: 1.05em; }
.feature-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 3rem; }
.feature-detail h2 { font-size: 1.2rem; margin-bottom: 0.6rem; color: var(--accent); }
.feature-detail p { color: var(--text-dim); font-size: 0.95rem; }

/* ── Games ── */
.game-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: var(--text); }
a.game-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.game-card.is-soon { opacity: 0.75; }
.game-art { position: relative; aspect-ratio: 460 / 215; overflow: hidden; background: var(--surface-2); }
.game-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
a.game-card:hover .game-art img { transform: scale(1.04); }
.game-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 12, 16, 0.65));
}
.badge {
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 1;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.22rem 0.6rem; border-radius: 999px;
  background: rgba(10, 12, 16, 0.75); color: var(--text-dim); border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}
.badge-live { color: #8ab4ff; border-color: rgba(79, 141, 255, 0.5); background: rgba(37, 99, 235, 0.25); }
.game-meta { padding: 1rem 1.1rem 1.2rem; }
.game-meta h3 { font-size: 1.02rem; }
.game-meta p { color: var(--text-dim); font-size: 0.82rem; margin: 0.2rem 0 0.6rem; }
.game-price { color: var(--accent); font-weight: 700; font-size: 0.9rem; }

/* ── Plans ── */
.plan-card { position: relative; display: flex; flex-direction: column; }
.plan-card.featured { border-color: var(--accent); box-shadow: 0 0 42px rgba(79, 141, 255, 0.12); }
.plan-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.9rem; border-radius: 999px;
}
.plan-card h3 { font-size: 1.3rem; }
.plan-blurb { color: var(--text-dim); font-size: 0.9rem; margin: 0.3rem 0 1rem; min-height: 2.6em; }
.plan-price { font-size: 2.4rem; font-weight: 800; margin-bottom: 1rem; }
.plan-price span { font-size: 1rem; color: var(--text-dim); font-weight: 500; }
.plan-card ul { list-style: none; margin-bottom: 1.5rem; flex: 1; }
.plan-card li { padding: 0.42rem 0; color: var(--text-dim); font-size: 0.92rem; border-bottom: 1px solid var(--border); }
.plan-card li::before { content: '✔'; color: var(--accent); margin-right: 0.6rem; font-size: 0.8rem; }

/* ── CTA band / FAQ / prose ── */
.cta-band { text-align: center; padding-block: 1rem; }
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.cta-band p { color: var(--text-dim); margin: 0.6rem 0 1.6rem; }
.faq { max-width: 760px; margin: 4rem auto 0; }
.faq h2 { text-align: center; margin-bottom: 1.5rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.3rem; margin-bottom: 0.8rem; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--text-dim); padding-top: 0.7rem; }
.prose .card { max-width: 860px; margin: 0 auto; padding: 2.2rem; }
.prose h2 { margin: 1.6rem 0 0.6rem; font-size: 1.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-dim); }
.prose ul { margin: 0.6rem 0 0.6rem 1.3rem; }
.prose code { background: var(--surface-2); padding: 0.15em 0.45em; border-radius: 6px; font-size: 0.9em; }

/* ── Auth ── */
.auth-wrap { min-height: calc(100vh - 66px - 300px); display: flex; align-items: center; justify-content: center; padding: 4rem 1rem; }
.auth-card { width: min(440px, 100%); padding: 2.5rem; text-align: center; }
.auth-logo { width: 54px; height: 54px; color: var(--accent); margin-bottom: 1rem; }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.auth-card h1 em { color: var(--accent); font-style: normal; }
.auth-sub { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 1.6rem; }
.auth-form { display: flex; flex-direction: column; gap: 1.1rem; }
.check { display: flex; align-items: center; justify-content: center; gap: 0.55rem; color: var(--text-dim); font-size: 0.95rem; cursor: pointer; }
.check input { accent-color: var(--accent); width: 1.05rem; height: 1.05rem; }
.auth-fine { color: var(--text-dim); font-size: 0.8rem; margin-top: 1.2rem; }
.alert { background: rgba(255, 99, 71, 0.1); border: 1px solid rgba(255, 99, 71, 0.4); color: #ff9c8a; border-radius: 10px; padding: 0.7rem 1rem; font-size: 0.9rem; margin-bottom: 1.2rem; }

/* ── Dashboard ── */
.dash { padding: 3rem 0 5rem; }
.dash-grid { display: grid; grid-template-columns: 270px 1fr; gap: 1.5rem; align-items: start; }
.dash-side { position: sticky; top: 86px; }
.dash-user { display: flex; align-items: center; gap: 0.8rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.dash-avatar { width: 46px; height: 46px; border-radius: 12px; }
.dash-avatar-fallback { display: flex; align-items: center; justify-content: center; background: var(--surface-2); font-size: 1.4rem; }
.dash-user strong { display: block; line-height: 1.2; }
.dash-steamid { color: var(--text-dim); font-size: 0.72rem; }
.dash-nav { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 1.2rem; }
.dash-nav a { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.8rem; border-radius: 10px; color: var(--text-dim); font-weight: 500; font-size: 0.95rem; }
.dash-nav a.active { background: var(--accent-dim); color: var(--accent); }
.dash-nav a:hover:not(.active) { background: var(--surface-2); color: var(--text); }
.dash-nav a em { margin-left: auto; font-style: normal; font-size: 0.65rem; background: var(--surface-2); border: 1px solid var(--border); padding: 0.1rem 0.5rem; border-radius: 999px; }
.dash-head h1 { font-size: 1.7rem; letter-spacing: -0.02em; }
.dash-head p { color: var(--text-dim); margin-bottom: 1.6rem; }
.dash-stats { margin-bottom: 1.5rem; }
.stat-card { text-align: center; padding: 1.3rem; }
.stat-num { display: block; font-size: 1.9rem; font-weight: 800; color: var(--accent); }
.stat-label { color: var(--text-dim); font-size: 0.85rem; }
.empty-state { text-align: center; padding: 3.5rem 2rem; }
.empty-art { font-size: 3rem; margin-bottom: 0.8rem; }
.empty-state h2 { margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-dim); max-width: 480px; margin: 0 auto 1.6rem; }

/* ── Panel: servers, console, forms, tables ── */
.grid-2 { grid-template-columns: repeat(2, 1fr); display: grid; gap: 1.3rem; margin-bottom: 1.5rem; }
.dash-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.card-title { font-size: 1.05rem; margin-bottom: 0.9rem; }
.card-title .muted { font-weight: 400; font-size: 0.85rem; }
.muted { color: var(--text-dim); }
.small { font-size: 0.8rem; }
.btn-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-sm { padding: 0.3rem 0.7rem; font-size: 0.8rem; }
.btn-danger { background: rgba(255, 99, 71, 0.12); color: #ff9c8a; border-color: rgba(255, 99, 71, 0.4); }
.btn-danger:hover { background: rgba(255, 99, 71, 0.22); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #5a6478; flex: none; }
.status-dot.on { background: var(--accent); box-shadow: 0 0 8px rgba(79, 141, 255, 0.8); }
.status-dot.off { background: #f87171; }

.server-list { display: flex; flex-direction: column; gap: 0.8rem; }
.server-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.3rem; color: var(--text); }
.server-row:hover { border-color: var(--accent); }
.server-row-main { display: flex; flex-direction: column; min-width: 180px; }
.server-row-sub { color: var(--text-dim); font-size: 0.82rem; font-family: ui-monospace, monospace; }
.server-row-meta { color: var(--text-dim); font-size: 0.85rem; flex: 1; }
.server-row-state { font-size: 0.78rem; padding: 0.15rem 0.7rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text-dim); white-space: nowrap; }
.server-row-state.running, .server-row-state.active, .server-row-state.paid { color: var(--accent); border-color: rgba(79, 141, 255, 0.45); }
.server-row-state.unpaid { color: #fbbf24; border-color: rgba(251, 191, 36, 0.4); }

.tag { font-size: 0.72rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text-dim); white-space: nowrap; }
.tag-open { color: #fbbf24; border-color: rgba(251, 191, 36, 0.4); }
.tag-answered, .tag-active { color: var(--accent); border-color: rgba(79, 141, 255, 0.45); }
.tag-closed, .tag-cancelled { color: var(--text-dim); }
.tag-paused, .tag-pending_cancel { color: #fb923c; border-color: rgba(251, 146, 60, 0.4); }
.tag-unpaid { color: #f87171; border-color: rgba(248, 113, 113, 0.4); }

.kv { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.kv:last-of-type { border-bottom: 0; }
.kv span { color: var(--text-dim); }
.kv code { background: var(--surface-2); padding: 0.2em 0.55em; border-radius: 6px; font-size: 0.85em; word-break: break-all; }
.blur-reveal { filter: blur(5px); cursor: pointer; transition: filter 0.15s; }
.blur-reveal:hover, .blur-reveal:focus { filter: none; }

.console-card { margin-bottom: 1.5rem; }
.console {
  background: #05070b; border: 1px solid var(--border); border-radius: 10px;
  padding: 1rem; height: 320px; overflow-y: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem; line-height: 1.5; color: #b7c0d4; white-space: pre-wrap; word-break: break-word;
}
.console-input { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
.console-input input { flex: 1; }

.form-card { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.1rem; }
.form-card label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; color: var(--text-dim); }
.form-card label small { font-size: 0.75rem; }
input[type="text"], input[type="number"], select {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  border-radius: 8px; padding: 0.55rem 0.8rem; font-size: 0.95rem; width: 100%;
}
input:focus, select:focus { outline: none; border-color: var(--accent); }
.input-suffix { display: flex; align-items: center; gap: 0.4rem; }
.input-suffix em { color: var(--text-dim); font-style: normal; white-space: nowrap; }
.addons-set { border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.addons-set legend { padding: 0 0.5rem; color: var(--text-dim); font-size: 0.85rem; }
.check-left { justify-content: flex-start; text-align: left; padding: 0.35rem 0; }
.alert-ok { background: rgba(79, 141, 255, 0.1); border-color: rgba(79, 141, 255, 0.4); color: #8ab4ff; }
.danger-card { border-color: rgba(255, 99, 71, 0.35); }

.table-card { margin-bottom: 1.5rem; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th { text-align: left; color: var(--text-dim); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
th, td { padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--border); vertical-align: middle; }

/* ── Pricing (flat monthly) ── */
.pricing-hiw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 2rem; margin-bottom: 2.5rem; }
.hiw-step h3 { margin: 0.8rem 0 0.3rem; font-size: 1.05rem; }
.hiw-step p { color: var(--text-dim); font-size: 0.9rem; }
.price-grid { margin-bottom: 2.5rem; }
.price-tag { font-size: 1.7rem; font-weight: 800; margin: 0.3rem 0 0.9rem; }
.price-tag span { font-size: 0.85rem; color: var(--text-dim); font-weight: 500; }
.included { padding: 2rem; margin-bottom: 1rem; }
.included-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem 1.5rem; }
.included-list li { display: flex; align-items: center; gap: 0.6rem; color: var(--text-dim); font-size: 0.92rem; }
.included-list .ic { color: var(--accent); }

.price-strip { display: flex; align-items: center; gap: 2.5rem; padding: 2rem 2.5rem; flex-wrap: wrap; }
.price-strip-amount { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1.1; }
.price-strip-amount em { font-style: normal; font-size: 1rem; color: var(--text-dim); font-weight: 500; }
.price-strip-label { color: var(--text-dim); font-size: 0.9rem; }
.price-strip-list { list-style: none; flex: 1; min-width: 260px; }
.price-strip-list li { display: flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0; color: var(--text-dim); font-size: 0.95rem; }
.price-strip-list .ic { color: var(--accent); }

.pill-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 0.35rem; box-shadow: 0 0 6px rgba(79, 141, 255, 0.9); }

/* ── Create-server flow ── */
.form-flow { display: flex; flex-direction: column; gap: 1.2rem; }
.step-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem; }
.step-head h2 { font-size: 1.1rem; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim); color: var(--accent); font-weight: 800; font-size: 0.95rem;
  border: 1px solid rgba(79, 141, 255, 0.35);
}
.game-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.9rem; margin-bottom: 1.2rem; }
.game-option { position: relative; cursor: pointer; border-radius: 10px; overflow: hidden; border: 2px solid var(--border); display: block; }
.game-option input { position: absolute; opacity: 0; }
.game-option img { width: 100%; display: block; aspect-ratio: 460 / 215; object-fit: cover; }
.game-option-name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9rem 0.7rem 0.4rem;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 11, 0.9)); font-size: 0.85rem; font-weight: 700;
}
.game-option:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 18px rgba(79, 141, 255, 0.35); }
.addon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-bottom: 1.2rem; }
.addon-option { display: block; cursor: pointer; }
.addon-option input { position: absolute; opacity: 0; }
.addon-box {
  display: block; border: 2px solid var(--border); border-radius: 10px; padding: 0.9rem 1rem;
  transition: border-color 0.15s ease;
}
.addon-box strong { display: block; margin-bottom: 0.2rem; }
.addon-box span { color: var(--text-dim); font-size: 0.82rem; }
.addon-option:has(input:checked) .addon-box { border-color: var(--accent); background: var(--accent-dim); }
.deploy-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.deploy-bar strong { font-size: 1.4rem; display: block; }

/* ── Billing / tickets ── */
.pay-card { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; border-color: rgba(251, 191, 36, 0.45); margin-bottom: 1.5rem; }
.pay-card .card-title { display: flex; align-items: center; gap: 0.5rem; }
.billing-actions { margin-top: 0.8rem; }
.inline-form { display: inline-flex; }
.admin-log { background: #05070b; border: 1px solid var(--border); border-radius: 8px; padding: 0.8rem; font-size: 0.75rem; color: #b7c0d4; white-space: pre-wrap; margin: 0.6rem 0; max-height: 160px; overflow-y: auto; }
textarea {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  border-radius: 8px; padding: 0.6rem 0.8rem; font-size: 0.95rem; width: 100%; resize: vertical; font-family: inherit;
}
textarea:focus { outline: none; border-color: var(--accent); }
.form-row-inline { display: flex; gap: 0.6rem; }
.form-row-inline input { flex: 1; }
.ticket-thread { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 1.3rem; }
.ticket-msg p { white-space: pre-wrap; color: var(--text-dim); }
.ticket-msg-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.ticket-msg.from-admin { border-color: rgba(79, 141, 255, 0.4); }
.ticket-msg.from-admin .ticket-msg-head strong { color: var(--accent); }
.nav-badge {
  margin-left: auto; background: var(--accent); color: #fff; font-size: 0.68rem;
  font-weight: 800; min-width: 18px; height: 18px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}
.alert-link { display: block; text-decoration: none; margin-bottom: 1.2rem; }
.ticket-user-group { margin: 1.2rem 0 0.4rem; color: var(--text-dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.empty-icon { margin: 0 auto 1rem; width: 56px; height: 56px; }
.empty-icon .ic { width: 26px; height: 26px; }
.dash-bottom { margin-top: 1.5rem; }

@media (max-width: 720px) {
  .grid-2, .form-row { grid-template-columns: 1fr; }
}

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 3.5rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.8rem; max-width: 280px; }
.site-footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 0.9rem; }
.site-footer a { display: block; color: var(--text-dim); padding: 0.22rem 0; font-size: 0.95rem; }
.site-footer a:hover { color: var(--accent); }
.site-footer .brand { font-size: 1.2rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.5rem;
  color: var(--text-dim); font-size: 0.8rem;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .feature-detail { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; background: var(--bg-alt); border-bottom: 1px solid var(--border);
    padding: 1rem 4%; gap: 0.4rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.6rem 0; }
  .nav-toggle { display: flex; }
  .hero { padding: 4.5rem 0 3.5rem; }
  .grid-4 { grid-template-columns: 1fr; }
}
