/* ============================================
   TRACTORO - Design System
   Based on visual references from tractoro.com.br
   ============================================ */

:root {
    /* Colors */
    --bg: #e8f5e3;
    --bg-soft: #f5f9f3;
    --ink: #1a1a1a;
    --muted: #6b7280;
    --primary: #689f56;
    --primary-hover: #557d46;
    --yellow: #f4e179;
    --yellow-dark: #d4c159;
    --blue: #c9e4f0;
    --blue-dark: #a9c4d0;
    --green-light: #dcedc8;
    --white: #ffffff;
    --surface: #ffffff;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Shadows */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font: 'Nunito', system-ui, sans-serif;
}

body[data-theme="dark"] {
    --primary: #7ac166;
    --green-light: #2c4c24;
    --green-dark: #e8f5e3;
    --yellow: #f8c146;
    --blue: #4a90e2;
    --ink: #f9fafb;
    --muted: #9ca3af;
    --bg: #111827;
    --bg-soft: #1f2937;
    --white: #1f2937;
    --surface: #111c14;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
}

/* ============================================
   Reset & Base Styles
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Accounts for sticky header */
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    width: min(1280px, 92%);
    margin: 0 auto;
}

/* ============================================
   Header
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary);
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

body[data-theme="dark"] .logo {
    color: var(--white);
}

.logo-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 32px;
}

.bar {
    height: 4px;
    border-radius: 2px;
    transition: var(--transition);
}

.bar-1 { width: 100%; background: var(--yellow); }
.bar-2 { width: 85%; background: var(--green-light); }
.bar-3 { width: 70%; background: var(--yellow); }
.bar-4 { width: 55%; background: var(--green-light); }

.logo:hover .bar-1 { width: 90%; }
.logo:hover .bar-2 { width: 100%; }
.logo:hover .bar-3 { width: 85%; }
.logo:hover .bar-4 { width: 70%; }

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text strong {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--ink);
}

.logo-tagline {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
    color: var(--muted);
}

.nav {
    display: flex;
    gap: var(--space-md);
}

.nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav a:hover {
    background: rgba(0, 0, 0, 0.05);
}

body[data-theme="dark"] .nav a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.search-bar-header {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2px 6px;
    transition: all 0.3s ease;
    margin-right: 8px;
}

body[data-theme="dark"] .search-bar-header {
    background: rgba(255, 255, 255, 0.05);
}

.search-bar-header:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.search-bar-header input {
    border: none;
    background: transparent;
    color: var(--ink);
    padding: 6px 8px;
    font-size: 14px;
    outline: none;
    width: 140px;
    transition: width 0.3s ease;
}

.search-bar-header input:focus {
    width: 200px;
}

.search-bar-header button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: transform 0.2s ease;
}

.search-bar-header button:hover {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .search-bar-header input {
        width: 100px;
    }
    .search-bar-header input:focus {
        width: 130px;
    }
}

.lang-switcher {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: var(--radius-sm);
}

.lang-btn {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: var(--transition);
    opacity: 0.6;
}

.lang-btn.active {
    background: var(--white);
    opacity: 1;
}

.lang-btn:hover {
    opacity: 1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hero {
    padding: var(--space-xl) 0;
    background: var(--bg); /* Default light green */
}

.hero-content {
    max-width: 900px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: var(--space-md);
    color: var(--ink);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.7;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.hero-card-img {
    width: 100%;
    height: 250px;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--green-light);
}

.hero-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-card:hover .hero-card-img img {
    transform: scale(1.1);
}

.hero-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--ink);
}

.hero-card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================
   Video Section with Blur Effect
   ============================================ */

.video-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.video-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10, 30, 15, 0.75) 0%,
        rgba(20, 45, 25, 0.60) 50%,
        rgba(8, 20, 10, 0.85) 100%
    );
    backdrop-filter: blur(2px);
    z-index: 1;
    transition: backdrop-filter 0.5s ease;
}

.video-section:hover .video-overlay {
    backdrop-filter: blur(5px);
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: var(--space-xl) var(--space-md);
}

.video-content h2 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 900;
    margin-bottom: var(--space-md);
    line-height: 1.2;
    color: #ffffff !important;
}

.video-content p {
    font-size: 20px;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92) !important;
}

/* ============================================
   Strength Section
   ============================================ */

.strength-section {
    padding: var(--space-xl) 0;
    background: var(--bg-soft);
}

