﻿/* LAVA GEL - PREMIUM LANDING PAGE STYLES */

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #cf2628;
    --accent-orange: #f1a733;
    --bg-dark: #212529;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-header: rgba(33, 37, 41, 0.9);
    --bg-lighter: #1a1d20;
    --text-white: #ffffff;
    --text-black: #1a1a11;
    --text-muted: #a0a0a0;
    --max-width: 1200px;
    --font-ibm-plex-sans: 'IBM Plex Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ibm-plex-sans);
    color: var(--text-black);
    /* background-color: var(--bg-dark); */
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.text-red {
    color: var(--primary-red);
}

.accent-orange {
    color: var(--accent-orange);
}

.text-center {
    text-align: center;
}

/* --- COMMON COMPONENTS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-white);
}

    .btn-primary:hover {
        background-color: #b01f21;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(207, 38, 40, 0.3);
    }

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

    .btn-outline:hover {
        background-color: rgba(255, 255, 255, 0.05);
        border-color: var(--text-white);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
    }

.btn-primary-outline {
    border: 2px solid;
    color: var(--primary-red);
}

    .btn-primary-outline:hover {
        background-color: #b01f21;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(207, 38, 40, 0.3);
        color: var(--text-white);
        border-color: transparent;
    }

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    display: block;
    text-align: center;
}

.btn-light {
    background-color: var(--text-white);
    color: var(--primary-red);
}

    .btn-light:hover {
        background-color: #f0f0f0;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
    }

.btn-outline-white {
    border: 2px solid var(--text-white);
    color: var(--text-white);
}

    .btn-outline-white:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
    }

.card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .navbar-container .logo {
        line-height: 1;
    }

        .navbar-container .logo svg {
            max-height: 26px;
            width: auto;
        }

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

    .nav-links a {
        color: var(--text-white);
        text-decoration: none;
        font-weight: 400;
        font-size: 0.875rem;
        text-transform: uppercase;
        transition: color 0.3s ease;
    }

        .nav-links a:hover {
            color: var(--primary-red);
        }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-white);
        transition: 0.3s;
    }

.nav-links .action-buttons {
    display: none;
}

.action-buttons {
    display: flex;
    gap: 16px;
}

/* --- HERO SECTION --- */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: radial-gradient(circle at top right, rgba(207, 38, 40, 0.1), transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.hero-content .subtext {
    font-size: 1.25rem;
    color: var(--text-black);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image img {
    width: 100%;
}

/* --- PROBLEM SECTION --- */
.problem {
    background-color: #f3f3f6;
    padding: 96px 0;
}

.section-header {
    margin-bottom: 48px;
    text-align: center;
}

    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 900;
        line-height: 1.2;
        margin-bottom: 16px;
    }

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--accent-orange);
    margin: 0 auto;
}

.problem-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .problem-card .icon {
        font-size: 2.5rem;
    }

    .problem-card h3 {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .problem-card p {
        color: var(--text-muted);
    }

/* --- EASY TO USE SECTION --- */
.easy-use {
    padding: 96px 0;
    background-image: linear-gradient(0deg, #f3f3f6, transparent);
}

.easy-use__header {
    margin-bottom: 60px;
}

    .easy-use__header h2 {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .easy-use__header p {
        font-size: 1.25rem;
        color: var(--text-muted);
        font-weight: 700;
    }

.easy-use__image {
    margin-bottom: 50px;
    background-color: #fff;
    padding: 15px;
    border-radius: 12px;
}

    .easy-use__image img {
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

.easy-use__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.step-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .step-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(241, 167, 51, 0.1);
        border-color: var(--accent-orange);
    }

.step-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 15px;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.easy-use__highlight {
    background: linear-gradient(to right, var(--primary-red), var(--accent-orange));
    padding: 24px;
    border-radius: 10px;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 10px 30px rgba(207, 38, 40, 0.3);
}

@media (max-width: 992px) {
    .easy-use__steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .easy-use__steps {
        grid-template-columns: 1fr;
    }

    .easy-use__highlight {
        font-size: 1rem;
    }
}

/* --- PRODUCTS SECTION --- */
.products {
    padding: 96px 0;
}

.product-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.10);
        border-color: rgba(0, 0, 0, 0.15);
    }

.product-image {
    position: relative;
    line-height: 0;
}

    .product-image .cm-play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 72px;
        height: auto;
        z-index: 1;
        color: #fff;
        border: 2px solid;
        border-radius: 50%;
        padding: 8px;
        cursor: pointer;
    }

    .product-image img {
        width: 100%;
        max-height: 300px;
        object-fit: cover;
    }

    .product-image:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
    }

