:root {
    --bg: #040a08;
    --card: rgba(7, 22, 20, 0.56);
    --text: #dff5ee;
    --muted: #9ebfb6;
    --accent: #00ff9d;
    --accent-2: #52e9d8;
    --accent-3: #6fd8ef;
    --line: rgba(42, 224, 174, 0.24);
    --max-width: 1140px;
}

* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 16%, rgba(0, 255, 157, 0.11), transparent 36%),
        radial-gradient(circle at 83% 82%, rgba(94, 252, 207, 0.09), transparent 40%),
        radial-gradient(circle at 50% 5%, rgba(36, 227, 255, 0.05), transparent 34%), #040907;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(rgba(0, 255, 157, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(94, 252, 207, 0.03) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.55;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0.18) 100%);
    mix-blend-mode: multiply;
}

body.loading {
    overflow: hidden;
}

body.loading header,
body.loading main,
body.loading footer {
    opacity: 0;
    visibility: hidden;
}

#preloader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: radial-gradient(circle at 20% 10%, rgba(255, 67, 67, 0.12), transparent 35%), #020704;
    display: grid;
    place-items: center;
    padding: 1rem;
    transition:
        opacity 0.45s ease,
        visibility 0.45s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.terminal-box {
    width: min(94vw, 860px);
    min-height: 360px;
    border: 1px solid rgba(255, 84, 84, 0.55);
    border-radius: 14px;
    background: rgba(15, 4, 4, 0.93);
    box-shadow: 0 0 30px rgba(255, 84, 84, 0.2);
    overflow: hidden;
    transition:
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease;
}

.terminal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.95rem;
    border-bottom: 1px solid rgba(255, 84, 84, 0.26);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.8rem;
    color: #ff9898;
    background: rgba(255, 84, 84, 0.08);
    transition:
        color 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease;
}

.terminal-dots {
    display: inline-flex;
    gap: 0.35rem;
}

.terminal-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 134, 134, 0.85);
    transition: background 0.28s ease;
}

.terminal-screen {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.84rem;
    line-height: 1.42;
    color: #ff8080;
    padding: 1rem;
    white-space: pre-wrap;
    word-break: break-word;
    min-height: 305px;
    text-shadow: 0 0 8px rgba(255, 67, 67, 0.28);
    transition:
        color 0.28s ease,
        text-shadow 0.28s ease;
}

.prompt {
    color: #ff7c7c;
    transition: color 0.28s ease;
}

.cursor {
    display: inline-block;
    width: 0.62ch;
    margin-left: 2px;
    animation: blink 0.8s steps(1) infinite;
}

#access-status {
    margin-top: 0.8rem;
    color: #7dffbf;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: clamp(1.2rem, 3.2vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px) scale(0.96);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    text-shadow:
        0 0 14px rgba(0, 255, 157, 0.7),
        0 0 30px rgba(0, 255, 157, 0.25);
    text-align: center;
    border-top: 1px solid rgba(125, 255, 191, 0.35);
    border-bottom: 1px solid rgba(125, 255, 191, 0.35);
    padding: 0.45rem 0.2rem;
}

#access-status.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: grantedPulse 0.9s ease-out 1;
}

#access-status::after {
    content: "SECURE CHANNEL ESTABLISHED";
    display: block;
    margin-top: 0.25rem;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: rgba(173, 255, 216, 0.95);
}

#preloader.granted {
    background: radial-gradient(circle at 20% 10%, rgba(0, 255, 157, 0.12), transparent 35%), #020704;
}

#preloader.granted .terminal-box {
    border-color: rgba(0, 255, 157, 0.45);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.18);
    background: rgba(2, 15, 10, 0.92);
}

#preloader.granted .terminal-head {
    border-bottom-color: rgba(0, 255, 157, 0.2);
    color: #81e2b7;
    background: rgba(0, 255, 157, 0.08);
}

#preloader.granted .terminal-dots span {
    background: rgba(129, 226, 183, 0.8);
}

#preloader.granted .terminal-screen {
    color: #b4ffd8;
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.28);
}

