/* ===== 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 {
    background-color: #0F1115;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

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

.geo-circle-1 {
    top: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border: 2px solid rgba(255, 107, 74, 0.08);
    border-radius: 50%;
}

.geo-circle-2 {
    bottom: 5%;
    left: -8%;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(255, 107, 74, 0.06);
    border-radius: 50%;
}

.geo-rect-1 {
    top: 30%;
    right: 5%;
    width: 120px;
    height: 120px;
    background: rgba(255, 107, 74, 0.04);
    border: 1px solid rgba(255, 107, 74, 0.1);
    transform: rotate(45deg);
}

.geo-triangle {
    top: 60%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(255, 107, 74, 0.05);
}

.geo-dots {
    top: 20%;
    left: 15%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(255, 107, 74, 0.3) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.6;
}

/* ===== Scroll Reveal Animations ===== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger delays */
.scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.25s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.3s; }

/* ===== Navbar Scroll State ===== */
#navbar.scrolled {
    background-color: rgba(15, 17, 21, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

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

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

/* ===== Selection ===== */
::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #ffffff;
}

/* ===== Focus Styles ===== */
a:focus-visible, button:focus-visible {
    outline: 2px solid #FF6B4A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Image Loading ===== */
img {
    max-width: 100%;
    height: auto;
}

/* ===== Mobile Menu Animation ===== */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .geo-circle-1,
    .geo-circle-2 {
        display: none;
    }
    
    .geo-rect-1 {
        display: none;
    }
    
    .geo-triangle {
        display: none;
    }
}
