/* ============================================
   iOS 26 — Spatial Depth Layers
   ============================================ */

.layer-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
}

#particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Layer 1: Deep ambient — warm cream glow */
.grid-deep {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(0, 113, 227, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(160, 128, 255, 0.015) 0%, transparent 50%);
}

/* Layer 2: Micro grid — ultra subtle */
.grid-mid {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0,0,0,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    will-change: transform;
}

/* Layer 3: Scanline — barely visible */
.scanline-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 4;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0,0,0,0.008) 3px,
        rgba(0,0,0,0.008) 6px
    );
}

/* Vignette — warm soft edge */
.vignette {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 5;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(230, 225, 215, 0.3) 100%);
}

/* Content sits above all layers */
.main-content {
    position: relative;
    z-index: 10;
}

.site-nav {
    z-index: 100;
}

/* Hero layers — gradient orbs */
.hero-layers {
    position: relative;
}

.hero-layer-1 {
    position: absolute;
    top: -30%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.04) 0%, transparent 60%);
    filter: blur(40px);
    pointer-events: none;
    border-radius: 50%;
}

.hero-layer-2 {
    position: absolute;
    bottom: -20%; left: -5%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(160, 128, 255, 0.03) 0%, transparent 60%);
    filter: blur(40px);
    pointer-events: none;
    border-radius: 50%;
}

/* Section accent lines — luminous */
.section-accent-line {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 113, 227, 0.1), transparent);
}

/* Data stream decoration — minimal */
.data-stream {
    position: fixed;
    right: 24px; top: 80px;
    z-index: 50;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-tertiary);
    opacity: 0.08;
    line-height: 1.8;
    text-align: right;
    pointer-events: none;
    writing-mode: vertical-rl;
    letter-spacing: 0.2em;
}

/* Hex pattern — warm tone, very subtle */
.hex-pattern {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%230071e3' fill-opacity='0.008'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5V31.75h.01L28 32.66v2.3L15 49zM0 34.16l.01.01L0 34.18V34.16z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
