﻿:root {
    --bg: #050505;
    --fg: #e5e7eb;
    --muted: #9ca3af;
    --muted2: #6b7280;
    --blue: #3b82f6;
    --indigo: #6366f1;
    --glass: rgba(17,17,17,.70);
    --border: rgba(255,255,255,.10);
    --borderSoft: rgba(255,255,255,.05);
    --shadow: 0 30px 80px rgba(0,0,0,.55);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--fg);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
}

.font-mono, .kicker, .brand__text, .deploy__text, .terminal, .footer__meta, .awaiting {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Grid background */
.bg-grid {
    background-image: linear-gradient(to right, #1a1a1a 1px, transparent 1px), linear-gradient(to bottom, #1a1a1a 1px, transparent 1px);
    background-size: 40px 40px;
}

.bg-grid--faint {
    opacity: 1;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
}

.gradient-text {
    background: linear-gradient(90deg, #60a5fa, var(--indigo));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.accent {
    color: var(--blue);
}

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* --- NAV --- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    transition: all .25s ease;
    padding: 22px 0;
}

.nav--scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__link {
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .92;
}

    .nav__link:hover {
        color: #93c5fd;
    }

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px; /* keeps nav height stable */
}

.brand__logo {
    height: 60px; /* <-- change this safely */
    width: auto;
    display: block;
}

.brand__text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.04em;
    display: none;
}

.dot {
    color: var(--blue);
}

.nav__toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
}

    .hamburger::before,
    .hamburger::after {
        content: "";
        position: absolute;
        left: 0;
        width: 24px;
        height: 2px;
        background: #fff;
        transition: transform .2s ease;
    }

    .hamburger::before {
        top: -7px;
    }

    .hamburger::after {
        top: 7px;
    }

.nav__mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 18px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nav__mobileLink {
    font-size: 18px;
    font-weight: 500;
}

.nav__mobileLink--discord {
    color: #93c5fd;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    transition: transform .15s ease, background .15s ease, opacity .15s ease;
    border: 1px solid transparent;
}

    .btn:active {
        transform: translateY(1px);
    }

.btn--discord {
    background: rgba(37, 99, 235, .95);
    border-color: rgba(37,99,235,.25);
    box-shadow: 0 16px 40px rgba(30, 64, 175, .35);
}

    .btn--discord:hover {
        background: rgba(59, 130, 246, .95);
    }

.btn--primary {
    background: #fff;
    color: #000;
    border-radius: 14px;
    padding: 16px 22px;
    width: 100%;
    justify-content: center;
}

    .btn--primary:hover {
        opacity: .92;
    }

.btn--discordLarge {
    background: #5865F2;
    color: #fff;
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 20px 60px rgba(88,101,242,.25);
    display: inline-flex;
    justify-content: center;
    width: min(420px, 100%);
}

    .btn--discordLarge:hover {
        opacity: .92;
    }

.arrow {
    transition: transform .15s ease;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 110px; /* space for fixed nav */
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 96px;
    }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,5,5,.20), rgba(5,5,5,.80), rgba(5,5,5,1) );
}

.orb {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 999px;
    filter: blur(120px);
    opacity: .55;
    animation: pulse 4.5s ease-in-out infinite;
}

.orb--a {
    top: 18%;
    left: 12%;
    background: rgba(37,99,235,.20);
}

.orb--b {
    bottom: 18%;
    right: 12%;
    background: rgba(99,102,241,.18);
    animation-delay: .7s;
}

@keyframes pulse {
    0%,100% {
        transform: scale(1);
        opacity: .50;
    }

    50% {
        transform: scale(1.05);
        opacity: .70;
    }
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 42px;
    align-items: center;
    width: 100%;
    /* inset for hero content */
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 1024px) {
    .hero__grid {
        padding-left: 80px;
        padding-right: 80px;
        grid-template-columns: 1.1fr .9fr;
        gap: 54px;
    }
}

.hero__copy {
    max-width: 640px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(59,130,246,.30);
    background: rgba(59,130,246,.05);
    color: #93c5fd;
    font-size: 12px;
    letter-spacing: .20em;
    text-transform: uppercase;
}

.pill__icon {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    opacity: .9;
}

.hero__title {
    margin: 18px 0 0;
    font-size: clamp(44px, 7vw, 76px);
    line-height: 1.06;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
}

.hero__lead {
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
}

.hero__actions {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.deploy {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted2);
    font-size: 12px;
}

.deploy__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34,197,94,.10);
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%,100% {
        opacity: .8;
    }

    50% {
        opacity: 1;
    }
}

/* terminal */
.hero__terminalWrap {
    display: none;
}

@media (min-width: 1024px) {
    .hero__terminalWrap {
        display: block;
    }
}

.terminal {
    padding: 22px;
    border-radius: 22px;
    box-shadow: var(--shadow);
    border-color: var(--borderSoft);
}

.terminal__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--borderSoft);
}

.traffic {
    display: flex;
    gap: 6px;
}

.traffic__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    opacity: .65;
}

.traffic__dot--r {
    background: rgba(239,68,68,.8);
}

.traffic__dot--y {
    background: rgba(234,179,8,.8);
}

