/* ============================================
   FOCUS — single screen business card
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green: #00FF87;
    --cyan:  #00D4FF;
    --font:  -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
}

html, body {
    width: 100%; height: 100%;
    overflow: hidden;
    background: #000;
    color: #fff;
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

/* Full-screen BG canvases */
#stars {
    position: fixed;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Outer soft halo */
#glow {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    background: radial-gradient(
        ellipse,
        rgba(0,255,135,0.18) 0%,
        rgba(0,212,255,0.10) 35%,
        rgba(0,160,100,0.04) 60%,
        transparent 72%
    );
    filter: blur(48px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: breathe 5s ease-in-out infinite;
}

/* Tight inner halo right behind sphere */
#glow::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 280px; height: 280px;
    background: radial-gradient(
        ellipse,
        rgba(0,255,135,0.28) 0%,
        rgba(0,255,180,0.12) 50%,
        transparent 75%
    );
    filter: blur(24px);
    border-radius: 50%;
}

@keyframes breathe {
    0%,100% { opacity: .7;  transform: translate(-50%,-50%) scale(1); }
    50%      { opacity: 1.0; transform: translate(-50%,-50%) scale(1.12); }
}

/* Sphere canvas — centered */
#sphere {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* ---- UI layers (z: 10) ---- */

.top {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 10;
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: rgba(255,255,255,0.55);
    user-select: none;
}

/* Tagline below sphere — sits at ~72% from top */
.center {
    position: fixed;
    top: auto; bottom: 100px; left: 0; right: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.tagline {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.28);
    text-transform: uppercase;
    text-align: center;
}

.pill {
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 20px;
    border-radius: 100px;
    border: 1px solid rgba(0,255,135,0.22);
    background: rgba(0,255,135,0.06);
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background .2s, border-color .2s;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pill:hover {
    background: rgba(0,255,135,0.12);
    border-color: rgba(0,255,135,0.45);
}

.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
    animation: blink 2s ease-in-out infinite;
}

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

.bottom {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px 28px;
    font-size: 12px;
    color: rgba(255,255,255,0.18);
}

.bottom a {
    color: rgba(255,255,255,0.18);
    text-decoration: none;
    transition: color .2s;
}
.bottom a:hover { color: rgba(255,255,255,.45); }

/* Grain */
body::after {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: .022;
    pointer-events: none;
    z-index: 9999;
}

/* Mobile */
@media (max-width: 600px) {
    #glow { width: 340px; height: 340px; }
    .top  { padding: 22px 24px; }
    .bottom { padding: 0 24px 22px; }
    .center { padding-bottom: 80px; }
}