#preloader.granted .prompt {
    color: #5efccf;
}

@keyframes grantedPulse {
    0% {
        transform: translateY(0) scale(0.9);
        filter: brightness(1);
    }
    50% {
        transform: translateY(0) scale(1.03);
        filter: brightness(1.15);
    }
    100% {
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
}

@keyframes blink {
    0%,
    49% {
        opacity: 1;
    }
    50%,
    100% {
        opacity: 0;
    }
}

img {
    max-width: 100%;
    display: block;
}
.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(3, 15, 12, 0.84);
    border-bottom: 1px solid var(--line);
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.crypto-ticker {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(0, 20, 14, 0.76);
    overflow: hidden;
}

.crypto-track {
    --ticker-repeat: 2;
    display: flex;
    width: max-content;
    padding: 0.48rem 0;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.79rem;
    animation: tickerSlide 65s linear infinite;
}

.crypto-track.is-static {
    animation: none;
}

.crypto-ticker:hover .crypto-track {
    animation-play-state: paused;
}

.ticker-group {
    display: flex;
    gap: 4rem;
    align-items: center;
    padding-right: 3.5rem;
}

.ticker-item {
    display: inline-flex;
    gap: 0.8rem;
    align-items: baseline;
    color: #c8ffe5;
    white-space: nowrap;
}

.ticker-item strong {
    color: #79f8c6;
    font-weight: 700;
}

.ticker-change.up {
    color: #5efccf;
}

.ticker-change.down {
    color: #ff7a7a;
}

@keyframes tickerSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / var(--ticker-repeat)));
    }
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.zap-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: radial-gradient(circle at 25% 25%, rgba(94, 252, 207, 0.8), rgba(0, 255, 157, 0.45));
    color: #04120b;
    display: grid;
    place-items: center;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 0 18px rgba(0, 255, 157, 0.35);
    overflow: hidden;
}

.zap-mark img {
    width: 74%;
    height: 74%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 6px rgba(0, 255, 157, 0.45)) saturate(1.2) contrast(1.08);
}

.nav-links {
    display: flex;
    gap: 1.3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: rgba(2, 18, 11, 0.82);
    color: var(--text);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.btn {
    --mx: 0px;
    --my: 0px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.72rem 1rem;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 25%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0) 75%
    );
    transform: translateX(-140%);
    transition: transform 0.5s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translate(var(--mx), calc(var(--my) - 2px));
    box-shadow: 0 0 18px rgba(0, 255, 157, 0.25);
    border-color: rgba(94, 252, 207, 0.7);
}

.btn:hover::before,
.btn:focus-visible::before {
    transform: translateX(140%);
}

.btn:active {
    transform: translate(var(--mx), var(--my)) scale(0.98);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.9), rgba(94, 252, 207, 0.84));
    color: #03100a;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow:
        0 0 22px rgba(0, 255, 157, 0.42),
        0 0 34px rgba(94, 252, 207, 0.2);
}

.btn-icon {
    position: relative;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 1.1rem;
    margin-right: 0.48rem;
    font-size: 1rem;
    line-height: 1;
}

.btn-consult {
    background: linear-gradient(132deg, #ff375f 0%, #ff1f44 48%, #cf1233 100%);
    color: #fff4f6;
    border-color: rgba(255, 94, 125, 0.8);
    box-shadow:
        0 0 24px rgba(255, 55, 95, 0.28),
        inset 0 0 0 1px rgba(255, 168, 187, 0.2);
}

.btn-consult:hover,
.btn-consult:focus-visible {
    border-color: rgba(255, 147, 170, 0.95);
    box-shadow:
        0 0 30px rgba(255, 46, 95, 0.48),
        0 0 46px rgba(196, 13, 55, 0.3);
}

.btn-consult .btn-icon {
    text-shadow: 0 0 11px rgba(255, 227, 233, 0.7);
}

.btn-label {
    position: relative;
    z-index: 2;
}

.btn[data-cmd]::after {
    content: attr(data-cmd);
    position: absolute;
    left: 50%;
    bottom: -1.6rem;
    transform: translate(-50%, 8px);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.67rem;
    letter-spacing: 0.06em;
    color: #86f6c5;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.btn[data-cmd]:hover::after,
.btn[data-cmd]:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.pulse-cta {
    animation: pulseRing 2.8s ease-in-out infinite;
}

@keyframes pulseRing {
    0%,
    100% {
        box-shadow:
            0 0 0 0 rgba(0, 255, 157, 0.35),
            0 0 0 0 rgba(0, 255, 157, 0);
    }
    45% {
        box-shadow:
            0 0 0 6px rgba(0, 255, 157, 0.14),
            0 0 22px rgba(94, 252, 207, 0.22);
    }
}

.hero {
    padding: 5rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    color: var(--accent);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin: 0 0 0.9rem;
}

h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.5rem);
    margin-top: 0.7rem;
    max-width: 15ch;
}