.traffic__dot--g {
    background: rgba(34,197,94,.8);
}

.terminal__tag {
    font-size: 10px;
    letter-spacing: .22em;
    color: var(--muted2);
}

.terminal__body {
    font-size: 13px;
    line-height: 1.6;
}

.t-blue {
    color: #60a5fa;
}

.t-green {
    color: #4ade80;
}

.t-indigo {
    color: #a5b4fc;
}

.t-dim {
    color: var(--muted2);
}

.indent {
    padding-left: 18px;
}

.progress {
    margin-top: 10px;
    height: 8px;
    background: rgba(255,255,255,.06);
    border-radius: 999px;
    overflow: hidden;
}

.progress__fill {
    height: 100%;
    width: 75%;
    background: rgba(59,130,246,.9);
    animation: pulseBar 1.4s ease-in-out infinite;
}

@keyframes pulseBar {
    0%,100% {
        opacity: .65;
    }

    50% {
        opacity: 1;
    }
}

/* --- SECTIONS --- */
.section {
    padding: 96px 0;
}

.section--dark {
    background: var(--bg);
}

.section--alt {
    background: #08080a;
    position: relative;
    overflow: hidden;
}

.section__head {
    text-align: center;
    margin-bottom: 56px;
}

.kicker {
    color: var(--blue);
    font-size: 12px;
    letter-spacing: .30em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section__title {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
}

.divider {
    width: 80px;
    height: 4px;
    background: rgba(59,130,246,.9);
    border-radius: 999px;
    margin: 18px auto 0;
}

/* cards */
.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.card {
    padding: 26px;
    border-radius: 22px;
    transition: transform .35s ease, border-color .35s ease;
}

    .card:hover {
        transform: translateY(-6px);
        border-color: rgba(59,130,246,.45);
    }

.card__icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    font-weight: 800;
    margin-bottom: 18px;
}

.card__title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
}

.card__desc {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

/* workflow split */
.workflow {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.workflow__title {
    margin: 0;
    font-size: clamp(26px, 3.6vw, 40px);
    line-height: 1.15;
    font-weight: 800;
}

.workflow__lead {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
    margin: 18px 0 0;
}

.checks {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .checks li {
        position: relative;
        padding-left: 28px;
        color: #d1d5db;
    }

        .checks li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--blue);
            font-weight: 900;
        }

.workflow__right {
    position: relative;
}

.glow {
    position: absolute;
    inset: -40px;
    background: rgba(59,130,246,.20);
    filter: blur(100px);
    border-radius: 999px;
    z-index: 0;
}

.workflowCard {
    position: relative;
    z-index: 1;
    padding: 34px;
    border-radius: 28px;
    border-color: var(--borderSoft);
}

.wfGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.wfItem {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wfIcon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
}

.wfItem span:last-child {
    font-family: "JetBrains Mono", monospace;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 12px;
    color: #d1d5db;
}

@media (min-width: 1024px) {
    .workflow {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

    .cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .wfGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 34px;
    }
}

/* contact */
.contactCard {
    position: relative;
    padding: 48px 22px;
    border-radius: 40px;
    text-align: center;
    overflow: hidden;
    border-color: var(--borderSoft);
}

.contactCard__orb {
    position: absolute;
    top: -90px;
    right: -90px;
    width: 260px;
    height: 260px;
    background: rgba(59,130,246,.16);
    filter: blur(80px);
    border-radius: 999px;
}

.contactCard__icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: #5865F2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(88,101,242,.25);
}

.contactCard__title {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
}

.contactCard__desc {
    margin: 14px auto 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.awaiting {
    margin-top: 24px;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
}

/* footer */
.footer {
    padding: 42px 0;
    border-top: 1px solid rgba(255,255,255,.06);
    background: var(--bg);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: .65;
    filter: grayscale(1);
}

.footer__logo {
    height: 24px;
    width: auto;
}

.footer__name {
    font-size: 13px;
    letter-spacing: -0.02em;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 22px;
    justify-content: center;
}

.footer__link {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: rgba(255,255,255,.45);
}

    .footer__link:hover {
        color: #93c5fd;
    }

.footer__meta {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
}

/* Discord icon */
.discord-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: currentColor;
    opacity: .95;
    clip-path: polygon(10% 30%, 25% 15%, 75% 15%, 90% 30%, 82% 82%, 50% 92%, 18% 82%);
}

.discord-icon--small {
    width: 16px;
    height: 16px;
}

.discord-icon--large {
    width: 30px;
    height: 30px;
    border-radius: 10px;
}

.discord-icon--blue {
    color: #2563eb;
}

/* responsive nav + hero actions */
@media (min-width: 640px) {
    .brand__text {
        display: inline;
    }

    .btn--primary {
        width: auto;
    }

    .hero__actions {
        flex-direction: row;
        align-items: center;
        gap: 18px;
    }
}

@media (min-width: 768px) {
    .nav__toggle {
        display: none;
    }

    .nav__links--desktop {
        display: flex;
    }

    .nav__mobile {
        display: none;
    }

    .footer__inner {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .nav__links--desktop {
        display: none;
    }

    .nav__toggle {
        display: block;
    }
}
