/* ========== RESET & BASE ========== */
:root {
    --primary: #4F46E5;
    --secondary: #06B6D4;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F3F4F6;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 16px;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    user-select: none; /* Disabling text selection as per requirement */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    max-width: 75ch;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ========== TYPOGRAPHY (Mobile First) ========== */
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
.section-title { text-align: center; margin-bottom: 2rem; color: var(--primary); }

@media (min-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    h3 { font-size: 22px; }
}

@media (min-width: 1024px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
}

/* ========== LAYOUT & CONTAINERS ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
    position: relative;
}

.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .pricing-grid { grid-template-columns: 1fr; } /* Keep pricing single col until larger */
}

@media (min-width: 768px) {
    section { padding: 80px 0; }
    .split-layout {
        display: flex;
        align-items: center;
        gap: 40px;
    }
    .split-layout > div {
        flex: 1;
    }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .cards-grid { grid-template-columns: repeat(4, 1fr); }
    .bonus-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== UI COMPONENTS ========== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.cta-btn {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    min-height: 48px;
    line-height: 48px;
    padding: 0 24px;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.6);
}

.full-btn { width: 100%; display: block; }
.sm-btn { padding: 0 20px; font-size: 14px; min-height: 40px; line-height: 40px; }
.lg-btn { padding: 0 32px; font-size: 18px; min-height: 56px; line-height: 56px; }
.xl-btn { padding: 0 40px; font-size: 20px; min-height: 64px; line-height: 64px; width: 100%; }

@media (min-width: 768px) {
    .xl-btn { width: auto; }
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* ========== ANIMATIONS ========== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.slide-up { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.slide-up.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(79, 70, 229, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}
.pulse-anim { animation: pulse 2s infinite; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: padding 0.3s ease;
    padding: 15px 0;
}
.navbar.scrolled { padding: 10px 0; }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links { display: none; }
.nav-cta { display: none; }

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    gap: 20px;
    transition: left 0.3s ease;
    box-shadow: var(--shadow);
}
.mobile-menu.active { left: 0; }
.mobile-menu a {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

@media (min-width: 768px) {
    .hamburger { display: none; }
    .nav-links {
        display: flex;
        gap: 30px;
    }
    .nav-links a {
        font-weight: 500;
        transition: color 0.3s;
    }
    .nav-links a:hover { color: var(--primary); }
    .nav-cta { display: block; }
}

/* ========== HERO SECTION ========== */
.hero {
    padding-top: 120px; /* offset for fixed nav */
    background: url('images/hero-bg.webp') no-repeat center center/cover;
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}
.hero-image {
    position: relative;
    max-width: 400px;
    width: 100%;
}
.hero-content {
    text-align: center;
}
.hero-trust {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: bold;
}

@media (min-width: 768px) {
    .hero-container {
        flex-direction: row-reverse; /* Text left, Image right */
        justify-content: space-between;
    }
    .hero-content {
        text-align: left;
        flex: 1;
    }
    .hero-image {
        flex: 1;
    }
    .hero-trust {
        align-items: flex-start;
    }
}

/* ========== WHY CHOOSE US / CARDS ========== */
.why-choose .card img {
    height: 80px;
    margin: 0 auto 15px;
}
.why-choose .card { text-align: center; }

/* ========== ACCORDION ========== */
.accordion-container { max-width: 800px; margin: 0 auto; }
.accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.accordion-header {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    cursor: pointer;
    text-align: left;
    min-height: 56px;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}
.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
}
.accordion-item.active .icon {
    transform: rotate(45deg);
}
.icon { transition: transform 0.3s; font-size: 20px; }

/* ========== REVIEWS ========== */
.review-card { text-align: left; }
.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.reviewer-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
}
.stars { color: #F59E0B; font-size: 20px; margin-bottom: 10px; }

/* ========== PRICING ========== */
.timer-box {
    background: #FEF2F2;
    border: 2px solid #EF4444;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    max-width: 300px;
    margin: 0 auto 40px;
}
.timer-box span {
    font-size: 32px;
    font-weight: 900;
    color: #EF4444;
    font-family: monospace;
}
.timer-box p { margin: 0; font-weight: bold; color: var(--text-dark); }

.price-card {
    text-align: center;
    position: relative;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
}
.card-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--text-dark);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}
.popular-card {
    border: 2px solid var(--primary);
    background: rgba(79, 70, 229, 0.05);
    transform: scale(1.02);
}
.popular-label { background: var(--gradient); }
.product-img { height: 200px; margin: 0 auto 20px; object-fit: contain; }
.price-box { margin-bottom: 20px; }
.price-large { font-size: 40px; font-weight: 900; color: var(--primary); display: block; }
.price-large small { font-size: 16px; color: var(--text-light); }
.price-total { font-size: 18px; font-weight: bold; color: var(--text-dark); }
.price-total strike { color: #EF4444; margin-right: 10px; }
.badges { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.badge { padding: 5px 10px; border-radius: 8px; font-size: 14px; font-weight: bold; }
.badge.bonus { background: #FEF3C7; color: #D97706; }
.badge.shipping { background: #D1FAE5; color: #059669; }
.payment-logos { margin-top: 15px; height: 30px; object-fit: contain; }

@media (min-width: 992px) {
    .popular-card { transform: scale(1.08); z-index: 10; }
}

/* ========== BENEFITS LIST ========== */
.benefit-list {
    list-style: none;
    text-align: left;
}
.benefit-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}
.benefit-list.large-list li {
    font-size: 18px;
    padding: 15px;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
    text-align: center;
}
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}
.legal-link { color: #9CA3AF; transition: color 0.3s; }
.legal-link:hover { color: var(--white); }
.link-separator { color: #4B5563; }
.footer-disclaimer {
    color: #9CA3AF;
    font-size: 14px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.social-icons {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.social-icons a { transition: transform 0.3s; }
.social-icons a:hover { transform: translateY(-3px); }
.copyright { color: #6B7280; font-size: 14px; }

@media (max-width: 575px) {
    .footer-legal-links { flex-direction: column; gap: 10px; }
    .link-separator { display: none; }
}

/* ========== POPUPS & FLOATING BTNS ========== */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 99;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }

.purchase-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    max-width: 320px;
}
.purchase-popup.show { transform: translateY(0); }
.popup-content { display: flex; align-items: center; gap: 15px; }
.popup-img { width: 50px; height: 50px; object-fit: contain; }
.popup-text p { margin: 0; font-size: 14px; }
.popup-text small { color: var(--text-light); font-size: 12px; }
#close-popup {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-light);
}

.exit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    padding: 20px;
}
.exit-overlay.show { opacity: 1; pointer-events: auto; }
.exit-popup {
    background: var(--white);
    max-width: 500px;
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    border-radius: 20px;
}
#close-exit-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-dark);
}
.exit-img { height: 150px; margin: 20px auto; }
.decline-link {
    display: block;
    margin-top: 15px;
    background: none;
    border: none;
    color: var(--text-light);
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
}
