/* NOCTIVARIS DISCOVER V1.0.0 */

:root {
    color-scheme: dark;
    --nv-bg: #09090d;
    --nv-panel: #17171e;
    --nv-red: #df3b5d;
    --nv-text: #f0edf3;
    --nv-muted: #aaa6b2;
    --nv-border: #34303a;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body.nv-discover {
    margin: 0;
    background:
        radial-gradient(
            ellipse at 50% 0,
            #241019 0,
            transparent 650px
        ),
        var(--nv-bg);
    color: var(--nv-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

.nv-discover a {
    color: inherit;
    text-decoration: none;
}

.nv-discover a:focus-visible,
.nv-discover summary:focus-visible {
    outline: 2px solid #ee6d87;
    outline-offset: 5px;
}

.nv-d-header {
    min-height: 76px;
    padding: 18px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(9,9,13,.96);
    border-bottom: 1px solid #30212a;
    position: sticky;
    top: 0;
    z-index: 20;
}

.nv-d-logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
}

.nv-d-logo span,
.nv-discover h1 span,
.nv-discover h2 span {
    color: var(--nv-red);
}

.nv-d-header nav,
.nv-d-footer nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    color: var(--nv-muted);
}

.nv-d-header nav a:hover,
.nv-d-footer nav a:hover {
    color: var(--nv-red);
}

.nv-d-header .nv-d-nav-register {
    padding: 9px 18px;
    border: 1px solid #783247;
    border-radius: 7px;
    color: #f58ba1;
}

.nv-d-hero {
    text-align: center;
    max-width: 1000px;
    margin: auto;
    padding: 105px 24px 85px;
}

.nv-d-eyebrow {
    color: #e8758d;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 20px;
}

.nv-d-hero h1 {
    font-size: clamp(36px, 8vw, 94px);
    line-height: 1.15;
    letter-spacing: .06em;
    margin: 0;
    font-weight: 800;
    text-shadow: 0 0 50px rgba(220,40,80,.15);
}

.nv-d-brand-sub {
    font-size: clamp(12px, 2.5vw, 22px);
    letter-spacing: .65em;
    padding-left: .65em;
    color: #e05a76;
    margin: 15px 0 40px;
}

.nv-d-light {
    position: relative;
    height: 2px;
    max-width: 620px;
    margin: 22px auto;
    overflow: hidden;
    background: linear-gradient(
        90deg,
        transparent,
        #a62b46,
        transparent
    );
}

.nv-d-light i {
    position: absolute;
    top: 0;
    left: -30%;
    width: 30%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        #ff8da5,
        transparent
    );
    animation: nvDiscoverLight 4s linear infinite;
}

@keyframes nvDiscoverLight {
    to { left: 110%; }
}

.nv-d-hero h2 {
    font-size: clamp(26px, 4vw, 44px);
    margin: 0 0 15px;
}

.nv-d-hero p {
    max-width: 650px;
    margin: auto;
    color: var(--nv-muted);
    font-size: 17px;
}

.nv-d-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}

.nv-d-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 15px 26px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background .2s, border-color .2s;
}

.nv-d-button.primary {
    background: #b72344;
    color: #fff;
    box-shadow: 0 8px 30px rgba(180,30,65,.2);
}

.nv-d-button.primary:hover {
    background: #ce3153;
}

.nv-d-button.secondary {
    background: #19171e;
    border-color: #49313e;
    color: #e0d9e2;
}

.nv-d-button.secondary:hover {
    border-color: var(--nv-red);
}

.nv-d-values {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
    font-size: 12px;
    color: var(--nv-muted);
}

.nv-d-values span::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nv-red);
    margin-right: 8px;
}

.nv-d-section {
    max-width: 1150px;
    padding: 50px 24px;
    margin: auto;
}

.nv-d-section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.nv-d-section h2,
.nv-d-final h2 {
    font-size: clamp(25px, 4vw, 36px);
    line-height: 1.3;
    margin: 0 0 12px;
}

.nv-d-section p,
.nv-d-final p {
    color: var(--nv-muted);
}

