:root {
    --primary-color: #2E7D32; /* Green */
    --primary-hover: #1B5E20;
    --accent-color: #FF6F00; /* Amber/Orange */
    --text-color: #1F2937;
    --text-light: #6B7280;
    --bg-color: #F9FAFB;
    --white: #FFFFFF;
    --danger: #D32F2F;
    --warning: #ED6C02;
    --success: #2E7D32;
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

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

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

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

.btn-outline:hover {
    background-color: #f0fdf4;
    transform: translateY(-2px);
}

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-list a {
    font-weight: 500;
    color: var(--text-color);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 4rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #dcfce7;
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #111827;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.stat-item i {
    color: var(--primary-color);
}

/* Hero Image / Mockup */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mockup-browser {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.mockup-header {
    background: #f3f4f6;
    padding: 0.75rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red { background-color: #ef4444; }
.yellow { background-color: #f59e0b; }
.green { background-color: #22c55e; }

.mockup-content {
    padding: 1.5rem;
    background-color: #f9fafb;
}

.dashboard-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.dash-card {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #ccc;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.dash-card.danger { border-left-color: var(--danger); }
.dash-card.warning { border-left-color: var(--warning); }
.dash-card.success { border-left-color: var(--success); }

.dash-card .label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.dash-card .value {
    font-size: 1.25rem;
    font-weight: 700;
}

.dash-list {
    margin-top: 0.75rem;
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
}

.dash-list li {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: #4b5563;
}

/* Problem / Solution */
.problem-solution {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.danger-icon { background-color: #fee2e2; color: #ef4444; }
.warning-icon { background-color: #fef3c7; color: #f59e0b; }
.time-icon { background-color: #dbeafe; color: #3b82f6; }

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

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Features */
.features {
    padding: 5rem 0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
    margin-bottom: 0;
}

.feature-text {
    flex: 1;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #e0e7ff;
    color: #4338ca;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.feature-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #374151;
}

.feature-list i {
    color: var(--primary-color);
    margin-top: 4px;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.visual-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
}

.validity-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    font-weight: 500;
}

.validity-row:last-child {
    border-bottom: none;
}

.validity-row span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.validity-row .date {
    font-size: 0.875rem;
}

.expired { color: var(--danger); }
.urgent { color: var(--warning); }
.ok { color: var(--success); }

/* Label Visual */
.visual-label {
    background: white;
    width: 300px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    font-family: 'Courier New', Courier, monospace;
}

.label-header {
    text-align: center;
    border-bottom: 2px dashed #000;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.label-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label-footer {
    border-top: 2px dashed #000;
    margin-top: 1rem;
    padding-top: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
}

/* Audience */
.audience {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.audience h2 {
    margin-bottom: 3rem;
    color: white;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.audience-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.audience-item i {
    font-size: 2rem;
    background: rgba(255,255,255,0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.testimonial-card p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.author strong {
    display: block;
    color: #111827;
}

.author span {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Pricing */
.pricing {
    padding: 5rem 0;
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(1.02);
}

.pricing-card.enterprise {
    background-color: #f9fafb;
}

.pricing-header {
    margin-bottom: 2rem;
    position: relative;
}

.badge-sm {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.25rem;
}

.amount-text {
    font-size: 2.25rem;
}

.currency { font-size: 1.5rem; }
.period { font-size: 1rem; color: #6b7280; font-weight: 400; }

.pricing-features {
    text-align: left;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.75rem;
}

.pricing-features i {
    color: var(--primary-color);
    margin-top: 4px;
}

.pricing-cta small {
    display: block;
    margin-top: 1rem;
    color: #9ca3af;
    font-size: 0.75rem;
}

/* FAQ */
.faq {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.accordion-header {
    width: 100%;
    padding: 1.25rem;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.accordion-header.active::after {
    content: '-';
}

.accordion-content {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    padding-bottom: 1.25rem;
    max-height: 200px; /* Adjust if content is very long */
}

/* Footer */
.footer {
    background-color: #111827;
    color: white;
    padding: 4rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #374151;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9ca3af;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
}

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

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .container { width: 95%; }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-buttons {
        align-items: center;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-row {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    .feature-list li {
        justify-content: center;
        text-align: left;
    }

    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .header-actions .btn {
        display: none;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        transition: 0.3s;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        font-size: 1.25rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand .logo, .footer-contact p {
        justify-content: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .social-icons {
        justify-content: center;
    }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Modal CSS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    margin-bottom: 0.5rem;
}

.modal-header p {
    font-size: 0.9rem;
    color: #666;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group-row {
    display: flex;
    gap: 1rem;
}

.form-group-row .form-group {
    flex: 1;
}

.back-step {
    background: none;
    border: none;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    position: absolute;
    left: 2rem;
    top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Payment Tabs */
.payment-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.tab-btn {
    flex: 1;
    padding: 0.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: #666;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.payment-pane {
    display: none;
}

.payment-pane.active {
    display: block;
}

.center-pane {
    text-align: center;
    padding: 1rem 0;
}

.pix-icon, .boleto-icon {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
}

.qr-placeholder {
    margin: 1.5rem 0;
}

.secure-note {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #666;
}
