/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

/* ======================== */
/*     ROOT VARIABLES       */
/* ======================== */
:root {
    /* Warna Utama (Brand Colors) */
    --primary: #000; /* Navy utama #003366;  */
    --primary-dark: #002244; /* Navy gelap untuk hover */
    --accent: #d4af37; /* Gold / kuning keemasan #d4af37; */
    --accent-dark: #b8860b; /* Gold gelap untuk hover */
    --orange: #ff6600; /* Orange accent (shadow button primary) */
    --whatsapp: #25d366; /* WhatsApp green */
    --whatsapp-dark: #1ebe5d; /* WhatsApp hover */
    --success: #22c55e; /* Ready stock */
    --warning: #f59e0b; /* Pre-order orange */

    /* Warna Netral & Text */
    --text-dark: #000000;
    --text-main: #333333;
    --text-light: #555555;
    --text-muted: #777777;
    --text-label: #999999;
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --border-light: #eeeeee;

    /* Warna Ikon & Background */
    --icon-phone-bg: #ffe5d9;
    --icon-whatsapp-bg: #d4edda;
    --icon-email-bg: #fff3cd;

    /* Gradient */
    --gradient-hero: linear-gradient(
        135deg,
        #e8f4fd 0%,
        #ffffff 50%,
        #fff5eb 100%
    );
    --gradient-whatsapp: linear-gradient(135deg, #25d366, #1ebe5d);
    --gradient-gold: linear-gradient(135deg, #d4af37, #b8860b);

    /* Shadow */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hero: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-float: 0 15px 30px rgba(37, 211, 102, 0.4);
    --shadow-bubble: 0 20px 60px rgba(255, 102, 0, 0.3);
    --shadow-contact: 0 30px 60px rgba(0, 0, 0, 0.15);

    /* Transisi default */
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    font-family: "Poppins", sans-serif;
}
html {
    scroll-behavior: smooth;
}

/* Hero Gradient */
.gradient-hero {
    background: var(--gradient-hero);
}

/* Card Hover Effects */
.card-hover {
    transition: var(--transition);
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

/* Worker Card */
.worker-card {
    transition: var(--transition);
}
.worker-card:hover {
    transform: scale(1.03);
}

/* Button Primary */
.btn-primary {
    transition: var(--transition);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
}

/* Button Secondary */
.btn-secondary {
    transition: var(--transition);
}
.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Float Animation */
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}
.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Logo Scroll Animation */
.logo-scroll {
    animation: scroll 20s linear infinite;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: white;
    box-shadow: var(--shadow-sm);
    height: 80px;
}

/* Logo Bubble */
.logo-bubble {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 20px;
}

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

.logo-subtitle {
    font-size: 10px;
    color: var(--primary);
    font-weight: 500;
    line-height: 1;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.nav-item.active {
    color: var(--accent);
    border-bottom: 3px solid var(--accent);
}

.nav-item:hover {
    color: var(--accent);
}

.nav-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 60px 20px;
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-bubble {
    display: none; /* hide circular illustration for minimal auth */
}

.worker-illustration {
    width: 280px;
    height: 280px;
}

.contact-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 40px;
    line-height: 1.3;
}

.contact-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.contact-column h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    transform: translateX(4px);
    color: var(--accent);
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.icon-phone {
    background: var(--icon-phone-bg);
    color: var(--accent);
}

.icon-whatsapp {
    background: var(--icon-whatsapp-bg);
    color: var(--whatsapp);
}

.icon-email {
    background: #fff3cd;
    color: #ff9800;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.contact-value {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================= */
/* FLOATING BUTTONS - MODERN UI  */
/* ============================= */

.floating-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.floating-btn:hover {
    transform: translateY(-4px);
}

/* WhatsApp */
.whatsapp-btn {
    background: var(--success);
    font-size: 32px; /* tinggal besarin angkanya */
}

.whatsapp-btn:hover {
    box-shadow: 0 15px 30px var(--shadow-float);
}

/* Scroll Button */
.scroll-btn {
    background: var(--accent);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.scroll-btn.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Tooltip */
.tooltip {
    position: absolute;
    right: 65px;
    background: #111;
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.floating-btn:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-content h2 {
        font-size: 28px;
    }

    .contact-columns {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-item {
        font-size: 12px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    @media (max-width: 768px) {
        .contact-container {
            grid-template-columns: 1fr;
            gap: 40px;
            text-align: center;
        }

        /* Biar ilustrasi tetap hidup */
        .contact-illustration {
            order: -1; /* pindahin ke atas */
        }

        .custom-bubble {
            width: 260px;
            height: 260px;
            margin: 0 auto;
        }

        .cs-image {
            width: 85%;
            height: auto;
        }

        /* Floating box biar ga berantakan */
        .floating-box {
            font-size: 12px;
            padding: 8px 12px;
        }

        .float-1 {
            top: 10px;
            right: 0;
        }

        .float-2 {
            bottom: 10px;
            left: 0;
        }

        /* Judul */
        .contact-content h2 {
            font-size: 24px;
            line-height: 1.4;
            margin-bottom: 25px;
        }

        /* Kolom jadi stack tapi tetap clean */
        .contact-columns {
            grid-template-columns: 1fr;
            gap: 25px;
        }

        /* Card feel biar mirip desktop */
        .contact-item {
            justify-content: center;
            text-align: left;
            background: #fafafa;
            padding: 12px 14px;
            border-radius: 12px;
        }

        .contact-item:hover {
            transform: none; /* mobile jangan geser */
        }

        .contact-icon {
            min-width: 36px;
        }

        .contact-info {
            text-align: left;
        }
    }
}

/* Box Sizing */
body {
    box-sizing: border-box;
}

.hero-image {
    position: relative;
    height: 520px;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(0, 51, 102, 0.6),
        rgba(0, 51, 102, 0.1)
    );
}
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 8% 100px; /* atas & bawah penting */
    background: #0b1f14;
    background-size: cover;
    background-position: 70% center; /* geser gambar sedikit ke kiri */
    overflow: hidden;
}

/* HERO IMAGE SLIDER */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 6s ease;
}

.hero-slide.active img {
    transform: scale(1);
}

/* GRADIENT PUTIH KE KIRI + OVERLAY HIJAU */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.65) 40%,
        rgba(255, 255, 255, 0.1) 100%
    );
}

