/* ============ RESET & BASE ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary: #0EA5E9;
    --dark: #0F172A;
    --gray: #64748B;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --shadow: 0 20px 60px rgba(79, 70, 229, 0.15);
    --shadow-hover: 0 30px 80px rgba(79, 70, 229, 0.25);
    --radius: 20px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: var(--white);
    padding-top: 76px;
    overflow-x: hidden;
}

/* ============ TYPOGRAPHY ============ */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ NAVBAR ============ */
.navbar-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(79, 70, 229, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.navbar-glass .nav-link {
    font-weight: 500;
    color: var(--dark);
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

.navbar-glass .nav-link:hover {
    color: var(--primary);
}

.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

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

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ============ HERO SECTION ============ */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-illustration {
    position: relative;
    padding: 20px;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    font-weight: 500;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
}

.floating-badge.top-right {
    top: 0;
    right: 20px;
    animation-delay: 0.5s;
}

.floating-badge.bottom-left {
    bottom: 20px;
    left: 0;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ============ FEATURE CARDS ============ */
.feature-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid rgba(79, 70, 229, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* ============ PRICING CARDS ============ */
.pricing-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    border: 2px solid #F1F5F9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, #F8FAFC 0%, white 100%);
}

.pricing-card .badge-popular {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
}

.feature-list li i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 20px;
}

.feature-list li .fa-times {
    color: #CBD5E1;
}

/* ============ TESTIMONIALS ============ */
.testimonial-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid #F1F5F9;
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section .btn-light {
    background: white;
    color: var(--primary);
    border: none;
}

.cta-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: white;
}

.footer a {
    color: var(--gray) !important;
    transition: color 0.2s;
}

.footer a:hover {
    color: white !important;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .floating-badge {
        display: none;
    }
}

/* ============ ANIMAÇÕES ADICIONAIS ============ */
.pricing-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.pricing-card .btn {
    transition: all 0.3s ease;
}

.pricing-card .btn:hover {
    transform: scale(1.02);
}

/* ============ STATUS BADGES ============ */
.subscription-badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.subscription-badge.active {
    background: #DCFCE7;
    color: #166534;
}

.subscription-badge.canceled {
    background: #FEE2E2;
    color: #991B1B;
}

.subscription-badge.expiring {
    background: #FEF3C7;
    color: #92400E;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .dashboard-card {
        padding: 1.25rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ BILLING TOGGLE (Mensal / Anual) ============ */
.billing-toggle-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.billing-toggle {
    display: inline-flex;
    background: #F1F5F9;
    border-radius: 50px;
    padding: 4px;
    position: relative;
}

.billing-toggle button {
    border: none;
    background: transparent;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
}

.billing-toggle button.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.15);
}

.billing-save-badge {
    background: #DCFCE7;
    color: #166534;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    margin-left: 4px;
}

.pricing-card .price-period {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray);
}

.pricing-card .yearly-hint {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.25rem;
}