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

/* ===== Geometric Shape Animations ===== */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.geo-circle-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #F5A623 0%, transparent 70%);
    border-radius: 50%;
    top: -10%; right: -8%;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #c06eaa 0%, transparent 70%);
    border-radius: 50%;
    bottom: 15%; left: -5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 180px; height: 180px;
    background: radial-gradient(circle, #F5A623 0%, transparent 70%);
    border-radius: 50%;
    top: 40%; right: 10%;
    animation: float-slow 12s ease-in-out infinite;
}

.geo-circle-4 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #6B2F5B 0%, transparent 70%);
    border-radius: 50%;
    top: 20%; right: -10%;
    animation: float-slow 18s ease-in-out infinite reverse;
}

.geo-circle-5 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, #F5A623 0%, transparent 70%);
    border-radius: 50%;
    bottom: -10%; left: 5%;
    animation: float-slow 16s ease-in-out infinite;
}

.geo-square-1 {
    width: 120px; height: 120px;
    background: #F5A623;
    border-radius: 24px;
    top: 25%; left: 8%;
    transform: rotate(45deg);
    opacity: 0.08 !important;
    animation: spin-slow 25s linear infinite;
}

.geo-square-2 {
    width: 80px; height: 80px;
    background: #c06eaa;
    border-radius: 16px;
    bottom: 30%; right: 15%;
    transform: rotate(20deg);
    opacity: 0.1 !important;
    animation: spin-slow 20s linear infinite reverse;
}

.geo-square-3 {
    width: 160px; height: 160px;
    background: #6B2F5B;
    border-radius: 32px;
    bottom: -5%; left: 10%;
    transform: rotate(30deg);
    opacity: 0.08 !important;
    animation: spin-slow 30s linear infinite;
}

.geo-square-4 {
    width: 100px; height: 100px;
    background: #F5A623;
    border-radius: 20px;
    top: 10%; right: 5%;
    transform: rotate(-15deg);
    opacity: 0.06 !important;
    animation: spin-slow 22s linear infinite reverse;
}

.geo-triangle-1 {
    width: 0; height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #F5A623;
    top: 60%; left: 5%;
    opacity: 0.07 !important;
    animation: float-slow 14s ease-in-out infinite;
    filter: blur(1px);
}

.geo-diamond-1 {
    width: 70px; height: 70px;
    background: #c06eaa;
    transform: rotate(45deg);
    top: 15%; left: 20%;
    opacity: 0.09 !important;
    animation: spin-slow 18s linear infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(15px) rotate(-2deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Dot grid pattern */
.dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* ===== Service Cards ===== */
.service-card {
    will-change: transform;
}
.service-card:hover {
    transform: translateY(-4px);
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Mobile Menu ===== */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(107, 47, 91, 0.3);
}
.mobile-link:last-child { border-bottom: none; }

/* ===== Navbar scroll state ===== */
.nav-scrolled {
    background: rgba(13, 5, 9, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 47, 91, 0.3);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .geo-circle-1 { width: 300px; height: 300px; }
    .geo-circle-2 { width: 200px; height: 200px; }
    .geo-square-1 { width: 70px; height: 70px; }
}
