/* 
   LeadSpace - Modern CSS Design System 
   Focus: Rich Aesthetics, Responsiveness, & Micro-animations
*/

/* Custom Variables */
:root {
    --primary-dark: #1F3864;
    --primary-dark-hover: #16294a;
    --primary-dark-rgb: 31, 56, 100;
    --accent-gold: #C9A227;
    --accent-gold-hover: #b28e20;
    --accent-gold-rgb: 201, 162, 39;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    
    --text-dark: #1F3864;
    --text-muted: #586B90;
    --text-light: #FFFFFF;
    
    --success-green: #198754;
    --success-green-bg: rgba(25, 135, 84, 0.1);
    --error-red: #DC3545;
    --error-red-bg: rgba(220, 53, 69, 0.1);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Outfit', sans-serif;
    
    --border-radius-lg: 16px;
    --border-radius-md: 8px;
    
    --shadow-sm: 0 4px 6px -1px rgba(31, 56, 100, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(31, 56, 100, 0.08), 0 4px 6px -2px rgba(31, 56, 100, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(31, 56, 100, 0.1), 0 10px 10px -5px rgba(31, 56, 100, 0.04);
    --shadow-premium: 0 25px 50px -12px rgba(201, 162, 39, 0.15);
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
}

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

code {
    font-family: monospace;
    background-color: var(--gray-light);
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Utilities */
.container {
    inline-size: 100%;
    max-inline-size: 1200px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.highlight {
    color: var(--accent-gold);
    font-weight: 800;
}

/* Buttons */
.btn-primary-small {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
    background-color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-primary-small:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-cta-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
    background-color: var(--accent-gold);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
    transition: var(--transition-bounce);
}

.btn-cta-gold:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-cta-outline {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-cta-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* HEADER STYLING */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    inline-size: 100%;
    z-index: 1000;
    background-color: var(--white);
    border-bottom: 1px solid rgba(31, 56, 100, 0.08);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-inline-size: 1200px;
    margin: 0 auto;
    padding: 0.2rem 1.5rem;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    padding: 0rem 1.5rem;
}

.header-logo {
    height: 90px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-logo {
    height: 72px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-dark);
    text-decoration: none;
    position: relative;
    padding-block: 0.25rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    inline-size: 100%;
    block-size: 2px;
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    background-color: var(--primary-dark);
    color: var(--white);
    padding-block: 10rem 6rem;
    overflow: hidden;
    /* Grid structure */
    display: grid;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(201, 162, 39, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(201, 162, 39, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, rgba(31, 56, 100, 0.95) 0%, rgba(15, 28, 50, 0.98) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    background-color: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.4);
    color: var(--accent-gold);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-inline-size: 650px;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    inline-size: 100%;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust i {
    color: var(--accent-gold);
}

/* HERO NEURAL VISUAL */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.neural-funnel-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    inline-size: 100%;
    max-inline-size: 380px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.neural-funnel-card:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-5px);
    border-color: rgba(201, 162, 39, 0.3);
}

.funnel-level {
    position: relative;
    inline-size: 100%;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.level-1 { width: 100%; border-left: 4px solid #3b82f6; }
.level-2 { width: 85%; border-left: 4px solid var(--accent-gold); }
.level-3 { width: 70%; border-left: 4px solid #10b981; }
.level-4 { width: 55%; border-left: 4px solid #ec4899; background: rgba(201, 162, 39, 0.1); }

.funnel-line {
    inline-size: 2px;
    block-size: 20px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0));
}

.dot {
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.pulse-1 { background-color: #3b82f6; box-shadow: 0 0 10px #3b82f6; animation: pulse 2s infinite; }
.pulse-2 { background-color: var(--accent-gold); box-shadow: 0 0 10px var(--accent-gold); animation: pulse 2s infinite 0.5s; }
.pulse-3 { background-color: #10b981; box-shadow: 0 0 10px #10b981; animation: pulse 2s infinite 1s; }
.pulse-4 { background-color: #ec4899; box-shadow: 0 0 10px #ec4899; animation: pulse 2s infinite 1.5s; }

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.6); opacity: 0.5; }
    100% { transform: translateY(-50%) scale(1); opacity: 1; }
}

/* STATS BANNER */
.stats-banner {
    background-color: var(--light-bg);
    border-bottom: 1px solid rgba(31, 56, 100, 0.05);
    padding-block: 2.5rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.stat-item {
    flex: 1 1 200px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    max-inline-size: 700px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* PRODUCTS GRID SECTION */
.products-section {
    padding-block: 6rem;
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

/* PRODUCT CARD */
.product-card {
    position: relative;
    background-color: var(--white);
    border: 1px solid rgba(31, 56, 100, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 162, 39, 0.3);
}

/* Badges unique vs monthly */
.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.badge-single {
    background-color: rgba(31, 56, 100, 0.06);
    color: var(--primary-dark);
}

.badge-recurring {
    background-color: rgba(201, 162, 39, 0.12);
    color: var(--accent-gold);
    border: 1px solid rgba(201, 162, 39, 0.25);
}

/* Popular Tag */
.popular-tag {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.3rem 1.2rem;
    border-radius: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.premium-tag {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary-dark);
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.3rem 1.2rem;
    border-radius: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    border-right: 1px solid rgba(201, 162, 39, 0.2);
}

/* Featured / Special Cards styling */
.featured-card {
    border: 2px solid var(--accent-gold);
    box-shadow: var(--shadow-premium);
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-gold), #FFF);
}

/* Card Header */
.product-card-header {
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background-color: rgba(31, 56, 100, 0.05);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
    transition: var(--transition-smooth);
}

.product-card:hover .product-icon {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.featured-card .product-icon {
    background-color: rgba(201, 162, 39, 0.1);
    color: var(--accent-gold);
}

.featured-card:hover .product-icon {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.product-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* BEFORE & AFTER PANEL */
.before-after-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: var(--light-bg);
    border-radius: var(--border-radius-md);
    padding: 1.2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-gold);
}

.ba-item {
    font-size: 0.85rem;
    line-height: 1.4;
}

.ba-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    margin-bottom: 0.25rem;
}

.before .ba-label {
    background-color: var(--error-red-bg);
    color: var(--error-red);
}

.after .ba-label {
    background-color: var(--success-green-bg);
    color: var(--success-green);
}

.before p {
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(220, 53, 69, 0.4);
}

.after p {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Benefits list */
.product-benefits {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.product-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: var(--primary-dark);
}

.product-benefits i {
    color: var(--accent-gold);
    margin-top: 0.2rem;
    font-size: 1rem;
}

.featured-card .product-benefits i {
    color: var(--accent-gold);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(31, 56, 100, 0.1);
}

.tech-tag {
    font-size: 0.75rem;
    background-color: var(--light-bg);
    color: var(--text-muted);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Card Footer & Pricing */
.product-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(31, 56, 100, 0.08);
}

.price-container {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.4rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.currency {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.price-value {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.mxn-estimate {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.btn-buy-now {
    inline-size: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-bounce);
}

.btn-single {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-single:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: scale(1.02);
}

.btn-recurring {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    box-shadow: 0 4px 10px rgba(201, 162, 39, 0.25);
}

.btn-recurring:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: scale(1.02);
    box-shadow: none;
}

/* URGENCY & BONUS SECTION */
.bonus-section {
    background-color: var(--primary-dark);
    color: var(--white);
    padding-block: 6rem;
    position: relative;
    overflow: hidden;
}

.bonus-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 30%, rgba(201, 162, 39, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.bonus-container {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 4rem;
    align-items: center;
}

.bonus-visual {
    display: flex;
    justify-content: center;
}

.bonus-icon-decor {
    font-size: 7rem;
    color: var(--accent-gold);
    animation: floatGift 3s ease-in-out infinite;
}

@keyframes floatGift {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.bonus-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bonus-badge {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.bonus-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.bonus-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-weight: 300;
}

.urgency-indicator {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    inline-size: 100%;
    max-inline-size: 550px;
    margin-bottom: 2rem;
}

.urgency-bar-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.urgency-bar {
    background: linear-gradient(90deg, var(--accent-gold), #ffd700);
    height: 100%;
    border-radius: 10px;
    animation: barPulse 2s infinite ease-in-out;
}

@keyframes barPulse {
    0% { opacity: 0.95; }
    50% { opacity: 0.7; }
    100% { opacity: 0.95; }
}

.urgency-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}

.urgency-text i {
    color: var(--accent-gold);
    margin-right: 0.4rem;
}

/* PAYMENTS SECTION */
.payments-section {
    padding-block: 5rem;
    background-color: var(--light-bg);
    text-align: center;
    border-bottom: 1px solid rgba(31, 56, 100, 0.08);
}

.payments-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.payments-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.payment-logo-card {
    background-color: var(--white);
    border: 1px solid rgba(31, 56, 100, 0.08);
    border-radius: var(--border-radius-md);
    padding: 1rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.payment-logo-card span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
}

.payment-logo-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    color: var(--accent-gold);
}

.installments-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: rgba(201, 162, 39, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.2);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 500;
}

.installments-banner i {
    color: var(--accent-gold);
}

/* FAQ SECTION WITH ACCORDION */
.faq-section {
    padding-block: 6rem;
    background-color: var(--white);
}

.faq-accordion {
    max-inline-size: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--light-bg);
    border: 1px solid rgba(31, 56, 100, 0.05);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item[open] {
    background-color: var(--white);
    border-color: rgba(31, 56, 100, 0.15);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
    cursor: pointer;
    list-style: none; /* Hide native marker */
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

/* Remove default summary marker in Chrome/Firefox */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-top: 1px dashed rgba(31, 56, 100, 0.08);
    padding-top: 1rem;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FOOTER */
.main-footer {
    background-color: #0f1c32;
    color: rgba(255, 255, 255, 0.7);
    padding-block: 5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links h4,
.footer-legal h4 {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* NATIVE OVERLAY MODAL (DIALOG) */
.checkout-dialog {
    border: none;
    border-radius: var(--border-radius-lg);
    background-color: var(--white);
    box-shadow: var(--shadow-lg), 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    inline-size: 90%;
    max-inline-size: 520px;
    margin: auto;
    padding: 0;
    overflow: hidden;
}

.checkout-dialog::backdrop {
    background-color: rgba(15, 28, 50, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-card {
    position: relative;
    padding: 3rem 2.5rem;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: rgba(31, 56, 100, 0.05);
    color: var(--primary-dark);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.accent-check {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.modal-subtitle strong {
    color: var(--primary-dark);
}

.checkout-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    background-color: rgba(201, 162, 39, 0.05);
    border: 1px solid rgba(201, 162, 39, 0.15);
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.4;
}

/* Dialog Form fields */
.form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--primary-dark);
}

.input-wrapper {
    position: relative;
    inline-size: 100%;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.input-wrapper input {
    inline-size: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid rgba(31, 56, 100, 0.15);
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--primary-dark);
    transition: var(--transition-smooth);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-terms {
    margin-bottom: 1.8rem;
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input {
    margin-top: 0.25rem;
}

.btn-modal-submit {
    inline-size: 100%;
    padding: 1rem;
    background-color: var(--success-green);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-md);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
    transition: var(--transition-bounce);
}

.btn-modal-submit:hover {
    background-color: #157347;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.4);
}

/* FLOATING WHATSAPP ELEMENT */
.floating-whatsapp-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.whatsapp-bubble {
    background-color: var(--white);
    border: 1px solid rgba(31, 56, 100, 0.08);
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    max-inline-size: 260px;
    font-size: 0.8rem;
    line-height: 1.4;
    position: relative;
    border-left: 3px solid var(--success-green);
    animation: slideUpBubble 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUpBubble {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.bubble-close {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 0.7rem;
    color: var(--text-muted);
    cursor: pointer;
}

.bubble-close:hover {
    color: var(--primary-dark);
}

.whatsapp-bubble strong {
    color: var(--success-green);
}

.whatsapp-btn {
    background-color: var(--success-green);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.4);
    transition: var(--transition-bounce);
    text-decoration: none;
    position: relative;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.5);
}

.notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: var(--error-red);
    border: 2px solid var(--white);
    border-radius: 50%;
}

/* RESPONSIVE DESIGN - MOBILE-FIRST */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1; /* Funnel card shows first on mobile */
    }
    
    .bonus-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .bonus-content {
        align-items: center;
    }
    
    .bonus-visual {
        margin-bottom: 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.2rem 1rem;
    }
    
    .header-logo {
        height: 65px;
    }
    
    .main-header.scrolled .header-container {
        padding: 0rem 1rem;
    }
    
    .main-header.scrolled .header-logo {
        height: 52px;
    }
    
    .main-nav {
        gap: 1rem;
    }
    
    .nav-link {
        display: none; /* Hide structural nav links, keep primary CTA on small screens */
    }
    
    .hero-section {
        padding-block: 8rem 4rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        padding-inline: 0.5rem;
    }
    
    .payment-logos {
        gap: 1rem;
    }
    
    .payment-logo-card {
        padding: 0.8rem 1.2rem;
        font-size: 1.5rem;
    }
    
    .floating-whatsapp-container {
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-bubble {
        display: none; /* Hide help bubble text automatically on small touch viewports */
    }
}
