/* CSS reset and variables */
:root {
    --bg-color: #050505;
    --bg-color-alt: #0D0D11;
    --text-color: #f1f1f1;
    --text-muted: #a1a1aa;
    --primary-color: #7c3aed;
    --primary-hover: #6d28d9;
    --secondary-color: #c4b5fd;
    --whatsapp-color: #25d366;
    --whatsapp-hover: #1EBE5D;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(124, 58, 237, 0.2);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-dark {
    background-color: var(--bg-color-alt);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.left-align {
    text-align: left;
}

.highlight-text {
    color: var(--secondary-color);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.2rem;
}

.btn-huge {
    padding: 20px 40px;
    font-size: 1.4rem;
    width: 100%;
    max-width: 400px;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(124, 58, 237, 0.1);
}

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

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

/* Base Sections */
section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

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

/* Glow Backgrounds */
.glow-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}
.top-glow { top: -100px; left: 50%; transform: translateX(-50%); width: 400px; }
.middle-glow { top: 50%; left: -100px; transform: translateY(-50%); }
.bottom-glow { bottom: 0; right: 0; }

/* ========================================= */
/* HERO SECTION */
/* ========================================= */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.4);
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 strong {
    color: var(--primary-color);
    display: block;
    margin-top: 10px;
    font-size: 3.2rem;
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

/* ========================================= */
/* PROBLEM SECTION */
/* ========================================= */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.problem-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s;
}

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

.problem-card i {
    font-size: 2.5rem;
    color: #ef4444; /* red hue for pain points */
    margin-bottom: 15px;
}

.problem-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}

.problem-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ========================================= */
/* SOLUTION SECTION */
/* ========================================= */
.container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.solution-text {
    flex: 1;
}

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

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 4px;
}

.mockup-chat {
    width: 100%;
    max-width: 350px;
    background-color: #111b21; /* Whatsapp dark mode color */
    border-radius: 20px;
    border: 4px solid #2a2f32;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.chat-header {
    background-color: #202c33;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #2a2f32;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.chat-header h4 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

.chat-header .status {
    color: #8696a0;
    font-size: 0.8rem;
}

.chat-body {
    padding: 20px 15px;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-size: cover;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.msg.client {
    background-color: #202c33;
    color: #e9edef;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.msg.ai {
    background-color: #005c4b; /* dark mode sent msg */
    color: #e9edef;
    align-self: flex-start;
    border-top-left-radius: 0;
}

/* ========================================= */
/* BENEFITS SECTION */
/* ========================================= */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.benefit-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid var(--border-color);
    padding: 20px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 200px;
}

.benefit-box i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.benefit-box h4 {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ========================================= */
/* HOW IT WORKS SECTION */
/* ========================================= */
.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 15px auto;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
    color: white;
}

.step h4 {
    font-size: 1.2rem;
    color: white;
}

.step-connector {
    font-size: 2rem;
    color: var(--border-color);
}

.desktop-only { display: block; }
.mobile-only { display: none; }

/* ========================================= */
/* PLANS SECTION */
/* ========================================= */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.plan-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.plan-card:hover { border-color: var(--primary-color); }

.plan-card h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-card .btn {
    width: 100%;
}

.plan-card.popular {
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 5px 0;
    text-transform: uppercase;
}

/* ========================================= */
/* PROOF SECTION */
/* ========================================= */
.proof {
    text-align: center;
}

.tags-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.tag i { color: var(--primary-color); }

.proof-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================= */
/* FINAL CTA SECTION */
/* ========================================= */
.final-cta {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-color-alt) 0%, rgba(124, 58, 237, 0.1) 100%);
    position: relative;
}

.final-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.final-content h2 span {
    color: #ef4444; /* red to emphasize pain/loss */
    display: block;
}

.final-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================= */
/* FOOTER */
/* ========================================= */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    background-color: var(--bg-color);
    color: var(--text-muted);
}

/* ========================================= */
/* FLOATING WHATSAPP BUTTON */
/* ========================================= */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-wa:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
}

/* ========================================= */
/* RESPONSIVIDADE (MOBILE-FIRST APPROACH ajustado aqui) */
/* ========================================= */
@media (max-width: 768px) {
    .section-title { font-size: 1.8rem; }
    
    .hero h1 { font-size: 2rem; }
    .hero h1 strong { font-size: 2.4rem; }
    
    .container-flex {
        flex-direction: column;
    }
    
    .left-align { text-align: center; }
    
    .steps-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .desktop-only { display: none; }
    .mobile-only { display: inline-block; margin: 10px 0; }
    
    .plan-card.popular {
        transform: scale(1);
        border: 2px solid var(--primary-color);
    }

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

    .final-content h2 { font-size: 2.2rem; }
    
    .btn-huge {
        font-size: 1.2rem;
        padding: 18px 20px;
    }
    
    section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero h1 strong { font-size: 2.2rem; }
    
    .hero .btn { 
        width: 100%; 
        font-size: 1.1rem;
    }
}
