:root {
    --bg: #06111a;
    --bg-deep: #071923;
    --panel: rgba(8, 23, 36, 0.72);
    --panel-strong: rgba(9, 28, 42, 0.94);
    --line: rgba(132, 170, 198, 0.18);
    --text: #eef7ff;
    --muted: #a7bac9;
    --accent: #44e0c7;
    --accent-strong: #0db8ff;
    --warm: #ffb65c;
    --shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(13, 184, 255, 0.16), transparent 35%),
        radial-gradient(circle at 85% 15%, rgba(68, 224, 199, 0.12), transparent 24%),
        linear-gradient(160deg, #041017 0%, #071521 35%, #091d2b 100%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at center, black 52%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 52%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

body.modal-open {
    overflow: hidden;
}

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

section[id],
header[id] {
    scroll-margin-top: 110px;
}

.page-shell {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 28px 0 72px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.topbar {
    position: sticky;
    top: 18px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(5, 17, 27, 0.65);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.topbar-status {
    margin: 0;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-right a {
    color: #f4fbff;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.topbar-right a:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(68, 224, 199, 0.28), rgba(13, 184, 255, 0.2)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.section-kicker,
h1,
h2,
h3 {
    font-family: "Orbitron", sans-serif;
}

.brand-mark img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 42px;
    align-items: center;
    padding-top: 48px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.25em;
}

.section-kicker::before {
    content: "";
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.hero-copy h1 {
    margin: 0 0 20px;
    font-size: clamp(2.8rem, 6vw, 5.3rem);
    line-height: 1.02;
    max-width: 12ch;
}

.hero-copy p {
    margin: 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.primary-button,
.secondary-button {
    padding: 15px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.primary-button {
    color: #041319;
    background: linear-gradient(135deg, var(--accent), #c7fff6);
    box-shadow: 0 20px 40px rgba(68, 224, 199, 0.2);
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
}

.visual-orb-one {
    width: 170px;
    height: 170px;
    top: 34px;
    right: 10px;
    background: rgba(13, 184, 255, 0.2);
}

.visual-orb-two {
    width: 220px;
    height: 220px;
    left: 30px;
    bottom: 52px;
    background: rgba(255, 182, 92, 0.14);
}

.editor-window {
    position: relative;
    width: min(100%, 500px);
    padding: 20px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
        rgba(7, 25, 37, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.editor-window::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, transparent 20%, rgba(68, 224, 199, 0.08));
    pointer-events: none;
}

.window-top,
.details-header {
    display: flex;
    gap: 10px;
}

.window-top span,
.details-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.window-top span:first-child,
.details-header span:first-child {
    background: #ff7b72;
}

.window-top span:nth-child(2),
.details-header span:nth-child(2) {
    background: #f4bf4f;
}

.window-top span:nth-child(3),
.details-header span:nth-child(3) {
    background: #22c55e;
}

.window-body {
    display: grid;
    grid-template-columns: 1fr 0.84fr;
    gap: 20px;
    margin-top: 22px;
}

.code-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.line {
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.line-lg {
    width: 100%;
}

.line-md {
    width: 78%;
}

.line-sm {
    width: 54%;
}

.line.accent {
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.server-card {
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.server-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #041319;
    font-family: "Orbitron", sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    overflow: hidden;
}

.server-icon img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    display: block;
}

.server-card strong {
    font-size: 1rem;
}

.server-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.products-section,
.contact-section {
    padding: 40px 0 90px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading h2,
.contact-card h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 26px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
        rgba(7, 24, 36, 0.8);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.product-card:hover,
.product-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(68, 224, 199, 0.45);
    box-shadow: 0 36px 70px rgba(0, 0, 0, 0.38);
}

.product-image {
    position: relative;
    min-height: 250px;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(68, 224, 199, 0.3), transparent 30%),
        linear-gradient(145deg, #0f2535, #0b1823);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-image-amongus {
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 92, 92, 0.2), transparent 28%),
        linear-gradient(145deg, #1a1734, #101925);
}

.product-glow,
.details-glow {
    position: absolute;
    inset: auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(13, 184, 255, 0.18);
    filter: blur(18px);
}

.product-glow {
    top: 20px;
    right: -18px;
}

.product-glow-warm {
    top: 18px;
    left: -18px;
    right: auto;
    background: rgba(255, 92, 92, 0.18);
}

.cube {
    position: absolute;
    left: 56px;
    border-radius: 8px;
}

.cube-top {
    top: 80px;
    width: 90px;
    height: 90px;
    transform: skew(-20deg);
    background: linear-gradient(135deg, #5be29c, #baf771);
}

.cube-front {
    top: 126px;
    left: 72px;
    width: 90px;
    height: 90px;
    background: linear-gradient(160deg, #53953d, #2f5e22);
}

.chat-bubble {
    position: absolute;
    top: 52px;
    right: 58px;
    width: 118px;
    height: 88px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(13, 184, 255, 0.95), rgba(68, 224, 199, 0.95));
    box-shadow: 0 18px 40px rgba(13, 184, 255, 0.25);
}

.chat-bubble::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 18px;
    width: 24px;
    height: 24px;
    background: inherit;
    transform: rotate(45deg);
    border-radius: 6px;
}

.chat-bubble span {
    position: absolute;
    left: 22px;
    right: 22px;
    height: 10px;
    border-radius: 999px;
    background: rgba(4, 19, 25, 0.18);
}

.chat-bubble span:first-child {
    top: 26px;
}

.chat-bubble span:last-child {
    top: 46px;
    width: 46px;
}

.sus-crew {
    position: absolute;
    width: 84px;
    height: 110px;
    bottom: 26px;
    border-radius: 42px 42px 24px 24px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.sus-crew::before {
    content: "";
    position: absolute;
    top: 30px;
    right: -16px;
    width: 24px;
    height: 42px;
    border-radius: 14px;
    background: inherit;
    filter: brightness(0.82);
}

.sus-visor {
    position: absolute;
    top: 20px;
    left: 14px;
    width: 48px;
    height: 26px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f7ffff, #7ecfff);
    box-shadow: inset 0 -4px 10px rgba(4, 19, 25, 0.15);
}

.product-image-amongus .sus-crew-red {
    left: 70px;
    background: linear-gradient(160deg, #ff7a5b, #b61f37);
}

.product-image-amongus .sus-crew-cyan {
    right: 82px;
    bottom: 46px;
    background: linear-gradient(160deg, #79f3ff, #0f7ea6);
}

.meeting-chip {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #f7fbff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-text h3,
.purchase-panel h3,
.product-details h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    line-height: 1.35;
}

.product-text p,
.purchase-panel p,
.product-details p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-weight: 700;
}

.product-link::after {
    content: "->";
    font-size: 1rem;
}

.contact-card {
    padding: 32px;
    border-radius: 32px;
    background:
        linear-gradient(140deg, rgba(255, 182, 92, 0.08), rgba(13, 184, 255, 0.08)),
        rgba(8, 23, 36, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.contact-grid a {
    padding: 22px 24px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-grid a:hover {
    transform: translateY(-3px);
    border-color: rgba(68, 224, 199, 0.4);
}

.contact-grid span {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
}

.contact-grid strong {
    font-size: 1rem;
    word-break: break-word;
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
    z-index: 100;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 9, 14, 0.72);
    backdrop-filter: blur(12px);
}

.modal-panel {
    position: relative;
    width: min(1040px, 100%);
    max-height: min(92vh, 860px);
    overflow: auto;
    padding: 28px;
    border-radius: 32px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 35%),
        var(--panel-strong);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.48);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
}

.modal-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}

.purchase-panel,
.product-details {
    padding: 26px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.stripe-frame {
    margin-top: 24px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(4, 15, 23, 0.82);
    border: 1px dashed rgba(68, 224, 199, 0.35);
    min-height: 150px;
    display: grid;
    place-items: center;
}

.stripe-option {
    display: none;
    width: 100%;
    place-items: center;
}

.stripe-option.is-active {
    display: grid;
}

.details-image {
    position: relative;
    min-height: 260px;
    margin-bottom: 24px;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 182, 92, 0.16), transparent 34%),
        linear-gradient(145deg, #0f2230, #09141f);
}

.details-visual {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.details-visual.is-active {
    opacity: 1;
    pointer-events: auto;
}

.details-glow {
    top: 24px;
    left: 40px;
    background: rgba(255, 182, 92, 0.16);
}

.details-glow-warm {
    left: auto;
    right: 28px;
    background: rgba(255, 92, 92, 0.16);
}

.details-display {
    position: absolute;
    inset: 24px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
}

.details-main {
    position: relative;
    height: calc(100% - 30px);
    display: grid;
    place-items: center;
}

.amongus-main {
    position: relative;
    height: calc(100% - 30px);
}

.discord-node {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 34px;
    background: linear-gradient(145deg, var(--accent-strong), var(--accent));
    box-shadow: 0 20px 44px rgba(13, 184, 255, 0.3);
}

.discord-node::before,
.discord-node::after {
    content: "";
    position: absolute;
    top: 52px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(4, 19, 25, 0.28);
}

.discord-node::before {
    left: 34px;
}

.discord-node::after {
    right: 34px;
}

.signal {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.signal-one {
    width: 220px;
    height: 220px;
}

.signal-two {
    width: 300px;
    height: 300px;
}

.signal-three {
    width: 380px;
    height: 380px;
}

.amongus-main .sus-crew-red {
    left: 82px;
    bottom: 24px;
    background: linear-gradient(160deg, #ff7a5b, #b61f37);
}

.amongus-main .sus-crew-cyan {
    right: 92px;
    bottom: 48px;
    background: linear-gradient(160deg, #79f3ff, #0f7ea6);
}

.crew-large {
    width: 96px;
    height: 126px;
}

.crew-large .sus-visor {
    top: 24px;
    left: 16px;
    width: 54px;
    height: 28px;
}

.meeting-chip-large {
    top: 24px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding: 12px 18px;
}

.details-note {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
    .hero-content,
    .modal-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        max-width: none;
    }

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

@media (max-width: 760px) {
    .page-shell {
        width: min(100% - 24px, 1200px);
    }

    .hero {
        min-height: auto;
        padding: 18px 0 56px;
    }

    .topbar {
        position: static;
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar-right {
        flex-wrap: wrap;
    }

    .hero-content {
        gap: 28px;
        padding-top: 28px;
    }

    .hero-copy p {
        font-size: 1rem;
    }

    .hero-visual {
        min-height: 420px;
    }

    .window-body {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .modal-panel {
        padding: 22px;
    }

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

    .purchase-panel,
    .product-details {
        padding: 22px;
    }
}

@media (max-width: 520px) {
    .topbar-right {
        gap: 14px;
    }

    .brand-mark {
        width: 46px;
        height: 46px;
    }

    .product-card,
    .contact-card {
        padding: 22px;
    }

    .product-image,
    .details-image {
        min-height: 220px;
    }

    .cube-top,
    .cube-front {
        width: 74px;
        height: 74px;
    }

    .chat-bubble {
        right: 28px;
        width: 100px;
        height: 76px;
    }

    .product-image-amongus .sus-crew-red {
        left: 42px;
    }

    .product-image-amongus .sus-crew-cyan {
        right: 34px;
    }

    .amongus-main .sus-crew-red,
    .amongus-main .sus-crew-cyan {
        transform: scale(0.88);
    }

    .amongus-main .sus-crew-red {
        left: 22px;
    }

    .amongus-main .sus-crew-cyan {
        right: 28px;
    }
}
