/* Main Stylesheet */
:root {
    --primary-bg: #1a202c;
    /* Dark Blue/Grey */
    --secondary-bg: #2d3748;
    /* Lighter Grey */
    --accent-yellow: #f6e05e;
    /* Bright Yellow */
    --text-white: #ffffff;
    --text-grey: #a0aec0;
    --text-dark: #1a202c;
    --font-main: 'Inter', 'Roboto', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: #f7fafc;
    color: var(--text-dark);
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

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

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    text-transform: uppercase;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    line-height: 1.6;
    color: #4a5568;
}

/* Buttons */
.btn-yellow {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    padding: 12px 24px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-yellow:hover {
    background-color: #ecc94b;
}

.btn-white {
    display: inline-block;
    background-color: white;
    color: var(--text-dark);
    padding: 12px 24px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #ccc;
    cursor: pointer;
}

/* Header */
header {
    background-color: var(--primary-bg);
    color: var(--text-white);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo-img {
    height: 32px;
    /* Adjusted for PNG visibility */
    width: auto;
}

.sub-logo {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-grey);
    margin-top: 4px;
    /* Slight offset for better alignment with logo */
}

.distributor-badge {
    font-size: 0.7rem;
    color: var(--accent-yellow);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.distributor-badge a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.distributor-badge a:hover {
    opacity: 0.8;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

nav a:hover {
    color: var(--accent-yellow);
}

.lang-switch {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background: var(--accent-yellow);
    color: var(--text-dark) !important;
    border-color: var(--accent-yellow);
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--text-white);
    padding: 100px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg video,
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.00);
    /* Darken image/video for text readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content p {
    color: #e2e8f0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.badge-yellow {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    padding: 5px 10px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.text-highlight {
    color: var(--accent-yellow);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-yellow);
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
    /* Use sans-serif for numbers */
}

.stat-value small {
    font-size: 1rem;
    font-weight: 600;
    margin-left: 2px;
    color: #fff;
}

.stat-label {
    font-size: 0.9rem;
    color: #e2e8f0;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Intro Section */
#intro {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

#intro h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--text-dark);
}

#intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

/* Features Section */
#features {
    padding: 80px 0;
    background-color: #edf2f7;
    /* Darker grey for contrast */
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-img {
    width: 100%;
    height: 250px;
    background-color: #e2e8f0;
    position: relative;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    padding: 30px;
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Split Info Section */
#info-split {
    background-color: var(--secondary-bg);
    color: var(--text-white);
}

.split-container {
    display: flex;
    flex-wrap: wrap;
}

.split-text {
    flex: 1;
    padding: 80px;
    min-width: 300px;
}

.split-text h2 {
    color: var(--text-white);
}

.split-text p {
    color: #cbd5e0;
    margin-bottom: 30px;
}

.split-image {
    flex: 1;
    min-width: 300px;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-group {
    display: flex;
    gap: 10px;
}

/* Footer */
footer {
    background-color: #000;
    color: #718096;
    padding: 40px 0;
}

.footer-content-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 20px;
    width: auto;
    margin-top: 15px;
    display: block;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-distributor-icon {
    height: 30px;
    width: auto;
    transition: opacity 0.3s;
}

.footer-distributor-icon:hover {
    opacity: 0.8;
}

.disclaimer {
    font-size: 0.85rem;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .footer-content-flex {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin: 15px auto 0;
    }

    .footer-right {
        align-items: center;
        margin-top: 20px;
    }

    .split-container {
        flex-direction: column;
    }

    .split-text {
        padding: 40px 20px;
        text-align: center;
    }

    .split-image {
        min-width: 100%;
    }

    .btn-group {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #f6e05e;
    /* MaxJax Yellow */
    text-decoration: none;
    cursor: pointer;
}

/* Add cursor pointer to feature images to indicate clickability */
.feature-img img {
    cursor: pointer;
    transition: opacity 0.3s;
}

.feature-img img:hover {
    opacity: 0.9;
}

/* Specs Section */
#specs {
    padding: 80px 0;
    background-color: #fff;
}

.spec-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    border-bottom: 2px solid #e2e8f0;
    transition: color 0.3s;
}

.spec-question:hover {
    color: #f6ad55;
}

.spec-question h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: inherit;
}

.spec-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
}

.spec-table th {
    background-color: #edf2f7;
    padding: 12px;
    text-align: left;
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 1px solid #cbd5e0;
}

.spec-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.spec-accordion-item.active .faq-icon {
    transform: rotate(45deg);
}

