/* Reset e variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #EA1D2C;
    --secondary-color: #FF6B35;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --text-light: #BDC3C7;
    --background: #FFFFFF;
    --background-light: #F8F9FA;
    --success: #27AE60;
    --error: #E74C3C;
    --border-light: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--background);
}

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

/* Header */
.header {
    background: var(--background);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
}

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

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFEEF0 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-color);
    display: block;
    font-size: 3rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-cta {
    margin-bottom: 1rem;
}

.hero-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.mockup-phone {
    background: #1F2937;
    border-radius: 30px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 300px;
    margin: 0 auto;
}

.phone-screen {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
}

.mockup-content {
    padding: 20px;
}

.mockup-header {
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    text-align: center;
}

.mockup-product {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
    padding: 12px;
    background: var(--background-light);
    border-radius: 8px;
}

.product-img {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
}

.product-info {
    flex: 1;
}

.product-name {
    height: 12px;
    background: var(--text-light);
    border-radius: 4px;
    margin-bottom: 8px;
}

.product-price {
    height: 10px;
    background: var(--text-light);
    border-radius: 4px;
    width: 60%;
}

/* Economia Section */
.economia {
    padding: 4rem 0;
    background: var(--background-light);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.economia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.economia-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.economia-good {
    border: 3px solid var(--success);
}

.economia-bad {
    opacity: 0.7;
}

.badge-destaque {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.preco-grande {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.preco-desc {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.economia-destaque {
    background: var(--success);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.economia-valor {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.economia-numero {
    font-size: 2rem;
    font-weight: bold;
}

.economia-anual {
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Funcionalidades Section */
.funcionalidades {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.938rem;
}

/* Comparação Section */
.comparacao {
    padding: 4rem 0;
    background: var(--background-light);
}

.tabela-comparacao {
    overflow-x: auto;
}

table {
    width: 100%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

thead {
    background: var(--primary-color);
    color: white;
}

th, td {
    padding: 1rem;
    text-align: center;
}

tbody tr {
    border-bottom: 1px solid var(--border-light);
}

tbody tr:last-child {
    border-bottom: none;
}

.destaque {
    background: #D4EDDA;
    font-weight: 600;
    color: var(--success);
}

.ruim {
    background: #F8D7DA;
    color: var(--error);
}

.nota-rodape {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.875rem;
}

/* Como Funciona Section */
.como-funciona {
    padding: 4rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Cadastro Section */
.cadastro {
    padding: 4rem 0;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFEEF0 100%);
}

.cadastro-box {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.cadastro-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-cadastro {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1rem;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
}

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

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

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

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

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

/* CTA Final */
.cta-final {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-final .btn-primary {
    background: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-icon {
    color: white;
}

.footer-desc {
    color: var(--text-light);
    margin-top: 1rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
}

.footer-links a,
.footer-links p {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .highlight {
        font-size: 2.5rem;
    }

    .economia-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .tabela-comparacao table {
        font-size: 0.875rem;
    }

    th, td {
        padding: 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cadastro-box {
        padding: 2rem 1.5rem;
    }
}