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

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #fef9f0;
    color: #0a1628;
    overflow-x: hidden;
}

/* ===== Geometric Background Decorations ===== */
.geo-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-decor .circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.geo-decor .circle-1 {
    width: 400px;
    height: 400px;
    background: #f5a623;
    top: 10%;
    right: -100px;
}

.geo-decor .circle-2 {
    width: 250px;
    height: 250px;
    background: #ff6b9d;
    bottom: 20%;
    left: -50px;
}

.geo-decor .circle-3 {
    width: 150px;
    height: 150px;
    background: #4ecdc4;
    top: 50%;
    right: 15%;
}

.geo-decor .triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    opacity: 0.04;
}

.geo-decor .triangle-1 {
    border-width: 0 60px 100px 60px;
    border-color: transparent transparent #a78bfa transparent;
    top: 30%;
    left: 5%;
    transform: rotate(15deg);
}

.geo-decor .square {
    position: absolute;
    opacity: 0.04;
    transform: rotate(45deg);
}

.geo-decor .square-1 {
    width: 120px;
    height: 120px;
    background: #f5a623;
    top: 60%;
    right: 8%;
}

.geo-decor .square-2 {
    width: 80px;
    height: 80px;
    background: #ff6b9d;
    bottom: 10%;
    right: 25%;
}

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

.shape-donut-1 {
    width: 200px;
    height: 200px;
    top: 15%;
    left: 5%;
    border: 12px solid #f5a623;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-donut-1::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #0a1628;
    border-radius: 50%;
}

.shape-circle-1 {
    width: 100px;
    height: 100px;
    background: #ff6b9d;
    border-radius: 50%;
    top: 25%;
    right: 10%;
    animation: float 5s ease-in-out infinite reverse;
}

.shape-circle-2 {
    width: 60px;
    height: 60px;
    background: #4ecdc4;
    border-radius: 50%;
    bottom: 30%;
    left: 15%;
    animation: float 7s ease-in-out infinite;
}

.shape-square-1 {
    width: 80px;
    height: 80px;
    background: #a78bfa;
    top: 60%;
    right: 5%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid #f5a623;
    top: 70%;
    left: 10%;
    animation: float 4s ease-in-out infinite reverse;
}

.shape-donut-2 {
    width: 140px;
    height: 140px;
    border: 8px solid #4ecdc4;
    border-radius: 50%;
    bottom: 20%;
    right: 20%;
    animation: float 8s ease-in-out infinite;
}

.shape-donut-2::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #0a1628;
    border-radius: 50%;
}

/* CTA Section Shapes */
.shape-cta-circle-1 {
    width: 300px;
    height: 300px;
    background: #f5a623;
    border-radius: 50%;
    top: -100px;
    right: -50px;
    opacity: 0.08;
    animation: float 6s ease-in-out infinite;
}

.shape-cta-square-1 {
    width: 120px;
    height: 120px;
    background: #ff6b9d;
    bottom: -40px;
    left: 10%;
    transform: rotate(45deg);
    opacity: 0.08;
    animation: spin 15s linear infinite;
}

.shape-cta-triangle-1 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid #4ecdc4;
    top: 10%;
    left: 5%;
    opacity: 0.08;
    animation: float 5s ease-in-out infinite reverse;
}

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

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

/* ===== Navigation ===== */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-header.scrolled {
    background-color: rgba(254, 249, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(10, 22, 40, 0.1);
}

.nav-link {
    position: relative;
}

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

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

/* Mobile Menu */
.mobile-link {
    position: relative;
}

/* ===== Marquee ===== */
.marquee-track {
    animation: marquee 20s linear infinite;
}

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

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .geo-shape,
    .geo-decor .circle,
    .geo-decor .triangle,
    .geo-decor .square {
        animation: none;
    }
    
    .marquee-track {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Default hidden state for scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Mobile Menu ===== */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}