.hero-overlay-green {
    z-index: 2;
    background:
        linear-gradient(
            to right,
            rgba(232, 245, 233, 0.92) 0%,
            rgba(232, 245, 233, 0.72) 38%,
            rgba(27, 94, 32, 0.35) 100%
        ),
        linear-gradient(
            135deg,
            rgba(46, 125, 50, 0.28) 0%,
            rgba(0, 0, 0, 0.15) 55%,
            rgba(27, 94, 32, 0.4) 100%
        );
}

.hero-slider-dots {
    position: absolute;
    left: 8%;
    bottom: 36px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    width: 28px;
    background: #2e7d32;
}

/* CONTENT */
.hero-content {
    position: relative;
    max-width: 650px;
    z-index: 4;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 51, 102, 0.1);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

/* ========================= */
/* AUTH PAGE STYLES          */
/* ========================= */
.auth-section {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.auth-card {
    background: transparent;
    padding: 36px 28px;
    border-radius: 0;
    box-shadow: none;
    max-width: 560px;
    width: 100%;
    border-left: 4px solid var(--accent);
}

.auth-logo {
    display: block;
    margin: 0 auto 12px;
    height: 50px;
    object-fit: contain;
}

.auth-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 6px 0 18px;
    text-align: center;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 0;
    border: 1px solid #eee;
    outline: none;
    margin-top: 8px;
}

.auth-btn {
    display: block;
    background: var(--accent);
    color: white;
    padding: 12px 14px;
    border-radius: 0;
    font-weight: 600;
    border: none;
    cursor: pointer;
    width: 100%;
}
.auth-btn:hover {
    opacity: 0.95;
}
.text-accent {
    color: var(--accent);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .auth-card {
        margin: 0 auto;
    }
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
}

/* GLASS CARD */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    max-width: 450px;
}

.hero-stats strong {
    font-size: 20px;
    color: var(--primary);
    display: block;
}

.hero-stats span {
    font-size: 14px;
    color: #555;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--accent);
    font-size: 18px;
}

/* ========================================= */
/* RESPONSIVE HERO SECTION (MOBILE & TABLET) */
/* ========================================= */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 5% 60px;
        background-position: 85% center;
        min-height: auto;
    }

    .hero-overlay,
    .hero-overlay-green {
        background:
            linear-gradient(
                to bottom,
                rgba(232, 245, 233, 0.96) 0%,
                rgba(232, 245, 233, 0.88) 55%,
                rgba(27, 94, 32, 0.35) 100%
            );
    }

    .hero-slider-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 18px;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-content h1 span {
        background: linear-gradient(
            135deg,
            var(--accent) 0%,
            var(--warning) 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 0;
    }
}

