/* ============================================================
   HOME.CSS — SeeBOSTER Homepage
   Sections: hero, stats, problem, solution, howitworks,
             products, gallery, testimonials, trust, cta, whatsapp
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    background: #fff;
    color: #222;
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-label {
    display: inline-block;
    background: rgba(56, 129, 47, 0.08);
    border: 1px solid rgba(56, 129, 47, 0.25);
    color: #38812f;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
    color: #1a1a1a;
}

.hero h1 span {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 36px;
    line-height: 1.5;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f8f5;
    border: 1px solid #d0e8d0;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
}

.hero-badge-icon {
    font-size: 1rem;
}

.hero-badge-value {
    color: #38812f;
    font-weight: 800;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-image {
    width: 100%;
    max-width: 680px;
    aspect-ratio: 698/569;
    margin: 0 auto;
    position: relative;
}

.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ── Stats USP Bar (green) ──────────────────────────────────── */
.stats-section {
    background: #38812f;
    padding: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: #fff;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-text {
    text-align: left;
}

.stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

/* ── Numbers Stats ──────────────────────────────────────────── */
.numbers-section {
    background: #fff;
    padding: 64px 0;
    border-bottom: 1px solid #f0f0f0;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.number-item {
    text-align: center;
    padding: 0 32px;
    border-right: 1px solid #e8e8e8;
}

.number-item:last-child { border-right: none; }

.number-value {
    font-size: 3rem;
    font-weight: 800;
    color: #38812f;
    line-height: 1;
    margin-bottom: 6px;
}

.number-label {
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 8px;
}

.number-desc {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
    max-width: 220px;
    margin: 0 auto;
}