/* FAQ Section */
#faq {
    padding: 80px 0;
    background-color: #fff;
    /* White background for contrast */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #f6ad55;
    /* Orange/Yellow hover */
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: inherit;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.4s;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    /* Header */
    .hamburger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(26, 32, 44, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease-in-out;
        transform: translateY(-100%);
        z-index: 1000;
        padding-top: 0;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .header-actions {
        display: none;
        /* Hide CTA on mobile header to save space, or move into menu */
    }

    /* Features Carousel */
    .features-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .feature-card {
        min-width: 85%;
        scroll-snap-align: center;
        margin-bottom: 0;
    }

    /* Hide Scrollbar */
    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .features-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* Hero Adjustments */
    h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-stats {
        justify-content: center;
    }

    .stat-value {
        font-size: 2.5rem;
        /* Smaller stats on mobile */
    }
}

/* Pricing & Delivery Section */
.section-pricing {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f7fafc, #edf2f7);
}

.pricing-box {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
        "left right"
        "flow flow";
    align-items: center;
    justify-items: stretch;
    background: #fff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin: 0 auto 80px;
    max-width: 1000px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    gap: 0 40px;
}

.pricing-content-left {
    grid-area: left;
    padding-right: 0;
}

.pricing-image-right {
    grid-area: right;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.pricing-card-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 10px;
    background: #1a202c;
    /* Solid dark background for contrast */
    padding: 10px 20px;
    border-radius: 8px;
}

.pricing-image-right img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
}

/* Remove old styles or keep if needed, but new structure uses new classes */

.pricing-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-box h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.pricing-box .sub-title {
    display: block;
    font-size: 1rem;
    font-weight: normal;
    color: #718096;
    margin-top: 5px;
}

.price-display {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.price-main {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    line-height: 1;
    background: linear-gradient(transparent 65%, var(--accent-yellow) 65%);
    display: inline-block;
    padding: 0 5px;
    /* Add slight padding for the highlight to extend a bit */
}

.price-tax {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4a5568;
    vertical-align: top;
    margin-left: 5px;
}

.price-sub {
    font-size: 1.1rem;
    color: #718096;
    margin-top: 10px;
}

.purchase-action {
    margin-bottom: 30px;
}

/* Pricing Gallery */
.pricing-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 480px) {
    .pricing-gallery {
        gap: 8px;
    }
}

.btn-purchase {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #F6E05E 0%, #ECC94B 100%);
    color: #1A202C;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 18px 60px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(236, 201, 75, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.btn-purchase:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(236, 201, 75, 0.4);
    background: linear-gradient(135deg, #FAF089 0%, #F6E05E 100%);
}

.btn-purchase:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(236, 201, 75, 0.3);
}

.btn-purchase .cart-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5px;
}


.price-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-features li {
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1rem;
}

.price-features li.note {
    color: #e53e3e;
    font-size: 0.95rem;
    margin-top: 5px;
}

.delivery-info {
    max-width: 1000px;
    margin: 0 auto;
}

.delivery-info h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.delivery-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    color: #4a5568;
}