/* Upgrade Desktop Span Gradient for 'Premium' Look */
@media (min-width: 769px) {
    .hero-content h1 span {
        background: linear-gradient(
            135deg,
            var(--accent) 0%,
            #a37017 50%,
            var(--accent-dark) 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-size: 200% auto;
        animation: textShine 4s linear infinite;
    }
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

.trusted-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trusted-logo {
    height: 40px;
    object-fit: contain;

    transition: all 0.3s ease;
}

.trusted-logo:hover {
    transform: scale(1.05);
}
.logo-slider {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 80px;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.illustration-bubble {
    background: radial-gradient(
        circle at center,
        var(--accent) 0%,
        var(--accent-dark) 100%
    );
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
    100% {
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float2 {
    animation: float2 5s ease-in-out infinite;
}
.recommendation {
    padding: 40px 5%;
    background: var(--primary);
    color: white;
}
.recommendation-green {
    padding: 40px 5%;
    background: rgb(48, 130, 48);
    color: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 26px;
    font-weight: 600;
}

.lihat-semua {
    background: var(--accent);
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: 0.3s;
}

.lihat-semua:hover {
    background: var(--accent-dark);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pre-order {
    background: orange;
    color: white;
}

.ready-stock {
    background: #22c55e;
    color: white;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    min-height: 40px;
    color: #1a1a1a; /* lebih tegas */
}

.price {
    display: flex;
    gap: 8px;
    align-items: center;
}

.current {
    font-weight: bold;
    font-size: 16px;
    color: #b8860b; /* gold lebih dalam biar kontras */
}

.old {
    text-decoration: line-through;
    font-size: 13px;
    color: #777; /* jangan terlalu pucat */
}

.product-actions {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top: 1px solid #eee; /* lebih soft */
    font-size: 18px;
    color: #555; /* lebih jelas */
    background: #fafafa;
}

.product-actions i {
    cursor: pointer;
    transition: 0.3s;
}

.product-actions i:hover {
    color: var(--accent);
}

@media (max-width: 480px) {
    /* Navbar */
    .navbar {
        height: 65px;
        padding: 0 15px;
    }

    .logo-text {
        font-size: 18px;
    }

    /* Hero */
    .hero-section {
        min-height: 100vh; /* tetap full layar */
        padding: 100px 20px 60px;
        background-position: 70% center;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-section {
        padding: 40px 15px;
    }

    .illustration-bubble {
        width: 220px;
        height: 220px;
    }

    .worker-illustration {
        width: 180px;
        height: 180px;
    }

    .contact-content h2 {
        font-size: 22px;
    }

    /* Floating Button */
    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .tooltip {
        display: none;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 0 5%;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .contact-container {
        gap: 40px;
    }

    .illustration-bubble {
        width: 300px;
        height: 300px;
    }

    .worker-illustration {
        width: 240px;
        height: 240px;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 65px;
        right: -100%;
        flex-direction: column;
        background: white;
        width: 220px;
        height: 100vh;
        padding: 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
    }

    .nav-menu.active {
        right: 0;
    }
}
/* Tablet */
@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================= */
/* GLOBAL RESPONSIVE FIX */
/* ============================= */

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

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

section {
    width: 100%;
    overflow: hidden;
}
/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #003366;
    border-radius: 3px;
    transition: 0.3s;
}

/* Mobile Navbar */
@media (max-width: 768px) {
    .navbar {
        height: 65px;
        padding: 0 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        right: -100%;
        flex-direction: column;
        background: white;
        width: 250px;
        height: 100vh;
        padding: 40px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: 0.4s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        font-size: 16px;
    }
}
/* ============================= */
/* HERO RESPONSIVE IMPROVEMENT */
/* ============================= */

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 20px 60px;
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}
/* ============================= */
/* CONTACT RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .contact-columns {
        grid-template-columns: 1fr;
    }

    .illustration-bubble {
        width: 220px;
        height: 220px;
    }

    .worker-illustration {
        width: 180px;
        height: 180px;
    }
}
/* ============================= */
/* PRODUCT GRID RESPONSIVE */
/* ============================= */

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image img {
        height: 160px;
    }
}

@media (max-width: 400px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .floating-container {
        right: 15px;
        bottom: 15px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .tooltip {
        display: none;
    }
}
.hero-content h1 {
    font-size: clamp(28px, 5vw, 48px);
}

/* Custom color mapping (pengganti Tailwind) */
.bg-primary {
    background: var(--primary);
}
.bg-primary-light {
    background: rgba(30, 58, 138, 0.1);
}

.bg-accent {
    background: var(--accent);
}
.bg-accent-light {
    background: rgba(34, 197, 94, 0.1);
}

.text-primary {
    color: var(--primary);
}
.text-accent {
    color: var(--accent);
}
.text-muted {
    color: var(--text-muted);
}

.border-light {
    border: 1px solid var(--border-light);
}

/* Gradient pengganti */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

/* Button */
.btn-outline {
    background: rgba(30, 58, 138, 0.05);
    color: var(--primary);
    transition: var(--transition);
}

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

.text-accent {
    color: var(--accent);
}

.bg-accent {
    background: var(--accent);
}

.bg-accent-dark {
    background: var(--accent-dark);
}

.hover\:bg-accent:hover {
    background: var(--accent);
}

.hover\:bg-accent-dark:hover {
    background: var(--accent-dark);
}

/* PRIMARY (biru) */
.bg-primary {
    background-color: var(--primary);
}
.text-primary {
    color: var(--primary);
}

/* ACCENT (hijau) */
.bg-accent {
    background-color: var(--accent);
}
.text-accent {
    color: var(--accent);
}

/* HOVER */
.bg-accent-hover {
    background-color: var(--accent-dark);
}

/* OPACITY */
.bg-accent\/20 {
    background-color: rgba(34, 197, 94, 0.2);
}

/* GRADIENT SUPPORT */
.from-green {
    --tw-gradient-from: var(--accent);
}
.via-green-dark {
    --tw-gradient-stops: var(--accent-dark);
}
.to-primary {
    --tw-gradient-to: var(--primary);
}

/* FIX GRADIENT (penting) */
.bg-gradient-to-br {
    background-image: linear-gradient(
        to bottom right,
        var(--accent),
        var(--accent-dark),
        var(--primary)
    );
}

.bg-gradient-to-r {
    background-image: linear-gradient(
        to right,
        var(--accent),
        var(--accent-dark)
    );
}

.bg-primary-dark {
    background-color: var(--primary-dark);
}

.text-primary-dark {
    color: var(--primary-dark);
}

.hover\:bg-primary-dark:hover {
    background-color: var(--primary-dark);
}

.custom-bubble {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: yellow; /* biar ikut branding */
    opacity: 0.25;
    filter: blur(60px);
}

.floating-box {
    position: absolute;
    background: white;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    font-size: 14px;
    font-weight: 500;
}

.float-1 {
    top: 20px;
    right: 10px;
    animation: float 4s ease-in-out infinite;
}

.float-2 {
    bottom: 40px;
    left: 0;
    animation: float2 5s ease-in-out infinite;
}

.cs-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* ============================= */
/* FORM STYLES - MODERN UI */
/* ============================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Poppins", sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
}

.main-wrapper {
    padding: 40px 20px;
    max-width: 1400px;
    margin: auto;
}

/* CONTAINER */
.container {
    max-width: 900px;
    margin: 40px auto;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.form-section {
    margin-bottom: 40px;
}

.section-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 40px 25px;
    text-align: center;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
}

.header p {
    opacity: 0.8;
    margin-top: 8px;
}

/* FORM */
.form-content {
    padding: 30px;
}

.section-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

/* JENIS BUTTON (GANTI RADIO) */
.radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.jenis-btn {
    padding: 14px;
    border-radius: 12px;
    border: 2px solid #eee;
    background: #f5f5f5;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.jenis-btn:hover {
    border-color: var(--accent);
}

/* ACTIVE (KETIKA DIPILIH) */
.jenis-btn.active {
    background: var(--accent);
    color: black;
    border-color: var(--accent-dark);
    font-weight: 600;
}

/* TEXTAREA & INPUT */
textarea,
input,
select {
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    margin-bottom: 20px;
    transition: all 0.25s ease;
    background: #fff;
}

textarea:focus,
input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
}

textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

input[type="date"],
input[type="time"],
input[type="text"] {
    height: 52px;
}

.upload-box {
    display: block;
    border: 2px dashed #e5e7eb;
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #fafafa, #ffffff);
}

/* HOVER */
.upload-box:hover {
    border-color: var(--accent);
    background: #f9fafb;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* ICON */
.upload-icon {
    font-size: 42px;
    color: #9ca3af;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

/* TITLE */
.upload-title {
    font-weight: 600;
    color: #374151;
}

/* SUBTITLE */
.upload-subtitle {
    font-size: 13px;
    color: #9ca3af;
}

/* HOVER EFFECT */
.upload-box:hover .upload-icon {
    color: var(--accent);
    transform: scale(1.15);
}

.upload-box:hover .upload-title {
    color: var(--primary);
}

/* BUDGET */
.budget-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.budget-btn {
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid #ddd;
    cursor: pointer;
    background: white;
    transition: var(--transition);
}

.budget-btn.active {
    background: var(--accent);
    color: black;
    border-color: var(--accent-dark);
}

/* PROMO */
.promo {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 25px 0;
}

.promo strong {
    color: var(--accent-dark);
}

/* BUTTON */
.btn-submit {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    background: var(--accent);
    color: black;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--accent-dark);
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .radio-group {
        grid-template-columns: repeat(4, 1fr);
    }

    .form-content {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 22px;
    }

    .container {
        margin: 10px;
    }
}

/* FORM GROUP */
.form-group {
    margin-bottom: 26px;
    display: flex;
    flex-direction: column;
}

/* LABEL */
.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 8px;
}
/* INPUT & SELECT */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    transition: all 0.25s ease;
    background: #fff;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}

.form-group input {
    height: 52px;
}

/* FOCUS EFFECT */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
}

/* PLACEHOLDER */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

/* SELECT STYLE */
.form-group select {
    cursor: pointer;
    background-color: #fff;
}

/* OPTIONAL: HOVER EFFECT */
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #cbd5e1;
}

.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 250px;
}

.input-row {
    display: flex;
    gap: 12px;
}

.input-row input {
    flex: 1;
}

/* COUNTER */
.counter-box {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    margin: 10px 0;
}

.counter-box button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    cursor: pointer;
}

/* WORKER BOX */
.worker-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9fafb;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

/* TEXT */
.worker-info {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* COUNTER */
.counter-box span {
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

/* PRICE GRID */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.price-item {
    background: #f9fafb;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    transition:
        0,
        3s ease;
}

.price-item strong {
    display: block;
    margin-top: 4px;
    color: var(--primary);
}

.price-item:hover {
    border-color: var(--accent);
}

.price-item.active {
    border-color: var(--accent);
    background-color: var(--accent);
}

/* MODAL OVERLAY */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65); /* navy gelap transparan */
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

/* BOX */
.modal-box {
    width: 90%;
    max-width: 720px;
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.3s ease;
    border: 1px solid #e5e7eb;
}

/* HEADER */
.modal-box h2 {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
}

/* CONTENT */
.modal-content {
    max-height: 420px;
    overflow-y: auto;
    padding: 24px;
    font-size: 13px;
    line-height: 1.7;
    color: #4b5563;
}

/* SCROLL biar aesthetic */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

/* BUTTON WRAPPER */
.modal-actions {
    display: flex;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid #e5e7eb;
}

/* BUTTON BASE */
.btn-yes,
.btn-no {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* SETUJU */
.btn-yes {
    background: var(--accent);
    color: black;
    border: none;
}

.btn-yes:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* TIDAK SETUJU */
.btn-no {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #374151;
}

.btn-no:hover {
    background: #e5e7eb;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* BOX KHUSUS DI DALAM MODAL */
.highlight-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.highlight-box strong {
    color: var(--primary);
}

/* QUESTION */
.question {
    font-weight: 600;
    margin-top: 10px;
    color: var(--primary);
}

/* LIST */
.modal-content ul {
    margin: 10px 0 15px 20px;
    font-size: 13px;
    color: #4b5563;
}

/* BUTTON PILIHAN */
/* WRAPPER */
.choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

/* BASE BUTTON */
.btn-choice {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;

    /* penting biar sama ukuran */
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1.5px solid #e5e7eb;
    background: #f9fafb;
}

/* HOVER */
.btn-choice:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ACTIVE (dipilih) */
.btn-choice.active {
    background: var(--accent);
    color: black;
    border-color: var(--accent-dark);
    font-weight: 600;
}

/* OUTLINE FIX (BIAR GA ANEH) */
.btn-choice.outline {
    background: #f9fafb; /* samain dulu */
    border: 1.5px solid #e5e7eb;
}

/* OPTIONAL: beda warna pas aktif */
.btn-choice.outline.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary-dark);
}

/* NOTE */
.note {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 15px;
}

/* OVERLAY */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* BOX */
.auth-box {
    background: #2b2b2b;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: fadeIn 0.3s ease;
}

/* CLOSE */
.auth-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #aaa;
}
.auth-close:hover {
    color: white;
}

/* TITLE */
.auth-box h2 {
    margin-bottom: 20px;
}

/* INPUT */
.auth-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #1f1f1f;
    color: white;
}