.nv-d-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.nv-d-feature,
.nv-d-steps article {
    padding: 28px;
    border: 1px solid var(--nv-border);
    border-radius: 15px;
    background: linear-gradient(
        145deg,
        #1c1b23,
        #131319
    );
    transition: border-color .2s, transform .2s;
}

.nv-d-feature:hover {
    border-color: #864054;
    transform: translateY(-3px);
}

.nv-d-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #5b2b3a;
    border-radius: 14px;
    background: #321b26;
    color: #ed6a86;
    margin-bottom: 22px;
}

.nv-d-icon svg {
    width: 29px;
    height: 29px;
}

.nv-d-feature h3,
.nv-d-steps h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.nv-d-feature p,
.nv-d-steps p {
    margin: 0;
    font-size: 14px;
}

.nv-d-philosophy {
    padding: 55px 35px;
    border: 1px solid #50303d;
    border-radius: 20px;
    background: radial-gradient(
        ellipse at 50% 0,
        #301a25,
        #15141b 70%
    );
    text-align: center;
}

.nv-d-philosophy .nv-d-icon {
    margin: 0 auto 25px;
}

.nv-d-philosophy p {
    max-width: 740px;
    margin: 18px auto;
}

.nv-d-philosophy blockquote {
    margin: 25px 0;
    font-size: clamp(21px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.4;
}

.nv-d-privacy {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 35px;
    border: 1px solid var(--nv-border);
    background: var(--nv-panel);
    border-radius: 16px;
}

.nv-d-privacy .nv-d-icon {
    flex-shrink: 0;
    margin: 0;
}

.nv-d-privacy a {
    color: #f18ca1;
    font-size: 14px;
}

.nv-d-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    text-align: center;
}

.nv-d-steps .nv-d-icon {
    margin: 0 auto 20px;
}

.nv-d-faq {
    max-width: 850px;
    margin: auto;
}

.nv-d-faq details {
    border: 1px solid var(--nv-border);
    border-radius: 10px;
    background: var(--nv-panel);
    margin-bottom: 10px;
    padding: 17px 20px;
}

.nv-d-faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
}

.nv-d-faq details[open] {
    border-color: #73354a;
}

.nv-d-faq p {
    margin: 15px 0 0;
    font-size: 14px;
}

.nv-d-final {
    padding: 75px 24px;
    text-align: center;
    background: radial-gradient(
        ellipse at 50% 100%,
        #2c1420,
        transparent 70%
    );
}

.nv-d-final .nv-d-button {
    margin-top: 20px;
}

.nv-d-login-link {
    display: block;
    margin-top: 20px;
    font-size: 13px;
    color: var(--nv-muted) !important;
}

.nv-d-footer {
    border-top: 1px solid #392731;
    padding: 40px 24px;
    text-align: center;
    background: #0c0c11;
}

.nv-d-footer nav {
    justify-content: center;
    margin: 20px 0;
}

.nv-d-footer p,
.nv-d-footer small {
    color: var(--nv-muted);
    font-size: 12px;
}

@media (max-width: 850px) {
    .nv-d-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .nv-d-header {
        padding: 12px 16px;
        min-height: 60px;
    }

    .nv-d-logo {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .nv-d-header nav {
        gap: 10px;
        font-size: 11px;
    }

    .nv-d-header nav a[href^="#"] {
        display: none;
    }

    .nv-d-header .nv-d-nav-register {
        padding: 7px 10px;
    }

    .nv-d-hero {
        padding: 65px 16px 35px;
    }

    .nv-d-hero h1 {
        font-size: clamp(30px, 9vw, 54px);
    }

    .nv-d-hero p {
        font-size: 15px;
    }

    .nv-d-buttons {
        flex-direction: column;
    }

    .nv-d-section {
        padding: 32px 16px;
    }

    .nv-d-grid,
    .nv-d-steps {
        grid-template-columns: 1fr;
    }

    .nv-d-feature,
    .nv-d-steps article {
        padding: 22px;
    }

    .nv-d-philosophy {
        padding: 35px 20px;
    }

    .nv-d-privacy {
        flex-direction: column;
        padding: 24px;
        gap: 18px;
    }

    .nv-d-values {
        gap: 10px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .nv-d-light i {
        animation: none;
    }

    .nv-d-feature,
    .nv-d-button {
        transition: none;
    }
}
