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

:root {
    --bg: #05070a;
    --surface: #0d1117;
    --surface-2: #111821;
    --surface-3: #151e28;
    --glass: rgba(15, 21, 30, 0.62);
    --glass-strong: rgba(15, 21, 30, 0.86);
    --line: #223041;
    --line-soft: rgba(148, 163, 184, 0.14);
    --line-strong: rgba(148, 163, 184, 0.26);
    --text: #f4f8fc;
    --text-soft: #a9b7c7;
    --text-muted: #66758a;
    --accent: #2fc0ff;
    --accent-2: #32d6a0;
    --accent-3: #8f6bff;
    --warning: #f6c66a;
    --danger: #ff5d73;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.55);
    --glow-accent: 0 0 0 1px rgba(47, 192, 255, 0.16), 0 18px 46px rgba(47, 192, 255, 0.14);
    --glow-violet: 0 0 0 1px rgba(143, 107, 255, 0.16), 0 18px 46px rgba(143, 107, 255, 0.14);
    --radius: 14px;
    --radius-sm: 10px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Ambient glow field — fixed so it stays put across scroll on every page */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(680px 460px at 12% -6%, rgba(47, 192, 255, 0.16), transparent 60%),
        radial-gradient(620px 520px at 88% 8%, rgba(143, 107, 255, 0.14), transparent 62%),
        radial-gradient(720px 560px at 50% 100%, rgba(50, 214, 160, 0.08), transparent 60%),
        var(--bg);
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

::selection { background: rgba(47, 192, 255, 0.28); color: var(--text); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, 0.22); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(148, 163, 184, 0.36); }

:focus-visible {
    outline: 2px solid rgba(47, 192, 255, 0.75);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* ---------- Navbar ---------- */

.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: rgba(5, 7, 10, 0.6);
    border-bottom: 1px solid var(--line-soft);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.navbar .container {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    transition: opacity 0.2s var(--ease);
}

.nav-brand:hover { opacity: 0.82; }

.nav-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    object-fit: cover;
    border: 1px solid var(--line-strong);
    box-shadow: 0 6px 18px rgba(47, 192, 255, 0.16);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-soft);
    border-radius: 10px;
}

.nav-links a {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 13px;
    border-radius: 7px;
    transition: color 0.16s var(--ease), background 0.16s var(--ease);
}

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

.nav-cta,
.btn-primary,
.btn-secondary,
.price-btn,
.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), background 0.16s var(--ease), color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.nav-cta {
    padding: 0 16px;
    background: var(--text);
    color: #051018;
    font-size: 13px;
}

.nav-cta:hover,
.btn-primary:hover,
.price-btn.primary:hover,
.auth-btn:hover {
    transform: translateY(-1px);
}

.nav-cta:active,
.btn-primary:active,
.btn-secondary:active,
.price-btn:active,
.auth-btn:active { transform: translateY(0); }

.nav-user { display: flex; align-items: center; }
.nav-avatar-link { display: flex; align-items: center; gap: 9px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.03); transition: border-color 0.16s var(--ease), background 0.16s var(--ease); }
.nav-avatar-link:hover { border-color: rgba(47, 192, 255, 0.4); background: rgba(255, 255, 255, 0.05); }
.nav-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(47, 192, 255, 0.65);
    object-fit: cover;
}
.nav-username { color: var(--text); font-size: 13px; font-weight: 700; }

/* ---------- Hero ---------- */

.hero {
    min-height: 760px;
    display: flex;
    align-items: center;
    padding: 132px 0 72px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
    gap: 48px;
    align-items: center;
}

.hero-copy { max-width: 660px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--accent-2);
    background: rgba(50, 214, 160, 0.08);
    border: 1px solid rgba(50, 214, 160, 0.24);
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hero-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 0 5px rgba(50, 214, 160, 0.14);
    animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 5px rgba(50, 214, 160, 0.14); }
    50% { box-shadow: 0 0 0 8px rgba(50, 214, 160, 0.06); }
}

