/* assets/css/landing.css (GSAP Mask Edition) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&display=swap');

:root {
    --bg-dark: #000000;
    --bg-darker: #050505;
    --bg-pitch-black: #080808;
    --accent-cyan: #83f1f7;
    --accent-deep: #00e5ff;
    --glass-bg: rgba(10, 10, 10, 0.4);
    --glass-border: rgba(131, 241, 247, 0.15);
    --text-primary: #ffffff;
    --text-muted: #888888;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #333; }

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 24px 50px; background: transparent; z-index: 10000; transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(131, 241, 247, 0.1);
    padding: 15px 50px;
}
.nav-logo { height: 28px; filter: brightness(10); opacity: 1; transition: 0.3s; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight:600; text-transform:uppercase; letter-spacing:1px; transition: 0.3s; }
.nav-links a:hover { color: var(--accent-cyan); }
.btn-primary { background: transparent; color: var(--accent-cyan); border: 1px solid var(--accent-cyan); padding: 10px 24px; border-radius: 4px; font-weight: 700; }
.btn-primary:hover { background: var(--accent-cyan); color: #000; box-shadow: 0 0 25px rgba(131, 241, 247, 0.4); }
.btn-solid { background: #fff; color: #000; padding: 15px 35px; border-radius: 4px; font-weight: 700; text-decoration: none; letter-spacing:1px; transition: 0.3s ease; }
.btn-solid:hover { background: #ccc; transform: translateY(-2px); }

/* --- GSAP MASK PIN CONTAINER (O TRUQUE ROCKSTAR) --- */
#hero-pin-container {
    height: 100vh; width: 100vw; position: relative;
    background: #000; /* Fundo absoluto que se vê quando a máscara fecha */
    overflow: hidden;
}

