:root {
    --bg: #0b1020;
    --surface: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.1);
    --text: #e8ecf5;
    --muted: #9aa4bd;
    --accent: #c9a96a;
    --accent-2: #4f7cff;
    --radius: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Background */
.backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.35;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}

.glow {
    position: absolute;
    width: 46vmax;
    height: 46vmax;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.35;
    animation: float 18s ease-in-out infinite alternate;
}

.glow-1 {
    top: -18vmax;
    left: -12vmax;
    background: var(--accent-2);
}

.glow-2 {
    bottom: -20vmax;
    right: -14vmax;
    background: var(--accent);
    animation-delay: -9s;
}

@keyframes float {
    to {
        transform: translate(6vmax, 4vmax) scale(1.1);
    }
}

/* Layout */
.page {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 48px 16px;
}

.hero {
    width: 100%;
    max-width: 720px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    animation: rise 0.9s ease-out both;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
}

/* Brand */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #8c6d35);
    color: var(--bg);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 8px 24px rgba(201, 169, 106, 0.25);
}

.brand-name {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.24em;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 0 6px rgba(201, 169, 106, 0);
        opacity: 0.5;
    }
}

/* Text */
h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #fff, #b9c2d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    margin: 0;
    max-width: 560px;
    color: var(--muted);
    font-size: 1.05rem;
}

/* Progress */
.progress {
    width: min(320px, 100%);
    height: 4px;
    border-radius: 999px;
    background: var(--border);
    overflow: hidden;
}

.progress span {
    display: block;
    width: 40%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    animation: load 2.4s ease-in-out infinite;
}

@keyframes load {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(250%);
    }
}

/* Contact */
.contact {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.contact a,
.contact span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    backdrop-filter: blur(8px);
    font-size: 0.95rem;
    word-break: break-word;
    transition: border-color 0.2s, transform 0.2s;
}

.contact a:hover,
.contact a:focus-visible {
    border-color: var(--accent);
    transform: translateY(-2px);
}

svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact svg {
    color: var(--accent);
}

/* Social */
.social {
    display: flex;
    gap: 12px;
}

.social a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--muted);
    transition: color 0.2s, border-color 0.2s;
}

.social a:hover,
.social a:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
}

/* Misc */
.button {
    padding: 12px 22px;
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--bg);
    font-weight: 600;
}

.request-id {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.footer {
    padding: 24px 16px;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
