/* ==========================================================================
   Site Institucional Fintech & Gateway de Pagamentos - Design Premium Dark
   ========================================================================== */

:root {
    --bg-dark: #06080f;
    --bg-card: rgba(15, 21, 35, 0.72);
    --bg-card-hover: rgba(22, 30, 49, 0.88);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(16, 185, 129, 0.35);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #10b981;
    --secondary: #06b6d4;
    --accent: #c8fa64;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

/* Fundo Aurora & Grid Tecnológico */
.bg-grid-pattern {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-size: 48px 48px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 50%, transparent 100%);
}

.aurora-glow-1 {
    position: fixed;
    top: -180px;
    left: 15%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.14;
    filter: blur(90px);
    z-index: -1;
    pointer-events: none;
    animation: floatSlow 14s ease-in-out infinite alternate;
}

.aurora-glow-2 {
    position: fixed;
    top: 25%;
    right: -150px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.12;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    animation: floatSlow 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.08); }
}

/* Utilitários de Gradiente e Glassmorphism */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 45%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-brand {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 55%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-nav {
    background: rgba(6, 8, 15, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 25px -5px rgba(16, 185, 129, 0.15);
}

/* Botões Premium */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: #05080f;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 15px 35px -5px rgba(200, 250, 100, 0.5);
    filter: brightness(1.05);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Mockup 3D & Notificações Ao Vivo */
.hero-dashboard-wrapper {
    position: relative;
    perspective: 1200px;
}

.hero-dashboard-card {
    background: linear-gradient(180deg, rgba(19, 27, 46, 0.92) 0%, rgba(10, 14, 24, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 
        0 30px 60px -12px rgba(0, 0, 0, 0.75),
        0 0 50px -10px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    transform: rotateX(4deg) rotateY(-4deg);
    transition: transform 0.5s ease;
}

.hero-dashboard-wrapper:hover .hero-dashboard-card {
    transform: rotateX(0deg) rotateY(0deg);
}

/* Notificação Flutuante "Plim" */
.live-sale-toast {
    animation: pulseFloat 4s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(16, 185, 129, 0.25);
}

@keyframes pulseFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Sliders do Simulador */
input[type="range"].sim-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    outline: none;
}

input[type="range"].sim-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #06080f;
    cursor: pointer;
    box-shadow: 0 0 15px var(--primary);
    transition: transform 0.15s ease;
}

input[type="range"].sim-slider::-webkit-slider-thumb:hover {
    transform: scale(1.18);
}

/* Placas de Premiação (Efeito Metálico) */
.award-plaque {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(24, 32, 52, 0.9) 0%, rgba(9, 13, 22, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
}

.award-plaque::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.06) 50%,
        transparent 60%
    );
    transform: rotate(25deg);
    transition: 0.7s;
    pointer-events: none;
}

.award-plaque:hover::before {
    left: 100%;
}

/* Código / Terminal API */
.code-window {
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.code-tab.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

/* FAQ Accordion */
.faq-item[open] {
    border-color: var(--border-glow);
    background: rgba(18, 26, 44, 0.85);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 90;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.65);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .hero-dashboard-card {
        transform: none !important;
    }
}
