@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #02040b;
    --panel: rgba(8, 13, 24, .82);
    --panel-solid: #080d18;
    --panel-2: rgba(11, 18, 32, .72);
    --stroke: rgba(148, 163, 184, .16);
    --stroke-strong: rgba(148, 163, 184, .26);
    --text: #f8fafc;
    --muted: #a8b3c7;
    --muted-2: #64748b;
    --cyan: #22d3ee;
    --blue: #38bdf8;
    --violet: #8b5cf6;
    --purple: #a855f7;
    --green: #34d399;
    --yellow: #facc15;
    --red: #fb7185;
    --radius-xl: 28px;
    --shadow: 0 34px 120px rgba(0,0,0,.56);
    --mouse-x: 50%;
    --mouse-y: 16%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #02040b;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    overflow-x: hidden;
}

.dg-bg,
.interactive-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 76% 0%, rgba(88, 28, 135, .33), transparent 30rem),
        radial-gradient(circle at 18% 8%, rgba(14, 165, 233, .24), transparent 28rem),
        radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(56, 189, 248, .16), transparent 18rem),
        linear-gradient(180deg, #030712 0%, #02040b 48%, #000 100%);
}
.dg-bg::before,
.interactive-bg::before {
    content: "";
    position: absolute;
    inset: -5rem;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 72%);
}
.dg-bg::after,
.interactive-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.9), transparent 22%, transparent 78%, rgba(0,0,0,.85));
}
.dg-noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .045;
    background-image: radial-gradient(circle, #fff 1px, transparent 1px);
    background-size: 7px 7px;
}

::selection { background: rgba(34, 211, 238, .32); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #02040b; }
::-webkit-scrollbar-thumb { background: #1e293b; border: 2px solid #02040b; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

.app-shell { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
    min-height: 72px;
    width: min(100% - 2rem, 1440px);
    margin-inline: auto;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem 0 0;
    position: relative;
    z-index: 30;
}
.content-area { width: min(100% - 2rem, 1440px); margin-inline: auto; padding: .2rem 0 6rem; flex: 1; }
.footer-soft { display: none; }

.brand-link { display: flex; align-items: center; gap: .9rem; min-width: 0; text-decoration: none; color: white; }
.brand-mark { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; box-shadow: none; overflow: visible; }
.brand-photo { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 0 !important; }
.brand-copy { min-width: 0; line-height: 1; display: flex; align-items: center; gap: 1rem; }
.brand-title { display: block; font-size: 1.55rem; font-weight: 950; letter-spacing: -.04em; white-space: nowrap; color:#f8fafc; }
.brand-title strong { color: var(--cyan); }
.brand-subtitle { display: block; color: #c4b5fd; font-size: .94rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding-left: 1rem; border-left: 1px solid rgba(148,163,184,.22); }

@media (max-width: 720px) {
    .topbar { min-height: 62px; width: min(100% - 1.25rem, 1440px); }
    .content-area { width: min(100% - 1.25rem, 1440px); padding-bottom: 7rem; }
    .brand-mark { width: 30px; height: 30px; }
    .brand-title { font-size: 1.1rem; }
    .brand-subtitle { display:none; }
}
