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

/* ===== Navigation ===== */
#nav { background: transparent; }
#nav.scrolled { background: rgba(2, 6, 23, 0.92); backdrop-blur-xl; border-bottom: 1px solid rgba(148, 163, 184, 0.08); }

.menu-line { transition: all 0.3s ease; }
#menuBtn.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#menuBtn.active .menu-line:nth-child(2) { opacity: 0; }
#menuBtn.active .menu-line:nth-child(3) { width: 6px; margin-left: 0; }

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

.geo-circle-1 {
    width: 400px; height: 400px;
    border: 1px solid rgba(20, 184, 166, 0.08);
    border-radius: 50%;
    top: 10%; left: -100px;
    animation: float 20s ease-in-out infinite;
}
.geo-circle-2 {
    width: 200px; height: 200px;
    background: rgba(20, 184, 166, 0.04);
    border-radius: 50%;
    bottom: 10%; right: 5%;
    animation: float 15s ease-in-out infinite reverse;
}
.geo-circle-3 {
    width: 300px; height: 300px;
    border: 1px solid rgba(20, 184, 166, 0.06);
    border-radius: 50%;
    bottom: -50px; right: -50px;
    animation: float 18s ease-in-out infinite;
}
.geo-circle-4 {
    width: 250px; height: 250px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -80px; left: -80px;
    animation: float 12s ease-in-out infinite reverse;
}
.geo-square-1 {
    width: 120px; height: 120px;
    background: rgba(20, 184, 166, 0.06);
    top: 30%; right: 8%;
    transform: rotate(45deg);
    animation: spin 25s linear infinite;
}
.geo-square-2 {
    width: 80px; height: 80px;
    border: 1px solid rgba(20, 184, 166, 0.1);
    bottom: 20%; left: 5%;
    transform: rotate(30deg);
    animation: spin 20s linear infinite reverse;
}
.geo-square-3 {
    width: 100px; height: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    bottom: -30px; right: 10%;
    transform: rotate(20deg);
    animation: float 14s ease-in-out infinite;
}
.geo-triangle-1 {
    width: 0; height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(20, 184, 166, 0.05);
    top: 20%; left: 60%;
    animation: float 16s ease-in-out infinite;
}
.geo-triangle-2 {
    width: 0; height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 87px solid rgba(20, 184, 166, 0.04);
    bottom: 15%; right: 15%;
    transform: rotate(-20deg);
    animation: float 13s ease-in-out infinite reverse;
}
.geo-diamond-1 {
    width: 150px; height: 150px;
    background: rgba(20, 184, 166, 0.03);
    top: 40%; right: -30px;
    transform: rotate(45deg);
    animation: spin 30s linear infinite;
}
.geo-dots {
    width: 120px; height: 120px;
    background-image: radial-gradient(circle, rgba(20, 184, 166, 0.2) 1px, transparent 1px);
    background-size: 12px 12px;
    top: 60%; left: 10%;
    opacity: 0.5;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .geo-circle-1 { width: 250px; height: 250px; }
    .geo-square-1 { width: 80px; height: 80px; }
    .geo-diamond-1 { width: 100px; height: 100px; }
}
</style>