.hero p {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 55ch;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.hero-card {
    background: transparent;
    border: 0;
    border-radius: 18px;
    overflow: visible;
    box-shadow: none;
}

.visual-panel {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: visible;
    background: transparent;
}

.visual-panel::before,
.visual-panel::after {
    display: none;
}

.visual-panel::before {
    background:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size:
        40px 40px,
        40px 40px;
    opacity: 0.3;
}

.visual-panel::after {
    background: radial-gradient(circle at center, rgba(0, 255, 157, 0) 52%, rgba(0, 0, 0, 0.58) 100%);
    mix-blend-mode: multiply;
}

.bolt-visual {
    position: absolute;
    inset: 0;
    transform: perspective(900px) rotateX(var(--bolt-rx, 0deg)) rotateY(var(--bolt-ry, 0deg)) scale(1.02);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.bolt-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
    filter: saturate(1.04) contrast(1.08);
    transform: scale(1.06) translate3d(var(--bolt-x, 0px), var(--bolt-y, 0px), 0);
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.bolt-aura {
    position: absolute;
    inset: -8%;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 48% 48%,
            rgba(140, 255, 195, 0.28),
            rgba(0, 255, 157, 0.08) 36%,
            rgba(0, 255, 157, 0) 64%
        ),
        radial-gradient(circle at 64% 62%, rgba(147, 245, 255, 0.2), rgba(147, 245, 255, 0) 45%);
    mix-blend-mode: screen;
    animation: auraBreathe 5.6s ease-in-out infinite;
}

.bolt-scan {
    position: absolute;
    inset: -45% -15%;
    pointer-events: none;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(189, 255, 235, 0.3) 46%,
        rgba(165, 255, 221, 0.14) 52%,
        rgba(255, 255, 255, 0) 64%
    );
    mix-blend-mode: screen;
    transform: translateX(-130%) rotate(-7deg);
    animation: boltSweep 7.8s ease-in-out infinite;
}

@keyframes auraBreathe {
    0%,
    100% {
        opacity: 0.72;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.045);
    }
}

@keyframes boltSweep {
    0% {
        transform: translateX(-135%) rotate(-7deg);
        opacity: 0;
    }
    14% {
        opacity: 0.75;
    }
    56% {
        opacity: 0.62;
    }
    100% {
        transform: translateX(135%) rotate(-7deg);
        opacity: 0;
    }
}

@keyframes boltFloatMobile {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hero-card .inner {
    position: relative;
    padding: 1rem;
    overflow: hidden;
    animation: logoFloat 6.4s ease-in-out infinite;
}

.hero-card .inner::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -35%;
    width: 30%;
    pointer-events: none;
    background: linear-gradient(
        100deg,
        rgba(0, 255, 157, 0) 0%,
        rgba(94, 252, 207, 0.14) 50%,
        rgba(0, 255, 157, 0) 100%
    );
    animation: panelSweep 5.5s linear infinite;
}

.logo-lockup {
    display: grid;
    place-items: center;
}

