/* === RESET E VARIÁVEIS === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Principais */
    --primary-blue: #0EA5E9;
    --primary-green: #10B981;
    --dark-bg: #0F172A;
    --darker-bg: #020617;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-dark: linear-gradient(180deg, #0F172A 0%, #020617 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    
    /* Cores Secundárias */
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --gray: #94A3B8;
    --text-light: #CBD5E1;
    --text-dark: #1E293B;
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow-blue: 0 0 20px rgba(14, 165, 233, 0.3);
    --shadow-glow-green: 0 0 20px rgba(16, 185, 129, 0.3);
    
    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === BASE === */
html {
    scroll-behavior: smooth;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

/* === LOADING SCREEN === */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(14, 165, 233, 0.2);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-screen p {
    color: var(--white);
    margin-top: 20px;
    font-weight: 500;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === TOP BAR === */
.top-bar {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-light);
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* === HEADER === */
.header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-bg);
    cursor: pointer;
}

.logo i {
    color: var(--primary-blue);
    font-size: 32px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-bg);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link-special {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid var(--primary-green);
    border-radius: 25px;
    transition: var(--transition);
}

.nav-link-special:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.btn-success {
    background: var(--gradient-success);
    color: var(--white);
    box-shadow: var(--shadow-glow-green);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--dark-bg);
}

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

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-header {
    display: none;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    background: var(--gradient-hero);
    padding: 120px 0 80px;
    overflow: hidden;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.1;
}

.hero-particle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-particle:nth-child(2) {
    animation-delay: -2s;
    background: radial-gradient(circle, var(--primary-green) 0%, transparent 70%);
}

.hero-particle:nth-child(3) {
    animation-delay: -4s;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.3);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white) 0%, var(--text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

.hero-feature i {
    color: var(--primary-green);
    font-size: 18px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-card {
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    animation: cardFloat 3s ease-in-out infinite;
}

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

.plan-highlight {
    text-align: center;
}

.highlight-badge {
    display: inline-block;
    background: var(--gradient-success);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.highlight-speed {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-blue);
    margin: 10px 0;
}

.highlight-desc {
    color: var(--gray);
    margin-bottom: 20px;
}

.highlight-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 30px 0;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-top: 5px;
}

.price-value {
    font-size: 64px;
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1;
}

.price-cents {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 5px;
}

.price-period {
    font-size: 18px;
    color: var(--gray);
    margin-top: 40px;
    margin-left: 5px;
}

.highlight-benefits {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.highlight-benefits li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.highlight-benefits i {
    color: var(--primary-green);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    fill: var(--white);
}

/* === STATS SECTION === */
.stats-section {
    padding: 60px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: block;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--dark-bg);
    margin: 10px 0;
}

.stat-item p {
    color: var(--gray);
    font-weight: 500;
}

/* === SECTION HEADERS === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
}

/* === PLANS SECTION === */
.plans-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.plans-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary-blue);
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow-blue);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.plan-card {
    background: var(--white);
    border-radius: 25px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.plan-card.featured {
    border: 3px solid var(--primary-green);
    transform: scale(1.05);
}

.plan-card.featured::before {
    background: var(--gradient-success);
    height: 8px;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-success);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

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

.plan-type {
    color: var(--gray);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

.plan-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-bg);
    margin: 10px 0;
}

.plan-speed {
    font-size: 56px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-upload {
    color: var(--gray);
    font-size: 14px;
}

.plan-price {
    text-align: center;
    margin: 30px 0;
}

.plan-price-label {
    color: var(--gray);
    font-size: 14px;
}

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

.plan-price-suffix {
    color: var(--gray);
    font-size: 18px;
}

.plan-benefits {
    list-style: none;
    margin: 30px 0;
}

.plan-benefits li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.plan-benefits i {
    color: var(--primary-green);
    font-size: 16px;
}

/* === BENEFITS SECTION === */
.benefits-section {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--white);
}

.benefit-card:nth-child(even) .benefit-icon {
    background: var(--gradient-success);
}

.benefit-card h3 {
    font-size: 22px;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* === COVERAGE SECTION === */
.coverage-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.coverage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.coverage-form {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.coverage-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--gray);
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.coverage-form input:focus {
    border-color: var(--primary-blue);
}

.coverage-image img {
    border-radius: 25px;
    box-shadow: var(--shadow-xl);
}

#coverageResult {
    margin-top: 20px;
    padding: 15px;
    border-radius: 15px;
    font-weight: 600;
}

#coverageResult.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
}

#coverageResult.error {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

/* === FAQ SECTION === */
.faq-section {
    padding: 80px 0;
}

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

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: var(--white);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-bg);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question i {
    transition: var(--transition);
    color: var(--primary-blue);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--gray);
    line-height: 1.8;
}

/* === CTA SECTION === */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
}

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

.cta-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.btn-cta {
    background: var(--gradient-success);
    color: var(--white);
    box-shadow: var(--shadow-glow-green);
    font-size: 20px;
    padding: 20px 50px;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5);
}