.auth-form input::placeholder {
    color: #888;
}

/* BUTTON */
.auth-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #c9a86a;
    color: black;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.auth-btn:hover {
    background: #b89655;
}

/* SWITCH */
.auth-switch {
    margin-top: 15px;
    font-size: 13px;
    color: #ccc;
}

.auth-switch span {
    color: #c9a86a;
    cursor: pointer;
}

/* FORM SWITCH */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}
.password-group {
    position: relative;
}

.password-group input {
    width: 100%;
    padding-right: 40px; /* kasih space buat icon */
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
    font-size: 14px;
}

.toggle-password:hover {
    color: #c9a86a;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* OPTIONAL HOVER EFFECT */
.service-card:hover {
    transform: translateY(-5px) scale(1.02);
}

/* ================================= */
/* PRODUK BEST SELLER - MOBILE FIRST */
/* ================================= */

/* CONTAINER - MOBILE STACK */
.products-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
    width: 100%;
}

/* CARD UTAMA */
.product-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    max-width: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
    transform: translateY(-4px);
}

/* UPLOAD GAMBAR */
.product-image-section {
    margin-bottom: 20px;
    text-align: center;
}

.file-input {
    display: none;
}

.file-upload-label {
    display: block;
    padding: 32px 20px;
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    background: linear-gradient(145deg, #fafafa, var(--bg-white));
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 8px;
}

.file-upload-label:hover,
.file-upload-label.has-image {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.file-upload-label.dragover {
    border-color: var(--accent) !important;
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.02);
}

/* ICON UPLOAD */
.upload-icon {
    font-size: 36px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 12px;
    transition: var(--transition);
}

.file-upload-label:hover .upload-icon {
    color: var(--accent);
    transform: scale(1.1);
}

/* TEXT UPLOAD */
.upload-title {
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 4px 0;
    font-size: 16px;
}

.upload-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* PREVIEW */
.preview-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: none;
}

