:root {
    --bg: #030712;
    --surface: #0f172a;
    --surface-light: #1e293b;
    --border: #334155;
    --primary: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.3);
    --accent: #3b82f6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

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

body { background-color: var(--bg); color: var(--text-main); font-family: 'Inter', sans-serif; line-height: 1.6; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Section Spacing */
section { padding: 100px 0; }

/* Typography */
.section-title { font-size: 2.8rem; font-weight: 800; text-align: center; margin-bottom: 50px; letter-spacing: -1px; }
.gradient-text { background: linear-gradient(90deg, #10b981, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    z-index: 1; /* Define a base da pilha */
    padding: 160px 0 100px; /* Mantendo seu padding original */
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Força a imagem para trás de TUDO dentro do hero */
    opacity: 0.15; 
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-img-blur {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px) saturate(0.5); /* Aumentei o blur para dar mais foco ao texto */
    transform: scale(1.1); /* Evita bordas brancas devido ao blur */
}

.hero-content-wrapper {
    position: relative;
    z-index: 10; /* Garante que o texto e botões fiquem no topo absoluto */
}

.hero h1 { font-size: 4.5rem; line-height: 1; margin-bottom: 24px; font-weight: 900; }
.hero-sub { font-size: 1.4rem; color: var(--text-muted); max-width: 850px; margin: 0 auto 48px; }
.badge { background: rgba(16, 185, 129, 0.1); color: var(--primary); padding: 8px 24px; border-radius: 100px; font-weight: 700; border: 1px solid var(--primary); margin-bottom: 30px; display: inline-block; font-size: 0.9rem; }

/* Buttons & Animations */
.btn { padding: 20px 40px; border-radius: 14px; font-weight: 800; text-decoration: none; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: inline-block; border: none; }
.btn-primary { background: var(--primary); color: #022c22; box-shadow: 0 10px 30px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-5px) scale(1.02); filter: brightness(1.1); }
.btn-secondary { color: white; border: 1px solid var(--border); margin-left: 15px; background: rgba(255,255,255,0.05); }
.btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: var(--text-muted); }

.pulse { animation: pulse-animation 2.5s infinite; }
@keyframes pulse-animation { 0% { box-shadow: 0 0 0 0px var(--primary-glow); } 100% { box-shadow: 0 0 0 25px rgba(16, 185, 129, 0); } }

/* Features Grid */
.grid-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-item { background: var(--surface); padding: 40px; border-radius: 24px; border: 1px solid var(--border); transition: 0.3s; }
.feature-item:hover { border-color: var(--primary); background: #111b2e; }
.feature-item i { color: var(--primary); margin-bottom: 20px; width: 40px; height: 40px; }
.feature-item h3 { margin-bottom: 12px; font-size: 1.25rem; }
.feature-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Showcase / Images Section */
.gallery-wrapper { display: flex; flex-direction: column; gap: 24px; }
.gallery-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.image-container { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.screenshot { width: 100%; display: block; transition: 0.5s ease; }
.image-container:hover .screenshot { transform: scale(1.03); }
.img-caption { position: absolute; bottom: 0; width: 100%; background: linear-gradient(transparent, rgba(0,0,0,0.9)); padding: 20px; font-weight: 600; font-size: 0.9rem; }

/* Testimonials */
.testimonials-modern { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.testimonial-card { background: var(--surface); padding: 40px; border-radius: 24px; border: 1px solid var(--border); position: relative; }
.testimonial-card.featured { border-color: var(--accent); background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); }
.stars { color: #f59e0b; margin-bottom: 16px; font-size: 1.1rem; }
.user { display: flex; align-items: center; gap: 15px; margin-top: 24px; }
.avatar { background: var(--primary); color: #022c22; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; }

/* Pricing Card */
.offer-card { background: #0f172a; max-width: 850px; margin: 0 auto; padding: 60px; border-radius: 40px; position: relative; border: 1px solid var(--primary); }
.glow-border { box-shadow: 0 0 60px rgba(16, 185, 129, 0.15); }
.offer-badge { background: #ef4444; padding: 6px 16px; border-radius: 8px; font-size: 0.75rem; font-weight: 900; position: absolute; top: -16px; left: 50%; transform: translateX(-50%); letter-spacing: 1px; }
.offer-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 30px; text-align: left; }
.offer-list { list-style: none; }
.offer-list li { margin-bottom: 18px; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.offer-list i { color: var(--primary); }

.price-box { text-align: center; background: rgba(255,255,255,0.03); padding: 30px; border-radius: 24px; }
.old-price { text-decoration: line-through; color: #ef4444; font-size: 1.2rem; font-weight: 700; opacity: 0.8; }
.current-price { color: white; margin: 8px 0; }
.amount { font-size: 4.5rem; font-weight: 900; letter-spacing: -2px; }
.currency { font-size: 1.4rem; font-weight: 700; vertical-align: super; }
.btn-cta { width: 100%; margin-top: 20px; font-size: 1.1rem; }

footer { padding: 60px 0; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); }

/* Responsive Adjustments */
@media (max-width: 900px) {
    .offer-content { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
}
@media (max-width: 600px) {
    .gallery-sub, .testimonials-modern { grid-template-columns: 1fr; }
    .btn-secondary { margin: 15px 0 0 0; width: 100%; }
    .btn-primary { width: 100%; }
}

/* Estilização da Imagem de Topo */
.top-preview {
    padding: 40px 0 0 0; /* Espaçamento no topo */
    background: radial-gradient(circle at bottom, #111827 0%, #030712 100%);
}

.main-spreadsheet-wrapper {
    width: 70%;
    max-width: 900px; /* Limita a largura para não ficar gigante em telas grandes */
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.1); /* Brilho sutil verde */
    transition: transform 0.3s ease;
}

.main-spreadsheet-wrapper:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.top-img {
    width: 100%;
    height: auto;
    display: block;
}


/* Nova Grade de Depoimentos */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--surface);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.testimonial-card.featured {
    border: 1px solid var(--primary);
    background: linear-gradient(145deg, #0f172a 0%, #064e3b 100%);
}

.avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Foto Redonda */
    object-fit: cover;
    border: 2px solid var(--primary);
}

.user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.user-info strong {
    font-size: 1.1rem;
    color: var(--text-main);
}

.user-info span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.testimonial-card p {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #cbd5e1;
}

/* --- HERO SECTION (UNIFICADO) --- */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    z-index: 1; /* Base do empilhamento */
    padding: 160px 0 100px;
    background: var(--bg); /* Garante fundo sólido por trás da imagem */
}

/* Camada da Imagem (Fundo) */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Força para trás de TUDO */
    opacity: 0.15; 
    pointer-events: none;
}

.bg-img-blur {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px) saturate(0.5);
    transform: scale(1.1);
    animation: slowZoom 20s infinite ease-in-out;
}

/* Camada de Conteúdo (Frente) */
.hero-content-wrapper {
    position: relative;
    z-index: 10; /* Garante que o texto fique no topo absoluto */
    text-align: center;
}

/* --- AJUSTE NAS ANIMAÇÕES --- */
@keyframes slowZoom {
    0% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1.1); }
}

/* Glassmorphism sutil nos cards de depoimento */
.testimonial-card {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.5) !important;
}

/* Animações de Entrada */
[data-reveal] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed {
    opacity: 1;
    transform: translate(0, 0) !important;
}

[data-reveal="top"] { transform: translateY(-30px); }
[data-reveal="bottom"] { transform: translateY(30px); }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }

@keyframes slowZoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.bg-img-blur {
    /* ... manter propriedades anteriores ... */
    animation: slowZoom 20s infinite ease-in-out;
}