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

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

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: rgba(217, 119, 6, 0.4);
    color: #fff;
}

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

.geo-circle-1 {
    width: 420px;
    height: 420px;
    border: 2px solid rgba(245, 158, 11, 0.15);
    border-radius: 50%;
    top: 10%;
    right: -80px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(217, 119, 6, 0.08);
    border-radius: 50%;
    bottom: 15%;
    right: 15%;
    animation: float-medium 14s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 100px;
    height: 100px;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.2);
    top: 30%;
    right: 5%;
    transform: rotate(45deg);
    animation: float-slow 16s ease-in-out infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(217, 119, 6, 0.08);
    top: 55%;
    left: 5%;
    animation: float-medium 18s ease-in-out infinite reverse;
}

.geo-dots {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 10%;
    background-image: radial-gradient(circle, rgba(245, 158, 11, 0.3) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.6;
    animation: float-slow 22s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-3deg); }
}

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-visible="false"] {
    opacity: 0;
    transform: translateY(40px);
}

/* ========== NAVBAR ========== */
#navbar {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* ========== MOBILE MENU ========== */
.mobile-link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ========== PRODUCT CARDS ========== */
.group:hover .group-hover\:-translate-y-1 {
    transform: translateY(-4px);
}

/* ========== BUTTON HOVER EFFECTS ========== */
button, a {
    cursor: pointer;
}

/* ========== FORM STYLES ========== */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

/* ========== 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 {
        opacity: 1;
        transform: none;
    }

    .reveal[data-visible="false"] {
        opacity: 1;
        transform: none;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
        right: -40px;
    }

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

    .geo-square-1 {
        width: 60px;
        height: 60px;
    }

    .geo-triangle-1 {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 52px solid rgba(217, 119, 6, 0.08);
    }

    .geo-dots {
        width: 80px;
        height: 80px;
    }
}
