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

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

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* ===== FLOATING BACKGROUND SHAPES ===== */
.float-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #4ade80, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: -100px;
    animation: floatA 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #fde68a, transparent 70%);
    border-radius: 50%;
    top: 50%;
    right: -50px;
    animation: floatB 25s ease-in-out infinite;
}

.shape-diamond {
    width: 150px;
    height: 150px;
    background: #22c55e;
    transform: rotate(45deg);
    top: 30%;
    right: 10%;
    animation: floatC 18s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #4ade80;
    opacity: 0.06;
    bottom: 20%;
    left: 5%;
    animation: floatA 22s ease-in-out infinite reverse;
}

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

@keyframes floatB {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(40px); }
}

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

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

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border: 3px solid rgba(253, 230, 138, 0.15);
    border-radius: 50%;
    top: -150px;
    right: -100px;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(253, 230, 138, 0.1);
    border-radius: 20px;
    top: 20%;
    left: 8%;
    transform: rotate(25deg);
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(74, 222, 128, 0.15);
    bottom: 25%;
    right: 15%;
    transform: rotate(-15deg);
}

.geo-dots {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    top: 0;
    left: 0;
}

/* ===== SERVICES SECTION SHAPES ===== */
.geo-circle-3 {
    width: 350px;
    height: 350px;
    border: 2px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(253, 230, 138, 0.08);
    border-radius: 12px;
    bottom: 10%;
    right: 5%;
    transform: rotate(30deg);
}

.geo-triangle-2 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(74, 222, 128, 0.1);
    top: 30%;
    right: 10%;
}

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

.shape-1 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -80px;
    left: -80px;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: rgba(253, 230, 138, 0.1);
    border-radius: 24px;
    bottom: -40px;
    right: 10%;
    transform: rotate(20deg);
}

.shape-3 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    top: 20%;
    right: 5%;
}

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

.footer-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08), transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.footer-shape.shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(253, 230, 138, 0.05), transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }
    
    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: none;
    }
}

/* ===== MOBILE MENU ===== */
.menu-line {
    display: block;
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== NAVBAR SCROLL STATE ===== */
nav.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(20, 83, 45, 0.08);
}

/* ===== UTILITY ===== */
::selection {
    background: #86efac;
    color: #0f3d1c;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .float-shape {
        display: none;
    }
    
    .shape-circle-1,
    .shape-circle-2 {
        display: block;
    }
}
