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

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

body {
    margin: 0;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Geometric Background Shapes ===== */
.fixed.inset-0 {
    z-index: 0;
}

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

.geo-circle--1 {
    width: 500px;
    height: 500px;
    background: #D14033;
    top: -100px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 300px;
    height: 300px;
    background: #E4B840;
    bottom: 20%;
    left: -80px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle--3 {
    width: 180px;
    height: 180px;
    background: #D14033;
    top: 50%;
    right: 10%;
    opacity: 0.06;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-rect {
    position: absolute;
    opacity: 0.06;
    background: #E4B840;
    transform: rotate(45deg);
}

.geo-rect--1 {
    width: 120px;
    height: 120px;
    top: 35%;
    left: 5%;
    animation: spin-slow 25s linear infinite;
}

.geo-tri {
    position: absolute;
    opacity: 0.05;
    background: #D14033;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.geo-tri--1 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 8%;
    animation: float-slow 22s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(10px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(1deg); }
}

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

/* ===== Floating Cards ===== */
.floating-card {
    animation: card-float 4s ease-in-out infinite;
}

.card-float-1 {
    animation-delay: 0s;
}

.card-float-2 {
    animation-delay: 2s;
}

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

/* ===== Navbar ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.92);
    backdrop-blur-xl;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    position: relative;
}

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

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

/* ===== Mobile Menu ===== */
.mobile-link {
    display: block;
}

/* ===== Hero Badge ===== */
.hero-badge {
    animation: fade-in-up 0.8s ease-out both;
}

/* ===== Product Cards ===== */
.product-card {
    will-change: transform;
}

/* ===== Value Cards ===== */
.value-card {
    will-change: transform;
}

/* ===== Animations ===== */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Back to Top ===== */
#back-to-top.visible {
    opacity: 1;
    translate: 0 0;
    pointer-events: auto;
}

/* ===== Focus Styles ===== */
*:focus-visible {
    outline: 2px solid #D14033;
    outline-offset: 2px;
}

/* ===== Selection ===== */
::selection {
    background: #D14033;
    color: white;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .geo-circle--1 {
        width: 250px;
        height: 250px;
    }
    .geo-circle--2 {
        width: 150px;
        height: 150px;
    }
}
