:root {
    --bg: #050505;
    --panel: #0f0f0f;
    --text: #f7f7f2;
    --muted: #b7b7b7;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #ffffff;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    font-family: "Manrope", "DM Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

.bg-grid,
.bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-grid {
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px;
    transform: translateZ(0);
    animation: drift 18s linear infinite;
}

.bg-glow {
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06), transparent 30%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05), transparent 30%);
    filter: blur(24px);
    opacity: 0.7;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    padding: 12px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.brand-name {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-link {
    position: relative;
    padding: 10px 8px;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 6px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

main {
    position: relative;
    z-index: 1;
}

.section {
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
    padding-top: 140px;
}

.hero-copy {
    max-width: 640px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
}

.headline {
    font-size: clamp(38px, 6vw, 80px);
    line-height: 1.05;
    margin: 0 0 18px;
    letter-spacing: -0.02em;
}

.lede {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 580px;
    margin: 0 0 28px;
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-points {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.point {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.06);
    margin-top: 6px;
}

.point .label {
    margin: 0 0 4px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.button {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.button.primary {
    background: var(--accent);
    color: #050505;
    border-color: #ffffff;
}

.button.ghost {
    background: transparent;
    color: var(--text);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    justify-self: end;
    align-self: start;
    margin-top: 80px;
}

.logo-frame {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 55%), #0c0c0c;
    box-shadow: var(--shadow);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.logo-frame:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.logo-cube {
    position: relative;
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
    margin: 15% auto 0;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.logo-glow {
    position: absolute;
    inset: 12%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    filter: blur(18px);
    z-index: 1;
}

.logo-ring {
    position: absolute;
    inset: 10%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    opacity: 0.8;
    animation: revolve 14s linear infinite;
}

.caption {
    margin: 0;
    text-align: center;
}

.section-header h2 {
    margin: 8px 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.01em;
}

.section-header .muted,
.muted {
    color: var(--muted);
    max-width: 720px;
    line-height: 1.6;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card h3 {
    margin: 0 0 10px;
}

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

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.security-item {
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.security-item h4 {
    margin: 0 0 8px;
}

.security-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.social-card {
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
}

.social-card .label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    color: var(--muted);
}

.social-card .value {
    font-weight: 700;
}

.footer {
    padding: 28px 24px 48px;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.4);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes drift {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(40px, 40px, 0); }
}

@keyframes scan {
    0% { transform: translateY(-12px); opacity: 0; }
    10% { opacity: 0.8; }
    50% { transform: translateY(100%); opacity: 0.4; }
    100% { transform: translateY(100%); opacity: 0; }
}

@keyframes pulse {
    0% { transform: scale(0.7); opacity: 0.7; }
    50% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.3); opacity: 0; }
}

@keyframes revolve {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 120px;
    }

    .hero-visual {
        justify-self: start;
        max-width: 360px;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .topbar {
        height: auto;
        gap: 12px;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0 4px;
    }

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

    .nav-link {
        padding-left: 0;
    }

    .section {
        padding: 96px 20px 72px;
    }
}
