:root {
    --primary-blue: #0f4c81;
    --secondary-blue: #2c7da0;
    --accent-blue: #98c1d9;
    --dark-grey: #333333;
    --light-grey: #f8f9fa;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --success: #2e7d32;
    --font-main: 'Inter', sans-serif;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--dark-grey);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}
h1 { font-size: 3rem; line-height: 1.2; }
h2.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: #666; margin-bottom: 3rem; font-size: 1.1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}
.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}
.btn-secondary:hover {
    background-color: var(--light-grey);
    transform: translateY(-2px);
}
.w-100 { width: 100%; }

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}
.logo span {
    color: var(--secondary-blue);
}
.nav-links { display: flex; align-items: center; }
.nav-links a {
    color: var(--dark-grey);
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--primary-blue);
}
.cart-icon {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background: var(--light-grey);
    transition: background 0.3s;
}
.cart-icon:hover {
    background: var(--accent-blue);
    color: var(--white);
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections */
.section { padding: 5rem 0; }
.bg-light { background-color: var(--light-grey); }
.bg-blue { background-color: var(--primary-blue); }
.text-white { color: var(--white); }

/* Hero */
.hero {
    background: linear-gradient(rgba(15, 76, 129, 0.8), rgba(44, 125, 160, 0.7)),
                url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?auto=format&fit=crop&w=1920&q=80') center/cover;
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.hero p { font-size: 1.25rem; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; margin-bottom: 3rem; }
.trust-badges { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; font-size: 0.9rem; font-weight: 600; }

/* Category Navigation */
.category-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.category-nav::-webkit-scrollbar {
    height: 6px;
}
.category-nav::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}
.category-btn {
    background: var(--light-grey);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--dark-grey);
    white-space: nowrap;
}
.category-btn:hover {
    background: var(--accent-blue);
    color: var(--white);
    border-color: var(--accent-blue);
}
.category-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.product-img {
    height: 200px;
    background-color: #f5f5f5;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10px;
    background-origin: content-box;
}
.product-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: 0.8rem; color: #666; text-transform: uppercase; letter-spacing: 1px; }
.product-name { font-size: 1.2rem; margin-bottom: 1rem; color: var(--primary-blue); }
.product-price { display: flex; justify-content: space-between; margin-bottom: 1rem; font-weight: 600; }
.product-actions { display: flex; gap: 0.5rem; margin-top: auto; }
.product-actions button { flex: 1; padding: 0.5rem; font-size: 0.9rem; }

/* Calculator */
.calculator-card {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.calc-form {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    text-align: left;
}
.form-group { flex: 1; display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-group label { margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}
.calc-results {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}
.result-box {
    flex: 1;
    padding: 2rem;
    background: var(--light-grey);
    border-radius: 8px;
    border: 2px solid transparent;
}
.result-box.highlight { border-color: var(--primary-blue); background: #f0f7ff; }
.result-box .price { font-size: 2rem; font-weight: 700; color: var(--primary-blue); margin-top: 0.5rem; }
.recommendation { margin-top: 1.5rem; font-weight: 600; font-size: 1.1rem; color: var(--success); }

/* Trust & Owner Section */
.trust-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.trust-content { flex: 1; }
.trust-content h2 { margin-bottom: 1.5rem; }
.trust-content p { margin-bottom: 1rem; font-size: 1.1rem; opacity: 0.9; }
.cert-list { list-style: none; margin-top: 2rem; }
.cert-list li { margin-bottom: 0.8rem; font-weight: 600; font-size: 1.1rem; }
.trust-image { flex: 1; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 4rem; }
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.stars { color: #f59e0b; font-size: 1.2rem; margin-bottom: 1rem; }
.testimonial-card p { font-style: italic; margin-bottom: 1rem; }
.video-demo-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Showroom */
.showroom-grid { display: flex; gap: 4rem; }
.showroom-info { flex: 1; }
.info-list p { margin-bottom: 1rem; font-size: 1.1rem; }
.map-container { flex: 1; min-height: 300px; }

/* Contact & FAQ */
.contact-grid { display: flex; gap: 4rem; }
.faq-section, .form-section { flex: 1; }
.faq-item { margin-bottom: 1rem; border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; }
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem;
    background: var(--white);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    justify-content: space-between;
}
.faq-question::after { content: '+'; }
.faq-question.active::after { content: '-'; }
.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--light-grey);
}
.faq-answer p { padding: 1rem 0; }
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Footer */
.footer { background: var(--dark-grey); color: var(--white); padding: 4rem 0 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.footer-col h3 { margin-bottom: 1.5rem; color: var(--accent-blue); }
.small-text { font-size: 0.85rem; color: #a0aec0; margin-bottom: 0.5rem; }
.footer-bottom { background: #1a202c; text-align: center; padding: 1.5rem; margin-top: 2rem; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal.show { display: flex; }
.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.close-modal {
    position: absolute;
    top: 1rem; right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}
.cart-items { margin: 2rem 0; max-height: 300px; overflow-y: auto; }
.cart-item { display: flex; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
.cart-total { font-size: 1.2rem; text-align: right; margin-top: 1rem; border-top: 2px solid var(--primary-blue); padding-top: 1rem; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .nav-links a { margin: 0.5rem 2rem; padding: 0.5rem 0; }
    .mobile-menu-btn { display: block; }
    h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .calc-form { flex-direction: column; gap: 1rem; }
    .calc-results { flex-direction: column; gap: 1rem; }
    .trust-container, .showroom-grid, .contact-grid { flex-direction: column; gap: 2rem; }
}
