/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(135deg, #dbeafe 0%, #ffffff 50%, #f3e8ff 100%);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.nav-mobile {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-link-mobile {
    color: #6b7280;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link-mobile:hover {
    color: #2563eb;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

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

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #9333ea);
    color: white;
    font-weight: bold;
}

.btn-primary:hover {
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
    filter: brightness(1.2) saturate(1.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
    font-weight: bold;
}

.btn-secondary:hover {
    color: white;
    background: #2563eb;
}

.btn-outline {
    background: transparent;
    color: blue;
    border: 1px solid blue;
}

.btn-outline:hover {
    color: white;
    background: blue;
}

.btn-white {
    background: white;
    color: #2563eb;
}

.btn-white:hover {
    color: white;
    border: 1px solid white;
    background: transparent;
}

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

.btn-outline-white:hover {
    background: white;
    color: #2563eb;
}

.btn-full {
    width: 100%;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-blue {
    background: #bfd5f1;
    color: #1d4ed8;
}

.badge-purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.badge-green {
    background: #dcfce7;
    color: #16a34a;
}

.badge-yellow {
    background: #fef3c7;
    color: #d97706;
}

.badge-gray {
    background: #f3f4f6;
    color: #374151;
}

/* Hero Section */
.hero {
    padding: 8rem 1rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 1.5rem 0;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item svg {
    color: #10b981;
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(37, 99, 235, 0.2), transparent);
}

.stats-card {
    position: absolute;
    bottom: -1rem;
    left: 15rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

.stats-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stats-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
}

.stats-number {
    font-weight: 600;
    color: #1f2937;
}

.stats-description {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #1f2937;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.4rem;
    }
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 64rem;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 4rem 1rem;
    background: white;
}

.features-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-description {
    color: gray;
    line-height: 1.6;
}

.btn-feature {
    margin-top: 1.5rem;
}

.btn-feature.btn-lg {
    width: 100%;
    margin-top: 2rem;
}

/* Comparison Section */
.comparison {
    padding: 4rem 1rem;
}

.comparison-table-container {
    margin: 2rem 0 0 0;
    overflow-x: auto;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, #2563eb, #9333ea);
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

.comparison-table th {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: #f9fafb;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: #1f2937;
}

.comparison-table td:nth-child(2) {
    color: #ef4444;
}

.comparison-table td:nth-child(3) {
    color: #10b981;
    font-weight: 500;
}

.comparison-cta {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: end;
}

.comparison-cta-text {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .comparison-cta-text {
        font-size: 1rem;
    }
}

/* Benefits Section */
.benefits {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #dbeafe, #f3e8ff);
}

.benefits-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .benefits-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.benefit-description {
    color: gray;
}

.btn-benefit {
    margin-top: 1rem;
    width: 100%;
}

.benefits-images {
    position: relative;
}

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

.benefit-img {
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    height: 12rem;
    width: 100%;
}

.benefit-img-2 {
    margin-top: 2rem;
}

.benefit-img-3 {
    margin-top: -2rem;
}

.stats-box {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.stats-number-large {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Pricing Section */
.pricing {
    padding: 4rem 1rem;
    background: white;
}

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

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.pricing-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease;
    position: relative;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.pricing-card-popular {
    border: 2px solid #2563eb;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 500;
}

.pricing-header {
    padding: 2rem 1rem;
    text-align: center;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.period {
    color: #6b7280;
    margin-left: 0.2rem;
}

.plan-description {
    color: #6b7280;
}

.pricing-content {
    padding: 0rem 1rem 2rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    height: 100%;
}

.pricing-content button {
    font-weight: bold;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.features-list .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #6b7280;
}

.features-list .feature-item svg {
    color: #10b981;
    flex-shrink: 0;
}

.features-list .feature-item.x-icon svg {
    color: red;
}

.pricing-cta {
    margin-top: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.pricing-cta-text {
    font-size: 1.2rem;
}

.pricing-note {
    background: #e5f5ff;
    border-left: 4px solid #3b82f6;
    padding: 0.75rem;
    margin-top: 1rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #dbeafe, #f3e8ff);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.testimonial-content {
    color: #6b7280;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.author-name {
    font-weight: 600;
    color: #1f2937;
}

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

.btn-testimonial {
    margin-top: 1.5rem;
    width: 100%;
}

/* FAQ Section */
.faq {
    padding: 4rem 1rem;
    background: white;
}

.faq .container {
    max-width: 64rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-question svg {
    color: #2563eb;
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    margin-left: 1.75rem;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

.cta-description {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 32rem;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-buttons button {
    font-weight: bold;
}

/* Floating CTA Styles */
.floating-cta {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: calc(100% - 2rem);
    max-width: 400px;
    animation: floatBounce 2s infinite ease-in-out;
    display: none; /* Escondido por padrão, será mostrado via JS em mobile */
}

@media (max-width: 768px) {
    .floating-cta {
        display: block;
    }
}

.btn-accent {
    background: linear-gradient(135deg, #2563eb, #9333ea);
    color: white;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.6);
}

.btn-accent svg {
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

/* Animations */
@keyframes floatBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

/* Footer */
.footer {
    padding: 3rem 1rem;
    background: #1f2937;
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .footer-content {
        flex-direction: row;
        gap: 4rem;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: white;
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: justify;
}

.footer-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.footer-column .logo-text {
    margin-bottom: 1rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

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

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #4a5568;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s background 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #1d4ed8, #7c3aed);
    transform: translateY(-1px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero {
        padding: 6rem 1rem 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}

/* Performance optimizations */
.hero-img,
.benefit-img {
    will-change: transform;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.nav-link-mobile:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .mobile-menu-btn,
    .nav-mobile {
        display: none;
    }
    
    .hero {
        padding-top: 2rem;
    }
    
    * {
        box-shadow: none !important;
    }
}