.logo-stage {
    position: relative;
    width: min(100%, 420px);
    margin-inline: auto;
    display: grid;
    place-items: center;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brand-logo {
    display: block;
    width: min(100%, 355px);
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 1;
    filter: saturate(1.08) contrast(1.06) drop-shadow(0 0 22px rgba(0, 255, 157, 0.24));
    transform: translate(-7%, 4%) scale(1.24);
    transform-origin: center;
}

.brand-logo.ghost {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
}

.brand-logo.ghost-a {
    transform: translate3d(-7px, 2px, 0) scale(1.24);
    filter: hue-rotate(-45deg) saturate(1.2);
    animation: logoGlitchA 1.35s steps(2, end) infinite;
}

.brand-logo.ghost-b {
    transform: translate3d(8px, -2px, 0) scale(1.24);
    filter: hue-rotate(35deg) saturate(1.2);
    animation: logoGlitchB 1.55s steps(2, end) infinite;
}

@keyframes panelSweep {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(520%);
    }
}

@keyframes logoFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

@keyframes logoGlitchA {
    0%,
    70% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }
    71% {
        opacity: 0.52;
        transform: translate3d(-11px, 4px, 0);
    }
    76% {
        opacity: 0.2;
        transform: translate3d(9px, -3px, 0);
    }
    84% {
        opacity: 0.44;
        transform: translate3d(-6px, 3px, 0);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes logoGlitchB {
    0%,
    76% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }
    77% {
        opacity: 0.46;
        transform: translate3d(12px, -3px, 0);
    }
    82% {
        opacity: 0.14;
        transform: translate3d(-10px, 3px, 0);
    }
    90% {
        opacity: 0.4;
        transform: translate3d(7px, -2px, 0);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bolt-visual,
    .bolt-image,
    .bolt-aura,
    .bolt-scan,
    .hero-card .inner,
    .hero-card .inner::before,
    .brand-logo.ghost {
        animation: none !important;
    }

    .bolt-visual,
    .bolt-image {
        transform: none !important;
    }
}
section {
    padding: 4rem 0;
}
.section-title {
    max-width: 70ch;
}
.section-title p {
    color: var(--muted);
}

.services-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: inset 0 0 0 1px rgba(94, 252, 207, 0.08);
}

.service-card h3 {
    font-size: 1.05rem;
}
.service-card p {
    color: var(--muted);
    margin: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.about-graphic {
    min-height: 300px;
    position: relative;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 255, 157, 0.2), transparent 45%),
        radial-gradient(circle at 80% 75%, rgba(94, 252, 207, 0.15), transparent 42%),
        linear-gradient(165deg, rgba(94, 252, 207, 0.06), rgba(255, 255, 255, 0.01)), #05120c;
}

