/* Global Styles */
:root {
    --primary-color: #4c3ae7;
    --primary-dark: #000;
    --primary-light: #FF8C33;
    --secondary-color: #333333;
    --light-color: #FFFFFF;
    --dark-color: #222222;
    --gray-color: #F5F5F5;
    --text-color: #444444;
    --text-light: #777777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-align: center;
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* Header Styles */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: #000;
}

.logo h1 span {
    color: var(--primary-color);
}

.logo p {
    font-size: 0.8rem;
    color: var(--text-light);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.header-contact .btn {
    margin-left: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.pexels.com/photos/7510780/pexels-photo-7510780.jpeg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    padding-top: 80px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Features Section */
.features {
    background-color: var(--gray-color);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Plans Section - MODIFICADO PARA LADO A LADO */
.plans {
    background-color: var(--light-color);
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.plan-tabs {
    display: none;
}

.tab-btn {
    display: none;
}

.plan-content {
    display: none;
}

.plan-content.active {
    display: none;
}

.plan-card {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
    border: 2px solid #eee;
    text-align: center;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.plan-card.highlight {
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(255, 189, 89, 0.3);
}

.plan-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.plan-badge.popular {
    background: linear-gradient(135deg, #4c3ae7 0%, #000 100%);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.plan-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 700;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.promo-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
    font-style: italic;
}

.plan-card ul {
    margin-bottom: 25px;
    text-align: left;
}

.plan-card ul li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
}

.plan-card ul li i {
    color: #28a745;
    margin-right: 10px;
}

.plan-card .btn {
    width: 100%;
    margin-top: 10px;
}

.plan-notes {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--gray-color);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    grid-column: 1 / -1;
}

.plan-notes p {
    margin: 8px 0;
}

/* Routers Section */
.routers {
    background-color: var(--gray-color);
}

.routers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.router-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.router-card:hover {
    transform: translateY(-5px);
}

.router-img {
    height: 200px;
    overflow: hidden;
}

.router-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.router-card:hover .router-img img {
    transform: scale(1.1);
}

.router-card h3 {
    font-size: 1.3rem;
    padding: 15px 20px 5px;
    color: var(--secondary-color);
}

.router-card p {
    padding: 0 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.router-price {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 15px 20px 5px;
    color: var(--primary-color);
}

.router-card small {
    display: block;
    padding: 0 20px 20px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-form {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: 8px;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* FAQ Section */
.faq {
    background-color: var(--gray-color);
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: var(--light-color);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background-color: var(--light-color);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 0.95rem;
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 60px 0 0;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #000;
}

.footer-logo h3 span {
    color: var(--primary-color);
}

.footer-logo p {
    font-size: 0.9rem;
    color: #aaa;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 15px;
    color: #ccc;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: var(--dark-color);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .plans-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
        text-align: center;
    }
    
    nav ul {
        margin-bottom: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .header-contact {
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .plans-container {
        grid-template-columns: 1fr;
    }
    
    .plan-card.highlight {
        transform: none;
    }
    
    .contact .container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    footer .container {
        grid-template-columns: 1fr;
    }
}

/* Adicionais para interatividade */
.active {
    display: block !important;
}

[data-tab-content] {
    display: none;
}

.show {
    max-height: 1000px !important;
    opacity: 1;
    padding: 20px 0;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    nav ul.active {
        display: block;
    }

    nav ul li {
        margin: 15px 0;
    }

    .header-contact {
        width: 100%;
        margin-top: 15px;
    }
}

/* Validação de Formulário */
input:invalid, select:invalid {
    border-color: #ff4444 !important;
}

.form-error {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}