/* Base & Typography */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric Animated Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.circle-1 {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid white;
    animation: float-slow 20s ease-in-out infinite;
}

.circle-2 {
    top: 60%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: white;
    animation: float-medium 14s ease-in-out infinite;
}

.circle-3 {
    top: 20%;
    right: 8%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid white;
    animation: float-slow 18s ease-in-out infinite reverse;
}

.square-1 {
    top: 70%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: rgba(253, 224, 176, 0.5);
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.square-2 {
    top: 40%;
    left: 3%;
    width: 60px;
    height: 60px;
    border: 2px solid white;
    transform: rotate(30deg);
    animation: spin-slow 20s linear infinite reverse;
}

.triangle-1 {
    bottom: 25%;
    right: 5%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(255, 255, 255, 0.08);
    animation: float-medium 16s ease-in-out infinite;
}

.ring-1 {
    top: 15%;
    right: 25%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse-ring 4s ease-in-out infinite;
}

/* Accent shapes in products section */
.geo-shape-accent {
    position: absolute;
    pointer-events: none;
    opacity: 0.06;
}

.circle-a {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 4px solid white;
    animation: float-slow 22s ease-in-out infinite;
}

.square-a {
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    background: #fde0b0;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

.circle-b {
    top: 30%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    animation: float-medium 12s ease-in-out infinite;
}

/* Animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

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

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape, .geo-shape-accent {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        transition: none;
    }
}

/* Mobile Menu Transitions */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
}

/* Navbar Scroll State */
.nav-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(26, 92, 42, 0.08);
}

.nav-scrolled .font-geometric {
    color: #1a5c2a !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9ee;
}
::-webkit-scrollbar-thumb {
    background: #a8d4b0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1a5c2a;
}
