/* ===== VISÃO COMPUTACIONAL - DARK NEON THEME ===== */
:root {
    --primary: #00d4ff;
    --secondary: #7b2fff;
    --accent: #ff00aa;
    --dark: #050a14;
    --dark2: #0a1628;
    --dark3: #0f2040;
    --card: rgba(10, 22, 40, 0.85);
    --border: rgba(0, 212, 255, 0.2);
    --text: #c8d8f0;
    --text-bright: #ffffff;
    --success: #00ff88;
    --danger: #ff4444;
    --glow: 0 0 20px rgba(0, 212, 255, 0.4);
    --glow-purple: 0 0 20px rgba(123, 47, 255, 0.4);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

#particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(5, 10, 20, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}
.nav-brand span { color: var(--secondary); }
.nav-brand i { font-size: 1.6rem; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links a:hover { color: var(--primary); background: rgba(0, 212, 255, 0.1); }

.btn-nav {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 25px !important;
}
.btn-nav:hover { box-shadow: var(--glow); transform: translateY(-2px); }

.nav-toggle { display: none; background: none; border: none; color: var(--primary); font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
}

.hero-content { max-width: 900px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-bright);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: rgba(0, 212, 255, 0.1); transform: translateY(-3px); }

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: #fff;
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255, 0, 170, 0.4); }

.btn-success {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    color: #000;
}
.btn-success:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0, 255, 136, 0.4); }

.btn-danger {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.82rem; }

/* ===== SECTIONS ===== */
section { position: relative; z-index: 1; padding: 5rem 2rem; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-bright);
    margin-bottom: 0.8rem;
}

.section-header p { color: var(--text); max-width: 550px; margin: 0 auto; }

.section-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===== CARDS ===== */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: var(--glow);
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 47, 255, 0.2));
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.card h3 { color: var(--text-bright); font-size: 1.2rem; margin-bottom: 0.6rem; }
.card p { color: var(--text); line-height: 1.6; font-size: 0.92rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }

/* ===== SYSTEMS SECTION ===== */
.systems-section { background: rgba(10, 22, 40, 0.5); }

.system-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.system-card:hover { border-color: var(--primary); box-shadow: var(--glow); transform: translateY(-8px); }

.system-icon {
    width: 90px; height: 90px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 47, 255, 0.15));
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: var(--primary);
    margin: 0 auto 1.5rem;
    transition: all 0.3s;
}

.system-card:hover .system-icon { border-color: var(--primary); box-shadow: var(--glow); }

.system-card h3 { font-family: 'Orbitron', monospace; font-size: 1.1rem; color: var(--text-bright); margin-bottom: 0.8rem; }
.system-card p { color: var(--text); margin-bottom: 1.5rem; line-height: 1.6; }

.badge-live {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: rgba(0, 255, 136, 0.1); border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--success); border-radius: 20px; padding: 0.3rem 0.8rem;
    font-size: 0.78rem; margin-bottom: 1rem;
}
.badge-live::before { content: ''; width: 6px; height: 6px; background: var(--success); border-radius: 50%; animation: pulse 1.5s infinite; }