.strength-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.strength-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.strength-text h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: var(--space-md);
    color: var(--ink);
}

.strength-text p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.7;
}

.strength-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.stat-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.stat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.stat-card:hover .stat-image img {
    transform: scale(1.1);
}

.stat-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: var(--space-lg) var(--space-md);
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label strong {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1px;
}

.stat-label span {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.9;
}

/* ============================================
   Catalog Section
   ============================================ */

.catalog {
    padding: var(--space-md) 0;
    background: var(--bg-soft);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-md);
    align-items: start;
}

@media (max-width: 992px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    #btn-mobile-filter {
        display: flex !important;
    }

    .filters-card {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10000;
        background: var(--surface);
        border-radius: 24px 24px 0 0;
        border: 1px solid rgba(0,0,0,0.15);
        border-bottom: none;
        padding: 25px 25px calc(25px + env(safe-area-inset-bottom, 0px)) 25px;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 -15px 40px rgba(0,0,0,0.4);
        margin-bottom: 0;
    }

    .filters-card.active {
        transform: translateY(0);
    }

    body[data-theme="dark"] .filters-card {
        background: var(--surface) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    .filters-grid {
        gap: 12px !important;
        margin-bottom: 15px !important;
    }

    #btn-close-filters {
        display: block !important;
    }

    .filters-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        z-index: 9999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .filters-overlay.active {
        display: block;
        opacity: 1;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: var(--space-sm);
    color: var(--ink);
}

.section-header p {
    font-size: 18px;
    color: var(--muted);
}

.filters-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 100px;
    z-index: 100;
}

body[data-theme="dark"] .filters-card {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.filters-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.filter-group select,
.filter-group input {
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 14px;
    background: #f8fafc;
    color: var(--ink);
    transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(104, 159, 86, 0.1);
}

.filters-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-end;
    flex-wrap: wrap;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.catalog-loading-note {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(31, 41, 55, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
    text-align: center;
    display: none;
}

.catalog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

body[data-theme="dark"] .catalog-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.catalog-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    background: #f1f8ee;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.no-photo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 2;
}

.catalog-card-skeleton {
    pointer-events: none;
}

.skeleton {
    border-radius: 10px;
    background: linear-gradient(90deg, #edf1ec 0%, #f7faf6 50%, #edf1ec 100%);
    background-size: 220% 100%;
    animation: skeletonShimmer 1.2s linear infinite;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 16 / 10;
}

.skeleton-line {
    height: 12px;
    margin-bottom: 10px;
}

.skeleton-line.short {
    width: 45%;
}

.skeleton-price {
    width: 38%;
    height: 20px;
    margin-top: 14px;
    border-radius: 8px;
}

@keyframes skeletonShimmer {
    from { background-position: 220% 0; }
    to { background-position: -220% 0; }
}

.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.catalog-card-image {
    width: 100%;
    height: 240px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    overflow: hidden;
    position: relative;
}

.catalog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback image (logo) styling */
.catalog-card-image.fallback-image {
    background: #ffffff;
    box-sizing: border-box;
}

.catalog-card-image.fallback-image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.catalog-card-image.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.catalog-card-body {
    padding: var(--space-md);
}

.catalog-card-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #475569;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: var(--space-sm);
}

.catalog-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--ink);
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.catalog-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: var(--space-md);
    font-size: 14px;
    color: var(--muted);
}

.catalog-card-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
    margin-top: 4px;
}

