/* --- Global Styles & Variables --- */
:root {
    --primary-color: #07d4f3; /* Electric Cyan */
    --glow-color: rgba(7, 212, 243, 0.4);
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --text-color: #e0e0e0;
    --text-muted-color: #a0a0a0;
    --border-color: #282828;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-color) radial-gradient(circle at 50% 0%, rgba(7, 212, 243, 0.08) 0%, rgba(18, 18, 18, 0) 50%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 { color: #fff; font-weight: 600; }

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #121212;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px var(--glow-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--glow-color);
}

section { padding: 80px 5%; }

/* --- Header & Navigation --- */
header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}
nav { display: flex; justify-content: space-between; align-items: center; }
.logo img {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}
.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 30px; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary-color); }

/* --- Hero Section & Slider --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(1.2);
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slider img.active-slide {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: 1px solid var(--border-color);
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: #121212;
}

.prev { left: 20px; }
.next { right: 20px; }

.hero-text {
    position: relative;
    z-index: 5;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted-color);
}

/* --- Features Section --- */
.features-section { text-align: center; background-color: rgba(0,0,0,0.2); }
.features-section h2 { font-size: 2.5rem; margin-bottom: 60px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; }
.feature-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; text-shadow: 0 0 15px var(--glow-color); }
.feature-item h3 { font-size: 1.5rem; margin-bottom: 10px; }
.feature-item p { color: var(--text-muted-color); }

/* --- Products Overview Section --- */
.products-overview { text-align: center; }
.products-overview h2 { font-size: 2.5rem; margin-bottom: 50px; }
.product-cards-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.product-card { width: 400px; height: 450px; position: relative; overflow: hidden; border-radius: 10px; border: 1px solid var(--border-color); transition: transform 0.4s ease; }
.product-card:hover { transform: scale(1.05); }
.card-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; filter: brightness(0.4); transition: filter 0.4s ease, transform 0.4s ease; }
.product-card:hover .card-bg { filter: brightness(0.2); transform: scale(1.1); }
.card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; color: #fff; z-index: 2; background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); }
.card-content h3 { font-size: 2rem; margin-bottom: 10px; }
.card-content p { margin-bottom: 20px; color: var(--text-muted-color); }

/* --- VST & POS Page Styles --- */
.page-header { padding: 140px 5% 100px; text-align: center; background-size: cover; background-position: center; margin-top: 70px; }
.page-header h1 { font-size: 3rem; }
.product-grid-section { padding: 60px 5%; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.product-item { background-color: var(--surface-color); border-radius: 8px; text-align: center; border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; }
.product-item:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(7, 212, 243, 0.1); }
.product-image-container { position: relative; }
.product-item img { display: block; width: 100%; height: 250px; object-fit: cover; }
.product-category { position: absolute; top: 10px; right: 10px; background-color: var(--primary-color); color: #121212; padding: 3px 10px; border-radius: 15px; font-size: 0.8rem; font-weight: 600; }
.product-item h3 { margin: 20px 20px 10px; font-size: 1.5rem; }
.product-item p { color: var(--text-muted-color); margin: 0 20px 20px; }
.product-item .btn { margin-bottom: 20px; }

/* --- Footer --- */
footer { background-color: #0a0a0a; color: var(--text-muted-color); padding-top: 50px; border-top: 1px solid var(--border-color); }
.footer-content { text-align: center; padding-bottom: 30px; }
.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover img {
    opacity: 1;
}
.socials { list-style: none; display: flex; align-items: center; justify-content: center; margin-top: 20px; }
.socials li { margin: 0 10px; }
.socials a { text-decoration: none; color: #fff; font-size: 1.5rem; transition: color .4s ease; }
.socials a:hover { color: var(--primary-color); }
.footer-bottom { background: #000; padding: 20px; text-align: center; }

.product-price {
    position: relative;
    height: 35px;
    margin: 15px 0;
    overflow: hidden;
}

.price-container {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    padding: 0 20px;
}
.price-container.show {
    opacity: 1;
    transform: translateY(0);
}

.price-values {
    display: flex;
    align-items: baseline;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted-color);
    font-size: 1.1rem;
    margin-right: 10px;
}

.discounted-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.discount-tag {
    background-color: #ff4757;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* --- UPDATED: Checkout Form Section Styles --- */
.form-section {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.form-column h2, .summary-column h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-column p {
    margin-bottom: 30px;
    color: var(--text-muted-color);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group select { width: 100%; padding: 12px; background-color: var(--background-color); border: 1px solid var(--border-color); border-radius: 5px; color: var(--text-color); font-size: 1rem; transition: border-color 0.3s ease; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary-color); }
.phone-input { display: flex; }
.phone-input span { padding: 12px; background-color: var(--background-color); border: 1px solid var(--border-color); border-right: none; border-radius: 5px 0 0 5px; }
.phone-input input { border-radius: 0 5px 5px 0; }
.form-group-checkbox { display: flex; align-items: flex-start; margin-bottom: 25px; }
.form-group-checkbox input { margin-top: 5px; margin-right: 10px; }
.form-group-checkbox label { font-size: 0.9rem; color: var(--text-muted-color); }
#form-message { margin-top: 20px; text-align: center; font-weight: 500; height: 20px; }

.summary-card {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.summary-item:last-of-type {
    border-bottom: none;
}

.summary-item.product-title {
    align-items: flex-start;
}
.summary-item.product-title img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}
.summary-item.product-title h3 {
    margin-bottom: 5px;
    color: #fff;
}
.summary-item.product-title p {
    color: var(--text-muted-color);
    font-size: 0.9rem;
}

.summary-item.discount-item span:last-child {
    color: #ff4757;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 600;
}

.total-price {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.form-btn {
    width: 100%;
    font-size: 1.1rem;
}

.form-btn:disabled {
    background-color: #555;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}



@media screen and (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        background-color: var(--surface-color);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        
        transform: translateY(-120%);
        transition: transform 0.4s ease-in-out;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 15px 0;
        margin-left: 0;
    }

    .hamburger-menu {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 5%;
    }

    /* --- Hero Section for Mobile --- */
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    /* --- Features & Product Cards for Mobile --- */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .product-cards-container {
        flex-direction: column;
        align-items: center;
    }

    .product-card {
        width: 100%;
        max-width: 400px;
    }
    
    /* --- VST/POS Pages for Mobile --- */
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 120px 5% 80px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    /* --- Price Display Adjustments --- */
    .price-container {
        padding: 0 10px;
    }

    .discounted-price {
        font-size: 1.3rem;
    }
    
    .original-price {
        font-size: 1rem;
    }

        /* Checkout Page for Mobile */
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .summary-column {
        margin-top: 40px;
    }
}

/* --- HIDE HAMBURGER ON DESKTOP --- */
.hamburger-menu {
    display: none;
}