* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif; 
    background: #0a0f0a; 
    color: #e2e8f0; 
}

::selection { 
    background: #22c55e; 
    color: #0a0f0a; 
}

::-webkit-scrollbar { 
    width: 8px; 
}

::-webkit-scrollbar-track { 
    background: #0a0f0a; 
}

::-webkit-scrollbar-thumb { 
    background: #166534; 
    border-radius: 4px; 
}

::-webkit-scrollbar-thumb:hover { 
    background: #22c55e; 
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0a0f0a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.preloader-logo {
    width: 130px;
    height: auto;
    max-height: 130px;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: drop-shadow(0 0 25px rgba(34, 197, 94, 0.35));
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
        filter: drop-shadow(0 0 25px rgba(34, 197, 94, 0.35));
    }
    50% { 
        opacity: 0.7; 
        transform: scale(0.96); 
        filter: drop-shadow(0 0 40px rgba(34, 197, 94, 0.5));
    }
}

.preloader-bar {
    width: 180px;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    margin: 28px auto 14px;
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #16a34a, #22c55e, #4ade80);
    border-radius: 10px;
    animation: preloaderFill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preloaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

.preloader-text {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.4);
    animation: preloaderTextPulse 1.5s ease-in-out infinite;
    margin-top: 0;
}

@keyframes preloaderTextPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #16a34a, #22c55e, #facc15);
    z-index: 9998;
    transition: width 0.1s linear;
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(34, 197, 94, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, transform 0.15s ease;
}

.cursor-ring.hover {
    width: 56px;
    height: 56px;
    border-color: rgba(34, 197, 94, 0.8);
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    body { cursor: auto; }
    .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 1023px) {
    body { cursor: auto; }
    .cursor-dot, .cursor-ring { display: none; }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO ===== */
.hero-bg {
    background: linear-gradient(135deg, #0a0f0a 0%, #142014 40%, #0f1a0f 70%, #0a0f0a 100%);
}

.glow-green {
    box-shadow: 0 0 60px rgba(34, 197, 94, 0.15), 0 0 120px rgba(34, 197, 94, 0.05);
}

/* ===== PRODUCT CARD — EXTRA SMOOTH ===== */
.product-card .overflow-hidden {
    overflow: hidden;
}

.product-card-img {
    transition: transform 0.85s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.product-card:hover .product-card-img {
    transform: scale(1.08);
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #15803d, #16a34a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.btn-outline {
    border: 1.5px solid rgba(34, 197, 94, 0.4);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #22c55e;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover { 
    color: #22c55e; 
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(34, 197, 94, 0.3), transparent);
}

/* ===== ANIMATIONS ===== */
.floating { 
    animation: floating 6s ease-in-out infinite; 
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.text-gradient {
    background: linear-gradient(135deg, #4ade80, #22c55e, #facc15);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-mesh {
    background-image:
        radial-gradient(at 20% 20%, rgba(34, 197, 94, 0.08) 0, transparent 50%),
        radial-gradient(at 80% 80%, rgba(250, 204, 21, 0.05) 0, transparent 50%),
        radial-gradient(at 50% 50%, rgba(34, 197, 94, 0.03) 0, transparent 70%);
}

.stat-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(34, 197, 94, 0.02));
    border: 1px solid rgba(34, 197, 94, 0.15);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu.open .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-btn {
    position: absolute;
    right: 15px; /*  */
    top: 15px;
    z-index: 9999; /**/
} 
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: calc(var(--stagger) * 80ms + 200ms);
}

/* ===== TOAST ===== */
.toast {
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===== LEAF PATTERN ===== */
.leaf-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 C20 15 15 25 20 35 C25 45 35 45 40 35 C45 25 40 15 30 5Z' fill='none' stroke='rgba(34,197,94,0.04)' stroke-width='0.5'/%3E%3C/svg%3E");
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 90;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsappFloat 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.whatsapp-btn:hover {
    animation: none;
    transform: scale(1.1);
}

/* ===== BACK TO TOP ===== */
.back-to-top-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 90;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.back-to-top-btn:hover {
    transform: translateY(-3px);
}

.back-to-top-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    transform: rotate(-90deg);
}

/* ===== FORM VALIDATION ===== */
.form-input.error {
    border-color: rgba(239, 68, 68, 0.5) !important;
}

.form-input.success {
    border-color: rgba(34, 197, 94, 0.5) !important;
}

.form-error {
    display: block;
}

/* ===== IMAGE LAZY LOAD ===== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.6s ease;
}

img[loading="lazy"].loaded,
img[loading="eager"] {
    opacity: 1;
}

/* ===== HERO SLIDER — PRO ===== */
.hero-slider {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* --- Cinematic Grain --- */
.hero-grain {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    z-index: 6;
    pointer-events: none;
    opacity: 0.03;
    background: repeating-conic-gradient(rgba(255,255,255,0.08) 0% 25%, transparent 0% 50%) 0 0 / 3px 3px;
    animation: grainShift 0.4s steps(4) infinite;
}

@keyframes grainShift {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-5%, -5%); }
    50% { transform: translate(5%, 0); }
    75% { transform: translate(0, 5%); }
    100% { transform: translate(0, 0); }
}

/* --- Slide Base --- */
.hero-slide {
    position: absolute;
    inset: 0;
    clip-path: inset(0 100% 0 0);
    z-index: 1;
}

.hero-slide.active {
    clip-path: inset(0 0% 0 0);
    z-index: 2;
    transition: clip-path 1.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.hero-slide.exiting {
    clip-path: inset(0 0 0 100%);
    z-index: 1;
    transition: clip-path 1.4s cubic-bezier(0.76, 0, 0.24, 1);
}

/* --- Ken Burns (4 directions) --- */
.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.hero-slide.active .hero-slide-img {
    animation: kb1 7s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.hero-slide.kb2.active .hero-slide-img { animation-name: kb2; }
.hero-slide.kb3.active .hero-slide-img { animation-name: kb3; }
.hero-slide.kb4.active .hero-slide-img { animation-name: kb4; }

@keyframes kb1 { from { transform: scale(1) translate(0,0); } to { transform: scale(1.18) translate(-2.5%, -1.5%); } }
@keyframes kb2 { from { transform: scale(1) translate(0,0); } to { transform: scale(1.18) translate(2.5%, 1.5%); } }
@keyframes kb3 { from { transform: scale(1) translate(0,0); } to { transform: scale(1.15) translate(-1%, 2.5%); } }
@keyframes kb4 { from { transform: scale(1) translate(0,0); } to { transform: scale(1.15) translate(1.5%, -2.5%); } }

/* --- Vignette --- */
.hero-slide-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(10,15,10,0.6) 100%);
    pointer-events: none;
}

/* --- Overlay --- */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(10,15,10,0.9) 0%, rgba(10,15,10,0.2) 50%, rgba(10,15,10,0.15) 100%);
}