.hero h1 {
    margin-top: 22px;
    max-width: 760px;
    font-size: clamp(46px, 6.6vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.01em;
    font-weight: 800;
}

.hero h1 span {
    background: linear-gradient(120deg, var(--accent), var(--accent-3) 65%, var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    margin-top: 24px;
    max-width: 600px;
    color: var(--text-soft);
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn-primary {
    min-width: 156px;
    padding: 0 22px;
    color: #04121c;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 16px 36px rgba(47, 192, 255, 0.22);
}

.btn-primary:hover { box-shadow: 0 20px 46px rgba(47, 192, 255, 0.3); }

.btn-secondary {
    min-width: 156px;
    padding: 0 22px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line-soft);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(169, 183, 199, 0.3);
}

.hero-grid { position: relative; }

.hero-stage {
    position: absolute;
    right: -24px;
    top: -56px;
    bottom: -32px;
    width: 54%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

.hero-stage-glow {
    position: absolute;
    width: 460px;
    height: 460px;
    right: 60px;
    top: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 107, 255, 0.24), transparent 65%);
    filter: blur(6px);
}

.hero-stage-img {
    position: relative;
    height: 560px;
    max-height: 72vh;
    width: auto;
    display: block;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
}

@media (max-width: 1100px) {
    .hero-stage { width: 48%; right: -10px; }
    .hero-stage-img { height: 480px; }
}

/* ---------- Stats bar ---------- */

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: -38px auto 80px;
    background: var(--glass-strong);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat {
    padding: 24px;
    border-right: 1px solid var(--line-soft);
    transition: background 0.2s var(--ease);
}

.stat:hover { background: rgba(255, 255, 255, 0.02); }
.stat:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stat:last-child { border-right: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.stat-value { color: var(--text); font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.stat-value.green { color: var(--accent-2); }
.stat-label { color: var(--text-muted); font-size: 12px; font-weight: 700; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.03em; }

/* ---------- Section titles ---------- */

.section-title {
    max-width: 690px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-title h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.section-title p {
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 15px;
}

/* ---------- Cards (feature / price / dash / auth / download) ---------- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 88px;
}

.feature-card,
.price-card,
.dash-card,
.auth-card,
.download-section {
    background: linear-gradient(180deg, rgba(17, 24, 33, 0.86), rgba(11, 15, 21, 0.92));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature-card {
    padding: 24px;
    min-height: 206px;
    position: relative;
    overflow: hidden;
}

.feature-card:hover,
.price-card:hover,
.dash-card:hover {
    border-color: rgba(47, 192, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.3), var(--glow-accent);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-icon.purple { background: rgba(47, 192, 255, 0.12); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(47, 192, 255, 0.16); }
.feature-icon.green { background: rgba(50, 214, 160, 0.12); color: var(--accent-2); box-shadow: inset 0 0 0 1px rgba(50, 214, 160, 0.16); }
.feature-icon.gold { background: rgba(246, 198, 106, 0.14); color: var(--warning); box-shadow: inset 0 0 0 1px rgba(246, 198, 106, 0.18); }

.feature-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.feature-card p { color: var(--text-soft); font-size: 13px; }

/* ---------- Pricing ---------- */

.pricing-section {
    padding: 88px 0;
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 640px;
    margin: 0 auto;
}

.price-card {
    padding: 28px;
    position: relative;
}

.price-card.featured {
    border-color: rgba(47, 192, 255, 0.6);
    box-shadow: 0 20px 58px rgba(47, 192, 255, 0.12), var(--glow-accent);
    background: linear-gradient(180deg, rgba(24, 33, 45, 0.9), rgba(11, 15, 21, 0.94));
}

.price-card.featured:hover { transform: translateY(-4px) scale(1.01); }

.price-card.featured::before {
    content: "Recommended";
    position: absolute;
    top: 14px;
    right: 14px;
    color: #051018;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.price-duration {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.price-amount {
    margin-top: 12px;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.price-amount span {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
    margin-left: 4px;
}

.price-features {
    list-style: none;
    margin: 22px 0;
}

.price-features li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    color: var(--text-soft);
    font-size: 13px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.price-features li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 8px rgba(50, 214, 160, 0.5);
    flex: 0 0 7px;
}

.price-btn { width: 100%; padding: 0 16px; font-size: 13px; }
.price-btn.primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #051018; box-shadow: 0 14px 30px rgba(47, 192, 255, 0.22); }
.price-btn.secondary { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--line-soft); }

/* ---------- Status bar ---------- */

.status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    padding: 28px 0;
    margin: 48px 0;
    color: var(--text-soft);
    font-size: 13px;
}

.status-item { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.online { background: var(--accent-2); box-shadow: 0 0 0 5px rgba(50, 214, 160, 0.14); }
.status-dot.offline { background: var(--danger); box-shadow: 0 0 0 5px rgba(255, 93, 115, 0.14); }

/* ---------- Footer ---------- */

.footer {
    border-top: 1px solid var(--line-soft);
    padding: 32px 0;
    color: var(--text-muted);
    font-size: 12px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-soft); transition: color 0.16s var(--ease); }
.footer-links a:hover { color: var(--text); }

/* ---------- Auth ---------- */

.auth-container {
    max-width: 430px;
    margin: 126px auto 0;
    padding: 0 20px;
}

.auth-card { padding: 32px; }
.auth-card h2 { text-align: center; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.auth-card .subtitle { text-align: center; color: var(--text-soft); font-size: 13px; margin: 8px 0 26px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; color: var(--text-soft); font-size: 12px; font-weight: 800; margin-bottom: 7px; }
.form-group input {
    width: 100%;
    min-height: 42px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    padding: 0 12px;
    outline: none;
    transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}
.form-group input:focus { border-color: rgba(47, 192, 255, 0.7); background: rgba(255, 255, 255, 0.06); }
.auth-btn { width: 100%; background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #051018; box-shadow: 0 14px 30px rgba(47, 192, 255, 0.2); }
.discord-btn { background: #5865f2; color: white; box-shadow: 0 14px 30px rgba(88, 101, 242, 0.28); }
.auth-footer { text-align: center; margin-top: 18px; color: var(--text-muted); font-size: 12px; }
.auth-footer a { color: var(--accent); font-weight: 800; }

/* ---------- Dashboard ---------- */

.dashboard { padding: 116px 0 48px; }
.dash-header { margin-bottom: 26px; }
.dash-header h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.01em; }
.dash-header p { color: var(--text-soft); font-size: 14px; margin-top: 4px; }
.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dash-card { padding: 20px; }
.dash-card h3 { color: var(--text-soft); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.dash-card .value { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.dash-card .value.green { color: var(--accent-2); }
.dash-card .value.red { color: var(--danger); }
.dash-card .value.accent { color: var(--accent); }

.key-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    padding: 13px 14px;
    color: var(--accent);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 13px;
}
.copy-btn { background: none; border: 0; color: var(--text-soft); cursor: pointer; transition: color 0.16s var(--ease), transform 0.16s var(--ease); }
.copy-btn:hover { color: var(--text); transform: scale(1.1); }

.download-section {
    grid-column: 1 / -1;
    padding: 30px;
    text-align: center;
}
.download-section h3 { font-size: 18px; font-weight: 800; }
.download-section p { color: var(--text-soft); font-size: 13px; margin: 8px 0 18px; }

@media (max-width: 900px) {
    .hero { min-height: auto; padding-top: 128px; }
    .hero .container { grid-template-columns: 1fr; }
    .hero-stage {
        position: relative; inset: auto; width: 100%; height: 360px;
        margin-top: -10px;
    }
    .hero-stage picture { display: block; height: 100%; }
    .hero-stage-img { height: 100%; max-height: 100%; width: auto; max-width: 100%; }
    .stats-bar, .features-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .container { width: min(100% - 28px, 1180px); }
    .navbar .container { height: auto; min-height: 64px; flex-wrap: wrap; padding: 12px 0; }
    .nav-links { order: 3; width: 100%; justify-content: space-between; overflow-x: auto; }
    .hero h1 { font-size: 44px; }
    .hero-buttons { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; }
    .stats-bar, .features-grid, .pricing-grid, .dash-grid { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0 !important; }
    .stat:first-child { border-radius: var(--radius) var(--radius) 0 0 !important; }
    .stat:last-child { border-bottom: 0; border-radius: 0 0 var(--radius) var(--radius) !important; }
    .footer .container { flex-direction: column; text-align: center; }
}
