/* Global & Reset */
body {
    background-color: #ffffff; /* White background */
    color: #0f172a; /* Slate 900 for text */
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

/* WebGL Background */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* Global Noise Texture (Subtle on light bg) */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 50;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #3b82f6;
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(59, 130, 246, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
/* Hover state for cursor */
body:hover .cursor-outline.hovered {
    width: 60px;
    height: 60px;
    background-color: rgba(59, 130, 246, 0.05);
    border-color: #3b82f6;
}

/* Vertical Reference Lines */
.ref-lines {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 5vw;
    z-index: -1;
    pointer-events: none;
}
.ref-line {
    width: 1px;
    height: 100%;
    background: rgba(15, 23, 42, 0.04); /* Dark faint lines */
}

/* 4-Column Clip Path Reveal */
.hero-col {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    will-change: clip-path;
}

/* Corner Radius System */
.rounded-sys {
    border-radius: 24px;
}

/* Typography & Decor */
.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(15, 23, 42, 0.2);
}
.number-decor {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #60a5fa;
    font-weight: 700;
}

/* Smooth Image Hover */
.img-hover-zoom {
    overflow: hidden;
}
.img-hover-zoom img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-hover-zoom:hover img {
    transform: scale(1.05);
}

/* Light Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}