.product-info {
    padding: 32px;
}

    .product-info h3 {
        font-size: 2rem;
        font-weight: 900;
        margin-bottom: 25px;
    }

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-amber {
    background-color: var(--accent-orange);
    color: #000;
    z-index: 2;
}

.badge-red {
    background-color: var(--primary-red);
    color: #fff;
    z-index: 2;
}

.features {
    list-style: none;
    margin-bottom: 32px;
}

    .features li {
        padding-left: 24px;
        position: relative;
        margin-bottom: 12px;
        color: var(--text-muted);
    }

        .features li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--primary-red);
            font-weight: 900;
        }

/* --- COMPARISON SECTION --- */
.comparison {
    padding: 96px 0;
    background-color: #f3f3f6;
}

.comparison__header {
    margin-bottom: 48px;
}

    .comparison__header h2 {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }

    .comparison__header .subtitle {
        color: var(--text-black);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 0.85rem;
    }

.comparison__table {
    border-radius: 16px;
    overflow: hidden;
}

.table-root {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .table-root th,
    .table-root td {
        padding: 20px;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        background-color: var(--bg-card);
    }

    .table-root th {
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 1px;
        background-color: rgba(0, 0, 0, 0.02);
    }

    .table-root td:first-child {
        font-weight: 600;
        color: var(--text-black);
        width: 30%;
    }

.micro-col {
    color: var(--accent-orange);
}

.delivery-col {
    color: var(--primary-red);
}

.table-root tr:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.01);
}

.highlight-red {
    color: var(--primary-red);
    font-weight: 700;
}

/* Responsive Table -> Stacked Cards */
@media (max-width: 767px) {
    .table-root {
        border: none;
    }

        .table-root thead {
            display: none;
            /* Hide standard header */
        }

        .table-root,
        .table-root tbody,
        .table-root tr,
        .table-root td {
            display: block;
            width: 100%;
        }

            .table-root tr {
                margin-bottom: 24px;
                border-bottom: none;
                padding-bottom: 0;
                border-radius: 16px;
                overflow: hidden;
            }

                .table-root tr:last-child {
                    margin-bottom: 0;
                }

            .table-root td {
                text-align: right;
                padding-left: 50%;
                position: relative;
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            }

                .table-root td:first-child {
                    width: 100%;
                    text-align: center;
                    padding-left: 20px;
                    background-color: #1a1d20;
                    color: var(--accent-orange);
                    text-transform: uppercase;
                    font-size: 1.1rem;
                }

                .table-root td::before {
                    content: attr(data-label);
                    position: absolute;
                    left: 20px;
                    width: 45%;
                    text-align: left;
                    font-weight: 900;
                    text-transform: uppercase;
                    font-size: 0.75rem;
                    color: var(--text-muted);
                }

                .table-root td:first-child::before {
                    display: none;
                }
}

/* --- FINAL CTA --- */
.final-cta {
    padding: 96px 0;
    background: linear-gradient(135deg, #cf2628, #f1a733);
    color: var(--text-white);
}

    .final-cta h2 {
        font-size: 3.5rem;
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 25px;
    }

    .final-cta p {
        font-size: 1.2rem;
        margin-bottom: 45px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- FOOTER --- */
.footer {
    padding: 24px 0;
    background-color: #000;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

    .footer-links a {
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--text-white);
        }

p.copyright {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    text-transform: uppercase;
}

/* --- VIDEO MODAL --- */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    padding: 0 24px;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: max(50vw, 700px);
    padding: 8px;
    background-color: var(--bg-lighter);
    border-radius: 16px;
}

.video-modal #vimeoPlayer {
    width: 100%;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: -12px;
    right: -12px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    background-color: var(--bg-header);
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
}