/* ── Problem ───────────────────────────────────────────────── */
.problems {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.problem-card {
    text-align: center;
    padding: 36px 28px;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.problem-card:hover { transform: translateY(-4px); }

.problem-icon { font-size: 3rem; margin-bottom: 16px; color: #38812f; }
.problem-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; color: #111; }
.problem-card p { color: #666; line-height: 1.6; font-size: 0.95rem; }

/* ── Solution ──────────────────────────────────────────────── */
.solutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.solution-card { text-align: center; }
.solution-icon { font-size: 3rem; margin-bottom: 20px; color: #38812f; }
.solution-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 16px; color: #1a1a1a; }
.solution-card p { color: #555; line-height: 1.6; }

/* ── Technology Section ────────────────────────────────────── */
.tech-section { background: #fff; }

.tech-wrapper {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.tech-header { margin-bottom: 36px; }

.tech-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.tech-highlight { color: #38812f; }

.tech-lead {
    font-size: 1.1rem;
    color: #444;
    font-weight: 500;
}

.tech-body {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-body p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.tech-em {
    color: #38812f;
    font-weight: 800;
}

.tech-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px 0;
}

.tech-divider::before,
.tech-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d4ebd0;
}

.tech-divider span {
    font-size: 1rem;
    font-weight: 700;
    color: #38812f;
    text-align: center;
    white-space: nowrap;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.tech-pill {
    background: #f0faf0;
    border: 1px solid #c3e6c0;
    color: #2a5f24;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
}

@media (max-width: 768px) {
    .tech-title { font-size: 1.55rem; }
    .tech-divider span { font-size: 0.92rem; white-space: normal; }
    .tech-pills { gap: 8px; }
}

/* ── How It Works ──────────────────────────────────────────── */
.howitworks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.howitworks-card { text-align: left; }
.howitworks-icon { font-size: 3rem; margin-bottom: 16px; line-height: 1; display: flex; justify-content: center; }
.howitworks-icon-img { width: 72px; height: 72px; object-fit: contain; display: block; }
.howitworks-card-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; color: #38812f; }
.howitworks-card-sub { font-size: 0.88rem; font-weight: 400; color: #666; display: block; margin-top: 4px; }
.howitworks-desc { color: #555; font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }

.howitworks-list { list-style: none; padding: 0; margin: 0 0 24px; }
.howitworks-list li { padding: 6px 0 6px 24px; position: relative; color: #444; font-size: 1rem; line-height: 1.6; }
.howitworks-list li::before { content: '\2192'; position: absolute; left: 0; color: #38812f; font-weight: 700; }

.howitworks-flow { background: #fafafa; border: 1px solid #e8f5e9; border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; }
.flow-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.flow-step { background: #fff; border: 1px solid #c8e6c9; border-radius: 6px; padding: 4px 10px; font-size: 0.82rem; color: #333; line-height: 1.4; }
.flow-arrow { color: #38812f; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.flow-closing { font-size: 0.83rem; font-style: italic; color: #555; margin: 0; text-align: center; border-top: 1px solid #e8f5e9; padding-top: 10px; }

.howitworks-impact { background: #f0faf0; border-left: 4px solid #38812f; border-radius: 0 8px 8px 0; padding: 16px 20px; margin-top: 8px; }
.impact-label { font-size: 0.85rem; font-weight: 700; color: #38812f; text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 10px; }
.impact-highlight { color: #2a5f24; font-size: 0.95rem; font-weight: 600; line-height: 1.5; margin: 0; }

/* ── Products ──────────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.product-card {
    overflow: hidden;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(56,129,47,0.12);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    height: 220px;
    background: #f5f8f5;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img { transform: scale(1.05); }

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.badge-bensin { background: #e8f5e9; color: #2e7d32; }
.badge-diesel { background: #e3f2fd; color: #1565c0; }
.badge-max    { background: #fff3e0; color: #e65100; }

.product-info {
    padding: 20px 24px 24px;
    text-align: left;
}

.product-type-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #38812f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.product-description {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 14px;
}

.product-price {
    color: #38812f;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.product-detail-btn {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #38812f;
    transition: gap 0.2s ease;
}

.product-card:hover .product-detail-btn {
    text-decoration: underline;
}

/* ── Gallery ───────────────────────────────────────────────── */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.gallery-filter-btn {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #555;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: #38812f;
    border-color: #38812f;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #f0f0f0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #555;
    font-size: 1rem;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.gallery-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 8px;
    transition: opacity 0.2s ease;
}

.gallery-lightbox-close:hover { opacity: 0.7; }

.gallery-lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ddd;
    font-size: 0.9rem;
    text-align: center;
    max-width: 500px;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.gallery-lightbox-prev { left: 16px; }
.gallery-lightbox-next { right: 16px; }

/* ── Testimonials (Trustindex) ─────────────────────────────── */
.trustindex-wrapper {
    max-width: 100%;
    overflow: hidden;
}

/* ── CTA ───────────────────────────────────────────────────── */
.cta-section {
    background: #38812f;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.cta-wrapper {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 72px 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-width: 880px;
    margin: 0 auto;
}

.cta-title { font-size: 2.6rem; font-weight: 700; margin-bottom: 20px; color: #fff; }
.cta-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.85); margin-bottom: 36px; }
.cta-wrapper .whatsapp-btn, .cta-wrapper .btn-product { margin: 8px; }

/* ── WhatsApp Chat ─────────────────────────────────────────── */
.whatsapp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.whatsapp-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 3px solid #25D366;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.whatsapp-header {
    background: #075E54;
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.whatsapp-icon { font-size: 1.2rem; }

.whatsapp-chat {
    background: #E5DDD5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.whatsapp-chat img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .howitworks-grid { gap: 28px; }
    .stats-grid { max-width: 700px; }
    .stat-number { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    .hero { padding: 110px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .hero-tagline { font-size: 1.1rem; }
    .hero-badges { gap: 8px; }
    .hero-badge { font-size: 0.8rem; padding: 6px 14px; }
    .hero-cta-group { flex-direction: column; align-items: center; }

    .stats-grid { grid-template-columns: 1fr; gap: 24px; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 14px 20px; }
    .stat-item:last-child { border-bottom: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .numbers-grid { grid-template-columns: 1fr; gap: 24px; }
    .number-item { border-right: none; border-bottom: 1px solid #f0f0f0; padding-bottom: 24px; }
    .number-item:last-child { border-bottom: none; }

    .problems, .solutions { grid-template-columns: 1fr; gap: 20px; }
    .howitworks-grid { grid-template-columns: 1fr; gap: 24px; }
    .products-grid { grid-template-columns: 1fr; gap: 24px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .cta-wrapper { padding: 48px 28px; }
    .cta-title { font-size: 2rem; }
    .cta-subtitle { font-size: 1.1rem; }
    .cta-wrapper .whatsapp-btn, .cta-wrapper .btn-product { display: block; width: 100%; margin: 0 0 12px; text-align: center; }

    .whatsapp-grid { grid-template-columns: 1fr; gap: 20px; }
    .whatsapp-chat { min-height: 300px; }

    .gallery-lightbox-prev { left: 8px; }
    .gallery-lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
    .hero { padding: 90px 0 40px; }
    .hero h1 { font-size: 1.7rem; }
    .hero-tagline { font-size: 1rem; }
    .hero-badge { font-size: 0.75rem; padding: 5px 10px; }

    .stat-number { font-size: 2rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    .cta-wrapper { padding: 36px 20px; }
    .cta-title { font-size: 1.7rem; }

    .product-image { height: 220px; }
}

/* Testimonials slider styles moved to app.css */
