/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
   :root {
    /* Color Palette - Premium Dark Theme */
    --bg-dark: #030a1a;
    --bg-darker: #010613;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Accents */
    --accent-blue: #00d4ff;
    --accent-blue-hover: #00bce6;
    --accent-blue-glow: rgba(0, 212, 255, 0.4);
    
    --accent-gold: #fbbf24;
    --accent-gold-glow: rgba(251, 191, 36, 0.2);
    
    /* Glassmorphism / Cards */
    --glass-bg: #0b162c;
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    /* Layout */
    --container-width: 1100px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.highlight { color: var(--accent-blue); }
.highlight-gold { color: var(--accent-gold); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent-blue);
    color: #010613; /* Texto escuro para alto contraste */
    box-shadow: 0 4px 15px var(--accent-blue-glow);
    font-weight: 800;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 212, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    padding: var(--spacing-md);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.border-glow {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 0 20px var(--accent-gold-glow);
}

/* Animations (will be triggered by JS) */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }

/* ==========================================================================
   Specific Sections
   ========================================================================== */

/* 1. Hero Section */
.hero-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #1e3a8a22, var(--bg-dark));
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text h1 span {
    color: var(--accent-blue);
}

.subheadline {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.microcopy {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.floating-phone {
    width: 100%;
    max-width: 350px;
    border-radius: 40px;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.floating-phones-trio {
    width: 100%;
    max-width: 550px;
    border-radius: 30px;
    animation: premiumFloat 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 2;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes premiumFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
    }
    50% { 
        transform: translateY(-25px) scale(1.03);
    }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.6;
    animation: orbDrift 15s alternate infinite ease-in-out;
}

@keyframes orbDrift {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.5) translate(30px, -30px); }
    100% { transform: scale(1) translate(-30px, 30px); }
}

.glow-orb.blue {
    width: 350px;
    height: 350px;
    background: rgba(0, 212, 255, 0.3);
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.glow-orb.gold {
    width: 250px;
    height: 250px;
    background: rgba(251, 191, 36, 0.25);
    bottom: -20px;
    right: -20px;
    animation-delay: -7s;
}

/* 2. Pain Section */
.pain-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-darker);
}

.pain-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.danger-card .card-icon {
    color: #ef4444;
}

/* 3. Journey Section */
.journey-section {
    padding: var(--spacing-xl) 0;
}

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

.step {
    text-align: center;
    flex: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.step-icon.highlight-icon {
    background: var(--accent-blue);
    color: white;
    border: none;
    box-shadow: 0 0 15px var(--accent-blue-glow);
}

.step h5 { margin-bottom: 0.5rem; }
.step p { font-size: 0.85rem; color: var(--text-muted); }

.step-connector {
    flex: 0 0 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--glass-border), var(--accent-blue));
    margin-top: -3rem; /* align with icon */
}

/* 4. Solution Section */
.solution-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
}

.large-p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.check-list li i {
    color: var(--accent-blue);
    margin-top: 5px;
}

/* 5. Benefits Section */
.benefits-section {
    padding: var(--spacing-xl) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

/* 6. Features (Tudo em um único lugar) */
.features-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

/* 7. Comparison Section */
.comparison-section {
    padding: var(--spacing-xl) 0;
}

.comparison-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.comparison-visual img {
    width: 100%;
    border-radius: var(--radius-md);
}

.list-bad, .list-good {
    margin-bottom: 1.5rem;
}

.list-bad h3 { color: #ef4444; }
.list-bad li i { color: #ef4444; }
.list-good h3 { color: var(--accent-gold); }
.list-good li i { color: var(--accent-blue); }

.list-bad ul li, .list-good ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}
.list-good ul li { color: var(--text-main); }

/* 9. Bonus Section */
.bonus-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-darker);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.bonus-card {
    position: relative;
    text-align: center;
    padding-top: 3rem;
}

.bonus-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.bonus-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* 10. Steps Section */
.steps-section {
    padding: var(--spacing-xl) 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.process-box {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-blue);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: 'Outfit', sans-serif;
}

/* 11. FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-darker);
}

.accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.accordion-item {
    margin-bottom: 0;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    border-radius: 0;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.accordion-header:hover {
    color: var(--accent-blue);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: transparent;
    color: var(--text-muted);
}

.accordion-item.active .accordion-content {
    padding: 0 0 1.5rem 0;
    max-height: 200px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

/* 12. Offer Section */
.offer-section {
    padding: var(--spacing-xl) 0;
}

.offer-card {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

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

.offer-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.bonus-item {
    color: var(--accent-gold);
    font-weight: 500;
}

.bonus-item i {
    color: var(--accent-gold) !important;
}

.price-box {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
}

.price-label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3.5rem;
    color: var(--text-main);
    margin-bottom: 0;
}

.installments {
    display: block;
    color: var(--text-muted);
}

.cta-final {
    width: 100%;
}

/* Footer */
footer {
    padding: var(--spacing-md) 0;
    background-color: #050810;
    color: var(--text-muted);
}

.footer-small {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde oficial do WhatsApp */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
    background-color: #20BA56; /* Hover verde mais escuro */
    color: white;
}

/* ==========================================================================
   Responsive (Desktop-First Approach with Mobile Refinements)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-content, .comparison-wrapper, .offer-details {
        grid-template-columns: 1fr;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .cta-wrapper {
        align-items: center;
    }
    
    .floating-phone, .floating-phones-trio {
        max-width: 100%;
        margin-top: 2rem;
    }
    
    h1 { font-size: 2rem; }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        /* Reduce excessive whitespace on tablets/mobiles */
        --spacing-xl: 4rem;
        --spacing-lg: 2.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hidden-mobile {
        display: none;
    }
    
    .journey-steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-connector {
        width: 2px;
        height: 30px;
        margin: -1.5rem auto;
    }
}

@media (max-width: 480px) {
    :root {
        /* Tighter spacing for small phones */
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
        --spacing-md: 1.5rem;
    }

    /* Typography scaling to prevent word breaks */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    /* Force grids to single column */
    .features-grid, .process-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-wrapper {
        text-align: center;
    }
    
    .badge {
        font-size: 0.95rem; /* scale down slightly on very small screens */
        padding: 0.3rem 1.2rem;
    }

    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}
