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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
}

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

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

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(64, 224, 208, 0.06);
    bottom: 10%;
    left: -80px;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(64, 224, 208, 0.07);
    top: 30%;
    right: 5%;
    transform: rotate(15deg);
    animation: spin-slow 20s linear infinite;
}

.geo-dots {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 45%;
    opacity: 0.3;
    background-image: radial-gradient(circle, #0a2540 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    animation: float 5s ease-in-out infinite;
}

.geo-circle-3 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.05) 0%, transparent 70%);
    bottom: -200px;
    right: -100px;
    animation: float 10s ease-in-out infinite;
}

.geo-square-rotated {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(64, 224, 208, 0.1);
    top: 10%;
    left: 5%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.geo-circle-4 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 37, 64, 0.05) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: float 7s ease-in-out infinite reverse;
}

.geo-circle-5 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.06) 0%, transparent 70%);
    bottom: -100px;
    right: -50px;
    animation: float 9s ease-in-out infinite;
}

.geo-dots-2 {
    width: 100px;
    height: 100px;
    top: 15%;
    right: 15%;
    opacity: 0.2;
    background-image: radial-gradient(circle, #40e0d0 2px, transparent 2px);
    background-size: 10px 10px;
    animation: float 4s ease-in-out infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== NAVBAR ===== */
#navbar {
    background: rgba(245, 240, 232, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 37, 64, 0.06);
}

#navbar.scrolled {
    background: rgba(245, 240, 232, 0.97);
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #40e0d0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== MOBILE MENU ===== */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.active #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu.active #bar2 {
    opacity: 0;
}

#mobile-menu.active #bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-link {
    transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-link:hover {
    color: #40e0d0;
    transform: scale(1.05);
}

/* ===== HERO ===== */
.floating-card {
    animation: float 4s ease-in-out infinite;
}

/* ===== MENU CARDS ===== */
.menu-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-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-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== STAGGER CHILDREN ===== */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ===== UTILITY ===== */
.text-mint-dark {
    color: #2bc4b4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -80px;
    }

    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }

    .geo-triangle {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 70px solid rgba(64, 224, 208, 0.07);
    }

    .floating-card {
        position: relative;
        margin-top: 1rem;
        margin-left: 0;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .geo-circle-1 {
        width: 200px;
        height: 200px;
    }

    .geo-triangle {
        display: none;
    }

    .geo-dots {
        display: none;
    }
}