.service-options {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-width: 280px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-card.recommended {
    border: 2px solid var(--accent-yellow);
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(246, 224, 94, 0.15);
}

.service-card.recommended:hover {
    box-shadow: 0 20px 40px rgba(246, 224, 94, 0.25);
}

.service-card .badge {
    position: absolute;
    top: -16px;
    right: 50%;
    transform: translateX(50%);
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    padding: 8px 24px;
    font-weight: 800;
    border-radius: 30px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.05em;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-bottom: 2px solid #f7fafc;
    padding-bottom: 15px;
    text-align: center;
}

.service-card ul {
    padding-left: 20px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-card li {
    margin-bottom: 12px;
    color: #4a5568;
}

.price-estimate {
    background: #f7fafc;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.price-estimate h4 {
    margin: 0 0 15px;
    font-size: 1rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-estimate p {
    margin: 8px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
}

.price-estimate .note {
    font-size: 0.85rem;
    color: #a0aec0;
    margin-top: 12px;
    font-weight: normal;
}

.total-price-box {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #cbd5e0;
}

.total-label {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 5px !important;
    font-weight: 600;
}

.total-amount {
    font-size: 1.8rem !important;
    color: var(--primary-bg) !important;
    font-weight: 800 !important;
    margin: 0 !important;
}

.total-amount .tax-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #718096;
}

.installation-conditions {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.condition-box h4 {
    margin-top: 0;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.condition-box .warning {
    color: #e53e3e;
    font-size: 0.95rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.condition-box .warning::before {
    content: "⚠️";
}

/* Intro Visual */
.intro-visual {
    text-align: center;
    margin-bottom: 40px;
}

.intro-visual img {
    max-width: 50%;
    /* Half size for accent display */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Product Map Section */
#product-map {
    padding: 80px 0;
    background-color: #f7fafc;
}

.map-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.map-card:hover {
    transform: translateY(-5px);
}

.map-header {
    margin-bottom: 40px;
    text-align: center;
}

.map-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.map-header h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-yellow);
    border-radius: 2px;
}

.map-image {
    text-align: center;
}

.map-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .section-pricing {
        padding: 60px 0;
    }

    .pricing-box {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 30px;
    }

    .pricing-content-left,
    .pricing-image-right {
        width: 100%;
        padding-right: 0;
    }

    .price-main {
        font-size: 3rem;
    }

    .service-options {
        flex-direction: column;
        gap: 40px;
    }

    .service-card {
        padding: 30px 20px;
        min-width: 100%;
    }

    .service-card ul {
        padding-left: 25px;
        text-align: left;
    }

    .service-card {
        padding: 30px 20px;
        width: 100%;
        min-width: 0;
    }

    .service-card ul {
        padding-left: 25px;
        text-align: left;
        display: inline-block;
        margin: 0 auto 30px;
    }

    .service-card .badge {
        width: max-content;
    }

    .map-card {
        padding: 30px 20px;
    }

    .map-header h3 {
        font-size: 1.4rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active .modal-overlay {
    opacity: 1;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal.active .modal-container {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 30px 40px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-bg);
    font-weight: 800;
}

.modal-close {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    background: #fdfdfd;
}

.confirm-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.confirm-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.confirm-item:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.confirm-num {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent-yellow);
    background: var(--primary-bg);
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

.confirm-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
    font-weight: 500;
}

.modal-footer {
    padding: 25px 40px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    background: #fff;
}

.btn-close-modal {
    background: var(--primary-bg);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-modal:hover {
    background: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 90vh;
        margin: 10px;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-body {
        padding: 15px;
    }

    .confirm-item {
        padding: 12px;
        gap: 12px;
    }

    .confirm-num {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.8rem;
    }

    .confirm-item p {
        font-size: 0.9rem;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }

    .modal-footer {
        padding: 15px 20px;
    }
}

/* Enhanced Button Pulse Effect */
.btn-pulse {
    position: relative;
    overflow: visible !important;
    animation: button-glow 2s infinite;
}

.btn-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    border: 2px solid var(--accent-yellow);
    animation: pulse-signal 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    z-index: -1;
}

@keyframes button-glow {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(246, 224, 94, 0);
    }

    50% {
        box-shadow: 0 0 25px rgba(246, 224, 94, 0.8);
    }
}

@keyframes pulse-signal {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Premium Form Styles */
.premium-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
    /* Dark text for light background */
}

.form-group label .required {
    color: #f56565;
    font-size: 0.75rem;
    margin-left: 4px;
    background: rgba(245, 101, 101, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    width: 100%;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.form-group select option {
    background-color: #fff;
    color: #1e293b;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: #fff;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 4px rgba(246, 224, 94, 0.1);
}

.checkbox-group {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #334155;
    font-size: 0.95rem;
}

.checkbox-label input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-yellow);
    cursor: pointer;
}

.timing-group {
    display: flex;
    gap: 12px;
}

.timing-group select {
    flex: 1;
}

.form-actions {
    margin-top: 10px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.form-status {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
    white-space: pre-wrap;
}

.form-status.success {
    display: block;
    background: rgba(72, 187, 120, 0.1);
    color: #48bb78;
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.form-status.error {
    display: block;
    background: rgba(245, 101, 101, 0.1);
    color: #f56565;
    border: 1px solid rgba(245, 101, 101, 0.2);
}

/* Loader Animation */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--text-dark);
    border-radius: 50%;
    display: none;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loader {
    display: block;
}

/* Purchase Flow Card - Horizontal Layout */
.purchase-flow-card {
    grid-area: flow;
    width: auto;
    margin-top: 40px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--accent-yellow);
}

.purchase-flow-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 25px;
    text-align: center;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
    position: relative;
}

.flow-steps li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Connecting lines between steps */
.flow-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    left: calc(50% + 25px);
    width: calc(100% - 50px);
    height: 2px;
    background: #e2e8f0;
    z-index: -1;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--accent-yellow);
    color: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(246, 224, 94, 0.3);
}

.step-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.4;
}

.flow-note {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #dc2626;
    text-align: center;
}

/* Responsive Flow */
@media (max-width: 768px) {
    .flow-steps {
        flex-direction: column;
        gap: 25px;
    }

    .flow-steps li:not(:last-child)::after {
        display: none;
    }

    .flow-steps li {
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }

    .step-num {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

/* Form Toggle Styles */
.toggle-group {
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 10px 0 25px 0;
    border: 1px solid #e2e8f0;
    display: block;
    /* Ensure it doesn't inherit flex-column if not needed */
}

.inquiry-toggle {
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.inquiry-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--accent-yellow);
}

#purchase-fields {
    transition: all 0.4s ease;
    overflow: hidden;
    max-height: 2000px;
    opacity: 1;
}

#purchase-fields.hidden {
    display: none !important;
}