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

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: #1a1a2e;
    color: white;
    overflow-x: hidden;
}

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

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff6b35, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float1 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff8c5a, transparent 70%);
    bottom: 10%;
    left: -50px;
    animation: float2 15s ease-in-out infinite;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: #ff6b35;
    border-radius: 20px;
    top: 25%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin1 25s linear infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: #ffb38a;
    border-radius: 12px;
    bottom: 20%;
    right: 12%;
    transform: rotate(20deg);
    animation: spin2 18s linear infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #ff8c5a;
    top: 40%;
    right: 5%;
    opacity: 0.06;
    animation: float3 12s ease-in-out infinite;
}

.geo-dot-grid {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #ff6b35 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.15;
    bottom: 5%;
    left: 15%;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.05); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

@keyframes spin1 {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

@keyframes spin2 {
    from { transform: rotate(20deg); }
    to { transform: rotate(380deg); }
}

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

/* ===== MARQUEE ===== */
.marquee-track {
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* ===== MENU TABS ===== */
.menu-tab {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.menu-tab.active {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Default visible state for reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

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

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #ff6b35;
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(255, 107, 53, 0.3);
    color: white;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-square-1,
    .geo-square-2 {
        display: none;
    }
    
    .geo-triangle-1 {
        display: none;
    }
}