.catalog-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.catalog-quote-btn {
    background: #25d366 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    width: 100%;
    padding: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.catalog-quote-btn:hover {
    background: #1ebc5a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.catalog-share-btn {
    background: transparent !important;
    color: var(--ink) !important;
    border: 2px solid var(--ink) !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    width: 100%;
    padding: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.catalog-share-btn:hover {
    background: var(--ink) !important;
    color: var(--bg) !important;
    transform: translateY(-2px);
}

body[data-theme="dark"] .catalog-quote-btn {
    color: #111c14 !important;
}

body[data-theme="dark"] .catalog-share-btn {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--ink) !important;
}

body[data-theme="dark"] .catalog-share-btn:hover {
    background: var(--ink) !important;
    color: var(--bg) !important;
}


.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination button {
    min-width: 40px;
    height: 40px;
    border: none;
    background: var(--white);
    color: var(--ink);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.pagination button:hover {
    background: var(--primary);
    color: var(--white);
}

.pagination button.active {
    background: var(--primary);
    color: var(--white);
}

.pagination .page-arrow {
    font-size: 18px;
    font-weight: 800;
    min-width: 44px;
}

.pagination button[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    background: var(--bg-soft);
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
    padding: var(--space-xl) 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.contact-card {
    max-width: 650px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: var(--space-xl);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

body[data-theme="dark"] .contact-card {
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 900;
    margin-bottom: var(--space-sm);
    color: var(--ink);
    text-align: center;
}

.contact-card > p {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-left: 4px;
}

.form-group input,
.contact-form input,
.contact-form textarea {
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    transition: var(--transition);
    width: 100%;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.03);
}

body[data-theme="dark"] .form-group input,
body[data-theme="dark"] .contact-form input,
body[data-theme="dark"] .contact-form textarea {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--ink);
}

.form-group input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(104, 159, 86, 0.15);
}

body[data-theme="dark"] .form-group input:focus,
body[data-theme="dark"] .contact-form input:focus,
body[data-theme="dark"] .contact-form textarea:focus {
    background: var(--white);
    color: var(--bg);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.radio-label:hover {
    background: var(--bg-soft);
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.radio-label span {
    font-size: 15px;
    color: var(--ink);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    background: var(--green-light);
    color: var(--white);
    box-shadow: 0 6px 15px rgba(104, 159, 86, 0.3);
}

.shimmer-btn {
    position: relative;
    overflow: hidden;
}
.shimmer-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.shimmer-text {
    background: linear-gradient(
        90deg, 
        var(--ink) 0%, 
        var(--ink) 35%, 
        var(--primary) 50%, 
        var(--ink) 65%, 
        var(--ink) 100%
    ) !important;
    background-size: 200% auto !important;
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: shimmer-text 3.5s linear infinite !important;
}

.video-content h2.shimmer-text {
    background: linear-gradient(
        90deg, 
        #ffffff 0%, 
        #ffffff 35%, 
        var(--primary) 50%, 
        #ffffff 65%, 
        #ffffff 100%
    ) !important;
    background-size: 200% auto !important;
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: shimmer-text 3.5s linear infinite !important;
}

@keyframes shimmer-text {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.btn-secondary {
    background: var(--bg-soft);
    color: var(--ink);
    border: 2px solid var(--ink);
}

.btn-secondary:hover {
    background: var(--ink);
    color: var(--white);
}

.btn-success {
    background: var(--primary);
    color: var(--white);
}

.btn-success:hover {
    background: var(--primary-hover);
}

/* ============================================
   Modal
   ============================================ */

.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 40px;
    height: 40px;
    border: none;
    background: var(--white);
    color: var(--ink);
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-gallery {
    padding: var(--space-lg);
}

.gallery-main {
    width: 100%;
    height: 400px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 3px solid transparent;
    transition: var(--transition);
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.modal-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    background: var(--green-light);
    padding: 4px 10px;
    border-radius: 4px;
    width: fit-content;
}

.modal-info h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--ink);
}

.modal-info p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
}

.modal-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-md);
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
}

.modal-price span {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.modal-price strong {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
}

.modal-specs h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--ink);
}

.modal-specs > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.modal-specs p {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid var(--green-light);
}

.modal-specs p span:first-child {
    color: var(--muted);
    flex-shrink: 0;
}

.modal-specs p span:last-child {
    font-weight: 600;
    color: var(--ink);
    text-align: right;
    word-break: break-word;
    max-width: 70%;
}

.modal-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: auto;
}

#btnQuote {
    background: #25d366;
    color: #ffffff;
    border: 2px solid #25d366;
}

/* Compare Table Styling */
.compare-modal-content {
    background: var(--white) !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    max-height: 90vh;
    width: 95% !important;
    max-width: 1200px !important;
    padding: 35px !important;
    display: block !important;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #ffffff;
}
.compare-table th, .compare-table td {
    padding: 16px 20px;
    border: 1px solid #eef2f5;
    text-align: center;
    vertical-align: middle;
    color: var(--ink);
    font-size: 15px;
}
/* First column styling (labels) */
.compare-table tr td:first-child {
    text-align: left;
    font-weight: 700;
    background: #f8fafc;
    color: var(--ink);
    width: 160px;
}
.compare-table th {
    background: #f8fafc;
    color: var(--ink);
    font-weight: 800;
    font-size: 16px;
    border: 1px solid #eef2f5;
}
.compare-table tr:hover {
    background: rgba(104, 159, 86, 0.02);
}
body[data-theme="dark"] .compare-table {
    background: #111c14 !important;
}
body[data-theme="dark"] .compare-table th {
    background: #1a291f !important;
    color: #ffffff !important;
    border-color: #2e3d30 !important;
}
body[data-theme="dark"] .compare-table tr td:first-child {
    background: #1a291f !important;
    color: #ffffff !important;
    border-color: #2e3d30 !important;
}
body[data-theme="dark"] .compare-modal-content {
    background: #111c14 !important;
    color: #ffffff !important;
}
body[data-theme="dark"] .compare-table td {
    border-color: #2e3d30 !important;
    color: rgba(255, 255, 255, 0.90) !important;
}
body[data-theme="dark"] .compare-modal-content h3 {
    color: #ffffff !important;
}

