/* ==========================================================================
   Ökomix - Custom Styles
   ========================================================================== */

/* Alpine.js cloak */
[x-cloak] { display: none !important; }

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Source Sans 3', sans-serif;
}

.font-display {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-bg {
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.92) 0%, rgba(45, 78, 47, 0.85) 100%),
                url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Disable fixed background on mobile (causes issues on iOS) */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
}

/* ==========================================================================
   Textures & Effects
   ========================================================================== */

.grain-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Gradient border cards */
.gradient-border {
    position: relative;
    background: linear-gradient(135deg, #f59e0b, #539456, #a67542);
    padding: 3px;
    border-radius: 12px;
}

.gradient-border-inner {
    background: #0d1117;
    border-radius: 10px;
}

/* Stats number gradient text */
.stat-number {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Product cards */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
}

/* Benefit items checkmark */
.benefit-item {
    position: relative;
    padding-left: 2rem;
}

.benefit-item::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-weight: bold;
}

/* Mobile menu blur */
.mobile-menu {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Section divider */
.section-divider {
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
    height: 2px;
}

/* ==========================================================================
   Animations
   ========================================================================== */

/* WhatsApp button pulse */
@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

.whatsapp-pulse {
    animation: pulse-green 2s infinite;
}

/* Scroll indicator bounce */
@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.scroll-indicator {
    animation: bounce-down 2s infinite;
}