.about-graphic svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.line-a,
.line-b {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.line-a {
    stroke: rgba(0, 255, 157, 0.92);
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: draw 3s ease forwards infinite alternate;
}

.line-b {
    stroke: rgba(94, 252, 207, 0.88);
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: draw 3.3s ease forwards infinite alternate;
    animation-delay: -1.3s;
}

@keyframes draw {
    0% {
        stroke-dashoffset: 420;
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.9;
    }
}

.steps {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.step {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    box-shadow: inset 0 0 0 1px rgba(94, 252, 207, 0.06);
}

.step span {
    color: var(--accent);
    font-weight: 700;
    margin-right: 0.4rem;
}

.founder-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1.2rem;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: inset 0 0 0 1px rgba(94, 252, 207, 0.08);
}

.founder-photo {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.founder-photo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-hint {
    position: absolute;
    bottom: 3.2rem;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(2, 18, 11, 0.82);
    border: 1px solid rgba(0, 255, 157, 0.22);
    color: var(--muted);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.62rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: 8px;
    padding: 0.32rem 0.6rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 4;
    backdrop-filter: blur(4px);
    transition:
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-hint.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Keep founder video ending state clean (no hint text). */
.video-hint {
    display: none !important;
}

.founder-copy p {
    color: var(--muted);
    margin: 0 0 0.7rem;
}
.founder-title {
    display: inline-block;
    font-weight: 700;
    color: var(--accent-2);
}

.contact-card {
    background: linear-gradient(
        170deg,
        rgba(0, 255, 157, 0.16),
        rgba(36, 227, 255, 0.08) 55%,
        rgba(94, 252, 207, 0.08)
    );
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.3rem;
}

.contact-grid {
    margin-top: 1.1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.contact-grid div {
    background: rgba(0, 28, 16, 0.42);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem;
}

.contact-grid p {
    margin: 0.25rem 0 0;
    color: var(--muted);
}
.contact-grid a {
    color: var(--text);
}

body.shell-priming header,
body.shell-priming main,
body.shell-priming footer {
    animation: shellPrimeGlitch 580ms steps(2, end) 1;
}

body.contact-shell-open {
    overflow: hidden;
}

.contact-shell {
    position: fixed;
    inset: 0;
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 12%, rgba(255, 42, 87, 0.2), transparent 48%),
        radial-gradient(circle at 86% 84%, rgba(255, 80, 112, 0.16), transparent 46%),
        linear-gradient(140deg, #040507 0%, #0c070a 46%, #08080a 100%);
    transition:
        opacity 0.32s ease,
        visibility 0.32s ease;
}

body.contact-shell-open .contact-shell {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-shell-noise {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.contact-shell-noise::before,
.contact-shell-noise::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-shell-noise::before {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0) 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    opacity: 0.28;
    animation: shellScanlines 180ms linear infinite;
}

.contact-shell-noise::after {
    background:
        linear-gradient(120deg, rgba(255, 41, 92, 0.08) 0%, rgba(255, 41, 92, 0) 42%),
        linear-gradient(-120deg, rgba(255, 71, 120, 0.08) 0%, rgba(255, 71, 120, 0) 45%);
    mix-blend-mode: screen;
    animation: shellNoisePulse 1.8s steps(2, end) infinite;
}

.shell-error-stream {
    position: absolute;
    inset: 0;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    overflow: hidden;
}

.shell-error-line {
    position: absolute;
    color: rgba(255, 105, 133, 0.74);
    font-size: clamp(0.58rem, 0.76vw, 0.86rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 0 7px rgba(255, 30, 83, 0.34);
    animation:
        shellErrorDrift var(--dur, 4200ms) linear infinite,
        shellErrorBlink var(--blink, 230ms) steps(2, end) infinite;
    animation-delay: var(--delay, 0ms);
    transform: translate3d(0, 0, 0);
}

.shell-error-line.is-bright {
    color: rgba(255, 178, 193, 0.88);
    text-shadow:
        0 0 7px rgba(255, 61, 113, 0.55),
        0 0 12px rgba(255, 61, 113, 0.26);
}

.contact-shell-panel {
    position: relative;
    width: min(92vw, 880px);
    margin: clamp(4.2rem, 8vh, 5.4rem) auto 0;
    padding: clamp(1rem, 2.4vw, 1.8rem);
    border-radius: 16px;
    border: 1px solid rgba(255, 91, 126, 0.55);
    background:
        linear-gradient(176deg, rgba(15, 9, 11, 0.92), rgba(9, 6, 8, 0.9)),
        radial-gradient(circle at 10% 12%, rgba(255, 57, 108, 0.1), transparent 42%);
    box-shadow:
        0 0 42px rgba(255, 23, 80, 0.24),
        inset 0 0 0 1px rgba(255, 154, 176, 0.16);
    backdrop-filter: blur(8px);
}

.shell-kicker {
    margin: 0;
    color: #ff7d9c;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-shell-panel h2 {
    margin-top: 0.5rem;
    margin-bottom: 0.58rem;
}

.shell-intro {
    margin: 0;
    color: #d3c7cb;
    max-width: 70ch;
}

.shell-company-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.shell-company-grid > div {
    border: 1px solid rgba(255, 90, 124, 0.28);
    border-radius: 12px;
    padding: 0.7rem;
    background: rgba(36, 14, 20, 0.55);
}

.shell-company-grid p {
    margin: 0.25rem 0 0;
    color: #e6d7db;
}

.shell-company-grid a {
    color: #ffe5ec;
}

.shell-form {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.shell-form label {
    display: grid;
    gap: 0.36rem;
    font-size: 0.86rem;
    color: #f3d7de;
}

.shell-form input,
.shell-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 108, 145, 0.35);
    background: rgba(17, 9, 12, 0.86);
    color: #fff7f9;
    padding: 0.58rem 0.68rem;
    font: inherit;
}

.shell-form input::placeholder,
.shell-form textarea::placeholder {
    color: rgba(255, 205, 218, 0.58);
}

.shell-form input:focus-visible,
.shell-form textarea:focus-visible {
    outline: 1px solid rgba(255, 166, 189, 0.84);
    border-color: rgba(255, 166, 189, 0.84);
    box-shadow: 0 0 16px rgba(255, 93, 132, 0.22);
}

.shell-form-full {
    grid-column: 1 / -1;
}

.shell-form-hint {
    color: #ffc7d5;
    font-size: 0.82rem;
}

.shell-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.shell-send-btn {
    background: linear-gradient(132deg, #ff365f 0%, #dd1943 100%);
    border-color: rgba(255, 120, 151, 0.84);
    color: #fff4f6;
}

.shell-reconnect-btn {
    color: #ffe4ea;
    border-color: rgba(255, 117, 151, 0.62);
    background: rgba(255, 58, 99, 0.1);
}

.contact-shell.is-jittering .shell-error-stream {
    filter: saturate(1.25) contrast(1.24);
    transform: translate3d(-5px, 1px, 0);
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 2rem;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
}
.site-footer .container {
    text-align: center;
}

.glow-track {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.glow-track::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: radial-gradient(
        170px circle at var(--gx, 50%) var(--gy, 50%),
        rgba(0, 255, 157, 0.18) 0%,
        rgba(94, 252, 207, 0.1) 38%,
        rgba(36, 227, 255, 0.04) 58%,
        rgba(0, 0, 0, 0) 74%
    );
}

.glow-track.is-glow-active::after {
    opacity: 1;
}

@media (max-width: 980px) {
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid,
    .founder-grid {
        grid-template-columns: 1fr;
    }

    .shell-company-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 860px) {
    .nav {
        min-height: 64px;
        gap: 0.75rem;
    }

    .nav > .btn {
        display: none;
    }

    .hero {
        padding: 3.5rem 0 2.6rem;
    }

    .hero-grid {
        gap: 1.35rem;
    }

    .visual-panel {
        aspect-ratio: 16 / 11;
    }

    .visual-panel::before {
        background-size:
            32px 32px,
            32px 32px;
        opacity: 0.24;
    }

    .bolt-visual {
        transform: none;
    }

    .bolt-image {
        transform: scale(1.03) translate3d(0, 0, 0);
    }

    .bolt-aura {
        inset: -5%;
    }

    .bolt-scan {
        animation-duration: 9.2s;
    }

    h1 {
        max-width: 100%;
    }

    .crypto-track {
        animation-duration: 52s;
        font-size: 0.73rem;
    }

    .ticker-group {
        gap: 2.2rem;
        padding-right: 2rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .bolt-visual {
        animation: boltFloatMobile 7.5s ease-in-out infinite;
    }
}

@media (max-width: 700px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.45rem);
        right: 0;
        flex-direction: column;
        min-width: 210px;
        padding: 0.75rem;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: rgba(4, 20, 12, 0.95);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
        z-index: 30;
    }

    .site-header.nav-open .nav-links {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 0.45rem 0.25rem;
    }

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

/* --- Video Play Button Overlay --- */
.play-btn-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition:
        opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-btn-wrapper.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.78);
}

.play-ping {
    position: absolute;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    pointer-events: none;
    opacity: 0;
    animation: playPingOut 2.4s ease-out infinite;
}

.play-ping:nth-child(1) {
    animation-delay: 0s;
}
.play-ping:nth-child(2) {
    animation-delay: 0.8s;
}
.play-ping:nth-child(3) {
    animation-delay: 1.6s;
}

@keyframes playPingOut {
    0% {
        transform: scale(1);
        opacity: 0.65;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.play-overlay-btn {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 255, 157, 0.1);
    border: 2px solid var(--accent);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 26px rgba(0, 255, 157, 0.42),
        inset 0 0 14px rgba(0, 255, 157, 0.08);
    animation: playBtnGlow 2.4s ease-in-out infinite;
    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
    backdrop-filter: blur(6px);
    outline: none;
}

.play-overlay-btn:hover {
    background: rgba(0, 255, 157, 0.22);
    box-shadow:
        0 0 42px rgba(0, 255, 157, 0.65),
        inset 0 0 20px rgba(0, 255, 157, 0.14);
    transform: scale(1.08);
    animation-play-state: paused;
}

.play-overlay-btn:active {
    transform: scale(0.94);
}

.play-overlay-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

.play-overlay-btn svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
    filter: drop-shadow(0 0 8px rgba(0, 255, 157, 0.75));
}

@keyframes playBtnGlow {
    0%,
    100% {
        box-shadow:
            0 0 26px rgba(0, 255, 157, 0.42),
            inset 0 0 14px rgba(0, 255, 157, 0.08);
        transform: scale(1);
    }
    50% {
        box-shadow:
            0 0 44px rgba(0, 255, 157, 0.62),
            inset 0 0 22px rgba(0, 255, 157, 0.16);
        transform: scale(1.06);
    }
}

/* --- Digital Grid Pulse Canvas --- */
#grid-pulse-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.26;
}

@media (prefers-reduced-motion: reduce) {
    #grid-pulse-canvas {
        display: none;
    }

    .glow-track::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .play-ping {
        animation: none !important;
        opacity: 0 !important;
    }
    .play-overlay-btn {
        animation: none !important;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(95%, var(--max-width));
    }

    h1 {
        font-size: clamp(1.7rem, 10vw, 2.2rem);
    }

    .hero p {
        font-size: 0.98rem;
    }

    .hero-actions {
        gap: 0.6rem;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
        padding-inline: 0.8rem;
    }

    .btn-consult {
        width: 100%;
        justify-content: center;
    }

    .visual-panel {
        aspect-ratio: 7 / 6;
    }

    .bolt-image {
        transform: scale(1.01) translate3d(0, 0, 0);
    }

    .bolt-scan {
        display: none;
    }

    .logo-stage {
        width: min(100%, 360px);
    }

    .brand-logo {
        width: min(100%, 300px);
        transform: translate(-5%, 3%) scale(1.16);
    }

    .brand-logo.ghost-a,
    .brand-logo.ghost-b {
        transform: scale(1.16);
    }

    .ticker-group {
        gap: 1.3rem;
        padding-right: 1.4rem;
    }

    .ticker-item {
        gap: 0.45rem;
    }

    #access-status {
        letter-spacing: 0.11em;
    }

    .contact-shell-panel {
        margin-top: 3.6rem;
        width: min(94vw, 880px);
    }

    .shell-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@keyframes shellPrimeGlitch {
    0% {
        filter: none;
        transform: none;
    }
    22% {
        filter: saturate(1.6) contrast(1.35) hue-rotate(-12deg);
        transform: translateX(-3px) skewX(-1.5deg);
    }
    42% {
        filter: saturate(0.85) contrast(1.4) hue-rotate(12deg);
        transform: translateX(3px) skewX(1.5deg);
    }
    64% {
        filter: saturate(1.5) contrast(1.25);
        transform: translateX(-1px) skewX(-0.9deg);
    }
    100% {
        filter: none;
        transform: none;
    }
}

@keyframes shellScanlines {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(4px);
    }
}

@keyframes shellNoisePulse {
    0%,
    100% {
        opacity: 0.42;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shellErrorDrift {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-16px, 2px, 0);
    }
}

@keyframes shellErrorBlink {
    0%,
    100% {
        opacity: 0.16;
    }
    35% {
        opacity: 0.82;
    }
}

@keyframes shellPanelJitter {
    0% {
        transform: translate3d(0, 0, 0);
    }
    35% {
        transform: translate3d(-4px, 2px, 0);
    }
    68% {
        transform: translate3d(4px, -2px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}
