:root {
    /* Cores */
    --primary-red: #FC4A4C;
    --primary-red-hover: #e03e40;
    --secondary-navy: #000A2A;
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --bg-light: oklch(100% 0 0);
    --white: #ffffff;

    /* Fontes */
    --font-sans: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "Geist Mono", "Roboto Mono", monospace;

    --transition: all 0.3s ease;
    --max-width: 1200px;
}

/* --- GLOBAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    /* Padrão Inter */
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-sans);
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    border-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 74, 76, 0.3);
}

.btn-ghost {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-ghost:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* --- LAYOUT UTILITIES --- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

/* --- HEADER --- */
header {
    padding: 20px 0;
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header img {
    height: 35px;
    transform: translateY(-.2rem);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

.nav-links {
    /* display: none; */
}

.nav-links a {
    margin-left: 30px;
    color: var(--secondary-navy);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-red);
}

/* --- HERO SECTION --- */
.hero {
    display: flex;
    align-items: center;
    padding: 100px 0;
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--secondary-navy);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.trust-indicator {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 10px;
    /* GEIST MONO: Dados técnicos ficam bem em mono */
    font-family: var(--font-mono);
}

/* Mockup Browser */
.hero-image {
    position: relative;
}

.browser-mockup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 10, 42, 0.15);
    padding: 32px;
    border: 1px solid #eee;
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.mockup-body {
    border-radius: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0px;
}

/* --- WHY SECTION --- */
.why-section {
    background-color: var(--secondary-navy);
    color: var(--white);
    text-align: center;
}

.why-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.why-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #d1d5db;
}

/* --- FEATURES SECTION --- */
.features {
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid oklch(92.2% 0 0);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(252, 74, 76, 0.1);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 0 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-navy);
    margin-bottom: 15px;
}

.feature-card p {
    color: #737373;
}

/* --- HOW IT WORKS --- */
.how-it-works {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-navy);
    margin-bottom: 10px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-item {
    position: relative;
    padding: 20px;
}

/* .step-item:hover .step-number {
    color: var(--primary-red);
} */

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(0, 10, 42, 0.123);
    position: absolute;
    top: -10px;
    left: 15px;
    z-index: 0;
    line-height: 1;
    font-family: var(--font-mono);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);;
}

.step-content {
    position: relative;
    z-index: 1;
    padding-top: 30px;
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--secondary-navy);
    margin-bottom: 10px;
}

/* --- CTA FOOTER --- */
.cta-footer {
    background-color: var(--secondary-navy);
    text-align: center;
    padding: 100px 0;
    color: var(--white);
}

.cta-footer h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-footer p {
    font-size: 1.2rem;
    color: #d1d5db;
    margin-bottom: 30px;
}

footer {
    background-color: #000515;
    color: #666;
    padding: 40px 0;
    font-size: 0.85rem;
    text-align: center;
    /* GEIST MONO: Rodapé técnico */
    font-family: var(--font-mono);
}

footer a {
    color: #888;
    margin: 0 10px;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-red);
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .trust-indicator {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* 1. MELHORIA NAS SEÇÕES NAVY (Fundo Tecnológico) */
.bg-navy-enhanced {
    background-color: var(--secondary-navy);
    background-image: 
        /* Grid sutil */
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        /* Glow central vermelho sutil */
        radial-gradient(circle at 50% 50%, rgba(252, 74, 76, 0.15) 0%, transparent 60%);
    background-size: 50px 50px, 50px 50px, 100% 100%;
    position: relative;
    overflow: hidden;
}

/* Efeito de luz flutuante nas seções escuras */
.bg-navy-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 20%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animação suave do Mockup flutuando */
.browser-mockup {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* 3. CLASSES PARA SCROLL REVEAL (JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Atrasos para elementos em grid */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- STORE AVAILABILITY SECTION --- */
.stores-section {
    background-color: var(--white);
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.stores-header {
    margin-bottom: 40px;
}

.stores-header h2 {
    font-size: 2rem;
    color: var(--secondary-navy);
    margin-bottom: 10px;
}

.stores-header p {
    color: var(--text-gray);
}

.store-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px; /* Limita a largura para não ficar muito espalhado */
    margin: 0 auto;
}

.store-tag {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-gray);
    background-color: #f8f9fa;
    border: 1px solid #e5e7eb;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.store-tag:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background-color: rgba(252, 74, 76, 0.05);
    transform: translateY(-2px);
}

/* --- FAQ SECTION --- */
.faq-section {
    background-color: #fcfcfc; /* Um cinza muito leve para diferenciar */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-red);
}

.faq-icon {
    display: flex;
    align-items: center;
    color: var(--primary-red);
    transition: transform 0.3s ease;
}

/* Estado Ativo (Aberto) */
.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Transforma o + em x */
}

.faq-item.active .faq-question {
    color: var(--primary-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

.language-selector {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
}

.lang-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease, border-bottom 0.2s ease;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    margin: 0;
}

.lang-link:hover {
    color: #fff;
}

.lang-link.active {
    color: #00a8ff; /* Cor azul da sua marca */
    border-bottom: 2px solid #00a8ff;
    font-weight: bold;
}