:root {
    --bg-main: #070707;
    --bg-panel: rgba(15, 15, 15, 0.88);
    --bg-panel-soft: rgba(255, 255, 255, 0.035);

    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(212, 175, 55, 0.32);

    --text-main: #f5f5f5;
    --text-soft: rgba(255, 255, 255, 0.68);
    --text-muted: rgba(255, 255, 255, 0.42);

    --accent: #d4af37;
    --accent-strong: #b8860b;

    --shadow:
        0 24px 70px rgba(0, 0, 0, 0.48);

    --radius: 18px;

    --max-width: 1180px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    margin: 0;

    color: var(--text-main);

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(212, 175, 55, 0.10),
            transparent 38%
        ),
        radial-gradient(
            circle at 10% 40%,
            rgba(212, 175, 55, 0.035),
            transparent 32%
        ),
        var(--bg-main);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

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

a {
    color: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.main-header {
    position: relative;

    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 0 auto;

    padding:
        76px 20px
        46px;

    text-align: center;
}

.header-content {
    max-width: 820px;

    margin: 0 auto;
}

.gradient-text {
    margin: 0;

    font-size:
        clamp(34px, 5vw, 58px);

    font-weight: 800;

    letter-spacing:
        -0.045em;

    line-height: 1.05;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f4e7b0 42%,
            var(--accent) 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

.title-underline {
    width: 70px;
    height: 2px;

    margin:
        22px auto
        20px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--accent),
            transparent
        );
}

.subtitle {
    max-width: 720px;

    margin:
        0 auto;

    color: var(--text-soft);

    font-size:
        clamp(14px, 2vw, 16px);

    line-height: 1.85;
}

.app-logo {
    width: 34px;
    height: 34px;

    object-fit: contain;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-links {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 8px 22px;

    margin-top: 28px;
}

.nav-links a {
    position: relative;

    padding: 4px 0;

    color: var(--text-muted);

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    transition:
        color 0.2s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -3px;

    height: 1px;

    transform:
        scaleX(0);

    transform-origin: center;

    background: var(--accent);

    transition:
        transform 0.2s ease;
}

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

.nav-links a:hover::after {
    transform:
        scaleX(1);
}


/* =========================================================
   MAIN
========================================================= */

main {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 0 auto;

    padding:
        0 20px
        60px;
}

.panel-grid-content {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    align-items: stretch;
}


/* =========================================================
   PANELS
========================================================= */

.panel-box {
    position: relative;

    min-height: 300px;

    padding: 34px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        var(--shadow);

    overflow: hidden;

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);
}

.panel-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(212, 175, 55, 0.38),
            transparent
        );

    opacity: 0.7;
}

.flex-column {
    display: flex;

    flex-direction: column;

    justify-content: center;
}

.panel-title {
    margin:
        0 0 20px;

    text-align: center;

    font-size: 13px;

    font-weight: 800;

    letter-spacing:
        0.16em;

    color:
        var(--accent);
}


/* =========================================================
   FEATURES
========================================================= */

.features-wrapper {
    width: 100%;
}

.features-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.feature-card {
    min-height: 150px;

    padding: 18px;

    border:
        1px solid rgba(
            255,
            255,
            255,
            0.07
        );

    border-radius: 13px;

    background:
        var(--bg-panel-soft);

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.feature-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(
            212,
            175,
            55,
            0.28
        );

    background:
        rgba(
            212,
            175,
            55,
            0.035
        );
}

.feature-icon {
    width: 7px;
    height: 7px;

    margin-bottom: 13px;

    border-radius: 50%;

    background:
        var(--accent);

    box-shadow:
        0 0 14px
        rgba(
            212,
            175,
            55,
            0.50
        );
}

.feature-card h3 {
    margin:
        0 0 7px;

    font-size: 14px;

    font-weight: 700;

    color:
        var(--text-main);
}

.feature-card p {
    margin: 0;

    color:
        var(--text-soft);

    font-size: 12px;

    line-height: 1.65;
}


/* =========================================================
   FOOTER
========================================================= */

.footer-container {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 0 auto;

    padding:
        24px 20px
        34px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.07
        );

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    color:
        var(--text-muted);

    font-size: 11px;
}

.footer-left,
.footer-right {
    display: flex;

    align-items: center;

    gap: 9px;
}

.footer-right {
    justify-content: flex-end;
}

.footer-separator {
    opacity: 0.35;
}

.footer-right .app-logo {
    width: 22px;
    height: 22px;

    opacity: 0.65;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

    .main-header {
        padding-top: 58px;
    }

    .panel-grid-content {
        grid-template-columns: 1fr;
    }

    .panel-box {
        min-height: auto;
    }
}


@media (max-width: 620px) {

    .main-header {
        width: min(
            calc(100% - 24px),
            var(--max-width)
        );

        padding:
            48px 12px
            32px;
    }

    main {
        width: min(
            calc(100% - 24px),
            var(--max-width)
        );

        padding:
            0 12px
            40px;
    }

    .panel-box {
        padding: 25px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        width: min(
            calc(100% - 24px),
            var(--max-width)
        );

        padding:
            20px 12px
            28px;

        flex-direction: column;

        text-align: center;
    }

    .footer-left,
    .footer-right {
        justify-content: center;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before {
        transition: none !important;
        animation: none !important;
    }
}