/* Base */
:root {
  --bg: #0b0c10;
  --fg: #e5e7eb;
  --muted: #9ca3af;
  --brand: #4f46e5;
  --brand-2: #22c55e;
  --card: #111216;
  --border: #1f2430;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 10% 0%, #141627 0%, var(--bg) 60%) fixed;
  color: var(--fg);
  line-height: 1.6;
}
a { color: var(--fg); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, 100%); margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 10000; width: 100%; background: linear-gradient(180deg, rgba(12,13,18,.85), rgba(12,13,18,.65)); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-left { display: flex; align-items: center; gap: 18px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.menu { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; align-items: center; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .5px; }
.logo-icon { width: 32px; height: 32px; border-radius: 8px; display: inline-block; }
.logo-text { line-height: 1; }

/* Hero (adjust spacing) */
.hero { padding: 80px 0 16px; text-align: center; }
.hero h1 { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.15; margin: 0 0 12px; }
.lead { font-size: clamp(16px, 1.6vw, 20px); color: var(--muted); margin: 0 0 24px; }
.hero h1, .hero .lead { max-width: 900px; margin-left: auto; margin-right: auto; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 8px 0 0; color: var(--muted); justify-content: center; }
.disclaimer { color: var(--muted); font-size: 12px; margin-top: 16px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.04); color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.kpis { display: grid; grid-template-columns: repeat(3, max-content); gap: 12px; margin: 8px auto 0; justify-content: center; justify-items: center; }
.kpi { display: grid; gap: 2px; justify-items: center; text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.kpi strong { font-size: 22px; }
.kpi span { color: var(--muted); font-size: 12px; }

/* Section headings centered */
.section > h2 { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); transition: .15s ease; }
.btn--primary { background: linear-gradient(90deg, var(--brand), #7c3aed); border-color: transparent; }
.btn--ghost { background: transparent; border-color: var(--border); }
.btn--lg { padding: 14px 20px; font-weight: 600; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.03); box-shadow: 0 6px 24px rgba(124, 58, 237, .25); }

/* Grid / Cards */
.grid { display: grid; gap: 16px; justify-content: center; }
.grid--3 { grid-template-columns: repeat(3, minmax(220px, 1fr)); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr; } }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.card { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00)); border: 1px solid var(--border); padding: 18px; border-radius: 14px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.35); border-color: #2b3344; }
.card h3 { margin-top: 0; }
.link-card { text-align: center; padding: 18px 12px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps > li { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.steps > li h3 { margin: 0 0 4px; }
.steps > li::before { counter-increment: step; content: counter(step); float: right; color: var(--muted); font-weight: 700; }

/* Server metrics */
.metrics { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.metrics li { display: inline-block; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 10px; padding: 6px 10px; font-size: 12px; color: var(--muted); }

/* Server card top */
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.flagcode { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: rgba(255,255,255,.04); font-weight: 700; font-size: 12px; letter-spacing: .5px; }
.status-online { display: inline-flex; align-items: center; gap: 6px; color: #22c55e; font-size: 12px; }
.status-online::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.15); }

/* Video */
.video { max-width: 960px; margin: 0 auto 8px; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; border: 1px solid var(--border); background: radial-gradient(600px 300px at 20% 10%, rgba(79,70,229,.35), transparent 60%), #0f1117; display: flex; align-items: center; justify-content: center; }
.video__overlay { box-shadow: 0 10px 30px rgba(79,70,229,.35); }
.muted { color: var(--muted); }

/* OS Cards */
.os-grid { align-items: stretch; justify-content: center; }
.os-card { display: grid; place-items: center; gap: 10px; text-align: center; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.os-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.35); border-color: #2b3344; }
.os-card h3 { margin: 0; }
.os-emoji { font-size: 28px; line-height: 1; }
.os-note { color: var(--muted); font-size: 12px; margin: -4px 0 8px; }
.os-card .btn.btn--ghost { color: #cbd5ff; border-color: #3b82f6; background: rgba(59,130,246,0.08); }
.os-card .btn.btn--ghost:hover { background: rgba(59,130,246,0.15); }

/* Footer */
.footer { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 32px 0 56px; color: var(--muted); }
.footer nav a { color: var(--muted); margin-left: 12px; }

/* Small screens */
@media (max-width: 640px) {
  .menu { gap: 12px; font-size: 14px; }
  .footer { flex-direction: column; gap: 8px; }
  .kpis { grid-template-columns: 1fr; }
}

.kpi { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.kpi:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.35); border-color: #2b3344; }

#faq .faq-grid { display: grid; gap: 12px; grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
/* force single column */
@media (min-width: 920px) { #faq .faq-grid { grid-template-columns: 1fr; } }
#faq details { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; transition: border-color .18s ease, box-shadow .18s ease; overflow: hidden; }
#faq details[open] { border-color: #2b3344; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
#faq summary { cursor: pointer; list-style: none; font-weight: 600; position: relative; padding-right: 28px; display: block; }
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after { content: '+'; position: absolute; right: 0; top: 0; color: var(--muted); pointer-events: none; }
#faq details[open] summary::after { content: '−'; }
#faq p { color: var(--muted); margin-top: 10px; }

/* Push content below fixed header */
main { padding-top: 56px; }

/* Section lead under headings */
.section-lead { text-align: center; color: var(--muted); margin: 6px auto 18px; max-width: 900px; }

/* Metrics styling */
.metrics li { color: var(--fg); }
.metric-num { color: #22c55e; font-weight: 700; }

/* Footer revamped */
.site-footer { margin-top: 28px; border-top: 1px solid var(--border); padding: 24px 0 16px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.footer-brand { font-weight: 800; color: var(--brand); text-decoration: none; font-size: 18px; }
.footer-desc { margin: 8px 0 0; max-width: 420px; }
.footer-col h4 { margin: 0 0 8px; color: var(--fg); font-size: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 6px 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--fg); }
.footer-bottom { margin-top: 16px; text-align: center; }

/* Tutorial video */
.tutorial-video { width: 100%; height: auto; display: block; border-radius: 14px; }

/* Howto layout */
.howto-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }
.howto-media .video__frame { border: 1px solid var(--border); border-radius: 14px; }
.howto-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
@media (max-width: 900px) {
  .howto-grid { grid-template-columns: 1fr; }
}

/* Status line */
.status-line { display: inline-flex; align-items: center; gap: 8px; color: #22c55e; font-weight: 700; margin-top: 6px; }
.status-ico { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 2px solid #22c55e; border-radius: 50%; font-size: 12px; line-height: 1; color: #22c55e; }


