/* RhinoGX shared website styles */

:root {
    --gx-red: #d91f18;
    --gx-red-bright: #ef2b22;
    --gx-red-dark: #8f100c;
    --gx-black: #050505;
    --gx-black-soft: #0d0d0f;
    --gx-charcoal: #17171a;
    --gx-silver: #d7d7d9;
    --gx-white: #ffffff;
    --gx-text: #d6d6d8;
    --gx-muted: #96969b;
    --gx-border: rgba(255,255,255,.13);
    --gx-red-border: rgba(217,31,24,.55);
    --page-width: 1180px;
    --section-radius: 18px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 50% -10%, #202024 0%, #09090b 37%, #030303 75%);
    color: var(--gx-text);
    font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.page-shell {
    overflow: hidden;
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 900px;
    display: grid;
    place-items: center;
    padding: 56px 24px 70px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background:
        linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.34) 45%, rgba(0,0,0,.92) 100%),
        url("../assets/rhinogx-hero-background.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero-grid {
    display: none;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 460px;
    height: 28px;
    z-index: -1;
    background: linear-gradient(90deg, transparent 0 8%, var(--gx-red-dark) 8% 18%, var(--gx-red-bright) 18% 74%, var(--gx-red-dark) 74% 88%, transparent 88%);
    transform: rotate(-38deg);
    opacity: .9;
}

.hero::before {
    top: 60px;
    left: -150px;
}

.hero::after {
    right: -155px;
    bottom: 130px;
}

.hero-content {
    width: min(100%, 920px);
    text-align: center;
}

.brand-logo {
    width: min(390px, 82vw);
    filter: drop-shadow(0 12px 22px rgba(0,0,0,.65));
}

.eyebrow,
.section-kicker {
    margin: 18px 0 4px;
    color: var(--gx-muted);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .82rem;
    font-weight: 800;
}

.hero h1 {
    margin: 18px 0 8px;
    color: var(--gx-white);
    font-size: clamp(3.1rem, 9vw, 7.1rem);
    line-height: .88;
    letter-spacing: -.035em;
    font-weight: 1000;
    font-style: italic;
    text-transform: uppercase;
    text-shadow: 0 3px 0 #5b5b5d, 0 8px 18px rgba(0,0,0,.65);
}

.hero h1 span {
    color: var(--gx-red-bright);
    text-shadow: 0 3px 0 #7e110d, 0 8px 18px rgba(0,0,0,.65);
}

.headline-rule {
    width: min(650px, 90%);
    height: 2px;
    margin: 20px auto 16px;
    background: linear-gradient(90deg, transparent, var(--gx-red-bright) 15%, var(--gx-red-bright) 85%, transparent);
}

.hero h2 {
    margin: 0;
    color: var(--gx-silver);
    font-size: clamp(1rem, 2.6vw, 1.45rem);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.intro {
    max-width: 760px;
    margin: 16px auto 32px;
    color: var(--gx-text);
    font-size: 1rem;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    max-width: 680px;
    margin: 32px auto;
    border: 1px solid var(--gx-red-border);
    border-radius: var(--section-radius);
    background: linear-gradient(180deg, rgba(25,25,28,.94), rgba(8,8,10,.96));
    overflow: hidden;
}

.count-box {
    position: relative;
    padding: 22px 12px 20px;
}

.count-box:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 23%;
    right: 0;
    width: 1px;
    height: 54%;
    background: rgba(255,255,255,.14);
}

.count-box strong {
    display: block;
    color: var(--gx-red-bright);
    font-size: clamp(2rem,6vw,3.6rem);
    line-height: 1;
}

.count-box span {
    display: block;
    margin-top: 9px;
    color: var(--gx-silver);
    font-size: .74rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    font-weight: 800;
}

.notify-section {
    max-width: 680px;
    margin: 36px auto 0;
}