/* FORM INPUTS */
.product-details {
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

/* INPUT STYLES */
.product-name,
.product-price {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition);
    background: var(--bg-white);
    font-family: "Poppins", sans-serif;
}

.product-name:focus,
.product-price:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
}

/* HARGA SPECIAL */
.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    z-index: 1;
    pointer-events: none;
}

.product-price {
    padding-left: 52px !important;
    background: linear-gradient(
        90deg,
        rgba(212, 175, 55, 0.1) 0%,
        var(--bg-white) 50%
    );
}

/* REMOVE BUTTON */
.remove-product {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
    display: none; /* card pertama disembunyikan */
}

.remove-product:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
}

/* TAMBAH PRODUK BUTTON */
.add-product-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 18px 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--text-dark);
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.add-product-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* ================================= */
/* DESKTOP RESPONSIVE */
/* ================================= */
@media (min-width: 768px) {
    .products-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }

    .product-card {
        flex: 1 1 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }

    .add-product-btn {
        width: auto;
        max-width: none;
    }
}

@media (min-width: 1024px) {
    .product-card {
        flex: 1 1 calc(33.33% - 16px);
        max-width: calc(33.33% - 16px);
    }
}

/* ================================= */
/* PERFECT MOBILE TOUCH */
/* ================================= */
@media (max-width: 480px) {
    .product-card {
        padding: 20px;
        margin: 0 4px;
    }

    .file-upload-label {
        padding: 28px 16px;
    }

    .upload-icon {
        font-size: 32px;
    }

    .add-product-btn {
        padding: 16px 24px;
        font-size: 15px;
    }
}

