:root {
    --ink: #f6f4ef;
    --muted: #aaa9b2;
    --night: #09090d;
    --panel: #111118;
    --line: #2a2933;
    --violet: #8b5cf6;
    --cyan: #28d9cc;
    --amber: #ffb84c;
    --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 80% 8%, rgba(139,92,246,.12), transparent 25rem),
        var(--night);
    font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; color: #09090d; background: #fff; }
.skip-link:focus { top: 1rem; }
.site-header, footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-header { min-height: 92px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand { display: flex; gap: .75rem; align-items: center; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: var(--violet); border-radius: 11px; font-weight: 900; box-shadow: 0 0 30px rgba(139,92,246,.35); }
.brand strong { display: block; line-height: 1; letter-spacing: .08em; }
.brand small { display: block; color: var(--muted); line-height: 1; margin-top: .25rem; }
nav { display: flex; align-items: center; gap: 2rem; font-size: .92rem; }
nav a { color: var(--muted); }
nav a:hover, nav a:focus-visible { color: #fff; }
.nav-cta { padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; }
.hero, .auth-shell, .dashboard-head {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}
.hero { min-height: 690px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 8vw; padding: 5rem 0; }
.eyebrow { margin: 0 0 1rem; color: var(--cyan); font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; }
h1 { margin: 0; font-size: clamp(3.1rem, 7vw, 6.4rem); }
h1 span { color: var(--violet); }
.lede { max-width: 690px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions, .card-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff;
    background: none;
    cursor: pointer;
    font-weight: 750;
}
.button.primary { background: var(--violet); box-shadow: 0 12px 36px rgba(139,92,246,.24); }
.button.primary:hover, .button.primary:focus-visible { background: #9d75fa; }
.button.ghost { border-color: var(--line); }
.button.ghost:hover, .button.ghost:focus-visible { border-color: #5d5b6b; background: rgba(255,255,255,.04); }
.button.full { width: 100%; margin-top: 1rem; }
.button.small { min-height: 38px; padding: .45rem .8rem; font-size: .82rem; }
.trust { margin-top: 2rem; color: #7d7c87; font-size: .84rem; }
.trust span { color: var(--cyan); margin-right: .4rem; }
.signal-card {
    position: relative;
    min-height: 440px;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
    box-shadow: 0 35px 90px rgba(0,0,0,.45);
}
.signal-label { color: #7e7c8a; font-size: .7rem; letter-spacing: .22em; }
.signal-stat { display: flex; align-items: center; gap: 1.2rem; margin-top: 4rem; }
.signal-stat strong { font-size: 7rem; line-height: 1; }
.signal-stat span { color: var(--muted); line-height: 1.25; }
.signal-line { height: 1px; margin: 2rem 0; background: linear-gradient(90deg, var(--violet), transparent); }
.signal-card ul { display: grid; gap: .9rem; padding: 0; list-style: none; color: #c8c6ce; }
.signal-card li span { display: inline-block; width: 7px; height: 7px; margin-right: .65rem; background: var(--cyan); border-radius: 50%; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 180px; height: 180px; right: -60px; top: -40px; background: rgba(139,92,246,.2); }
.orb-two { width: 110px; height: 110px; right: 50px; bottom: 10px; background: rgba(40,217,204,.08); }
.products-section, .dashboard-body { padding: 7rem max(20px, calc((100% - 1180px)/2)); background: #0e0e14; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-heading h2, .security-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); }
.product-grid, .entitlement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.product-card, .entitlement-card {
    min-height: 330px;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}
.product-card { position: relative; transition: transform .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-4px); }
.accent-violet:hover { border-color: var(--violet); }
.accent-cyan:hover { border-color: var(--cyan); }
.accent-amber:hover { border-color: var(--amber); }
.product-index { float: right; color: #5c5a68; font: 700 .75rem ui-monospace, monospace; }
.product-icon { display: grid; width: 46px; height: 46px; margin-bottom: 4rem; place-items: center; border: 1px solid var(--line); border-radius: 13px; font-weight: 900; }
.product-card h3, .entitlement-card h3 { margin: 0 0 .8rem; font-size: 1.55rem; }
.product-card p, .entitlement-card > p { color: var(--muted); }
.product-link { display: block; margin-top: 2rem; font-size: .86rem; font-weight: 750; }
.security-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: end;
    padding: 7rem max(20px, calc((100% - 1180px)/2));
    background: var(--violet);
}
.security-band .eyebrow { color: #d9caff; }
.security-band > p { max-width: 560px; margin: 0; color: #e7deff; font-size: 1.08rem; }
footer { min-height: 110px; color: #777581; font-size: .8rem; }
.auth-shell { min-height: calc(100vh - 202px); display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 8vw; padding: 5rem 0; }
.auth-intro h1 { font-size: clamp(3rem, 6vw, 5.4rem); }
.auth-intro > p:last-child { max-width: 600px; color: var(--muted); }
.auth-card { padding: 2.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.auth-card h2 { margin: 0; font-size: 2rem; }
.muted { color: var(--muted); }
label { display: block; margin: 1.2rem 0 .4rem; color: #d7d5db; font-size: .85rem; font-weight: 700; }
input {
    width: 100%;
    padding: .85rem 1rem;
    color: #fff;
    border: 1px solid #373641;
    border-radius: 9px;
    outline: none;
    background: #0b0b10;
}
input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,.15); }
.text-link { display: block; margin-top: 1.3rem; color: #bca6fb; text-align: center; font-size: .86rem; }
.alert { margin-top: 1rem; padding: .75rem 1rem; color: #ffd4d4; border: 1px solid #69363b; border-radius: 9px; background: #271316; }
.success-mark { display: grid; width: 48px; height: 48px; place-items: center; color: #061b18; background: var(--cyan); border-radius: 50%; font-weight: 900; }
.dashboard-head { display: flex; min-height: 390px; align-items: center; justify-content: space-between; gap: 2rem; }
.dashboard-head h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.dashboard-body { min-height: 450px; }
.section-heading.compact { display: block; }
.entitlement-card { min-height: 360px; }
.entitlement-top { min-height: 42px; }
.status { display: inline-block; padding: .28rem .6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.status-active { color: var(--cyan); border-color: rgba(40,217,204,.32); }
.status-past_due { color: var(--amber); border-color: rgba(255,184,76,.32); }
.license-panel { margin-top: 2rem; padding: 1.2rem; border-radius: 12px; background: #0b0b10; }
.license-panel > span, .license-panel small { display: block; color: #807e89; font-size: .74rem; }
.license-panel strong { display: block; margin: .3rem 0; font: 700 .95rem ui-monospace, monospace; }
.empty-state { padding: 4rem 2rem; border: 1px dashed #363541; border-radius: var(--radius); text-align: center; }
.empty-state > span { color: var(--violet); font-size: 3rem; }
.empty-state h3 { font-size: 1.4rem; }
.empty-state p { color: var(--muted); }
.error-page { width: min(900px, calc(100% - 40px)); min-height: calc(100vh - 202px); margin: 0 auto; padding: 8rem 0; }
.error-page p:not(.eyebrow) { color: var(--muted); }

@media (max-width: 850px) {
    nav a:not(.nav-cta) { display: none; }
    .hero, .auth-shell { grid-template-columns: 1fr; }
    .hero { padding-top: 3rem; }
    .signal-card { min-height: 360px; }
    .product-grid, .entitlement-grid { grid-template-columns: 1fr; }
    .security-band { grid-template-columns: 1fr; }
    .dashboard-head { align-items: flex-start; flex-direction: column; justify-content: center; }
    .section-heading { display: block; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .product-card { transition: none; }
}
