﻿
:root {
    --qgems-blue: #1468b3;
    --qgems-deep-blue: #0a315c;
    --qgems-light-blue: #edf6ff;
    --qgems-text: #172033;
    --qgems-muted: #5f6b7a;
    --qgems-border: #dce5ef;
    --qgems-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--qgems-text);
    background: #ffffff;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.narrow {
    max-width: 850px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--qgems-border);
    backdrop-filter: blur(16px);
}

.header-content {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-name {
    color: var(--qgems-deep-blue);
    font-size: 1.65rem;
}

.brand-domain {
    color: var(--qgems-blue);
    font-size: 1rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

    nav a {
        color: var(--qgems-muted);
        text-decoration: none;
        font-weight: 600;
    }

        nav a:hover {
            color: var(--qgems-blue);
        }

.login-button,
.primary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: var(--qgems-blue);
    color: var(--qgems-white);
    text-decoration: none;
    font-weight: 700;
    padding: 12px 22px;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.login-button {
    padding: 9px 18px;
}

    .primary-button:hover,
    .login-button:hover {
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 10px 25px rgba(20, 104, 179, 0.24);
    }

.hero {
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient( circle at 80% 20%, rgba(86, 178, 255, 0.28), transparent 30% ), linear-gradient( 135deg, #071d38 0%, #0b3d70 48%, #1477c9 100% );
}

.compact-hero {
    padding: 90px 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #9dd3ff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.hero-text {
    max-width: 760px;
    margin: 24px 0 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.2rem;
}

.content-section {
    padding: 86px 0;
}

    .content-section h2 {
        margin-top: 50px;
        color: var(--qgems-deep-blue);
        font-size: 2rem;
        line-height: 1.2;
        letter-spacing: -0.025em;
    }

        .content-section h2:first-child {
            margin-top: 0;
        }

    .content-section p {
        color: var(--qgems-muted);
        font-size: 1.05rem;
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 30px;
    border: 1px solid var(--qgems-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(21, 54, 86, 0.06);
}

    .feature-card h2 {
        margin: 0 0 13px;
        color: var(--qgems-deep-blue);
        font-size: 1.3rem;
    }

    .feature-card p {
        margin: 0;
        font-size: 0.98rem;
    }

.two-column-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    margin: 42px 0;
}

    .two-column-list h3 {
        color: var(--qgems-deep-blue);
    }

    .two-column-list li {
        margin-bottom: 10px;
        color: var(--qgems-muted);
    }

.callout {
    margin-top: 54px;
    padding: 38px;
    border: 1px solid #cce1f4;
    border-radius: 20px;
    background: var(--qgems-light-blue);
}

    .callout h3 {
        margin-top: 0;
        color: var(--qgems-deep-blue);
        font-size: 1.5rem;
    }

.cta-section {
    padding: 78px 0;
    text-align: center;
    color: #ffffff;
    background: var(--qgems-deep-blue);
}

    .cta-section h2 {
        margin: 0 0 12px;
        font-size: 2.2rem;
    }

    .cta-section p {
        margin: 0 0 28px;
        color: rgba(255, 255, 255, 0.76);
    }

.light-button {
    background: #ffffff;
    color: var(--qgems-deep-blue);
}

.site-footer {
    padding: 52px 0;
    color: rgba(255, 255, 255, 0.72);
    background: #06172c;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 24px;
}

.site-footer strong {
    color: #ffffff;
    font-size: 1.3rem;
}

.site-footer p {
    margin: 5px 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

    .footer-links a {
        color: rgba(255, 255, 255, 0.76);
        text-decoration: none;
    }

.copyright {
    grid-column: 1 / -1;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 850px) {
    nav a:not(.login-button) {
        display: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .two-column-list {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .compact-hero {
        padding: 65px 0;
    }

    .content-section {
        padding: 62px 0;
    }
}