/* ===== STATS ===== */
.stats-section { background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(123, 47, 255, 0.05)); }
.stats-grid { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Orbitron', monospace; font-size: 3rem; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { color: var(--text); font-size: 0.9rem; margin-top: 0.3rem; }

/* ===== FORMS ===== */
.form-container {
    max-width: 480px; margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

.form-container h2 {
    font-family: 'Orbitron', monospace;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

.form-container p { color: var(--text); margin-bottom: 2rem; }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
    display: block;
    color: var(--text);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-bright);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group select option { background: var(--dark2); }

.form-submit {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.form-submit:hover { transform: translateY(-2px); box-shadow: var(--glow); }

.form-link { text-align: center; margin-top: 1.2rem; color: var(--text); font-size: 0.9rem; }
.form-link a { color: var(--primary); text-decoration: none; font-weight: 600; }
.form-link a:hover { text-decoration: underline; }

/* ===== FLASH MESSAGES ===== */
.flash {
    position: fixed; top: 80px; right: 1rem;
    z-index: 9999;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    animation: slideIn 0.3s ease;
    max-width: 350px;
}
.flash-success { background: rgba(0, 255, 136, 0.15); border: 1px solid rgba(0, 255, 136, 0.4); color: var(--success); }
.flash-error { background: rgba(255, 68, 68, 0.15); border: 1px solid rgba(255, 68, 68, 0.4); color: var(--danger); }

/* ===== PAGE WRAPPER ===== */
.page-wrapper {
    position: relative; z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
}

/* ===== ADMIN ===== */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 260px;
    background: rgba(5, 10, 20, 0.95);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
    padding-top: 80px;
    backdrop-filter: blur(20px);
}

.admin-sidebar-brand {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.admin-sidebar-brand i { color: var(--primary); font-size: 1.3rem; }
.admin-sidebar-brand span { font-family: 'Orbitron', monospace; font-size: 0.85rem; color: var(--text-bright); }

.admin-nav { padding: 1rem; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
    color: var(--text);
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 0.3rem;
    transition: all 0.3s;
    font-size: 0.92rem;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(0, 212, 255, 0.1); color: var(--primary); }
.admin-nav a i { width: 20px; }

.admin-content {
    margin-left: 260px;
    flex: 1;
    padding: 7rem 2rem 3rem;
    min-height: 100vh;
}

.admin-header { margin-bottom: 2rem; }
.admin-header h1 { font-family: 'Orbitron', monospace; color: var(--text-bright); font-size: 1.6rem; }
.admin-header p { color: var(--text); margin-top: 0.3rem; }

.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin-bottom: 2rem; }

.admin-stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.admin-stat-card i { font-size: 2rem; color: var(--primary); }
.admin-stat-card .stat-val { font-family: 'Orbitron', monospace; font-size: 1.8rem; color: var(--text-bright); font-weight: 700; }
.admin-stat-card .stat-lbl { color: var(--text); font-size: 0.82rem; }

.admin-table-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.admin-table-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-table-header h3 { color: var(--text-bright); font-size: 1rem; }

table { width: 100%; border-collapse: collapse; }
th { padding: 0.8rem 1rem; text-align: left; color: var(--primary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--border); }
td { padding: 0.8rem 1rem; color: var(--text); border-bottom: 1px solid rgba(0, 212, 255, 0.05); font-size: 0.88rem; }
tr:hover td { background: rgba(0, 212, 255, 0.03); }
.role-admin { color: var(--secondary); font-weight: 600; }
.role-user { color: var(--text); }

/* ===== DOWNLOAD PAGE ===== */
.download-section { padding: 8rem 2rem 4rem; text-align: center; }
.app-mockup {
    width: 200px; height: 380px;
    background: linear-gradient(135deg, var(--dark2), var(--dark3));
    border: 2px solid var(--border);
    border-radius: 30px;
    margin: 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary);
    box-shadow: var(--glow), 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}
.app-mockup::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(123,47,255,0.05));
}

/* ===== PIX SECTION ===== */
.pix-card {
    max-width: 500px; margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
}
.pix-key-display {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s;
    user-select: all;
    word-break: break-all;
}
.pix-key-display:hover { border-color: var(--primary); box-shadow: var(--glow); }
.pix-amount-grid { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0; }
.pix-amount-btn {
    padding: 0.6rem 1.4rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border);
    border-radius: 25px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.pix-amount-btn:hover, .pix-amount-btn.active { background: var(--primary); color: #000; border-color: var(--primary); font-weight: 600; }

/* ===== FOOTER ===== */
.footer {
    position: relative; z-index: 1;
    background: rgba(5, 10, 20, 0.95);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
}

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto 3rem; }
.footer h3 { font-family: 'Orbitron', monospace; color: var(--primary); font-size: 1rem; margin-bottom: 1rem; }
.footer h4 { color: var(--text-bright); font-size: 0.95rem; margin-bottom: 1rem; }
.footer p { color: var(--text); font-size: 0.88rem; line-height: 1.6; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { color: var(--text); text-decoration: none; font-size: 0.88rem; display: flex; align-items: center; gap: 0.4rem; transition: color 0.3s; }
.footer ul a:hover { color: var(--primary); }

.footer-form { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.footer-form input {
    flex: 1; padding: 0.6rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-bright);
    font-size: 0.85rem;
    outline: none;
}
.footer-form button {
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}
.footer-form button:hover { box-shadow: var(--glow); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 1100px;
    margin: 0 auto;
    font-size: 0.82rem;
    color: var(--text);
}

/* ===== DASHBOARD ===== */
.dashboard-wrapper { padding: 8rem 2rem 4rem; max-width: 900px; margin: 0 auto; }
.dashboard-welcome { margin-bottom: 2rem; }
.dashboard-welcome h1 { font-family: 'Orbitron', monospace; font-size: 1.8rem; color: var(--text-bright); }
.dashboard-welcome p { color: var(--text); margin-top: 0.3rem; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.dash-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.8rem;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
}
.dash-card:hover { border-color: var(--primary); box-shadow: var(--glow); transform: translateY(-5px); }
.dash-card i { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; }
.dash-card h3 { color: var(--text-bright); margin-bottom: 0.4rem; }
.dash-card p { color: var(--text); font-size: 0.88rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes glow-pulse { 0%, 100% { box-shadow: var(--glow); } 50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.8); } }

.float { animation: float 4s ease-in-out infinite; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(5,10,20,0.98); padding: 1rem; border-bottom: 1px solid var(--border); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-content { margin-left: 0; }
    .stats-grid { gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
