:root {
    --bg: #0c080b;
    --bg-2: #120c11;
    --card: #150f14;
    --card-glass: rgba(21, 15, 20, 0.84);
    --line: rgba(255, 255, 255, 0.075);
    --line-2: rgba(255, 255, 255, 0.14);
    --highlight-top: rgba(255, 255, 255, 0.12);
    --text: #eee8ec;
    --dim: #92878f;
    --dim-2: #6d636b;
    --accent: #e91e8c;
    --accent-2: #f486c0;
    --accent-soft: rgba(233, 30, 140, 0.13);
    --grad: linear-gradient(120deg, #ffffff 0%, #f8cde5 46%, #e91e8c 100%);
    --ok: #4ade80;
    --warn: #fbbf24;
    --bad: #f87171;
    --r: 14px;
    --r-sm: 10px;
    --wrap: 1120px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --font-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(64% 48% at 50% -12%, rgba(233, 30, 140, 0.18), transparent 72%),
        radial-gradient(44% 38% at 88% 18%, rgba(244, 134, 192, 0.09), transparent 72%),
        radial-gradient(40% 34% at 10% 82%, rgba(88, 101, 242, 0.08), transparent 74%),
        radial-gradient(50% 40% at 50% 45%, rgba(233, 30, 140, 0.035), transparent 70%);
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.036) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.7;
    z-index: 0;
}

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

button, input, select {
    font: inherit;
    color: inherit;
}

button:focus-visible,
input:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 2px solid rgba(233, 30, 140, 0.65);
    outline-offset: 2px;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

nav#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 15px 32px;
    background: rgba(12, 8, 11, 0.78);
    backdrop-filter: saturate(140%) blur(18px);
    -webkit-backdrop-filter: saturate(140%) blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.32);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

body.loaded nav#main-nav {
    opacity: 1;
    transform: translateY(0);
}

nav#main-nav a {
    position: relative;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--dim);
    padding: 6px 2px;
    cursor: pointer;
    transition: color 0.25s var(--ease);
}

nav#main-nav a.nav-brand {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.16em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-right: 10px;
}

nav#main-nav a:hover,
nav#main-nav a.active {
    color: var(--text);
}

#nav-underline {
    position: absolute;
    bottom: 10px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 10px rgba(233, 30, 140, 0.65);
    opacity: 0;
    transition: left 0.35s var(--ease), width 0.35s var(--ease), opacity 0.3s var(--ease);
}

.nav-spacer {
    flex: 1;
}

.nav-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 6px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
    font-size: 12.5px;
    color: var(--text) !important;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-user-pill:hover {
    border-color: var(--accent);
    background: rgba(233, 30, 140, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 20px rgba(233, 30, 140, 0.18);
}

.nav-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #180713;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-transform: uppercase;
}

.nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-cta {
    font-size: 13px;
    padding: 8px 18px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-cta:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px rgba(233, 30, 140, 0.18);
}

.view {
    display: none;
    padding: 122px 0 88px;
}

.view.visible {
    display: block;
    animation: viewIn 0.45s var(--ease) both;
}

@keyframes viewIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: lowercase;
    color: var(--dim);
    margin-bottom: 28px;
}

.hero {
    text-align: center;
    padding: 18px 0 12px;
    position: relative;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 15px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 28px rgba(0, 0, 0, 0.35);
    font-size: 12px;
    color: var(--dim);
    margin-bottom: 22px;
}

.hero-crest-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-aura {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.28), rgba(88, 101, 242, 0.1) 48%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    animation: auraPulse 6s var(--ease) infinite alternate;
}

@keyframes auraPulse {
    from {
        opacity: 0.72;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1.06);
    }
}

.crest {
    width: 118px;
    height: auto;
    opacity: 0.9;
    margin-bottom: 10px;
    position: relative;
    filter: drop-shadow(0 0 32px rgba(233, 30, 140, 0.38));
}

.domain-pill {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--accent-2);
    padding: 5px 14px;
    border: 1px solid rgba(233, 30, 140, 0.32);
    border-radius: 999px;
    background: rgba(233, 30, 140, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    margin-bottom: 14px;
}

.logo {
    font-size: clamp(46px, 8.2vw, 94px);
    font-weight: 200;
    letter-spacing: -0.035em;
    line-height: 1.03;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 12px 36px rgba(233, 30, 140, 0.16));
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.logo.enter,
body.loaded .hero .logo {
    opacity: 1;
    transform: scale(1);
}

.tagline {
    margin: 18px auto 0;
    font-size: 16.5px;
    color: var(--dim);
    max-width: 590px;
    line-height: 1.68;
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 40px rgba(233, 30, 140, 0.18);
}