.notify-section h3 {
    margin: 0;
    color: var(--gx-silver);
    font-size: 1.55rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.notify-section p {
    margin: 8px 0 18px;
    color: var(--gx-muted);
}

.notify-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.notify-form input {
    min-width: 0;
    padding: 17px 18px;
    color: var(--gx-white);
    background: rgba(10,10,12,.92);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 9px;
    outline: none;
}

.notify-form input:focus {
    border-color: var(--gx-red-bright);
    box-shadow: 0 0 0 3px rgba(217,31,24,.15);
}

.notify-form button {
    padding: 16px 30px;
    border: 1px solid #ff514b;
    border-radius: 9px;
    background: linear-gradient(180deg,#ef352d,#bd1711);
    color: white;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.form-message {
    min-height: 1.5em;
    margin-top: 10px !important;
    font-size: .86rem;
}

.feature-strip {
    width: min(calc(100% - 40px), var(--page-width));
    margin: -22px auto 0;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: linear-gradient(180deg,rgba(25,25,28,.98),rgba(10,10,12,.98));
    border: 1px solid var(--gx-red-border);
    border-radius: var(--section-radius);
    overflow: hidden;
}

.feature {
    padding: 34px 28px;
    text-align: center;
    position: relative;
}

.feature:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22%;
    right: 0;
    height: 56%;
    width: 1px;
    background: rgba(255,255,255,.10);
}

.feature-icon {
    color: var(--gx-red-bright);
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.feature h3 {
    margin: 0 0 7px;
    color: var(--gx-white);
    text-transform: uppercase;
    font-size: .98rem;
}

.feature p {
    margin: 0;
    color: var(--gx-muted);
    font-size: .88rem;
}

.about-section {
    width: min(calc(100% - 40px), var(--page-width));
    margin: 70px auto;
    padding: 52px;
    display: grid;
    grid-template-columns: .8fr 1.7fr;
    gap: 60px;
    align-items: center;
    border-top: 1px solid var(--gx-border);
    border-bottom: 1px solid var(--gx-border);
}

.about-brand {
    text-align: center;
}

.mini-wordmark {
    color: var(--gx-silver);
    font-size: clamp(2.4rem,5vw,4.2rem);
    line-height: .95;
    font-weight: 1000;
    font-style: italic;
}

.mini-wordmark span {
    color: var(--gx-red-bright);
}

.about-brand small {
    display: block;
    margin-top: 9px;
    color: var(--gx-muted);
    letter-spacing: .25em;
}

.about-copy h2 {
    margin: 5px 0 17px;
    color: var(--gx-white);
    font-size: clamp(1.8rem,4vw,3rem);
    line-height: 1.05;
    text-transform: uppercase;
}

.about-copy p {
    color: #b8b8bc;
}

.site-footer {
    width: min(calc(100% - 40px), var(--page-width));
    margin: 0 auto;
    padding: 28px 0 42px;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.10);
    color: #77777d;
    font-size: .78rem;
}

.site-footer strong {
    color: var(--gx-silver);
}

.site-footer a {
    color: var(--gx-muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--gx-red-bright);
}

.result-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    background:
        radial-gradient(circle at 50% -10%, rgba(239,43,34,.16), transparent 30%),
        linear-gradient(180deg, rgba(3,3,3,.7), rgba(9,9,11,.98));
}

.result-card {
    width: min(100%, 720px);
    background: linear-gradient(180deg, rgba(17,17,20,.96), rgba(8,8,10,.97));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(0,0,0,.5);
    padding: 34px 28px;
    text-align: center;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.02);
    color: var(--gx-silver);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 800;
}

.result-status {
    font-size: clamp(2.3rem, 6vw, 4rem);
    letter-spacing: -.04em;
    margin: 20px 0 12px;
    font-weight: 1000;
    text-transform: uppercase;
}

.result-status.success {
    color: #9bf3c9;
}

.result-status.error {
    color: #ff9a9a;
}

.result-copy {
    margin: 0 auto 26px;
    max-width: 560px;
    font-size: 1.04rem;
    color: var(--gx-text);
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.result-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 15px 24px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(180deg,#ef352d,#bd1711);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}

.result-button.secondary {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.12);
}

.result-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 35px rgba(217,31,24,.22);
}

@media (max-width: 900px) {
    .feature-strip {
        grid-template-columns: repeat(2,1fr);
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 42px 26px;
    }
}

@media (max-width: 620px) {
    .hero {
        min-height: auto;
        padding: calc(28px + env(safe-area-inset-top)) 16px 64px;
    }

    .hero-content {
        width: min(100%, 100%);
    }

    .brand-logo {
        width: min(260px, 68vw);
    }

    .intro {
        font-size: .95rem;
    }

    .countdown {
        grid-template-columns: repeat(2,1fr);
    }

    .notify-form {
        grid-template-columns: 1fr;
    }

    .notify-form input {
        font-size: 16px;
        padding: 15px 14px;
    }

    .notify-form button {
        width: 100%;
        padding: 15px 18px;
    }

    .feature-strip {
        grid-template-columns: 1fr;
        width: min(calc(100% - 26px), var(--page-width));
    }

    .about-section {
        width: min(calc(100% - 26px), var(--page-width));
        margin: 48px auto;
        padding: 32px 18px;
    }

    .about-copy h2 {
        font-size: 2rem;
    }

    .site-footer {
        width: min(calc(100% - 26px), var(--page-width));
        text-align: center;
        justify-content: center;
        flex-direction: column;
        gap: 8px;
        padding-bottom: calc(28px + env(safe-area-inset-bottom));
    }

    .result-card {
        padding: 28px 18px;
    }

    .result-button {
        width: 100%;
        min-width: 0;
    }
}
