/* ============================================================
   MARKETING DIGITAL DESCOMPLICADO - ESTILOS FUTURISTAS & MODERNOS
   ============================================================ */

/* Reset & Configurações Básicas */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-dark: #070913;
    --bg-card: rgba(15, 23, 42, 0.65);
    --cyan-primary: #00f2fe;
    --cyan-glow: rgba(0, 242, 254, 0.35);
    --purple-primary: #7928ca;
    --purple-glow: rgba(121, 40, 202, 0.35);
    --emerald-primary: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.3);
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --border-glass: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

body {
    background-color: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Fontes de Destaque */
.font-display {
    font-family: 'Space Grotesk', sans-serif;
}

.font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Layout Utilitários */
.container {
    width: 100%;
}

/* Barra Superior de Urgência */
.top-announcement-bar {
    background: linear-gradient(90deg, #090e1f, #151b36, #090e1f);
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.08);
}

/* Gradientes e Text Glow */
.glow-text {
    text-shadow: 0 0 35px rgba(0, 242, 254, 0.4), 0 0 10px rgba(0, 242, 254, 0.2);
}

.glow-price {
    text-shadow: 0 0 25px rgba(0, 242, 254, 0.5);
}

/* ============================================================
   MOCKUP 3D DO E-BOOK (DESIGN FUTURISTA EM CSS 3D PURO)
   ============================================================ */
.mockup-container {
    perspective: 1500px;
    width: 100%;
    max-width: 420px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (max-width: 640px) {
    .mockup-container {
        height: 400px;
        max-width: 320px;
    }
}

.book-3d-wrapper {
    position: relative;
    width: 260px;
    height: 370px;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 640px) {
    .book-3d-wrapper {
        width: 220px;
        height: 315px;
    }
}

.book-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-26deg) rotateX(10deg);
    transition: transform 0.4s ease-out;
    box-shadow: 25px 25px 50px rgba(0, 0, 0, 0.8), 
                0 0 40px rgba(0, 242, 254, 0.25);
}

.mockup-container:hover .book-3d {
    transform: rotateY(-14deg) rotateX(5deg) translateY(-8px);
    box-shadow: 30px 30px 60px rgba(0, 0, 0, 0.9), 
                0 0 55px rgba(0, 242, 254, 0.4);
}

/* Capa Frontal */
.book-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #090e24 0%, #0d1738 50%, #17113a 100%);
    border-radius: 4px 14px 14px 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 254, 0.4);
    transform: translateZ(18px);
    display: flex;
    flex-direction: column;
}

/* Efeito Holográfico na Capa */
.book-hologram-shine {
    position: absolute;
    inset: -100%;
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(0, 242, 254, 0.15) 45%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(217, 70, 239, 0.15) 55%,
        transparent 65%
    );
    transform: rotate(25deg);
    animation: hologramMove 6s infinite linear;
    pointer-events-none;
}

@keyframes hologramMove {
    0% { transform: translateY(-70%) rotate(25deg); }
    100% { transform: translateY(70%) rotate(25deg); }
}

/* Lombada do Livro */
.book-spine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 36px;
    background: linear-gradient(90deg, #060914 0%, #151d3b 50%, #060914 100%);
    border-radius: 4px 0 0 4px;
    transform: rotateY(-90deg) translateZ(0px) translateX(-18px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.spine-text {
    color: #94a3b8;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 8px;
    letter-spacing: 2px;
    font-weight: 700;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
}

/* Efeito de Páginas Laterais (Espessura) */
.book-pages {
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    width: 34px;
    background: repeating-linear-gradient(
        90deg,
        #f1f5f9 0px,
        #cbd5e1 1px,
        #94a3b8 2px,
        #e2e8f0 3px
    );
    border-radius: 0 4px 4px 0;
    transform: rotateY(90deg) translateZ(16px);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

/* Badges Flutuantes ao Redor do Livro */
.floating-badge {
    position: absolute;
    z-index: 20;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 8px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: badgeFloat 4s ease-in-out infinite alternate;
    pointer-events: none;
}

.badge-top-right {
    top: 5%;
    right: -8%;
    animation-delay: 0s;
}

.badge-bottom-left {
    bottom: 8%;
    left: -8%;
    animation-delay: 1.5s;
}

.badge-middle-right {
    bottom: 35%;
    right: -12%;
    animation-delay: 0.8s;
}

@media (max-width: 640px) {
    .badge-top-right { right: -2%; top: 2%; }
    .badge-bottom-left { left: -2%; bottom: 2%; }
    .badge-middle-right { right: -4%; bottom: 32%; }
}

@keyframes badgeFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

/* ============================================================
   BOTÕES CTA COM PULSO E SHIMMER FUTURISTA
   ============================================================ */
.cta-pulse-button {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    outline: none;
}

.cta-pulse-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 70%
    );
    transform: rotate(30deg);
    animation: ctaShimmer 3.5s infinite;
}

@keyframes ctaShimmer {
    0% { transform: translateX(-100%) rotate(30deg); }
    40% { transform: translateX(100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

/* ============================================================
   ANIMAÇÃO DE ROTAÇÃO SUAVE & ELEMENTOS INTERATIVOS
   ============================================================ */
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spinSlow 20s linear infinite;
}

/* Cards de Dor */
.pain-card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(244, 63, 94, 0.15);
}

/* Pilares */
.pillar-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Módulos do E-book */
.module-card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.module-card:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.1);
}

/* Bônus */
.bonus-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Depoimentos */
.testimonial-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(0, 242, 254, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.1);
}

/* Box de Oferta */
.offer-box {
    position: relative;
    box-shadow: 0 0 60px rgba(0, 242, 254, 0.2), inset 0 0 20px rgba(0, 242, 254, 0.05);
}

/* FAQ Accordion */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: rgba(0, 242, 254, 0.5);
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-toggle i {
    transform: rotate(180deg);
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    animation: whatsappPulse 3s infinite;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Toast de Prova Social */
.social-toast.show {
    display: flex !important;
    transform: translateY(0);
    opacity: 1;
}

/* Canvas de Fundo Cyberpunk */
#bg-canvas {
    opacity: 0.6;
}

/* Scrollbar Personalizada Futurista */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #070913;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: #00f2fe;
}
