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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #020c1b;
    color: #f0fdfa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Floating Geometric Shapes ===== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

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

.circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #14b8a6 0%, transparent 70%);
    bottom: 20%;
    left: -100px;
    animation: float-slow 25s ease-in-out infinite reverse;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #5eead4;
    top: 40%;
    right: 5%;
    animation: float-medium 15s ease-in-out infinite;
    opacity: 0.04;
}

.square {
    width: 120px;
    height: 120px;
    border: 2px solid #2dd4bf;
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
    animation: float-medium 18s ease-in-out infinite reverse;
    opacity: 0.05;
}

.dot-cluster {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #14b8a6 1px, transparent 1px);
    background-size: 20px 20px;
    top: 75%;
    right: 15%;
    animation: float-slow 22s ease-in-out infinite;
    opacity: 0.08;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(5deg); }
    50% { transform: translate(-10px, -50px) rotate(-3deg); }
    75% { transform: translate(-20px, -20px) rotate(2deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translate(0, 0) rotate(45deg); }
    33% { transform: translate(15px, -25px) rotate(50deg); }
    66% { transform: translate(-10px, -15px) rotate(40deg); }
}

/* ===== Navbar ===== */
.nav-scrolled {
    background: rgba(2, 12, 27, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
}

.nav-logo {
    transition: color 0.3s ease;
}

/* ===== Hero Badge ===== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 100px;
    width: fit-content;
}

/* ===== Scroll Reveal ===== */
.reveal-up {
    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-left {
    opacity: 0;
    transform: translateX(-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-right {
    opacity: 0;
    transform: translateX(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-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== Mobile Menu ===== */
.mobile-link {
    font-family: 'Playfair Display', serif;
}

/* ===== Image hover effects ===== */
img {
    display: block;
    max-width: 100%;
}

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

::-webkit-scrollbar-track {
    background: #020c1b;
}

::-webkit-scrollbar-thumb {
    background: #112240;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}