/* ================================= */
/* DARK MODE SUPPORT (OPTIONAL) */
/* ================================= */
@media (prefers-color-scheme: dark) {
    .product-card {
        background: #1f2937;
        border-color: #374151;
    }

    .file-upload-label {
        background: #374151;
    }
}

/* ===== SLIDER CONTAINER - FULL WIDTH FIX ===== */
.products-slider-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 32px;
    overflow: visible; /* BIAR GA CLIP! */
}

.products-slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 60px; /* arrows space */
    overflow: visible; /* CRUCIAL FIX */
}

/* ===== SLIDER TRACK - NO LIMIT ===== */
.products-slider {
    display: flex;
    gap: 24px; /* FIXED GAP */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: max-content; /* BIAR PANJANG SESUKA HATI */
    padding: 20px 0; /* extra space */
}

/* ===== CARD - EXACT SIZE ===== */
.product-card {
    flex: 0 0 340px; /* FIXED WIDTH - NO % */
    max-width: 100%;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    scroll-snap-align: start;
}

/* ===== ARROWS & DOTS (sama) ===== */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.slider-prev {
    left: 10px;
}
.slider-next {
    right: 10px;
}

.slider-nav:hover {
    background: var(--bg-white);
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent);
    scale: 1.3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .product-card {
        flex: 0 0 300px; /* mobile smaller */
    }

    .products-slider-container {
        padding: 0 50px;
    }
}

@media (min-width: 1024px) {
    .products-slider-container {
        max-width: 1000px;
        padding: 0 80px;
    }
}

/* CHECKBOX MULTIPLE - SESUAI FORM DESIGN */
.checkbox-container {
    max-height: 160px;
    overflow-y: auto;
    padding: 8px 0;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    transition: all 0.25s ease;
}

.checkbox-container:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
}

/* Scrollbar custom */
.checkbox-container::-webkit-scrollbar {
    width: 4px;
}

.checkbox-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.checkbox-container::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin-bottom: 2px;
}

.checkbox-item:hover {
    background: #f8fafc;
}

.checkbox-item input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox-item span {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-main);
    user-select: none;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-row .form-group {
        min-width: 100%;
    }

    .checkbox-container {
        max-height: 140px;
    }
}

/* SECTION */
.service-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #fff, #fafafa);
}

.service-container {
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.service-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-dark);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary);
}

.service-desc {
    margin-top: 10px;
    color: var(--text-muted);
}

