/* ==========================
   GLOBAL
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8fff9;
    color: #222;
    overflow-x: hidden;
}

section {
    padding: 80px 8%;
}

/* ==========================
   NAVBAR
========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links .active {
    color: #00b140;
}

/* ==========================
   BUTTONS
========================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
    border: 2px solid transparent;
    text-align: center;
}

.primary-btn {
    background: #00b140;
    color: #fff;
}

.primary-btn:hover {
    background: #009636;
    transform: translateY(-3px);
}

.white-btn {
    border: 2px solid #fff;
    color: #fff;
}

.white-btn:hover {
    background: #fff;
    color: #00b140;
}

/* ==========================
   HERO
========================== */
.products-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: calc(80px + 40px) 8% 60px;
    background:
        linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)),
        url("https://images.unsplash.com/photo-1509391366360-2e959784a276?q=80&w=1600");
    background-size: cover;
    background-position: center;
}

.products-hero-content {
    max-width: 850px;
}

.products-hero h1 {
    font-size: clamp(28px, 5vw, 60px);
    margin-bottom: 20px;
    line-height: 1.2;
}

.products-hero p {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
}

/* ==========================
   HERO STATS
========================== */
.hero-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.hero-stat {
    background: #fff;
    padding: 25px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.hero-stat h3 {
    color: #00b140;
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 8px;
}

.hero-stat p {
    font-size: 14px;
    color: #666;
}

/* ==========================
   SECTION TITLE
========================== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: #00b140;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2 {
    font-size: clamp(26px, 4vw, 42px);
    margin-top: 10px;
}

.section-title p {
    margin-top: 15px;
    color: #666;
    font-size: clamp(14px, 1.5vw, 16px);
}

/* ==========================
   FILTER BUTTONS
========================== */
.filter-section {
    padding: 20px 8% 60px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: #eaf8ee;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.active-filter,
.filter-btn:hover {
    background: #00b140;
    color: #fff;
}

/* ==========================
   PRODUCTS GRID
========================== */
.main-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.main-product-card,
.detailed-product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
    transition: .4s;
    padding: 20px;
}

.main-product-card:hover,
.detailed-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

.product-image {
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 15px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge,
.top-badge {
    display: inline-block;
    background: #00b140;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    margin-bottom: 12px;
    font-weight: 600;
}

.featured-product {
    border: 2px solid #00b140;
}

.featured-tag {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-desc {
    color: #666;
    line-height: 1.7;
    margin: 12px 0;
    font-size: 14px;
}

.product-features {
    padding-left: 18px;
    margin: 15px 0;
}

.product-features li {
    margin-bottom: 8px;
    font-size: 14px;
}

.product-price {
    font-size: 22px;
    color: #00b140;
    font-weight: 700;
    margin: 15px 0;
}

/* ==========================
   DETAILED CARD
========================== */
.detailed-product-card h2 {
    font-size: 22px;
    margin-bottom: 5px;
}

.brand-name {
    color: #888;
    font-size: 13px;
    margin-bottom: 12px;
}

.capacity-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.capacity-pills span {
    background: #eefcf2;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 13px;
}

.price-box {
    background: #f5fff7;
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
}

.price-box h3 {
    color: #00b140;
    font-size: 20px;
}

.price-box p {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.warranty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 15px 0;
}

.warranty-item {
    background: #eefcf2;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 13px;
}

.product-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.tab-btn {
    border: none;
    background: #eefcf2;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #00b140;
    color: white;
}

.specs-box {
    margin: 15px 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-table td {
    border-bottom: 1px solid #eee;
    padding: 10px;
}

.spec-table td:first-child {
    font-weight: 600;
    color: #444;
    width: 40%;
}

.detailed-desc {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
    margin: 12px 0;
}

/* ==========================
   COMPARISON TABLE
========================== */
.comparison-section {
    padding: 60px 8%;
}

.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.comparison-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

.comparison-table th {
    background: #00b140;
    color: #fff;
    padding: 14px 10px;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.comparison-table td {
    padding: 12px 10px;
    border: 1px solid #eee;
    text-align: center;
    font-size: 13px;
}

.comparison-table td:first-child {
    font-weight: 600;
    text-align: left;
    background: #f9f9f9;
}

/* ==========================
   ADDONS
========================== */
.addons-section {
    padding: 60px 8%;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.addon-card {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 20px;
    transition: .3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    height: 100%;
}

.addon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .1);
}

.addon-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.addon-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.addon-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ==========================
   CTA
========================== */
.products-cta {
    background: linear-gradient(135deg, #00b140, #008f35);
    color: white;
    text-align: center;
    padding: 80px 8%;
}

.products-cta-content {
    max-width: 800px;
    margin: auto;
}

.products-cta h2 {
    font-size: clamp(24px, 4vw, 50px);
    margin-bottom: 20px;
}

.products-cta p {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    opacity: 0.95;
}

.products-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ==========================
   FOOTER
========================== */
.footer {
    background: #052e16;
    color: white;
    padding: 60px 8% 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-box h2,
.footer-box h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-box p,
.footer-box a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.8;
}

.footer-box ul {
    list-style: none;
}

.footer-box ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 14px;
    color: #aaa;
}

/* ==========================
   WHATSAPP
========================== */
.whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 26px;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* ==========================
   ANIMATION
========================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.active-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================
   TABLET ≤ 992px
========================== */
@media (max-width: 992px) {
    section {
        padding: 60px 5%;
    }

    .navbar {
        padding: 0 4%;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .hero-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .products-hero {
        min-height: 60vh;
        padding: calc(80px + 30px) 5% 50px;
    }

    .main-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }

    .addons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================
   MOBILE ≤ 768px
========================== */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
        padding: 0 4%;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .products-hero {
        min-height: 50vh;
        padding: calc(70px + 20px) 4% 40px;
    }

    .products-hero h1 {
        font-size: 28px;
    }

    .products-hero p {
        font-size: 15px;
    }

    .hero-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero-stat {
        padding: 18px 12px;
    }

    .hero-stat h3 {
        font-size: 22px;
    }

    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .main-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        height: 180px;
    }

    .comparison-table {
        min-width: 600px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .addons-grid {
        grid-template-columns: 1fr;
    }

    .products-cta h2 {
        font-size: 26px;
    }

    .products-cta p {
        font-size: 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

/* ==========================
   SMALL MOBILE ≤ 480px
========================== */
@media (max-width: 480px) {
    .navbar {
        height: 65px;
    }

    .logo img {
        height: 35px;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-links a {
        font-size: 10px;
    }

    .products-hero {
        padding: calc(65px + 15px) 4% 30px;
        min-height: 45vh;
    }

    .products-hero h1 {
        font-size: 24px;
    }

    .products-hero p {
        font-size: 14px;
    }

    .hero-stats-bar {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-stat {
        padding: 15px;
    }

    .hero-stat h3 {
        font-size: 20px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }

    .product-image {
        height: 160px;
    }

    .main-product-card,
    .detailed-product-card {
        padding: 15px;
    }

    .product-price {
        font-size: 20px;
    }

    .warranty-grid {
        grid-template-columns: 1fr;
    }

    .product-tabs {
        justify-content: center;
    }

    .tab-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .comparison-table {
        min-width: 500px;
    }

    .products-cta h2 {
        font-size: 22px;
    }

    .products-cta p {
        font-size: 14px;
    }

    .products-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .products-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
        right: 15px;
        bottom: 15px;
    }
}

/* ==========================
   EXTRA SMALL ≤ 360px
========================== */
@media (max-width: 360px) {
    .nav-links {
        gap: 6px;
    }

    .nav-links a {
        font-size: 9px;
    }

    .products-hero h1 {
        font-size: 22px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .comparison-table {
        min-width: 450px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 6px;
        font-size: 11px;
    }
}