#btnQuote:hover {
    background: #1fb857;
    border-color: #1fb857;
}

#btnShare {
    background: var(--bg-soft);
    border: 2px solid var(--green-light);
}

#btnShare:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.modal-actions .btn {
    flex: 1;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --space-lg: 40px;
        --space-xl: 60px;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .logo-text h1 {
        font-size: 20px;
    }

    .logo-text p {
        display: none;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .lang-switcher {
        padding: 4px;
    }

    .lang-btn {
        padding: 6px 8px;
        font-size: 13px;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: var(--space-md);
        gap: 0;
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav a {
        padding: 14px;
        width: 100%;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
    }
    
    .catalog-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .video-content h2 {
        font-size: 32px;
    }
    
    .gallery-main {
        height: 280px;
    }

    .contact-card {
        padding: var(--space-lg);
        border-radius: 16px;
    }

    .modal-content {
        gap: var(--space-md);
    }
    
    .modal-info h3 {
        font-size: 24px;
    }

    .hero-content {
        padding: var(--space-md);
    }

    .hero-card {
        padding: var(--space-md);
    }
}

body.perf-mode .bg-video {
    display: none;
}

body.perf-mode .video-background {
    background: linear-gradient(135deg, #d9ecd1 0%, #c9e4f0 100%);
}

body.perf-mode .hero-card,
body.perf-mode .catalog-card,
body.perf-mode .stat-card,
body.perf-mode .contact-card,
body.perf-mode .filters-card {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
}

body.perf-mode *,
body.perf-mode *::before,
body.perf-mode *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* Restore animations for elements that strictly need them */
body.perf-mode .shimmer-text,
body.perf-mode h1,
body.perf-mode h2,
body.perf-mode h3,
body.perf-mode h4,
body.perf-mode .shimmer-btn,
body.perf-mode .shimmer-btn::after {
    animation-duration: 3s !important;
    animation-iteration-count: infinite !important;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.whatsapp-float-icon {
    font-size: 18px;
    line-height: 1;
}

.whatsapp-float-text {
    font-size: 14px;
    letter-spacing: 0.2px;
}

@media (max-width: 560px) {
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        padding: 10px 12px;
    }

    .whatsapp-float-text {
        display: none;
    }
}

/* ============================================
   Utility Classes
   ============================================ */

.hidden {
    display: none !important;
}

.loading {
    pointer-events: none;
    opacity: 0.6;
}

.text-center {
    text-align: center;
}

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--ink);
    color: var(--white);
    padding: var(--space-xl) 0 var(--space-sm);
    font-size: 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    width: min(1280px, 92%);
    margin: 0 auto;
    margin-bottom: var(--space-lg);
}

.footer-section h4 {
    color: var(--green-light);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    font-size: 13px;
}

/* ============================================
   CREATIVE PREMIUM EFFECTS (WOW FACTOR)
   ============================================ */

