/* --- Root Variables --- */
:root {
    --primary-color: #0d284a; /* Deep Navy Blue */
    --secondary-color: #f7b32d; /* Vibrant Gold Accent */
    --accent-color: #2db97e; /* Green for CTA and checks */
    --star-color: #ffc107; /* The star color you requested */
    --border-color: #1a3c61; /* The card border color you requested */
    --dark-text: #2c3e50;
    --light-text: #ffffff; /* Explicitly white for clarity */
    --form-bg: #ffffff; /* Pure white for the form */
    --bg-overlay: rgba(13, 40, 74, 0.85); /* Slightly transparent overlay for hero BG */
}

/* --- General Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* --- Mobile Menu Styles --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--light-text);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-toggle.open .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--primary-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: left 0.4s ease-in-out;
    z-index: 999;
}

.mobile-nav.open {
    left: calc(100% - 300px);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav-links a:hover {
    background-color: var(--border-color);
    color: var(--secondary-color);
}

.mobile-cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-top: auto;
}

.mobile-cta-button:hover {
    background-color: #27ae60;
}

/* --- Transparent Header Section --- */
.main-header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: transparent;
    padding: 1.5rem 3rem;
}

.header-content-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .image-logo {
    transform: scale(1.05);
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    gap: 2.8rem;
}

.main-nav .nav-links li a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav .nav-links li a:hover {
    color: var(--secondary-color);
}

.main-nav .nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    display: block;
    margin-top: 5px;
    left: 0;
    background: var(--secondary-color);
    transition: width 0.3s ease-in-out;
}

.main-nav .nav-links li a:hover::after {
    width: 100%;
}

.header-cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.header-cta-button:hover {
    background-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('../image/hero.jpg') no-repeat center center/cover;
    padding-top: 6rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    max-width: 1280px;
    width: 100%;
    padding: 4rem 2rem;
    align-items: center;
}

/* --- Left Column: Hero Content --- */
.hero-left-content {
    text-align: left;
    color: var(--light-text);
}

.badge-container {
    margin-bottom: 1.5rem;
}

.offer-badge {
    background-color: var(--secondary-color);
    color: var(--dark-text);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.main-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.sub-headline {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.sub-headline strong {
    color: var(--secondary-color);
    font-size: 1.2em;
}

.original-price {
    opacity: 0.7;
    font-size: 0.85em;
    margin-left: 0.5rem;
}

.coupon-code-label {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    margin-left: 1rem;
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.checklist {
    list-style: none;
    margin-bottom: 2rem;
    /* Center the list on mobile */
    margin-inline: auto;
}

.checklist li {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.9;
}

.checklist li i {
    color: var(--accent-color);
    font-size: 1.4em;
    min-width: 25px;
}

.credibility-line {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
    font-size: 1rem;
    opacity: 0.8;
}

.credibility-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.credibility-item:hover {
    transform: translateY(-5px);
    opacity: 1;
}

/* --- Right Column: Form Section --- */
.form-section {
    background: var(--form-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: var(--dark-text);
    border: 1px solid #e0e0e0;
}

.form-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 800;
    line-height: 1.2;
}

.countdown-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 0.5rem;
}

.countdown-timer {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    animation: blink-fade 1.5s infinite;
}

@keyframes blink-fade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: #a0a0a0;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 40, 74, 0.1);
}

.cta-button {
    width: 100%;
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.cta-button:hover {
    background-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.whatsapp-info {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #6c757d;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.whatsapp-info:hover {
    opacity: 1;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    /* Hide desktop nav and show mobile toggle */
    .main-nav, .desktop-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    /* Adjust header content container for mobile */
    .header-content-container {
        justify-content: space-between;
        padding: 1rem 1.5rem;
    }

    .main-header {
        padding: 1rem 1.5rem;
    }

    /* Adjust hero section for mobile */
    .hero-section {
        padding-top: 5rem;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    /* Center hero content on mobile */
    .hero-left-content {
        text-align: start;
    }

    .badge-container, .sub-headline, .checklist, .credibility-line {
        justify-content: center;
    }

    .main-headline {
        font-size: 2.2rem;
    }

    .sub-headline {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .checklist li {
        text-align: left; /* Align list items to the left within the centered list container */
    }

    .credibility-line {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    /* Center form on mobile and give it a max-width */
    .form-section {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Fixed CTA button on mobile */
    .header-cta-button {
        position: fixed;
        bottom: 1.5rem;
        right: 1.5rem;
        z-index: 1001;
        padding: 0.9rem 1.8rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 576px) {
    .main-headline {
        font-size: 1.5rem;
    }

    .sub-headline {
        font-size: 1rem;
    }

    .checklist li {
        font-size: 1rem;
    }

    /* Small screen logo size */
    .image-logo {
        height: 40px;
    }
}