/* === HOW IT WORKS SECTION === */
.how-it-works-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.speed-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.speed-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.speed-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.speed-card i {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.speed-card h3 {
    font-size: 24px;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.speed-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* === APPS SECTION === */
.apps-section {
    padding: 100px 0;
    background: var(--white);
}

.apps-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.apps-text h2 {
    font-size: 42px;
    color: var(--dark-bg);
    margin: 20px 0;
    line-height: 1.2;
}

.apps-text p {
    color: var(--gray);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.apps-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: var(--dark-bg);
    color: var(--white);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.app-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-blue);
}

.app-button i {
    font-size: 36px;
}

.app-button div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-button span {
    font-size: 12px;
    opacity: 0.8;
}

.app-button strong {
    font-size: 18px;
    font-weight: 600;
}

.apps-image {
    position: relative;
}

.apps-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

/* === FOOTER === */
.footer {
    background: var(--gradient-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-logo i {
    color: var(--primary-blue);
}

.footer-col p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    padding: 8px 0;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-col ul li i {
    color: var(--primary-blue);
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === CHAT WIDGET === */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-success);
    color: var(--white);
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    position: relative;
    transition: var(--transition);
}

.chat-fab:hover {
    transform: scale(1.1);
}

.chat-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background: var(--white);
    border-radius: 25px;
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

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

.chat-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.chat-header h4 {
    margin: 0;
    font-size: 16px;
}

.chat-online {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
}

.chat-online i {
    font-size: 8px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.chat-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: var(--transition);
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-mode-tabs {
    display: flex;
    background: var(--light-gray);
    padding: 10px;
}

.chat-tab {
    flex: 1;
    padding: 10px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chat-tab.active {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--light-gray);
}

.chat-message {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    animation: messageIn 0.3s ease;
}

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

.chat-message img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    flex-shrink: 0;
}

.message-bubble {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 15px;
    max-width: 75%;
    box-shadow: var(--shadow-sm);
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-message.user .message-bubble {
    background: var(--gradient-primary);
    color: var(--white);
}

.message-bubble p {
    margin: 0 0 5px;
    line-height: 1.5;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
}

.chat-input-form {
    padding: 15px;
    background: var(--white);
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--light-gray);
}

.chat-input-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    outline: none;
    transition: var(--transition);
}

.chat-input-form input:focus {
    border-color: var(--primary-blue);
}

.chat-input-form button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input-form button:hover {
    transform: scale(1.1);
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* === RESPONSIVE === */

/* Tablets e dispositivos médios */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
    
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets pequenos */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition);
        max-height: 0;
        overflow: hidden;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: 500px;
    }
    
    .btn-header {
        display: inline-flex;
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 40px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .coverage-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .chat-window {
        width: calc(100vw - 40px);
        right: -10px;
        height: calc(100vh - 120px);
        bottom: 90px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smartphones grandes */
@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }
    
    .top-bar {
        padding: 8px 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .logo i {
        font-size: 28px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-card {
        padding: 30px 20px;
    }
    
    .highlight-speed {
        font-size: 40px;
    }
    
    .price-value {
        font-size: 48px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item i {
        font-size: 40px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .plans-filter {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .plan-card {
        padding: 30px 20px;
    }
    
    .plan-speed {
        font-size: 48px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
    
    .apps-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .apps-text h2 {
        font-size: 32px;
    }
    
    .apps-buttons {
        flex-direction: column;
    }
    
    .app-button {
        width: 100%;
        justify-content: center;
    }
    
    .speed-info {
        grid-template-columns: 1fr;
    }
    
    .speed-card {
        padding: 30px 20px;
    }
    
    .coverage-form {
        flex-direction: column;
    }
    
    .coverage-form input {
        width: 100%;
    }
    
    .coverage-form .btn {
        width: 100%;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .btn-cta {
        font-size: 18px;
        padding: 16px 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .chat-fab {
        width: 56px;
        height: 56px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
    
    .chat-window {
        width: 100vw;
        height: 100vh;
        right: 0;
        bottom: 0;
        border-radius: 0;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        right: 20px;
        bottom: 90px;
    }
}

/* Smartphones pequenos */
@media (max-width: 375px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .highlight-speed {
        font-size: 36px;
    }
    
    .price-value {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .plan-speed {
        font-size: 42px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* Orientação paisagem em smartphones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-content {
        gap: 20px;
    }
    
    .chat-window {
        height: 95vh;
    }
}

/* Muito grandes (desktops grandes) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-text h1 {
        font-size: 64px;
    }
    
    .section-title {
        font-size: 48px;
    }
}

/* === ANIMATIONS === */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* === TOUCH OPTIMIZATION === */

/* Melhor área de toque para dispositivos móveis */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .filter-btn,
    .action-btn,
    .faq-question {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    .mobile-menu-toggle {
        min-height: 48px;
        min-width: 48px;
    }
    
    /* Feedback visual ao tocar */
    .btn:active,
    .nav-link:active,
    .filter-btn:active {
        transform: scale(0.97);
        opacity: 0.9;
    }
    
    /* Melhorar scroll em mobile */
    body {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
    
    /* Prevenir zoom duplo clique */
    * {
        touch-action: manipulation;
    }
}

/* === ACESSIBILIDADE === */

/* Foco visível para navegação por teclado */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Melhor contraste para texto */
@media (prefers-contrast: high) {
    :root {
        --text-light: #94A3B8;
        --gray: #64748B;
    }
}

/* Modo escuro automático */
@media (prefers-color-scheme: dark) {
    /* O site mantém tema claro, mas poderia ser adaptado */
}

/* Reduzir movimento para usuários sensíveis */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* === PRINT STYLES === */
@media print {
    .top-bar,
    .header,
    .chat-widget,
    .back-to-top,
    .nav-link-special {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
    }
}
