/* === NICHE THEME VARIABLES === */
/* Override in each page's inline <style> or via data attributes */
:root {
    --nich-accent: #00e5ff;
    --nich-accent-rgb: 0, 229, 255;
    --nich-accent-secondary: #00ff88;
    --nich-logo: url('../logos/logo_livros.jpg');
}

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Rajdhani', sans-serif;
            background: #0a0e17;
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        .particles {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: #00e5ff;
            border-radius: 50%;
            animation: float linear infinite;
            opacity: 0;
        }

        @keyframes float {
            0% { transform: translateY(100vh) scale(0); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-10vh) scale(1); opacity: 0; }
        }

        .grid-bg {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background-image: 
                linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            z-index: 0;
        }

        .main-wrapper {
            position: relative;
            z-index: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .hero {
            width: 100%;
            padding: 50px 20px 30px;
            text-align: center;
            position: relative;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            height: 1px;
            background: linear-gradient(90deg, transparent, #00e5ff, transparent);
        }

        .logo-container {
            position: relative;
            display: inline-block;
            margin-bottom: 25px;
        }

        .logo-container::before {
            content: '';
            position: absolute;
            top: -10px; left: -10px;
            right: -10px; bottom: -10px;
            background: linear-gradient(45deg, #00e5ff, #00ff88, #00e5ff, #00ff88);
            border-radius: 35px;
            z-index: -1;
            animation: borderGlow 3s ease-in-out infinite;
            filter: blur(8px);
            opacity: 0.5;
        }

        @keyframes borderGlow {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 0.7; }
        }

        .hero-logo {
            width: 160px;
            height: 160px;
            border-radius: 25px;
            object-fit: cover;
            border: 2px solid #00e5ff;
            display: block;
        }

        .hero-nicho {
            font-family: 'Orbitron', sans-serif;
            font-size: clamp(36px, 8vw, 64px);
            font-weight: 900;
            background: linear-gradient(135deg, #ffd700, #ffaa00, #ffd700);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradientShift 3s ease infinite;
            letter-spacing: 8px;
            margin-bottom: 10px;
        }

        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .hero-subtitle {
            font-size: clamp(14px, 3vw, 18px);
            color: #8892a4;
            letter-spacing: 1px;
        }

        .content-card {
            max-width: 500px;
            width: 100%;
            margin: 40px 20px;
            background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(0,255,136,0.03));
            border: 1px solid rgba(0,229,255,0.15);
            border-radius: 24px;
            padding: 35px 30px;
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .content-card::before {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 200%; height: 1px;
            background: linear-gradient(90deg, transparent, #00e5ff, transparent);
            animation: scanLine 4s linear infinite;
        }

        @keyframes scanLine {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        .features-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 14px;
            color: #00e5ff;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 20px;
            text-align: center;
        }

        .features-list {
            list-style: none;
        }

        .features-list li {
            padding: 12px 0;
            color: #b0c4de;
            font-size: 15px;
            border-bottom: 1px solid rgba(0,229,255,0.05);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .features-list li:last-child {
            border-bottom: none;
        }

        .features-list li::before {
            content: '⚡';
            font-size: 14px;
            flex-shrink: 0;
        }

        .btn-whatsapp {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: 100%;
            padding: 18px 24px;
            margin-top: 25px;
            background: linear-gradient(135deg, #25D366, #128C7E);
            color: white;
            font-family: 'Rajdhani', sans-serif;
            font-size: 18px;
            font-weight: 700;
            text-decoration: none;
            border-radius: 16px;
            letter-spacing: 1px;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .btn-whatsapp::before {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn-whatsapp:hover::before {
            left: 100%;
        }

        .btn-whatsapp:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(37,211,102,0.3);
        }

        .btn-whatsapp svg {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
        }

        .btn-voltar {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            padding: 14px 24px;
            margin-top: 12px;
            background: transparent;
            border: 1px solid rgba(0,229,255,0.3);
            color: #00e5ff;
            font-family: 'Rajdhani', sans-serif;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            border-radius: 12px;
            letter-spacing: 2px;
            text-transform: uppercase;
            transition: all 0.3s;
        }

        .btn-voltar:hover {
            background: rgba(0,229,255,0.1);
            border-color: #00e5ff;
        }

        .footer {
            text-align: center;
            padding: 30px 20px;
            margin-top: auto;
            border-top: 1px solid rgba(0,229,255,0.1);
        }

        .footer-text {
            font-size: 13px;
            color: #3a4a5a;
            letter-spacing: 1px;
        }

        .footer-brand {
            color: #00e5ff;
            font-family: 'Orbitron', sans-serif;
            font-weight: 700;
        }

        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards;
        }

        @keyframes fadeInUp {
            to { opacity: 1; transform: translateY(0); }
        }

        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: #0a0e17; }
        ::-webkit-scrollbar-thumb { background: #1a2a4a; border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: #00e5ff; }
    