/*
Theme Name: Neo Clean
Author: Neo TS
Version: 1.2
*/

/* =========================================
   GLOBAL & RESET (Landing Page & Geral)
   ========================================= */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #000;
    color: #f5f7ff;
}

/* =========================================
   HEADER NEO (Animações)
   ========================================= */
@keyframes pulse-slow { 0% { opacity: 0.75; } 50% { opacity: 1; } 100% { opacity: 0.75; } }
.animate-pulse-slow { animation: pulse-slow 2.5s infinite ease-in-out; }

.mobile-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}
.mobile-menu-open { max-height: 260px; opacity: 1; }

/* =========================================
   PÁGINA: ARTIGOS (Singular e Lista)
   ========================================= */
body.neo-artigo-body,
body.neo-artigos-body,
body.page-template-page-artigos,
body.single-post {
    background: radial-gradient(circle at top right, #04213d, #02040a 55%, #000000 100%);
}

.neo-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Visual (Barra) */
.neo-header-bar {
    border-bottom: 1px solid rgba(15,23,42,0.7);
    background: radial-gradient(circle at top left,#020617,#020617 40%,#020617 100%);
}
.neo-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.neo-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.neo-logo-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: radial-gradient(circle at 20% 0, #22d3ee, #0ea5e9 45%, #0369a1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ecfeff;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 0 25px rgba(56,189,248,0.6);
}
.neo-logo-title {
    font-size: 14px;
    font-weight: 600;
    color: #e5f3ff;
}
.neo-logo-sub {
    font-size: 12px;
    color: #9ca3af;
}
.neo-nav-links {
    display: flex;
    gap: 18px;
    font-size: 14px;
}
.neo-nav-links a {
    color: #cbd5f5;
    text-decoration: none;
    opacity: 0.9;
}
.neo-nav-links a:hover {
    opacity: 1;
    color: #67e8f9;
}
.neo-whats-btn a {
    border-radius: 999px;
    border: 1px solid rgba(34,211,238,0.7);
    padding: 8px 18px;
    font-size: 14px;
    color: #e0faff;
    text-decoration: none;
    background: radial-gradient(circle at top left,rgba(34,211,238,0.25),rgba(15,23,42,0.9));
    box-shadow: 0 0 20px rgba(45,212,191,0.4);
}

/* Conteúdo Artigos */
.neo-main {
    flex: 1;
    padding: 40px 16px 80px;
}
.neo-main-inner {
    max-width: 900px;
    margin: 0 auto;
}
.neo-breadcrumb {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 10px;
}
.neo-article-title {
    font-size: 30px;
    margin: 0 0 8px;
}
.neo-article-meta {
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 20px;
}
.neo-article-box {
    border-radius: 20px;
    padding: 24px 24px 28px;
    background: radial-gradient(circle at top left,#020617,#020617 60%,#020617 100%);
    box-shadow: 0 0 40px rgba(15,23,42,0.9), 0 0 40px rgba(56,189,248,0.25);
}
.neo-article-content p {
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 12px;
}
.neo-article-content h2,
.neo-article-content h3 {
    margin-top: 18px;
    margin-bottom: 10px;
}
.neo-article-content ul,
.neo-article-content ol {
    margin-left: 1.2rem;
    margin-bottom: 12px;
}
.neo-footer {
    padding: 18px 24px 26px;
    border-top: 1px solid rgba(15,23,42,0.7);
    font-size: 12px;
    opacity: 0.65;
    max-width: 1120px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .neo-header-inner {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .neo-nav-links {
        display: none;
    }
    .neo-main {
        padding: 30px 12px 60px;
    }
    .neo-article-title {
        font-size: 24px;
    }
    .neo-blog-list-title {
        font-size: 22px;
    }
}

/* Listagem de Artigos */
.neo-blog-list-title {
    font-size: 28px;
    margin: 0 0 8px;
}
.neo-blog-list-sub {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 26px;
}
.neo-blog-card {
    border-radius: 20px;
    padding: 20px 24px 18px;
    margin-bottom: 20px;
    background: radial-gradient(circle at top left,#020617,#020617 60%,#020617 100%);
    box-shadow: 0 0 40px rgba(15,23,42,0.9), 0 0 40px rgba(56,189,248,0.25);
}
.neo-blog-card h2 {
    margin: 0 0 6px;
    font-size: 20px;
}
.neo-blog-card h2 a {
    color: #ffffff;
    text-decoration: none;
}
.neo-blog-card h2 a:hover {
    color: #67e8f9;
}
.neo-blog-meta {
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 8px;
}
.neo-blog-excerpt {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}
.neo-blog-readmore {
    font-size: 14px;
    text-decoration: none;
    color: #5fd4ff;
}
.neo-pagination {
    margin-top: 24px;
    text-align: center;
}

/* =========================================
   PÁGINA: FAQ
   ========================================= */
body.neo-faq-body {
    background: radial-gradient(circle at top right, #04213d, #02040a 55%, #000000 100%);
}
.neo-faq-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.neo-faq-section {
    padding: 60px 20px;
    max-width: 1120px;
    margin: 0 auto;
}
.neo-faq-grid {
    display: grid;
    gap: 14px;
}
@media (min-width: 900px) {
    .neo-faq-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.neo-faq-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.55);
}
.neo-faq-card h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}
.neo-faq-card p {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.45;
}

/* =========================================
   PÁGINA: PAINEL & LOGIN (Glass Cyberpunk)
   ========================================= */
body.neo-panel-body,
body.neo-auth-body {
    background: radial-gradient(circle at top right, #04213d, #02040a 55%, #000000 100%);
}
.neo-panel-wrap,
.neo-auth-wrap { min-height:100vh; display:flex; flex-direction:column; }
.neo-panel-main { flex:1; padding:56px 16px 80px; }
.neo-panel-container { max-width:1120px; margin:0 auto; }
.neo-panel-surface {
    border-radius:18px;
    border:1px solid rgba(148,163,184,.30);
    background: rgba(3,10,25,.80);
    box-shadow: 0 0 0 1px rgba(15,23,42,.8), 0 18px 45px rgba(0,0,0,.55);
    padding:18px;
}
.neo-auth-main { flex:1; display:flex; align-items:center; justify-content:center; padding:56px 16px 80px; }
.neo-auth-card {
    width:min(520px, 100%);
    border-radius:20px;
    border:1px solid rgba(148,163,184,.30);
    background: rgba(3,10,25,.80);
    box-shadow: 0 0 0 1px rgba(15,23,42,.8), 0 18px 45px rgba(0,0,0,.55);
    padding:22px;
}

/* Estilos internos do Painel (Shortcode Plugin) */
:root {
  --neots-bg-card: rgba(13, 17, 23, 0.75);
  --neots-border: rgba(255, 255, 255, 0.08);
  --neots-border-hover: rgba(34, 211, 238, 0.3);
  --neots-primary: #22d3ee;
  --neots-primary-glow: rgba(34, 211, 238, 0.2);
  --neots-success: #10b981;
  --neots-danger: #ef4444;
  --neots-warning: #f59e0b;
  --neots-text: #e2e8f0;
  --neots-text-muted: #94a3b8;
}
.neots-wrap { max-width: 1200px; margin: 0 auto; padding: 30px 20px; }
.neots-title { font-size: 24px; margin-bottom: 24px; color: #fff; font-weight: 700; letter-spacing: -0.5px; }
.neots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.neots-card {
  background: var(--neots-bg-card);
  border: 1px solid var(--neots-border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s, border-color 0.2s;
  display: flex; flex-direction: column; gap: 20px;
}
.neots-card:hover { border-color: var(--neots-border-hover); transform: translateY(-2px); }
.neots-card-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--neots-border); }
.neots-card-title { font-size: 18px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; }
.neots-card-status { margin-top: 6px; font-size: 13px; color: var(--neots-text-muted); }
.neots-dot { width: 8px; height: 8px; border-radius: 50%; background-color: var(--neots-text-muted); box-shadow: 0 0 8px rgba(0,0,0,0.5); display:inline-block; }
.neots-dot.online { background-color: var(--neots-success); box-shadow: 0 0 8px var(--neots-success); }
.neots-dot.offline { background-color: var(--neots-danger); }
.neots-expire-badge {
  font-size: 13px;
  background: rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--neots-text-muted);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; white-space: nowrap;
}
.neots-expire-badge strong { color: #fff; font-weight: 700; margin: 0 4px; }
.neots-power-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.neots-btn {
  padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03); color: #fff; cursor: pointer;
  font-size: 13px; font-weight: 600; transition: all 0.2s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.neots-btn:hover:not(:disabled) { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.neots-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.neots-btn-start:hover { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.4); color: #6ee7b7; }
.neots-btn-stop:hover { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.4); color: #fca5a5; }
.neots-btn-restart:hover { background: rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.4); color: #fcd34d; }
.neots-ts { background: rgba(0,0,0,0.2); border-radius: 12px; padding: 16px; border: 1px solid rgba(255,255,255,0.05); }
.neots-ts-title { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--neots-primary); margin-bottom: 12px; font-weight: 700; }
.neots-ts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.neots-input-group { display: flex; flex-direction: column; gap: 6px; }
.neots-label-small { font-size: 11px; color: var(--neots-text-muted); font-weight: 500; }
.neots-input {
  width: 100%; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; padding: 10px 12px; border-radius: 8px; font-size: 13px; outline: none; transition: 0.2s;
}
.neots-input:focus { border-color: var(--neots-primary); box-shadow: 0 0 0 3px var(--neots-primary-glow); }
.neots-checkbox-wrap { display: flex; align-items: center; gap: 8px; margin-top: 4px; cursor: pointer; }
.neots-checkbox-wrap input { accent-color: var(--neots-primary); width: 16px; height: 16px; cursor: pointer; }
.neots-checkbox-label { font-size: 13px; color: #e2e8f0; }
.neots-ts-out { font-size: 13px; margin-top: 10px; }
.neots-box { padding: 12px; background: rgba(0,0,0,0.3); border-radius: 8px; border:1px solid rgba(255,255,255,0.1); }
.neots-pre { font-family: monospace; font-size: 12px; color: #a5b4fc; background: #0f172a; padding: 12px; border-radius: 8px; overflow-x: auto; white-space: pre-wrap; max-height: 300px; }
.neots-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(4px); display:flex; align-items:center; justify-content:center; z-index: 9999; }
.neots-modal-card { width: min(600px, 94vw); background: #111827; border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); overflow: hidden; animation: neots-fade-in 0.2s ease; }
.neots-modal-head { display:flex; justify-content:space-between; align-items:center; padding: 16px 20px; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.08); }
.neots-modal-title { color: #fff; font-size: 16px; font-weight: 600; }
.neots-modal-close { background: none; border: none; color: #94a3b8; font-size: 20px; cursor: pointer; transition: color 0.2s; }
.neots-modal-close:hover { color: #fff; }
.neots-modal-body { padding: 20px; color: #cbd5e1; }
@keyframes neots-fade-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@media(max-width: 600px) {
  .neots-ts-grid { grid-template-columns: 1fr; }
  .neots-btn { flex: 1; justify-content: center; }
}