/* --- Content --- */
.hero-slide-content {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    z-index: 4;
}

.hero-slide-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 14px;
    backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.4s;
}

.hero-slide.active .hero-slide-badge {
    opacity: 1;
    transform: translateX(0);
}

/* --- Word-by-Word Title --- */
.hero-slide-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 8px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.slide-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.15em;
    margin-right: 0.2em;
}

.slide-word-inner {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: calc(var(--i) * 100ms + 550ms);
}

.hero-slide.active .slide-word-inner {
    transform: translateY(0);
}

/* --- Description --- */
.hero-slide-desc {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.85);
    line-height: 1.6;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.9s;
}

.hero-slide.active .hero-slide-desc {
    opacity: 1;
    transform: translateY(0);
}

/* --- Arrows (Magnetic) --- */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 44px;
    height: 44px;
    background: rgba(10, 15, 10, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%) scale(0.7);
    transition: opacity 0.5s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.hero-slider:hover .hero-slider-arrow {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.hero-slider-arrow:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.15), inset 0 0 20px rgba(34, 197, 94, 0.05);
}

.hero-slider-arrow-left { left: 16px; }
.hero-slider-arrow-right { right: 16px; }

/* --- Bottom Controls --- */
.hero-slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* --- Dots --- */
.hero-slider-dots {
    display: flex;
    gap: 6px;
}

.hero-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slider-dot.active {
    width: 32px;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
}

/* --- Progress Ring --- */
.hero-progress-ring {
    position: relative;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-progress-ring:hover {
    opacity: 1;
}


.hero-progress-ring svg circle:last-child {
    transition: stroke-dashoffset 0.1s linear;
}

#heroPauseIcon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Mobile --- */
@media (max-width: 1023px) {
    .hero-slider-arrow {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        width: 36px;
        height: 36px;
    }

    .hero-slider-arrow-left { left: 10px; }
    .hero-slider-arrow-right { right: 10px; }

    .hero-slide-title { font-size: 1.15rem; }
    .hero-slide-content { bottom: 20px; left: 20px; right: 20px; }
    .hero-slider-controls { bottom: 14px; right: 14px; }
    .hero-grain { display: none; }
}
/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, opacity 0.2s ease;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(34, 197, 94, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, transform 0.15s ease, opacity 0.2s ease;
}