/* home.css - Estilos Dedicados para a Homepage */

/* Navbar Fixa */
.navbar-fixed {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.navbar-fixed.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.navbar-fixed .logo-box {
    display: flex; flex-direction: column; text-decoration: none;
}
.navbar-fixed .logo-title {
    font-size: 1.5rem; font-weight: 900; color: var(--primary, #6c5ce7);
    display: flex; align-items: center; gap: 8px;
}
.navbar-fixed .logo-slogan {
    font-size: 0.75rem; color: #64748b; margin-top: -2px;
}
.nav-menu {
    display: flex; gap: 15px; align-items: center;
}
.nav-menu a {
    text-decoration: none; color: #333; font-weight: 600; font-size: 0.95rem; transition: color 0.2s;
}
.nav-menu a:hover { color: var(--primary, #6c5ce7); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions-mobile { display: none; }
#mobileThemeToggle { display: none; }

/* Menu Hamburguer (Mobile) - estilos legados neutralizados */
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: #333; }
@media(max-width: 992px) {
    /* Regras antigas de nav-menu removidas para não conflitar com o painel deslizante definido em index.html */
    .nav-actions-desktop { display: none; }
    .mobile-toggle { display: block; }
    #mobileThemeToggle { display: block; margin: 0 auto 15px; }
    #themeToggle { display: none; }
}

/* Utils Globais */
p { line-height: 1.6; color: #475569; }
.bg-light { background-color: #f8fafc; }
.section { padding: 80px 20px; }
.section-title { text-align: center; font-size: 2.5rem; font-weight: 800; color: #1e293b; margin-bottom: 15px; }
.section-subtitle { text-align: center; font-size: 1.1rem; color: #64748b; max-width: 600px; margin: 0 auto 50px; }

/* Hero */
.hero-new {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 120px 20px 60px;
    background: radial-gradient(circle at 10% 20%, rgba(108, 92, 231, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(0, 184, 148, 0.05) 0%, transparent 40%),
                linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative; overflow: hidden;
}

.hero-new::before, .hero-new::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--primary, #6c5ce7);
    filter: blur(100px);
    opacity: 0.07;
    z-index: 0;
    animation: floating 10s infinite ease-in-out;
}

.hero-new::before { top: -100px; right: -100px; }
.hero-new::after { bottom: -100px; left: -100px; animation-delay: -5s; }

@keyframes floating {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-new h1, .hero-new .typing-effect, .hero-new .hero-desc, .hero-new .hero-buttons, .hero-new .counters-grid {
    position: relative;
    z-index: 1;
}

.hero-new h1 { font-size: 3.5rem; font-weight: 900; color: #1e293b; margin-bottom: 20px; line-height: 1.2; letter-spacing: -1px; }
.hero-new .typing-effect { font-size: 2.2rem; color: var(--primary, #6c5ce7); font-weight: 800; height: 45px; margin-bottom: 10px; }
.hero-desc { font-size: 1.25rem; color: #475569; max-width: 800px; margin: 25px auto; line-height: 1.6; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; margin-bottom: 50px; flex-wrap: wrap; }

.counters-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.counter-box { text-align: center; background: rgba(255,255,255,0.8); padding: 20px 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); backdrop-filter: blur(10px); }
.counter-num { font-size: 2.5rem; font-weight: 900; color: var(--primary, #6c5ce7); display: block; }
.counter-label { font-size: 0.95rem; font-weight: 600; color: #475569; }

/* Typed Cursor blink */
.typed-cursor { opacity: 1; animation: blink 0.7s infinite; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }

/* Sobre */
.sobre-container { display: flex; align-items: center; gap: 50px; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.sobre-text { flex: 1; min-width: 300px; }
.sobre-text h2 { font-size: 2.5rem; color: #1e293b; margin-bottom: 20px; }
.sobre-text p { text-align: justify; }
.sobre-highlights { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 20px; }
.sobre-hl-card { background: white; padding: 20px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: flex; align-items: flex-start; gap: 15px; border-left: 5px solid var(--primary, #6c5ce7); }
.sobre-hl-icon { font-size: 1.8rem; }

/* Funcionalidades */
.func-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.func-card { background: white; padding: 30px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); text-align: left; }
.func-card:hover { transform: translateY(-10px); }
.func-icon { font-size: 2.2rem; margin-bottom: 20px; display: inline-block; }
.func-card h3 { font-size: 1.25rem; color: #1e293b; margin-bottom: 10px; }

/* Como Funciona */
.steps-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.step-card { flex: 1; min-width: 240px; text-align: center; position: relative; padding: 20px; }
.step-number { width: 50px; height: 50px; background: var(--tertiary, #00b894); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800; margin: 0 auto 20px; }
.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; }

/* Planos */
.planos-grid { display: flex; justify-content: center; gap: 30px; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; align-items: center; }
.plano-card { flex: 1; min-width: 300px; background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); text-align: center; position: relative; }
.plano-card.popular { border: 2px solid var(--primary, #6c5ce7); transform: scale(1.05); box-shadow: 0 15px 50px rgba(108, 92, 231, 0.15); }
.popular-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary, #6c5ce7); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; }
.plano-preco { font-size: 3rem; font-weight: 900; color: #1e293b; margin: 20px 0 10px; }
.plano-preco span { font-size: 1rem; color: #64748b; }
.plano-lista { list-style: none; padding: 0; margin: 30px 0; text-align: left; }
.plano-lista li { margin-bottom: 15px; color: #475569; display: flex; align-items: center; gap: 10px; }
.plano-lista li i { color: var(--tertiary, #00b894); }

/* Afiliados */
.afiliados-box { max-width: 1000px; margin: 0 auto; background: linear-gradient(135deg, #1e293b, #0f172a); color: white; border-radius: 24px; padding: 50px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); position: relative; }
.afd-badge { position: absolute; top: -15px; right: 40px; background: var(--tertiary, #00b894); color: white; padding: 8px 16px; font-weight: bold; border-radius: 20px; font-size: 0.9rem; }
.afd-steps { display: flex; gap: 20px; flex-wrap: wrap; margin: 40px 0; }
.afd-step { flex: 1; min-width: 200px; background: rgba(255,255,255,0.05); padding: 25px; border-radius: 12px; }
.afd-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.afd-table th, .afd-table td { padding: 15px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); }
.afd-table th { color: #94a3b8; }
.afd-table tr:hover { background: rgba(255,255,255,0.02); }

/* Depoimentos Carousel */
.dep-carousel-wrapper { overflow: hidden; max-width: 1000px; margin: 0 auto; position: relative; cursor: pointer; }
.dep-track { display: flex; gap: 30px; animation: scrollLeft 25s linear infinite; width: calc(350px * 6); }
.dep-track:hover { animation-play-state: paused; }
.dep-card { min-width: 320px; background: white; padding: 30px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-350px * 3)); } } /* duplicated cards needed */

/* FAQ Accordion */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: white; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.faq-q { padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; color: #1e293b; background: white; border: none; width: 100%; text-align: left; font-size: 1.1rem; }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: #475569; }
.faq-item.active .faq-a { padding: 0 20px 20px; max-height: 500px; }
.faq-item.active .faq-q i { transform: rotate(180deg); }
.faq-q i { transition: transform 0.3s; color: var(--primary, #6c5ce7); }

/* Suporte */
.suporte-grid { display: flex; justify-content: center; gap: 30px; max-width: 1000px; margin: 0 auto; flex-wrap: wrap; }
.suporte-card { flex: 1; min-width: 250px; background: white; padding: 30px; border-radius: 16px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.suporte-card i { font-size: 2.5rem; color: var(--primary, #6c5ce7); margin-bottom: 20px; }

/* Footer Novo */
.footer-new { background: #0f172a; color: #94a3b8; padding: 60px 40px 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto 40px; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { text-decoration: none; color: #94a3b8; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; text-align: center; font-size: 0.9rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; max-width: 1200px; margin: 0 auto; }

/* Ajustes mobile */
@media(max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center !important; gap: 30px !important; }
    .hero-content { flex: 1; text-align: center !important; min-width: 100% !important; }
    .hero-new h1 { text-align: center !important; margin: 0 auto !important; }
    .hero-new .typing-effect { justify-content: center !important; }
    .hero-buttons { justify-content: center !important; }
    .counters-grid { justify-content: center !important; gap: 15px !important; }
    .hero-image { order: -1; width: 100%; max-width: 400px; margin: 0 auto 30px; border-radius: 20px !important; }
}

@media(max-width: 768px) {
    .hero-new { padding-top: 130px; }
    .hero-new h1 { font-size: 2.2rem !important; }
    .hero-new .typing-effect { font-size: 1.4rem !important; }
    .counter-box { padding: 10px 15px !important; }
    .counter-num { font-size: 1.8rem !important; }
}

.floating-btn {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--primary, #6c5ce7); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
    z-index: 999; text-decoration: none;
}
.floating-btn.visible { opacity: 1; pointer-events: auto; }

/* Dark Mode */
body.dark-mode {
    background-color: #0f172a;
    color: #cbd5e1;
}
body.dark-mode .bg-light { background-color: #1e293b; }
body.dark-mode .section-title { color: #f8fafc; }
body.dark-mode p, body.dark-mode .section-subtitle { color: #94a3b8; }
body.dark-mode .navbar-fixed.scrolled { background: rgba(15, 23, 42, 0.95); box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
body.dark-mode .nav-menu a { color: #f8fafc; }
body.dark-mode .hero-new { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); }
body.dark-mode .hero-new h1 { color: #f8fafc; }
body.dark-mode .counter-box { background: rgba(30, 41, 59, 0.8); }
body.dark-mode .counter-label { color: #cbd5e1; }
body.dark-mode .sobre-text h2 { color: #f8fafc; }
body.dark-mode .sobre-hl-card { background: #1e293b; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
body.dark-mode .sobre-hl-card strong { color: #f8fafc !important; }
body.dark-mode .func-card, body.dark-mode .step-card { background: #0f172a; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
body.dark-mode .func-card h3 { color: #f8fafc; }
body.dark-mode .plano-card { background: #1e293b; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
body.dark-mode .plano-card h3, body.dark-mode .plano-preco { color: #f8fafc !important; }
body.dark-mode .plano-lista li { color: #cbd5e1; }
body.dark-mode .dep-card { background: #1e293b; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
body.dark-mode .faq-item { background: #1e293b; border-color: #334155; }
body.dark-mode .faq-q { background: #1e293b; color: #f8fafc; }
body.dark-mode .faq-a { color: #cbd5e1; }
body.dark-mode .suporte-card { background: #1e293b; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
body.dark-mode .suporte-card h3 { color: #f8fafc !important; }
body.dark-mode .mobile-toggle { color: #f8fafc; }
body.dark-mode .nav-menu.active, body.dark-mode .nav-actions.active { background: #1e293b; }
body.dark-mode #themeToggle { color: #f8fafc !important; }
body.dark-mode .btn-outline { color: #cbd5e1 !important; border-color: #cbd5e1 !important; }
body.dark-mode .btn-outline:hover { background: #cbd5e1; color: #0f172a !important; }
/* Seção Informativa PaiCoin */
.paicoin-info-section {
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    border-top: 1px solid #fee2e2;
}
.paicoin-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.paicoin-info-content h2 { font-size: 2.5rem; color: #1e293b; margin-bottom: 20px; }
.paicoin-info-content p { font-size: 1.1rem; margin-bottom: 30px; text-align: justify; }
.paicoin-features { display: grid; gap: 20px; }
.paicoin-feat-item { display: flex; align-items: center; gap: 15px; background: white; padding: 15px 20px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.paicoin-feat-item i { font-size: 1.5rem; color: #f1c40f; }
.paicoin-info-visual { position: relative; display: flex; justify-content: center; }
.paicoin-coin-large {
    width: 200px; height: 200px; background: #f1c40f; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 8rem; color: white; font-weight: 900;
    box-shadow: 0 20px 40px rgba(241, 196, 15, 0.3);
    animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Navbar PaiCoin Badge */
.nav-paicoin-badge {
    background: rgba(241, 196, 15, 0.1);
    border: 1px solid rgba(241, 196, 15, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #b58900;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
}
.nav-paicoin-badge:hover { background: rgba(241, 196, 15, 0.2); transform: translateY(-2px); }
.nav-paicoin-badge i { color: #f1c40f; }

body.dark-mode .paicoin-info-section { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); border-top-color: #334155; }
body.dark-mode .paicoin-info-content h2 { color: #f8fafc; }
body.dark-mode .paicoin-feat-item { background: #1e293b; color: #f8fafc; }
body.dark-mode .nav-paicoin-badge { color: #f1c40f; background: rgba(241, 196, 15, 0.05); }

@media(max-width: 768px) {
    .paicoin-info-grid { grid-template-columns: 1fr; text-align: center; }
    .paicoin-info-content h2 { font-size: 2rem; }
    .paicoin-info-visual { order: -1; margin-bottom: 30px; }
    .paicoin-coin-large { width: 150px; height: 150px; font-size: 6rem; }
}

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Card Hover Animations */
.func-card, .plano-card, .sobre-hl-card { transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.func-card:hover, .plano-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(108, 92, 231, 0.15); }

/* Smooth Button Interactions */
.btn { transition: all 0.3s ease; }
.btn:active { transform: scale(0.95); }
