/* ========================================
   TeleVIP Landing Page - Mobile First Design
   ======================================== */

:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --accent: #fbbf24;
    --dark: #1a202c;
    --light: #f7fafc;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-success: linear-gradient(135deg, #13f1fc 0%, #0470dc 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #ffffff;
    color: #2d3748;
    line-height: 1.6;
}

/* Hide cursor on mobile */
.cursor, .cursor2 {
    display: none;
}

/* ========================================
   Mobile First Navbar
   ======================================== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
}

.navbar-custom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-custom .navbar-collapse {
    justify-content: flex-end;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile Menu */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        margin-top: 12px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: var(--shadow-lg);
    }
}

.nav-link {
    color: #4a5568;
    font-weight: 500;
    padding: 10px 16px;
    transition: all 0.3s ease;
}

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

.btn-nav-cta {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .navbar-custom .navbar-nav {
        align-items: center;
    }
    
    .navbar-custom .nav-item:last-child {
        margin-left: 20px;
    }
    
    .btn-nav-cta {
        margin-top: 0;
        margin-left: 20px;
    }
}

/* ========================================
   Mobile First Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.hero h1 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .lead {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    color: #718096;
    font-size: 14px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-hero-secondary {
    background: white;
    color: var(--primary);
    padding: 16px 32px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

/* Hero Animation Elements */
.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    display: none; /* Hidden on mobile */
}

/* ========================================
   Mobile First Features Section - CORRIGIDA
   ======================================== */
.features {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 16px;
    color: #718096;
}

/* Reset do grid do Bootstrap para ter controle total */
.features .row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.features .col-lg-4 {
    padding: 15px;
    flex: 0 0 100%;
    max-width: 100%;
}

/* Feature cards com altura igual */
.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    margin-bottom: 0;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Ícone centralizado */
.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    margin: 0 auto 25px;
    flex-shrink: 0;
}

/* Título */
.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a202c;
    line-height: 1.3;
}

/* Descrição */
.feature-description {
    color: #718096;
    font-size: 15px;
    line-height: 1.7;
    flex-grow: 1;
    margin: 0;
}

/* Remover margens extras */
.features .container {
    max-width: 1200px;
}

/* Fix para garantir que os cards fiquem alinhados */
.features .row > * {
    margin-bottom: 40px;
}

/* ========================================
   Mobile First Pricing Section - APENAS PLANO GRÁTIS
   ======================================== */
.pricing {
    padding: 60px 0;
    background: white;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
    border: 3px solid var(--primary);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-accent);
    color: #1a202c;
    padding: 4px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 40px;
    font-weight: 900;
    color: var(--primary);
}

.plan-price small {
    font-size: 16px;
    font-weight: 400;
    color: #718096;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4a5568;
    font-size: 15px;
}

.pricing-features i {
    color: #48bb78;
    font-size: 18px;
}

.btn-pricing {
    width: 100%;
    padding: 14px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

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

/* ========================================
   Mobile First Testimonials
   ======================================== */
.testimonials {
    padding: 60px 0;
    background: #f8f9fa;
}

.testimonial-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
}

.testimonial-info p {
    margin: 0;
    font-size: 14px;
    color: #718096;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 12px;
}

.testimonial-text {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.6;
}

/* ========================================
   Mobile First CTA Section
   ======================================== */
.cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta .lead {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-cta {
    background: white;
    color: var(--primary);
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Mobile First Footer - CORES CORRIGIDAS
   ======================================== */
.footer {
    background: #1a202c;
    color: #e2e8f0;
    padding: 40px 0 20px;
}

.footer h5,
.footer h6 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.9;
}

.footer p {
    color: #cbd5e0;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #ffffff;
}

.footer .text-muted {
    color: #cbd5e0 !important;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #ffffff;
}

.social-links a:hover {
    background: var(--gradient-primary);
}

/* ========================================
   Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
    /* Show cursor on desktop */
    .cursor, .cursor2 {
        display: block;
    }
    
    /* Hero adjustments */
    .hero h1 {
        font-size: 48px;
    }
    
    .hero .lead {
        font-size: 20px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        max-width: 800px;
        margin: 40px auto;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    /* Show floating cards on tablet+ */
    .floating-card {
        display: block;
    }
    
    /* Features - Tablet */
    .features .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .feature-card {
        padding: 35px 25px;
    }
    
    /* Section spacing */
    .features, .pricing, .testimonials {
        padding: 80px 0;
    }
}

/* ========================================
   Desktop (992px+)
   ======================================== */
@media (min-width: 992px) {
    /* Features - Desktop */
    .features .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .features .row {
        margin: -20px;
    }
    
    .features .col-lg-4 {
        padding: 20px;
    }
    
    .feature-card {
        padding: 45px 35px;
        min-height: 320px;
    }
    
    /* Garantir alinhamento vertical consistente */
    .features .row {
        align-items: stretch;
    }
    
    /* Última linha não precisa de margin bottom */
    .features .row > *:nth-last-child(-n+3) {
        margin-bottom: 0;
    }
}

/* ========================================
   Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
    /* Hero */
    .hero h1 {
        font-size: 64px;
    }
    
    .hero .lead {
        font-size: 24px;
    }
    
    /* Section spacing */
    .features, .pricing, .testimonials, .cta {
        padding: 100px 0;
    }
    
    /* Larger buttons on desktop */
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 18px 40px;
        font-size: 18px;
    }
}

/* Desktop grande (1200px+) */
@media (min-width: 1200px) {
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 35px;
        margin-bottom: 30px;
    }
    
    .feature-title {
        font-size: 24px;
        margin-bottom: 18px;
    }
    
    .feature-description {
        font-size: 16px;
        line-height: 1.8;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Utility classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Performance optimizations */
.feature-card,
.pricing-card,
.testimonial-card {
    will-change: transform;
}

/* Print styles */
@media print {
    .navbar-custom,
    .hero-buttons,
    .btn-cta,
    .footer {
        display: none;
    }
}