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

:root {
    --bg: #08080a;
    --glass: rgba(255, 255, 255, 0.045);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.09);
    --border-hover: rgba(255, 255, 255, 0.2);
    --text: #f5f5f7;
    --text-2: rgba(245, 245, 247, 0.6);
    --text-3: rgba(245, 245, 247, 0.34);
    --accent: #9a9aa4;
    --accent-2: #e2e2e8;
    --radius: 20px;
    --radius-sm: 12px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.12;
    animation: orb-drift 22s ease-in-out infinite alternate;
}

.orb-1 { width: 620px; height: 620px; background: #45454d; top: -220px; left: -120px; animation-duration: 24s; }
.orb-2 { width: 520px; height: 520px; background: #5c5c66; top: 28%; right: -160px; animation-duration: 19s; animation-delay: -8s; }
.orb-3 { width: 420px; height: 420px; background: #303036; bottom: 8%; left: 28%; animation-duration: 26s; animation-delay: -12s; }

@keyframes orb-drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(40px, 30px) scale(1.08); }
}

/* ── Nav ── */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: calc(100% - 40px);
    max-width: 780px;
}

.nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}

.logo { font-size: 15px; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -0.3px; justify-self: start; }
.logo span { color: var(--accent-2); }

.nav-links { display: flex; align-items: center; justify-content: center; gap: 4px; }

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 50px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.nav-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.09);
}

.nav-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    white-space: nowrap;
    justify-self: end;
}

.nav-cta:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255,255,255,0.28); transform: translateY(-1px); }

/* ── Hero ── */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
}

.hero h1 {
    font-size: clamp(44px, 7vw, 92px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -3px;
    color: var(--text);
    margin-bottom: 22px;
}

.grad {
    background: linear-gradient(135deg, #f2f2f6 0%, #a3a3ad 50%, #d8d8e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 40px;
}

.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 13px 28px;
    background: linear-gradient(150deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.22);
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.34); box-shadow: 0 12px 36px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.2); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    text-decoration: none;
    padding: 12px 26px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-ghost:hover { color: var(--text); background: var(--glass-hover); border-color: var(--border-hover); transform: translateY(-2px); }

.section { position: relative; z-index: 1; max-width: 1060px; margin: 0 auto; padding: 100px 24px; }

.section-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.1;
}

.section-sub { font-size: 16px; color: var(--text-2); max-width: 480px; line-height: 1.7; margin-bottom: 48px; }

.center-action { text-align: center; }

footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 28px 24px 20px; }

.footer-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1060px; margin: 0 auto; gap: 12px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: var(--text-3); }
.footer-link { font-size: 12px; font-weight: 500; color: var(--text-3); text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: var(--text-2); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
    .nav-links { display: none; }
}

/* ── Pricing page ── */
.pricing-page { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: 130px 24px 90px; }

.pricing-page-header { text-align: center; margin-bottom: 60px; animation: pcn-in 0.5s ease both; }
.pricing-page-header h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -2px; color: var(--text); }

.pricing-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-2);
    margin-top: 48px;
    padding: 22px;
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.pricing-note a { color: var(--accent-2); text-decoration: none; }

@keyframes pcn-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pricing-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.pcn {
    position: relative;
    padding: 32px 28px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    animation: pcn-in 0.5s ease both;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.pcn:hover {
    transform: scale(0.98);
    border-color: rgba(255,255,255,0.16);
    background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    box-shadow: inset 0 2px 12px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 10px rgba(0,0,0,0.2);
}

.pcn.featured { border-color: rgba(255,255,255,0.16); }
.pcn:nth-child(1) { animation-delay: 0.08s; }
.pcn:nth-child(2) { animation-delay: 0.17s; }
.pcn:nth-child(3) { animation-delay: 0.26s; }

.pcn-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 20px;
    padding: 4px 10px;
    color: var(--text-2);
}

.pcn-game { font-size: 1.05rem; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.pcn-tagline { font-size: 0.78rem; color: var(--text-3); margin-top: 3px; }

.pcn-prices { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

.pcn-price-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    transition: background 0.25s, border-color 0.25s;
}

.pcn:hover .pcn-price-line { background: rgba(255,255,255,0.055); border-color: rgba(255,255,255,0.12); }

.pcn-price-plan { font-size: 0.82rem; font-weight: 600; color: var(--text-2); }
.pcn-price-amount { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text); font-variant-numeric: tabular-nums; }

.pcn-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.25s;
    margin-top: auto;
    cursor: pointer;
}
.pcn-btn:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.26); transform: translateY(-1px); }

@media (max-width: 860px) {
    .pricing-cards-grid { grid-template-columns: 1fr; }
}

/* ── Status page ── */
.status-page { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: 120px 24px 80px; }
.status-header { text-align: center; margin-bottom: 48px; animation: st-in 0.5s ease both; }
.status-header h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1.5px; color: var(--text); margin-bottom: 10px; }
.status-header p { font-size: 14px; color: var(--text-2); }

.status-overall {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding: 14px 24px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    margin-bottom: 40px;
    font-size: 13px;
    font-weight: 600;
    color: #d8f5df;
    animation: st-in 0.5s ease 0.1s both;
}

.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-green  { background: #4ade80; box-shadow: 0 0 8px rgba(74, 222, 128, 0.6); animation: pulse-green 2s infinite; }
.dot-yellow { background: #eab308; box-shadow: 0 0 8px rgba(234, 179, 8, 0.5); }
.dot-red    { background: #f87171; box-shadow: 0 0 8px rgba(248, 113, 113, 0.5); }

@keyframes pulse-green { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.status-group { margin-bottom: 12px; animation: st-in 0.5s ease both; }
.status-group-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-3); padding: 0 4px; margin-bottom: 8px; }

.status-list {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
}

.status-item { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); transition: background 0.2s; }
.status-item:last-child { border-bottom: none; }
.status-item:hover { background: var(--glass-hover); }

.status-item-name { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.status-item-sub { font-size: 11px; color: var(--text-3); }

.status-badge { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 50px; white-space: nowrap; }
.status-operational { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.22); color: #4ade80; }
.status-updating { background: rgba(234, 179, 8, 0.12); border: 1px solid rgba(234, 179, 8, 0.22); color: #eab308; }
.status-down { background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.22); color: #f87171; }

.status-footer { text-align: center; margin-top: 32px; font-size: 12px; color: var(--text-3); animation: st-in 0.5s ease 0.5s both; }
.status-footer span { font-variant-numeric: tabular-nums; }

@keyframes st-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.status-group:nth-child(2) { animation-delay: 0.15s; }
.status-group:nth-child(3) { animation-delay: 0.25s; }
