/* Reset e Variáveis Globais (Modo Claro Moderno "Clean Startup") */
:root {
    --bg-main: #FAFAFA;
    --bg-card: #FFFFFF;
    --primary: #0284c7; /* Azul forte focado em conversão */
    --primary-light: #38bdf8;
    --primary-glow: rgba(2, 132, 199, 0.2);
    --secondary: #0ea5e9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

/* Background Mesh Gradient (Efeito Startup) */
body::before, body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.6;
    animation: drift 20s infinite alternate ease-in-out;
}

body::before {
    background: #e0f2fe;
    top: -100px;
    left: -200px;
}

body::after {
    background: #e0e7ff;
    top: 40%;
    right: -200px;
}

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

/* Tipografia */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-main);
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 10px 25px -5px var(--primary-glow), 0 8px 10px -6px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -5px var(--primary-glow), 0 10px 15px -6px var(--primary-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-main);
    padding: 12px 26px; /* ajustado pela borda */
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(2, 132, 199, 0.03);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.15rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 40px;
    background: var(--bg-card);
    padding: 10px 32px;
    border-radius: 50px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--border);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 200px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: #f0f9ff;
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 32px;
    border: 1px solid #bae6fd;
    box-shadow: 0 4px 14px 0 rgba(2, 132, 199, 0.1);
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 32px;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Marquee Integrações */
.integrations-marquee {
    padding: 60px 0;
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.integrations-marquee::before, .integrations-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
}

.integrations-marquee::before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.integrations-marquee::after {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

.marquee-wrapper {
    display: flex;
    width: 200%;
}

.marquee-content {
    display: flex;
    justify-content: space-around;
    width: 100%;
    animation: marquee 30s linear infinite;
}

.integration-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    opacity: 0.6;
    transition: var(--transition);
}

.integration-item:hover {
    opacity: 1;
    color: var(--primary);
    transform: scale(1.05);
}

.integration-item i {
    font-size: 2.5rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Estrutura de Seções */
.section-title {
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Features - Estilo Bento Grid */
.features {
    padding: 160px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px;
    grid-template-rows: auto auto;
}

.feature-card {
    background: var(--bg-card);
    padding: 48px 40px;
    border-radius: 32px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Layout assimétrico */
.feature-card:nth-child(1) { grid-column: span 2; }
.feature-card:nth-child(4) { grid-column: span 2; }
.feature-card:nth-child(5) { 
    grid-column: span 3; 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: #f0f9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.feature-icon i {
    font-size: 36px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

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

/* Decoração sutil nos cards maiores */
.feature-card:nth-child(1)::after, .feature-card:nth-child(4)::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
}


/* Pricing */
.pricing {
    padding: 160px 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: flex-start;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 36px;
    padding: 48px 32px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.02);
}

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

.pricing-card.highlighted {
    background: var(--text-main);
    color: white;
    border: none;
    transform: scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(2, 132, 199, 0.3);
}

.pricing-card.highlighted:hover {
    transform: scale(1.02) translateY(-10px);
}

.pricing-card.highlighted .plan-header h3,
.pricing-card.highlighted .price, 
.pricing-card.highlighted .price span,
.pricing-card.highlighted .plan-features li {
    color: white;
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
    white-space: nowrap;
}

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

.plan-header h3 {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    line-height: 1;
}

.price span {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 8px;
}

.price span:last-child {
    align-self: flex-end;
    margin-bottom: 8px;
    margin-left: 4px;
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin-bottom: 48px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-features i {
    color: var(--primary);
    font-size: 1.3rem;
}

.pricing-card.highlighted .plan-features i {
    color: var(--primary-light);
}

.pricing-card .btn {
    width: 100%;
}

.pricing-card.highlighted .btn-primary {
    background: linear-gradient(135deg, #fff, #f1f5f9);
    color: var(--text-main);
    box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.2);
}

.pricing-card.highlighted .btn-primary:hover {
    box-shadow: 0 15px 35px -5px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 32px;
    background: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 64px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand .logo-text {
    font-size: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 24px;
    max-width: 350px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 32px;
    font-size: 0.95rem;
}

/* Animações Reveal Scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Compare Table */
.compare-action {
    margin: 64px 0 32px;
}

.compare-table-wrapper {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-top: 32px;
    animation: fadeIn 0.5s ease;
}

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

.compare-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    text-align: center;
}

.compare-table th, .compare-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.compare-table th {
    background: #f8fafc;
    position: sticky;
    top: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--text-main);
    z-index: 10;
}

.compare-table th span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
}

.compare-table .feature-col {
    text-align: left;
    font-weight: 600;
    color: var(--text-main);
    width: 30%;
}

.compare-table .section-row td {
    background: #f0f9ff; /* Azul claro marca */
    color: var(--primary); /* Texto azul forte marca */
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-align: left;
    font-size: 1.1rem;
    padding: 16px 24px;
}

.compare-table td {
    color: var(--text-muted);
    font-weight: 500;
}

.compare-table .check-icon {
    font-size: 1.5rem;
    color: var(--primary); /* Azul da logo */
}

.compare-table .cross-icon {
    font-size: 1.5rem;
    color: #cbd5e1;
    font-weight: bold;
}

/* Enterprise CTA Banner */
.enterprise-cta-banner {
    background: #0f172a; /* Escuro moderno */
    border-radius: 40px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.25);
}

.cta-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 64px;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.enterprise-cta-banner::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.cta-left {
    flex: 1;
    color: white;
}

.cta-plan-name {
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    color: #e2e8f0;
    margin-bottom: 24px;
    display: inline-block;
}

.cta-plan-name strong {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    color: white;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

.cta-title {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: white;
}

.cta-center {
    flex: 0 0 320px;
    height: 380px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-image-wrapper {
    width: 100%;
    height: 100%;
}

.cta-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
}

.cta-right {
    flex: 1;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

.cta-features-list {
    list-style: none;
    margin-bottom: 32px;
}

.cta-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 16px;
    font-weight: 500;
}

.cta-features-list li i {
    color: #38bdf8;
    font-size: 1.25rem;
}

.cta-btn {
    align-self: flex-start;
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-btn:hover {
    background: white;
    color: #0f172a;
    border-color: white;
}

@media (max-width: 992px) {
    .cta-banner-content {
        flex-direction: column;
        padding: 48px 32px;
        text-align: center;
    }
    .cta-btn {
        align-self: center;
    }
    .cta-features-list li {
        justify-content: center;
    }
    .cta-center {
        width: 100%;
        height: 250px;
        flex: auto;
    }
}

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

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-card:nth-child(1), .feature-card:nth-child(4) { 
        grid-column: span 1; 
    }
    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .pricing-grid, .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card:nth-child(1), .feature-card:nth-child(4) { 
        grid-column: span 1; 
    }
    
    .hero {
        padding: 160px 0 100px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .footer-content {
        flex-direction: column;
    }
}