/* GRID */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* HP = 2 kolom */
    gap: 16px;
}

/* CARD */
.service-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

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

/* TOP */
.service-top {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.service-icon {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TEXT */
.service-card h3 {
    font-size: 15px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 12px;
    color: var(--text-muted);
}

/* BUTTON */
.btn-service {
    margin-top: auto;
    background: var(--accent);
    color: black;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-service:hover {
    background: var(--accent-dark);
}

/* ACTION */
.service-action {
    text-align: center;
    margin-top: 40px;
}

/* Tablet */
@media (min-width: 640px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* SECTION */
.mitra-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #fff8e1, #ffffff);
}

.mitra-container {
    max-width: 1200px;
    margin: auto;
}

/* GRID */
.mitra-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 1024px) {
    .mitra-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* LEFT */
.mitra-left {
    text-align: center;
}

@media (min-width: 1024px) {
    .mitra-left {
        text-align: left;
    }
}

.mitra-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.mitra-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
}

.mitra-title span {
    color: var(--accent);
}

.mitra-desc {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 16px;
}

/* Highlight */
.mitra-highlight {
    margin: 20px 0;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--accent);
    background: rgba(212, 175, 55, 0.1);
    font-size: 14px;
}

/* Stats */
.mitra-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 25px 0;
}

.mitra-stats strong {
    display: block;
    font-size: 20px;
    color: var(--primary);
}

.mitra-stats span {
    font-size: 13px;
    color: var(--text-muted);
}

@media (min-width: 1024px) {
    .mitra-stats {
        justify-content: flex-start;
    }
}

.mitra-note {
    font-size: 12px;
    color: var(--text-muted);
}

/* RIGHT CARDS */
.mitra-cards {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .mitra-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CARD */
.mitra-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

/* ICON */
.mitra-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 15px;
    color: white;
}

.mitra-icon.dark {
    background: navy;
}

/* TEXT */
.mitra-card h3 {
    font-size: 16px;
    color: var(--text-dark);
}

.mitra-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.mitra-card ul {
    text-align: left;
    font-size: 13px;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* BUTTON */
.mitra-card a {
    text-decoration: none;
}

/* CARD BESAR */
.mitra-card-wide {
    grid-column: span 2;
}

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

.animate-marquee {
    animation: marquee 20s linear infinite;
}

.trusted-logo {
    height: 40px;
    opacity: 0.7;
    transition: 0.3s;
}

.trusted-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ======================== */
/*  CATEGORY CARD (ECO)     */
/* ======================== */
.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.category-card {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 22px 24px;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.category-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.category-card-eco {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.35), rgba(255, 255, 255, 0.08));
    border-color: rgba(129, 199, 132, 0.45);
}

.category-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.category-card p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 14px;
}

.category-cta {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #a5d6a7;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================== */
/*  ANALISA AI DEMO PAGE    */
/* ======================== */
.ai-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(46, 125, 50, 0.08), transparent 40%),
        linear-gradient(180deg, #f3f7f4 0%, #ffffff 45%, #f8fafc 100%);
    padding: 96px 20px 32px;
    display: flex;
}