/* 1. Animated Gradient Background for Hero/Sections */
.hero {
    position: relative;
    background: linear-gradient(-45deg, var(--bg), var(--green-light), var(--blue), var(--bg-soft));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 2. Glassmorphism Navbar */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] .header {
    background: rgba(31, 41, 55, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3. Button Shimmer Effect */
.btn-primary, .btn-success {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after, .btn-success::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shimmerBtn 3s infinite;
    z-index: -1;
}

@keyframes shimmerBtn {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* 4. Floating Animation for Cards */
.hero-card, .stat-card, .catalog-card {
    animation: floating 6s ease-in-out infinite;
    animation-play-state: paused;
}

.hero-card:hover, .stat-card:hover, .catalog-card:hover {
    animation-play-state: running;
}

@keyframes floating {
    0% { transform: translateY(0px); box-shadow: var(--shadow-lg); }
    50% { transform: translateY(-12px); box-shadow: 0 15px 45px rgba(104, 159, 86, 0.25); }
    100% { transform: translateY(0px); box-shadow: var(--shadow-lg); }
}

/* 5. Glowing Aura for Contact Form */
.contact-card {
    position: relative;
    z-index: 1;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: calc(var(--radius-lg) + 3px);
    background: linear-gradient(90deg, var(--primary), var(--yellow), var(--blue));
    background-size: 300% 300%;
    z-index: -1;
    animation: auraGlow 8s ease alternate infinite;
    opacity: 0.5;
    filter: blur(8px);
}

@keyframes auraGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* 6. Smooth Reveal for Sections */
.reveal-on-scroll {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Category Cards Area
   ============================================ */
.category-area {
    padding: var(--space-xl) 0;
    background: var(--white);
}

.category-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.category-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: var(--ink);
    margin-bottom: var(--space-sm);
}

.category-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.cat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

body[data-theme="dark"] .cat-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.1);
}

.cat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border-color: var(--green-light);
}

.cat-card-icon {
    font-size: 48px;
    margin-bottom: var(--space-md);
    display: inline-block;
    transition: var(--transition);
}

.cat-card:hover .cat-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.cat-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: var(--space-sm);
}

.cat-card p {
    font-size: 15px;
    color: var(--muted);
}

/* ============================================
   Multi-Quote Bar & Checkbox
   ============================================ */

.catalog-card {
    position: relative;
}

.compare-checkbox-container {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

body[data-theme="dark"] .compare-checkbox-container {
    background: rgba(31, 41, 55, 0.9);
}

.compare-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.multi-quote-bar {
    position: fixed;
    bottom: -100px; /* Hidden initially */
    left: 0;
    width: 100%;
    background: var(--surface);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 15px 0;
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(0,0,0,0.05);
}

body[data-theme="dark"] .multi-quote-bar {
    background: var(--surface);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}

.multi-quote-bar.active {
    bottom: 0;
}

.multi-quote-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.multi-quote-info {
    font-weight: 700;
    font-size: 16px;
    color: var(--ink);
}

.multi-quote-info #multi-quote-count {
    color: var(--primary);
    font-size: 20px;
    margin-right: 5px;
    font-weight: 800;
}

.multi-quote-actions {
    display: flex;
    gap: 12px;
}

#btn-compare-selected {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    font-weight: 700;
}

#btn-compare-selected:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

body[data-theme="dark"] #btn-compare-selected {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}

body[data-theme="dark"] #btn-compare-selected:hover {
    background: var(--primary);
    color: #111c14; /* contrast text color on primary green */
}

body[data-theme="dark"] .btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

body[data-theme="dark"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--ink);
}

@media (max-width: 600px) {
    .multi-quote-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ============================================
   Modal Recommendations (Similar Products)
   ============================================ */

.modal-recommendations {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0,0,0,0.1);
}

body[data-theme="dark"] .modal-recommendations {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.modal-recommendations h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
}

.ai-icon {
    font-style: normal;
    animation: pulse-ai 2s infinite;
}

@keyframes pulse-ai {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; text-shadow: 0 0 10px var(--primary); }
    100% { transform: scale(1); opacity: 0.8; }
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.rec-card {
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    padding: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.rec-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.rec-img-container {
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 8px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.rec-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec-price {
    font-size: 12px;
    color: var(--primary);
    font-weight: 800;
}

/* Mouse Scroll Indicator */
.mouse-scroll-indicator {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.mouse-scroll-indicator:hover {
    opacity: 1;
    transform: scale(1.05);
}

.mouse-icon {
    width: 24px;
    height: 38px;
    border: 2px solid #ffffff;
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 2px;
    position: absolute;
    top: 5px;
    animation: scroll-wheel-anim 1.6s infinite ease-in-out;
}

@keyframes scroll-wheel-anim {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

/* Dark Theme overrides for Category Hero Cards */
body[data-theme="dark"] .hero-card {
    background: rgba(26, 41, 31, 0.45);
    border: 1px solid rgba(104, 159, 86, 0.3);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body[data-theme="dark"] .hero-card h3 {
    color: #ffffff;
}

body[data-theme="dark"] .hero-card p {
    color: #b0c4b4;
}

body[data-theme="dark"] .hero-card-img {
    background: rgba(104, 159, 86, 0.15);
}



