/*
 * Documentation
 * Styles for the virtuamerica site. Defines layout, typography, colors, and component styling.
 */

:root {
    --color-obsidian: #05060b;
    --color-indigo-primary: #7c5cff;
    --color-cyan-electric: #22d3ee;
    --color-fuchsia-neon: #d946ef;
    --font-display: "Space Grotesk", sans-serif;
    --font-body: "Manrope", sans-serif;
}

body {
    margin: 0;
    background: var(--color-obsidian);
    color: #fafafa;
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

/* --- 3D Stage Setup --- */
.perspective-1000 {
    perspective: 1200px;
}

.preserve-3d {
    transform-style: preserve-3d;
}

/* --- The Hologram Grid --- */
.hologram-grid-container {
    transform:
        rotateX(var(--rot-x, 0deg))
        rotateY(var(--rot-y, 0deg))
        scale(0.95);
    transition: transform 0.1s cubic-bezier(0.2, 0, 0.4, 1);
}

/* --- Individual Data Nodes --- */
.neural-dot {
    position: relative;
    border-radius: 9999px;
    backface-visibility: hidden;
    width: 6px;
    height: 6px;
    animation-delay: calc(var(--x) * 20ms + var(--y) * 20ms);
}

.neural-dot-muted {
    background: rgba(148, 163, 184, 0.05);
    animation: breathe 4s ease-in-out infinite alternate;
    animation-delay: calc(var(--x) * 50ms);
}

.neural-dot-core {
    background: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    animation: sonar-wave 6s linear infinite;
    animation-delay: calc(var(--y) * 100ms);
}

.neural-dot-peak {
    background: var(--color-cyan-electric);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
    transform: scale(1.2) translateZ(10px);
    z-index: 10;
    animation: cyber-glitch 3s steps(2, end) infinite;
    animation-delay: calc(var(--x) * 130ms);
}

.animate-assemble {
    animation: matrix-rain 1.5s cubic-bezier(0.19, 1, 0.22, 1) backwards;
    animation-delay: calc((var(--x) + var(--y)) * 15ms);
}

/* --- Typography Effects --- */
.hero-logotype {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: #ffffff;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 30px rgba(124, 92, 255, 0.5);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 10%, #22d3ee 50%, #7c5cff 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hue-shift 10s linear infinite;
}

/* --- UI Panels --- */
.glass-panel {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 50px -10px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #ffffff;
    overflow: hidden;
    position: relative;
    background: linear-gradient(90deg, #7c5cff, #22d3ee);
    box-shadow: 0 0 20px rgba(124, 92, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #d4d4d8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* --- KEYFRAMES --- */
@keyframes matrix-rain {
    0% {
        opacity: 0;
        transform: translateY(-40px) scale(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes breathe {
    0% {
        opacity: 0.1;
        transform: scale(0.8);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

@keyframes sonar-wave {
    0%,
    100% {
        background: rgba(99, 102, 241, 0.6);
        transform: scale(1);
    }
    50% {
        background: #fff;
        transform: scale(1.3) translateZ(5px);
        box-shadow: 0 0 15px white;
    }
}

@keyframes cyber-glitch {
    0% {
        opacity: 1;
        transform: scale(1.2) translateZ(10px);
    }
    92% {
        opacity: 1;
        transform: scale(1.2) translateZ(10px);
    }
    93% {
        opacity: 0;
        transform: scale(0.5);
    }
    94% {
        opacity: 1;
        transform: scale(1.4) translateZ(20px);
        background: #fff;
    }
    96% {
        opacity: 1;
        transform: scale(1.2) translateZ(10px);
        background: #22d3ee;
    }
    100% {
        opacity: 1;
    }
}

@keyframes hue-shift {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

/* -------------------------------------------------------------------
   VirtuAmerica static wrapper (added for non-Razor site conversion)
------------------------------------------------------------------- */
.va-container { max-width: 1100px; margin: 0 auto; padding: 48px 20px; }
.va-header { display: flex; gap: 18px; align-items: center; margin-bottom: 28px; }
.va-logo { width: 56px; height: 56px; object-fit: contain; }
.va-kicker { letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; opacity: 0.75; }
.va-title { margin: 6px 0 0 0; font-size: 34px; line-height: 1.1; }
.va-subtitle { margin: 10px 0 0 0; opacity: 0.8; max-width: 60ch; }
.va-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 900px) { .va-grid { grid-template-columns: 1fr 1fr; } }
.va-card { padding: 18px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.va-muted { opacity: 0.75; }
.va-footer { margin-top: 28px; opacity: 0.7; }
.va-hologram { margin-top: 12px; min-height: 240px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, 0.22); padding: 12px; overflow: auto; }
.va-hologram-grid { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 10px; line-height: 1; }
label { display: block; margin: 12px 0 6px; }
input { width: 100%; max-width: 420px; padding: 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.25); color: #fff; }
button { margin-top: 12px; padding: 10px 14px; border-radius: 12px; border: 0; background: #ffffff; color: #111; cursor: pointer; }
.message { margin-top: 12px; min-height: 24px; }
.interest-status.message.success { color: #9ae6b4; }
.interest-status.message.error { color: #feb2b2; }
.interest-status.message.pending { color: #cbd5e1; }

/* Confirmation page styles */
.confirmation-page { margin: 0; font-family: "Manrope", sans-serif; background: #05060b; color: #e2e8f0; }
.confirmation-page--success { background: #05060b; color: #e2e8f0; display: flex; height: 100vh; align-items: center; justify-content: center; text-align: center; }
.confirmation-page--success h1 { color: #22d3ee; }
.confirmation-page--success a { color: #a5b4fc; margin-top: 20px; display: inline-block; }

.confirmation-page--error { background: #05060b; color: #e2e8f0; display: flex; height: 100vh; align-items: center; justify-content: center; text-align: center; }
.confirmation-page--error h1 { color: #f97316; }
.confirmation-page--error a { color: #a5b4fc; margin-top: 20px; display: inline-block; }
/* Last-Modified: 2026-01-11T07:46:33.0000000Z */