.btn-outline:active {
    transform: translateY(0) scale(0.985);
}

.btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 10px 30px rgba(233, 30, 140, 0.24);
    color: #180713;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 18px 46px rgba(233, 30, 140, 0.36);
    filter: brightness(1.06);
}

.btn-solid:active {
    transform: translateY(0) scale(0.985);
}

.btn-solid.small,
.btn-outline.small {
    padding: 9px 20px;
    font-size: 13px;
}

.trust-strip {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 55px rgba(0, 0, 0, 0.38);
}

.trust-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(18, 12, 17, 0.94));
    padding: 22px 18px;
    text-align: center;
    transition: background 0.25s var(--ease);
}

.trust-item:hover {
    background: linear-gradient(180deg, rgba(233, 30, 140, 0.06), rgba(18, 12, 17, 0.96));
}

.trust-item .k {
    font-size: 20px;
    font-weight: 400;
    color: var(--text);
}

.trust-item .v {
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--dim-2);
    text-transform: lowercase;
    margin-top: 4px;
}

.steps-section {
    margin-top: 66px;
    text-align: left;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.step-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), var(--card-glass));
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 42px rgba(0, 0, 0, 0.32);
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.step-card::before,
.highlight-card::before,
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

.step-card:hover {
    border-color: rgba(233, 30, 140, 0.4);
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 52px rgba(233, 30, 140, 0.12);
}

.step-num {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(233, 30, 140, 0.32);
    background: rgba(233, 30, 140, 0.08);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-2);
    letter-spacing: 0.16em;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
}

.step-card p {
    font-size: 13.5px;
    color: var(--dim);
}

.highlights-section {
    margin-top: 56px;
    text-align: left;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.highlight-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(233, 30, 140, 0.06), rgba(21, 15, 20, 0.88) 55%);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 42px rgba(0, 0, 0, 0.3);
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.highlight-card:hover {
    border-color: rgba(233, 30, 140, 0.38);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 50px rgba(233, 30, 140, 0.11);
}

.highlight-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.highlight-head h3 {
    font-size: 15.5px;
    font-weight: 400;
    color: var(--text);
}

.highlight-card p {
    font-size: 13.5px;
    color: var(--dim);
}

.highlight-tags {
    margin-top: auto;
    padding-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.highlight-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--dim);
    padding: 3px 9px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.card {
    position: relative;
    overflow: hidden;
    background: var(--card-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 26px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 42px rgba(0, 0, 0, 0.34);
}

.muted {
    color: var(--dim);
}

.ok {
    color: var(--ok);
}

.warn {
    color: var(--warn);
}

.bad {
    color: var(--bad);
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 72px;
    padding: 36px 0 48px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand {
    font-size: 20px;
    font-weight: 200;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--dim);
}

.footer-links a {
    cursor: pointer;
    transition: color 0.2s var(--ease);
}

.footer-links a:hover {
    color: var(--text);
}

.footer-note {
    margin-top: 22px;
    font-size: 12px;
    color: var(--dim-2);
    max-width: 640px;
}

.toast-stack {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    padding: 11px 16px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    background: rgba(21, 15, 20, 0.94);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 32px rgba(0, 0, 0, 0.45);
    color: var(--text);
    font-size: 13px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.toast.in {
    opacity: 1;
    transform: translateY(0);
}

.toast.ok {
    border-color: rgba(74, 222, 128, 0.45);
}

.toast.warn {
    border-color: rgba(251, 191, 36, 0.45);
}

.toast.bad {
    border-color: rgba(248, 113, 113, 0.48);
}

@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    body::before {
        position: absolute;
        height: 100vh;
        background: radial-gradient(75% 50% at 50% 0%, rgba(233, 30, 140, 0.16), transparent 72%);
    }

    body::after {
        display: none;
    }

    .hero-aura {
        animation: none;
        filter: none;
        background: radial-gradient(circle, rgba(233, 30, 140, 0.24), transparent 68%);
    }

    .crest {
        filter: none;
    }

    .card,
    .highlight-card,
    .product,
    .plan,
    .status-card,
    .faq details,
    .auth-box,
    .dash-profile,
    .dash-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(19, 13, 18, 0.96) !important;
    }

    nav#main-nav {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

@media (max-width: 720px) {
    nav#main-nav {
        padding: 12px 14px;
        gap: 14px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
    }

    nav#main-nav::-webkit-scrollbar {
        display: none;
    }

    .view {
        padding: 96px 0 60px;
    }

    .wrap {
        padding: 0 16px;
    }

    input,
    select {
        font-size: 16px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-aura {
        animation: none;
    }

    .view.visible {
        animation: none;
    }
}