/* Letras de fundo que são reveladas depois que a máscara do Logo shrinka/encolhe */
.mask-backdrop-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center;
    opacity: 0; z-index: 1; pointer-events: none;
}
.mask-backdrop-text h2 { font-size: 80px; font-weight: 900; letter-spacing: -2px; color:#fff; margin-bottom:10px; text-shadow: 0 0 30px rgba(131, 241, 247, 0.2); }
.mask-backdrop-text p { font-size: 20px; color: var(--accent-cyan); letter-spacing: 2px; text-transform: uppercase;} 

/* O Wrapper da Hero Secção (Limpo para V2) */
.hero-mask-wrapper {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10;
    
    /* A Opacidade agora controla apenas o desvanecimento total do elemento em vez de máscara */
    opacity: var(--mask-opacity);
}

/* --- HERO SECTION --- */
.hero {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center; padding: 0 5vw;
    background: #000; /* Preenche a área do mask */
    gap: 5vw;
}

/* Fundos Parallax */
.bg-grid {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(to right, rgba(131, 241, 247, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(131, 241, 247, 0.05) 1px, transparent 1px);
    background-size: 50px 50px; z-index: 0;
}
.parallax-screenshot { position: absolute; border-radius: 12px; opacity: 0.15; z-index: 1; filter: grayscale(100%) blur(2px); box-shadow: 0 0 50px #000; pointer-events: none; }
.ps-left { top: 15%; left: -5%; width: 650px; transform: perspective(600px) rotateY(-20deg) scale(0.8); }
.ps-top { bottom: 5%; right: -10%; width: 750px; transform: perspective(600px) rotateY(20deg) scale(0.9); }

/* Conteúdo central Herói */
.hero-content { flex: 1; max-width: 600px; z-index: 5; }
.badge-tech { display: inline-block; padding: 6px 14px; border: 1px solid rgba(131, 241, 247, 0.3); color: var(--accent-cyan); border-radius: 4px; font-size: 11px; font-weight: 700; margin-bottom: 20px; letter-spacing: 2px; text-transform:uppercase; }
.hero-title { font-size: 5vw; font-weight: 900; line-height: 1.05; margin-bottom: 24px; letter-spacing:-2px; text-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.hero-title b { color: var(--accent-cyan); }
.hero-subtitle { font-size: 18px; color: #aaa; margin-bottom: 40px; line-height: 1.6; max-width: 500px;}
.hero-buttons { display: flex; gap: 20px; }

/* Constelação 3D Falsa (CSS Flutuante) */
.hero-3d-wrapper { flex: 1; display: flex; justify-content: center; align-items: center; perspective: 1500px; z-index: 5; }
.hero-3d-card {
    width: 100%; max-width: 550px; height: 380px; background: rgba(10, 10, 10, 0.85); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(131, 241, 247, 0.1); transform-style: preserve-3d;
}
.fake-ui-header { height: 50px; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 0 20px; display: flex; align-items: center; gap: 10px; transform: translateZ(30px); }
.fake-dot { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.fake-dot.red { background: #EF4444; } .fake-dot.yellow { background: #F59E0B; } .fake-dot.green { background: #10B981; }
.fake-chart-container { padding: 30px; display: flex; align-items: flex-end; gap: 12px; height: 250px; transform: translateZ(60px); }
.fake-bar { flex: 1; background: linear-gradient(to top, rgba(131, 241, 247, 0.05), transparent); border: 1px dashed rgba(131, 241, 247, 0.2); border-bottom: none; }
.floating-widget, .floating-widget-ai {
    position: absolute; background: rgba(0,0,0,0.95); border: 1px solid rgba(37, 211, 102, 0.5); padding: 15px 20px; border-radius: 8px;
    display: flex; align-items: center; gap: 15px; transform: translateZ(120px); box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}
.floating-widget { bottom: -20px; left: -40px; animation: floatAnim 5s ease-in-out infinite; }
.floating-widget i { font-size: 28px; color: #25D366; }
.floating-widget p { font-size: 13px; color: #fff; margin:0; text-transform:uppercase; letter-spacing:1px; }
.floating-widget span { font-size: 11px; color: var(--text-muted); }

.floating-widget-ai { top: -20px; right: -40px; border-color: var(--accent-cyan); flex-direction:column; padding:20px; animation: floatAnim2 4s ease-in-out infinite reverse; transform: translateZ(100px); }
.floating-widget-ai i { font-size: 32px; color: var(--accent-cyan); }
.floating-widget-ai p { font-size: 10px; text-transform:uppercase; margin-top:5px; color:#fff;}
@keyframes floatAnim { 0%, 100% { transform: translateZ(120px) translateY(0); } 50% { transform: translateZ(120px) translateY(-15px); } }
@keyframes floatAnim2 { 0%, 100% { transform: translateZ(100px) translateY(0); } 50% { transform: translateZ(100px) translateY(-10px); } }

/* --- SEÇÕES GLOBAIS --- */
.content-wrapper { position: relative; z-index: 20; background: var(--bg-dark); }
.bg-pitch-black { background: var(--bg-pitch-black); }
.section { padding: 120px 5vw; max-width: 1400px; margin: 0 auto; }
.section-title { font-size: 48px; text-align: center; margin-bottom: 20px; font-weight:900; letter-spacing:-1px; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 80px; font-size: 18px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Social Proof */
.social-proof { text-align: center; padding: 60px 0; border-bottom: 1px solid #1a1a1a; }
.sp-text { font-size: 12px; color: #666; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.client-logos { display: flex; justify-content: center; gap: 40px; align-items: center; color: #555; font-size: 36px; opacity: 0.5; }

/* Grid Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-box { background: var(--glass-bg); padding: 40px; border-radius: 8px; border: 1px solid #111; transition: 0.3s; }
.feature-box:hover { background: #111; border-color: var(--accent-cyan); transform: translateY(-5px); }
.feature-box i { font-size: 40px; color: var(--accent-cyan); margin-bottom: 20px; display: inline-block; filter: drop-shadow(0 0 10px rgba(131, 241, 247, 0.3));}
.feature-box h3 { font-size: 22px; margin-bottom: 15px; font-weight:700; }
.feature-box p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* Processo - Como Funciona */
.steps-container { display: flex; gap: 30px; }
.step-card { flex: 1; padding: 40px; border-top: 2px solid #111; position: relative; }
.step-number { font-size: 60px; font-weight: 900; color: rgba(255,255,255,0.05); position: absolute; top: 10px; right: 20px; }
.step-card h4 { font-size: 20px; margin-bottom: 15px; color: #fff; }
.step-card p { font-size: 15px; color: var(--text-muted); }

/* Seção Dividida (Use Cases) */
.split-section { display: flex; align-items: center; gap: 60px; }
.split-text { flex: 1; }
.split-image { flex: 1; display: flex; justify-content: flex-end; }
.mockup-frame { background:#111; padding: 20px; border-radius: 12px; border:1px solid #222; transform: perspective(1000px) rotateY(-15deg); box-shadow: 0 30px 60px rgba(0,0,0,0.8); }
.mockup-frame img { max-width: 100%; border-radius: 4px; }
.check-list { list-style: none; }
.check-list li { margin-bottom: 12px; font-size: 16px; display: flex; align-items: center; gap:10px; color: #ccc;}
.check-list li i { color: var(--accent-cyan); font-size: 20px;}

/* Pricing Grid */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.price-card { background: var(--glass-bg); border: 1px solid #1a1a1a; padding: 50px 40px; border-radius: 8px; display: flex; flex-direction: column; transition: 0.3s; }
.price-card.pro { background: #080808; border-color: rgba(131, 241, 247, 0.3); transform: scale(1.05); position: relative; }
.price-title { font-size: 20px; margin-bottom: 10px; color: var(--text-muted); font-weight:700;}
.pro-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent-cyan); color: #000; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 4px; letter-spacing:1px; }
.price-value { margin-bottom: 30px; border-bottom: 1px solid #1a1a1a; padding-bottom: 30px; }
.price-value s { color: #555; display: block; margin-bottom: 5px; }
.price-value span { font-size: 55px; font-weight: 900; letter-spacing:-2px; color: #fff; }
.price-features { list-style: none; margin-bottom: 40px; flex: 1; }
.price-features li { margin-bottom: 15px; font-size: 15px; color: #ccc; display:flex; align-items:center; gap: 10px; }
.price-features li i { color: #10B981; font-size: 18px; }

/* FAQ */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #1a1a1a; padding: 25px 0; cursor: pointer; }
.faq-item h4 { font-size: 18px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.faq-item h4:hover { color: var(--accent-cyan); }
.faq-item p { display: none; margin-top: 15px; color: var(--text-muted); padding-right: 50px; line-height: 1.6; }
.faq-item i { transition: transform 0.3s; }

footer { border-top: 1px solid #1a1a1a; padding: 80px 0; text-align: center; color: var(--text-muted); font-size: 14px; background:#000; }

/* Sombra Sintética Ultra-Leve (Substitui o Drop-Shadow pesado no Vídeo que causava LAG) */
.synthetic-shadow {
    position: absolute;
    bottom: -30px;
    width: 50%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.4) 0%, transparent 70%);
    filter: blur(12px);
    border-radius: 50%;
    animation: shadowPulse 6s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
    transform-style: preserve-3d;
}

@keyframes shadowPulse {
    0%, 100% { transform: translateZ(20px) scale(1); opacity: 0.8; }
    50% { transform: translateZ(20px) scale(0.7); opacity: 0.3; }
}
