/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: rgba(45, 212, 191, 0.3);
    color: #fff;
}

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.mint-diag {
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.06) 0%, transparent 60%);
    clip-path: polygon(60% 0, 100% 0, 100% 100%, 40% 100%);
}

.accent-tri {
    top: 15%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: rgba(245, 158, 11, 0.08);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.circle-1 {
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(45, 212, 191, 0.1);
    border-radius: 50%;
}

.circle-2 {
    bottom: 10%;
    left: 8%;
    width: 80px;
    height: 80px;
    background: rgba(45, 212, 191, 0.06);
    border-radius: 50%;
}

.circle-3 {
    top: 40%;
    left: 35%;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 50%;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px -20px rgba(45, 212, 191, 0.15);
}

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(5, 13, 26, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ===== 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; }

/* ===== SPARK CURSOR (subtle) ===== */
.spark {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #2dd4bf;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: spark-fade 0.6s ease forwards;
}

@keyframes spark-fade {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0) translateY(20px); }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: rgba(45, 212, 191, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 212, 191, 0.5);
}
