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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto',sans-serif;
    background: #f0f2f5;
    color: #212529;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button, input, select, textarea {
    font-family: 'Roboto',sans-serif;
}

/* ── NAV ── */
.topbar {
    background: #fff;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    border-bottom: 1px solid #e2e4e8;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-badge {
    width: 34px;
    height: 34px;
    background: #3d47c9;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .04em;
}

.logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
}

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

.nav-link {
    padding: 7px 14px;
    border-radius: 5px;
    font-size: .84rem;
    font-weight: 500;
    color: #555;
    transition: all .15s;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-link:hover {
    background: #f0f1ff;
    color: #3d47c9;
}

.nav-link.active {
    background: #e8eaff;
    color: #3d47c9;
}

.nav-cta {
    background: #3d47c9;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 20px;
    font-size: .84rem;
    font-weight: 500;
    font-family: 'Roboto',sans-serif;
    cursor: pointer;
    transition: background .15s;
}

.nav-cta:hover {
    background: #2b31b5;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── HERO ── */
.hero {
    background: #1e2257;
    padding: 80px 32px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 110%,rgba(61,71,201,.4),transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    padding: 5px 16px;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a8b4e8;
    margin-bottom: 22px;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5c6ee0;
    box-shadow: 0 0 8px #5c6ee0;
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 16px;
    max-width: 700px;
}

.hero h1 span {
    color: #7b8ff5;
}

.hero-sub {
    font-size: 1rem;
    font-weight: 300;
    color: #a8b4e8;
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 34px;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-primary-lg {
    background: #3d47c9;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 28px;
    font-size: .9rem;
    font-weight: 500;
    font-family: 'Roboto',sans-serif;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-lg:hover {
    background: #2b31b5;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(61,71,201,.4);
}

.btn-ghost-lg {
    background: transparent;
    color: #c8cde6;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 5px;
    padding: 12px 28px;
    font-size: .9rem;
    font-weight: 500;
    font-family: 'Roboto',sans-serif;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-ghost-lg:hover {
    background: rgba(255,255,255,.07);
    color: #fff;
    border-color: rgba(255,255,255,.35);
}

.btn-discord {
    background: #5865F2;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 28px;
    font-size: .9rem;
    font-weight: 500;
    font-family: 'Roboto',sans-serif;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(88,101,242,.4);
}

.btn-discord svg {
    flex-shrink: 0;
}

.hero-screen {
    background: #e8eaef;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    box-shadow: 0 -8px 40px rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,.08);
    border-bottom: none;
    max-width: 980px;
    margin: 0 auto;
}

.hero-screen-bar {
    background: #fff;
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 6px;
    border-bottom: 1px solid #e2e4e8;
}

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

.hbar-dot.r { background: #ff5f57; }
.hbar-dot.y { background: #febc2e; }
.hbar-dot.g { background: #28c840; }

.hbar-url {
    flex: 1;
    background: #f4f6f9;
    border-radius: 4px;
    height: 22px;
    margin: 0 16px;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.hbar-url span {
    font-size: .72rem;
    color: #aaa;
    font-family: monospace;
}

.hero-screen-body {
    background: #f0f2f5;
    padding: 20px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 16px;
    min-height: 320px;
}

/* ── STATS BAR ── */
.stats-bar {
    background: #fff;
    border-bottom: 1px solid #e2e4e8;
    padding: 0;
}

.stats-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.stat-item {
    padding: 24px 32px;
    border-right: 1px solid #f0f1f5;
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-item:last-child { border-right: none; }

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg { width: 20px; height: 20px; fill: currentColor; }

.si-blue { background: #e8eaff; color: #3d47c9; }
.si-green { background: #e8f5e9; color: #2e7d32; }
.si-amber { background: #fff8e1; color: #f57f17; }
.si-purple { background: #f3e5f5; color: #7b1fa2; }

.stat-num { font-size: 1.6rem; font-weight: 700; color: #111; line-height: 1; }
.stat-label { font-size: .75rem; color: #888; margin-top: 2px; text-transform: uppercase; letter-spacing: .06em; }

/* ── SECTIONS ── */
.section { padding: 72px 32px; scroll-margin-top: 118px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-alt { background: #fff; }
.section-dark { background: #1e2257; }

.section-label { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #3d47c9; margin-bottom: 8px; }
.section-label.light { color: #7b8ff5; }

.section-h2 { font-size: 1.7rem; font-weight: 700; color: #111; margin-bottom: 10px; line-height: 1.25; }
.section-h2.light { color: #fff; }

.section-p { font-size: .92rem; color: #666; line-height: 1.75; max-width: 520px; }
.section-p.light { color: #a8b4e8; }

.text-center { text-align: center; }
.text-center .section-p { margin: 0 auto; }

/* ── FEATURE GRID ── */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 48px; }

.feat-card {
    background: #fff;
    border-radius: 8px;
    padding: 26px 22px;
    border: 1px solid #e8eaef;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    transition: all .2s;
    position: relative;
    overflow: hidden;
}

.feat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,#3d47c9,#7b8ff5);
    opacity: 0;
    transition: opacity .2s;
}

.feat-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); transform: translateY(-2px); }
.feat-card:hover::after { opacity: 1; }

.feat-icon { width: 42px; height: 42px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feat-icon svg { width: 20px; height: 20px; fill: currentColor; }

.fi-blue { background: #e8eaff; color: #3d47c9; }
.fi-green { background: #e8f5e9; color: #2e7d32; }
.fi-red { background: #fdecea; color: #c62828; }
.fi-amber { background: #fff8e1; color: #f57f17; }
.fi-teal { background: #e0f2f1; color: #00695c; }
.fi-purple { background: #f3e5f5; color: #7b1fa2; }
.fi-indigo { background: #e8eaf6; color: #3949ab; }
.fi-pink { background: #fce4ec; color: #c2185b; }
.fi-discord { background: #eef0fd; color: #5865F2; }

.feat-title { font-size: .9rem; font-weight: 700; color: #111; margin-bottom: 6px; }
.feat-desc { font-size: .82rem; color: #666; line-height: 1.65; }

/* ── SPLIT LAYOUT ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-text .section-p { margin-bottom: 20px; }

.check-list { display: flex; flex-direction: column; gap: 11px; margin-top: 20px; }
.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: #555; line-height: 1.6; }
.check-dot { width: 18px; height: 18px; border-radius: 50%; background: #e8eaff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.check-dot svg { width: 9px; height: 9px; fill: #3d47c9; }
.check-item strong { color: #212529; }

/* mock screens */
.mock-screen { background: #fff; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,.1); border: 1px solid #e2e4e8; overflow: hidden; }
.mock-screen-bar { background: #1e2257; height: 36px; display: flex; align-items: center; padding: 0 14px; gap: 6px; }
.msb-dot { width: 9px; height: 9px; border-radius: 50%; }
.msb-dot.r { background: #ff5f57; }
.msb-dot.y { background: #febc2e; }
.msb-dot.g { background: #28c840; }
.msb-title { margin: 0 auto; font-size: .68rem; color: rgba(255,255,255,.4); letter-spacing: .07em; text-transform: uppercase; }
.mock-screen-body { padding: 16px; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }

.pricing-card { background: #fff; border-radius: 8px; padding: 30px 26px; border: 2px solid #e8eaef; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: all .2s; }
.pricing-card.featured { border-color: #3d47c9; position: relative; }
.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: #3d47c9;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 3px 14px;
    border-radius: 20px;
    white-space: nowrap;
}
.pricing-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.09); }
.pricing-plan { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #3d47c9; margin-bottom: 8px; }
.pricing-price { font-size: 2.1rem; font-weight: 700; color: #111; line-height: 1; margin-bottom: 4px; }
.pricing-price span { font-size: .88rem; font-weight: 400; color: #888; }
.pricing-desc { font-size: .82rem; color: #888; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid #f0f1f5; line-height: 1.6; }
.pricing-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.pf-item { display: flex; align-items: center; gap: 8px; font-size: .83rem; color: #444; }
.pf-item svg { width: 13px; height: 13px; fill: #3d47c9; flex-shrink: 0; }

.btn-plan { width: 100%; background: #1e2257; color: #fff; border: none; border-radius: 5px; padding: 11px; font-size: .86rem; font-weight: 500; font-family: 'Roboto',sans-serif; cursor: pointer; transition: background .15s; }
.btn-plan:hover { background: #111740; }
.pricing-card.featured .btn-plan { background: #3d47c9; }
.pricing-card.featured .btn-plan:hover { background: #2b31b5; }

/* ── CTA ── */
.cta-section { background: #1e2257; padding: 72px 32px; }
.cta-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-text h2 { font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.cta-text p { font-size: .9rem; color: #a8b4e8; line-height: 1.65; max-width: 480px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

.btn-cta-white { background: #fff; color: #1e2257; border: none; border-radius: 5px; padding: 12px 28px; font-size: .9rem; font-weight: 700; font-family: 'Roboto',sans-serif; cursor: pointer; transition: all .2s; white-space: nowrap; }
.btn-cta-white:hover { background: #e8eaff; }

.btn-cta-discord { background: #5865F2; color: #fff; border: none; border-radius: 5px; padding: 12px 28px; font-size: .9rem; font-weight: 500; font-family: 'Roboto',sans-serif; cursor: pointer; transition: all .2s; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.btn-cta-discord:hover { background: #4752c4; }

/* ── FOOTER ── */
footer { background: #fff; border-top: 1px solid #e2e4e8; padding: 48px 32px 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand-desc { font-size: .82rem; color: #888; line-height: 1.7; margin-top: 10px; max-width: 260px; }
.footer-col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #111; margin-bottom: 12px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-col ul li a { font-size: .82rem; color: #888; transition: color .15s; }
.footer-col ul li a:hover { color: #3d47c9; }
.footer-bottom { border-top: 1px solid #f0f1f5; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: .76rem; color: #bbb; }
.footer-tags { display: flex; gap: 7px; }
.ftag { font-size: .68rem; font-weight: 600; padding: 3px 10px; border-radius: 3px; letter-spacing: .04em; text-transform: uppercase; }
.ftag-blue { background: #e8eaff; color: #3d47c9; }
.ftag-green { background: #e8f5e9; color: #2e7d32; }

/* animations */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .5s ease,transform .5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

hr.divider { border: none; border-top: 1px solid #e8eaef; }

/* subnav */
.subnav { background: #fff; border-bottom: 1px solid #e2e4e8; display: flex; justify-content: center; gap: 0; height: 44px; position: sticky; top: 56px; z-index: 190; }
.subnav-link { padding: 0 18px; height: 100%; display: flex; align-items: center; font-size: .76rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: #888; border-bottom: 2px solid transparent; transition: all .15s; cursor: pointer; }
.subnav-link:hover { color: #3d47c9; }
.subnav-link.active { color: #3d47c9; border-bottom-color: #3d47c9; }
