/* Base & resets */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Geometric shapes for hero */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}
.geo-circle-1 {
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251,191,36,0.5) 0%, transparent 70%);
    top: -100px; right: -100px;
    animation: float 8s ease-in-out infinite;
}
.geo-circle-2 {
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168,85,247,0.6) 0%, transparent 70%);
    bottom: 10%; left: 5%;
    animation: float 10s ease-in-out infinite reverse;
}
.geo-circle-3 {
    width: 150px; height: 150px;
    border-radius: 50%;
    background: rgba(245,158,11,0.4);
    top: 30%; left: 10%;
    animation: float 6s ease-in-out infinite;
}
.geo-rect-1 {
    width: 200px; height: 200px;
    background: rgba(192,38,211,0.2);
    border: 2px solid rgba(192,38,211,0.3);
    top: 20%; right: 15%;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}
.geo-triangle-1 {
    width: 0; height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(251,191,36,0.15);
    bottom: 20%; right: 8%;
    animation: float 7s ease-in-out infinite;
}
.geo-dots {
    width: 120px; height: 120px;
    background-image: radial-gradient(circle, rgba(251,191,36,0.4) 2px, transparent 2px);
    background-size: 16px 16px;
    top: 60%; left: 20%;
    animation: float 9s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* CTA section shapes */
.cta-shape-1 {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251,191,36,0.2) 0%, transparent 70%);
    top: -150px; left: -100px;
}
.cta-shape-2 {
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168,85,247,0.2) 0%, transparent 70%);
    bottom: -100px; right: -50px;
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: always visible if JS disabled or reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(15, 5, 24, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f0518; }
::-webkit-scrollbar-thumb { background: #7c3aed; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a855f7; }

/* Selection */
::selection { background: rgba(168,85,247,0.4); color: white; }