/* --- Contact Modal --- */
/* ===== Contact / Sample Request Modal ===== */
.sample-request-btn {
    display: block;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    padding: 12px 20px;
    cursor: pointer;
    background-color: transparent;
    color: var(--text-black);
    border: 1px solid;
}

.contact-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .contact-modal-overlay.active {
        display: flex;
    }

.contact-modal {
    background: #fff;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    border-radius: 10px;
    padding: 16px 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
}

.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s ease;
}

    .contact-modal-close:hover {
        background: #f0f0f0;
    }

.contact-modal .contact-modal-body {
    min-height: 0;
    display: grid;
}

#contactForm {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    max-height: 100%;
}

.contact-form-fields {
    overflow-y: auto;
    min-height: 0;
}

.contact-modal .contact-modal-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.contact-modal h2 {
    margin: 0 0 4px 0;
    font-size: 24px;
}

.contact-modal .contact-modal-subtitle {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.contact-modal .sample-item-banner {
    display: none;
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    margin-bottom: 20px;
}

    .contact-modal .sample-item-banner.active {
        display: block;
    }

.contact-form-group {
    margin-bottom: 16px;
}

.contact-form-row {
    display: flex;
    gap: 16px;
}

    .contact-form-row .contact-form-group {
        flex: 1;
    }

.contact-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

    .contact-form-group label .required-star {
        color: #c0392b;
    }

.contact-form-group input[type="text"],
.contact-form-group input[type="email"],
.contact-form-group input[type="tel"],
.contact-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

    .contact-form-group input:focus,
    .contact-form-group textarea:focus {
        outline: none;
        border-color: #c0392b;
    }

.contact-form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.contact-radio-group {
    display: flex;
    gap: 24px;
    margin-top: 4px;
}

    .contact-radio-group label {
        display: flex;
        align-items: center;
        gap: 6px;
        font-weight: 400;
        font-size: 14px;
        cursor: pointer;
    }

    .contact-radio-group input[type="radio"] {
        width: 16px;
        height: 16px;
        cursor: pointer;
    }

.contact-form-error {
    color: #c0392b;
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

.contact-form-group.has-error input,
.contact-form-group.has-error textarea {
    border-color: #c0392b;
}

.contact-form-group.has-error .contact-form-error {
    display: block;
}

.contact-modal-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid #eee;
    padding-top: 16px;
    background: #fff;
}

    .contact-modal-actions .btn {
        cursor: pointer;
        border: none;
    }

@media (max-width: 480px) {
    .contact-form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ===== Toast Notifications ===== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    min-width: 280px;
    max-width: 360px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-left: 4px solid #ccc;
}

    .toast.show {
        opacity: 1;
        transform: translateX(0);
    }

    .toast.toast-success {
        border-left-color: #1e7e45;
    }

    .toast.toast-error {
        border-left-color: #c0392b;
    }

.toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.toast.toast-success .toast-icon {
    color: #1e7e45;
}

.toast.toast-error .toast-icon {
    color: #c0392b;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    color: #222;
    line-height: 1.4;
}

.toast-close {
    flex-shrink: 0;
    cursor: pointer;
    color: #999;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

    .toast-close:hover {
        color: #555;
    }

@media (max-width: 480px) {
    .toast-container {
        top: 12px;
        right: 12px;
        left: 12px;
    }

    .toast {
        max-width: 100%;
    }
}

/* --- RESPONSIVE --- */

@media (max-width: 992px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 64px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content .subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 24px;
        display: none;
    }

        .nav-links.active {
            display: flex;
        }

    .mobile-menu-toggle {
        display: flex;
    }

        .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .final-cta h2 {
        font-size: 2.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 32px;
    }
}

@media screen and (max-width: 767px) {
    .navbar-container .logo svg {
        max-height: 20px;
        width: auto;
    }

    .action-buttons {
        display: none;
    }

    .nav-links .action-buttons {
        display: flex;
        flex-direction: column;
    }

    .cta-actions {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

        .footer-links a {
            width: 100%;
            text-align: center;
        }
}