/* Variáveis e Reset */
:root {
    --primary: #684fec;
    --primary-dark: #4d36d8;
    --secondary: #262257;
    --text: #0f0f17;
    --gray-100: #f7f5ff;
    --gray-200: #efeaff;
    --gray-300: #e5e7eb;
    --success: #10b981;
    --error: #ef4444;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(104, 79, 236, 0.25);
    font-size: 16px;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(104, 79, 236, 0.35);
}

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

.btn.outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* Header */
header.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--gray-300);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 22px;
    color: var(--secondary);
}

.logo img {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: none;
}

nav .right {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav .right a {
    font-weight: 600;
    color: var(--text);
    transition: color 0.3s ease;
}

nav .right a:hover {
    color: var(--primary);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--secondary);
}

/* Offcanvas */
.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 320px;
    background: #fff;
    box-shadow: -8px 0 28px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.offcanvas.open {
    transform: translateX(0);
}

.offcanvas .close-btn {
    align-self: flex-end;
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--secondary);
    margin-bottom: 20px;
}

.offcanvas a {
    font-weight: 700;
    color: var(--text);
    padding: 12px 8px;
    border-bottom: 1px solid var(--gray-300);
}

.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-100) 0%, #fff 70%);
    padding: 80px 0 60px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--gray-200);
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.15;
    margin: 0 0 20px;
    color: var(--secondary);
    font-weight: 900;
}

.hero-text {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.7;
}

.actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Section */
.section {
    padding: 80px 0;
    border-top: 1px solid var(--gray-300);
}

.section h2 {
    font-size: 42px;
    margin: 0 0 16px;
    color: var(--secondary);
    font-weight: 900;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 48px;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.plan-card {
    background: #fff;
    border: 2px solid var(--gray-300);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.plan-card.popular {
    border-color: var(--primary);
    background: linear-gradient(135deg, #fff 0%, var(--gray-100) 100%);
    transform: scale(1.05);
}

.plan-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.plan-header {
    text-align: center;
    margin-bottom: 24px;
}

.plan-header h3 {
    font-size: 28px;
    color: var(--secondary);
    margin-bottom: 8px;
}

.plan-period {
    font-size: 16px;
    color: #6b7280;
    font-weight: 600;
}

.plan-price {
    text-align: center;
    margin-bottom: 16px;
}

.currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    vertical-align: top;
}

.amount {
    font-size: 56px;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
}

.period {
    font-size: 16px;
    color: #6b7280;
    font-weight: 600;
}

.plan-savings {
    text-align: center;
    color: var(--success);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.plan-features li {
    padding: 12px 0;
    color: var(--text);
    font-size: 15px;
    border-bottom: 1px solid var(--gray-300);
}

.plan-features li:last-child {
    border-bottom: none;
}

.btn-plan {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(104, 79, 236, 0.25);
    display: block;
    text-align: center;
    text-decoration: none;
}

.btn-plan:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(104, 79, 236, 0.35);
}

.btn-plan.primary {
    background: var(--primary);
    box-shadow: 0 12px 32px rgba(104, 79, 236, 0.4);
}

/* Benefits Section */
.benefits-section {
    background: var(--gray-100);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.benefit-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.benefit-card p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.step-card {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(104, 79, 236, 0.3);
}

.step-card h3 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.step-card p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background: var(--gray-100);
}

.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    color: var(--secondary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 28px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 16px;
    color: #6b7280;
    line-height: 1.7;
    font-size: 15px;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
    border-radius: 24px;
    padding: 64px 40px;
    box-shadow: 0 20px 60px rgba(104, 79, 236, 0.3);
}

.cta-box h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: #fff;
}

.cta-box p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-box .btn {
    background: #fff;
    color: var(--primary);
}

.cta-box .btn:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #0f1126;
    color: #c9ccff;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 22px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-col p {
    color: #9ca3af;
    line-height: 1.7;
    margin-top: 12px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #fff;
}

.footer-col a {
    display: block;
    color: #c9ccff;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    color: #9ca3af;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #fff;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .plan-card.popular {
        transform: scale(1);
    }
    
    .plan-card.popular:hover {
        transform: translateY(-8px);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    nav .right {
        display: none !important;
    }
    
    .menu-toggle {
        display: block !important;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-text {
        font-size: 18px;
    }
    
    .section h2 {
        font-size: 32px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box h2 {
        font-size: 32px;
    }
    
    .cta-box p {
        font-size: 18px;
    }
}