.ai-shell {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5ece7;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 40, 25, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
    min-height: 560px;
    max-height: 860px;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid #edf2ee;
    background: linear-gradient(90deg, #1b5e20, #2e7d32);
    color: #fff;
    flex-shrink: 0;
}

.ai-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.ai-header-text {
    flex: 1;
    min-width: 0;
}

.ai-header h1 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.ai-header p {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 2px;
}

.ai-header-reset {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s ease;
}

.ai-header-reset:hover {
    background: rgba(255, 255, 255, 0.22);
}

.ai-chat {
    flex: 1;
    overflow-y: auto;
    padding: 28px 28px 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #f7faf8;
    min-height: 0;
}

.ai-msg {
    max-width: min(780px, 92%);
    animation: aiFadeUp 0.35s ease;
}

.ai-msg-full {
    max-width: 100%;
    width: 100%;
}

.ai-msg.bot {
    align-self: flex-start;
}

.ai-msg.user {
    align-self: flex-end;
}

.ai-msg-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ai-msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ai-msg-body {
    flex: 1;
    min-width: 0;
}

.ai-bubble {
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.ai-msg.bot .ai-bubble {
    background: #fff;
    border: 1px solid #e6eee8;
    color: #1f2937;
    border-bottom-left-radius: 6px;
}

.ai-msg.user .ai-bubble {
    background: #2e7d32;
    color: #fff;
    border-bottom-right-radius: 6px;
}

.ai-user-thumb {
    margin-top: 10px;
    max-width: 240px;
    width: 100%;
    border-radius: 12px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.ai-typing {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    padding: 4px 2px;
}

.ai-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9ca3af;
    animation: aiDot 1.2s infinite ease-in-out;
}

.ai-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing span:nth-child(3) { animation-delay: 0.3s; }

.ai-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.ai-choice-btn {
    border: 1px solid #c8e6c9;
    background: #f1f8f2;
    color: #1b5e20;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-choice-btn:hover {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
    transform: translateY(-1px);
}

.ai-composer {
    border-top: 1px solid #edf2ee;
    padding: 16px 20px 18px;
    background: #fff;
    flex-shrink: 0;
}

.ai-upload-panel {
    width: 100%;
}

.ai-composer-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ai-composer input[type="text"] {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px 16px;
    outline: none;
    font-size: 15px;
    background: #f9fafb;
}

.ai-composer input[type="text"]:focus {
    border-color: #81c784;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.ai-composer-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #9ca3af;
}

.ai-send-btn {
    background: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 13px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ai-send-btn:hover { background: #1b5e20; }
.ai-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ai-upload-zone {
    border: 2px dashed #a5d6a7;
    background: #f7fbf7;
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ai-upload-zone:hover,
.ai-upload-zone.dragover {
    border-color: #2e7d32;
    background: #eef7ef;
    transform: translateY(-1px);
}

.ai-upload-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    border-radius: 14px;
    background: #e8f5e9;
    color: #2e7d32;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ai-upload-zone strong {
    display: block;
    color: #1b5e20;
    margin: 4px 0;
    font-size: 15px;
}

.ai-upload-zone span {
    display: block;
    color: #6b7280;
    font-size: 13px;
}

.ai-upload-zone em {
    display: block;
    margin-top: 8px;
    color: #9ca3af;
    font-size: 12px;
    font-style: normal;
}

.ai-result-card {
    background: #fff;
    border: 1px solid #e6eee8;
    border-radius: 18px;
    padding: 20px;
}

.ai-result-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 14px;
}

.ai-result-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.ai-result-meta div {
    background: #f3faf4;
    border-radius: 12px;
    padding: 12px 14px;
}

.ai-result-meta strong {
    display: block;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.ai-result-meta span {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.ai-result-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 8px;
}

.ai-result-label {
    display: block;
    margin-bottom: 8px;
    color: #1b5e20;
    font-size: 14px;
}

.ai-result-list {
    margin: 0;
    padding-left: 18px;
    color: #374151;
    font-size: 14px;
}

.ai-result-list li { margin-bottom: 4px; }

.ai-products {
    margin-top: 18px;
}

.ai-products h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
}

.ai-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.ai-product-card {
    background: #fff;
    border: 1px solid #e8eee9;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.ai-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.ai-product-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.ai-product-body {
    padding: 12px;
}

.ai-product-body h5 {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.ai-product-price {
    color: #2e7d32;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}

.ai-eco-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #1b5e20;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.ai-product-actions {
    display: flex;
    gap: 8px;
}

.ai-product-actions a,
.ai-product-actions button {
    flex: 1;
    text-align: center;
    border-radius: 10px;
    padding: 9px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    text-decoration: none;
}

.ai-btn-detail {
    border: 1px solid #c8e6c9;
    color: #1b5e20;
    background: #fff;
}

.ai-btn-cart {
    border: none;
    background: #2e7d32;
    color: #fff;
}

.ai-btn-detail:hover { background: #f1f8f2; }
.ai-btn-cart:hover { background: #1b5e20; }

.ai-restart {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #c8e6c9;
    background: #f1f8f2;
    color: #1b5e20;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    border-radius: 12px;
    padding: 10px 14px;
}

.ai-restart:hover {
    background: #e8f5e9;
}

.btn-ai {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-ai i {
    font-size: 15px;
}

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

@keyframes aiDot {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

@media (min-width: 640px) {
    .ai-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-result-meta {
        grid-template-columns: repeat(4, 1fr);
    }

    .ai-result-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .ai-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .ai-page {
        padding: 88px 12px 16px;
    }

    .ai-shell {
        height: calc(100vh - 160px);
        min-height: 0;
        max-height: none;
        border-radius: 20px;
    }

    .ai-chat {
        padding: 18px 14px 12px;
    }

    .ai-composer {
        padding: 12px;
    }

    .ai-send-btn span {
        display: none;
    }

    .ai-result-meta {
        grid-template-columns: 1fr 1fr;
    }
}

/* ECO CATEGORY PAGE */
.eco-page {
    padding: 120px 5% 60px;
    background: linear-gradient(180deg, #f1f8f2 0%, #fff 30%);
    min-height: 70vh;
}

.eco-hero {
    max-width: 900px;
    margin: 0 auto 36px;
    text-align: center;
}

.eco-hero span {
    display: inline-block;
    background: #e8f5e9;
    color: #1b5e20;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.eco-hero h1 {
    font-size: 34px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.eco-hero p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}
