:root {
    --bg-dark: #0a0f1d;
    --bg-panel: #111827;
    --border-color: #1f2937;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --gold: #fbbf24;
    --gold-dim: rgba(251, 191, 36, 0.2);
    --sidebar-width: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow: auto !important;
}

.app-container {
    display: flex;
    min-height: 100vh;
    height: auto !important;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-panel);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
}

.logo-container {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.actual-logo {
    max-width: 150px;
    height: auto;
}

.register-btn {
    background-color: var(--gold);
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.register-btn:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px 20px 20px;
    overflow-y: auto;
    flex: 1;
}

.nav-menu::-webkit-scrollbar {
    width: 5px;
}
.nav-menu::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    font-size: 15px;
}

.nav-item:hover, .nav-item.active {
    background-color: var(--gold-dim);
    color: var(--gold);
}

.user-profile {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(0,0,0,0.2);
}

.avatar {
    width: 40px;
    height: 40px;
    background-color: var(--gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.info {
    display: flex;
    flex-direction: column;
}

.info .name {
    font-weight: bold;
}

.info .role {
    font-size: 12px;
    color: var(--text-muted);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

.topbar {
    height: 70px;
    background-color: var(--bg-panel);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    padding: 10px 16px;
    border-radius: 8px;
    width: 400px;
    border: 1px solid var(--border-color);
}

.search-bar input {
    background: none;
    border: none;
    color: var(--text-main);
    margin-left: 10px;
    width: 100%;
    outline: none;
}

.topbar-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.telegram-btn {
    background-color: #0088cc !important;
    color: white !important;
    border-radius: 20px !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: bold;
}
.telegram-btn:hover {
    background-color: #0077b5 !important;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
}

.icon-btn:hover {
    color: var(--gold);
}

.content-wrapper {
    padding: 30px 40px;
    flex: 1;
}

.view-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.active-view {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dashboard Home */
.welcome-section {
    margin-bottom: 30px;
}

.welcome-section h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.welcome-section p {
    color: var(--text-muted);
}

.collaboration-network {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
}

.collaboration-network h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 18px;
}

.network-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

.network-feed::-webkit-scrollbar {
    width: 5px;
}
.network-feed::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

.feed-item {
    background: rgba(10, 15, 29, 0.6);
    border-left: 3px solid var(--gold);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: fadeIn 0.5s ease;
}

.feed-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.feed-time {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 400;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card h3 {
    color: var(--text-muted);
    font-size: 16px;
}

.card .metric {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-main);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.agent-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s, border-color 0.2s;
}

.agent-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.agent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.agent-icon {
    width: 48px;
    height: 48px;
    background-color: var(--gold-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gold);
}

.agent-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.action-btn, .submit-btn {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
}

.action-btn:hover, .submit-btn:hover {
    background: var(--gold);
    color: #000;
}

.status.active {
    color: #4ade80;
    font-size: 12px;
    background: rgba(74, 222, 128, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
}

/* Chat Interface */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.back-btn:hover {
    color: var(--gold);
}

.chat-history {
    height: 500px;
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.chat-history::-webkit-scrollbar {
    width: 5px;
}
.chat-history::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

.message {
    max-width: 70%;
    display: flex;
}

.agent-msg {
    align-self: flex-start;
}

.user-msg {
    align-self: flex-end;
}

.msg-content {
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.5;
}

.agent-msg .msg-content {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.user-msg .msg-content {
    background-color: var(--gold);
    color: #000;
}

.chat-input-area {
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    padding: 15px 20px;
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    outline: none;
}

.chat-input-area input:focus {
    border-color: var(--gold);
}

.send-btn {
    background-color: var(--gold);
    color: #000;
    border: none;
    width: 50px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.send-btn:hover {
    background-color: #f59e0b;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 500px;
    max-width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 20px;
    color: var(--text-main);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.close-btn:hover {
    color: white;
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    outline: none;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--gold);
}

/* Chat Upgrade CSS */
.chat-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    height: calc(100vh - 180px);
}

.chat-main-panel {
    display: flex;
    flex-direction: column;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.chat-history {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    height: auto;
}

.chat-controls {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-dark);
}

.quick-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.quick-actions::-webkit-scrollbar {
    height: 4px;
}

.quick-actions::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.quick-btn {
    background: rgba(251, 191, 36, 0.1);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
}

.quick-btn:hover {
    background: var(--gold);
    color: black;
}

.chat-input-area {
    display: flex;
    gap: 10px;
    align-items: center;
}

.attach-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
    transition: 0.2s;
}

.attach-btn:hover {
    color: var(--text-main);
}

.chat-context-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.context-widget {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
}

.context-widget h4 {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Typing Indicator Animation */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* God Mode Dashboard Layout */
.god-zone {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.zone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.zone-header h3 {
    color: var(--gold);
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.status-badge {
    background: rgba(251, 191, 36, 0.2);
    color: var(--gold);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid var(--gold);
}

/* Pipeline Tracker */
.pipeline-tracker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.step .circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    transition: 0.3s;
}

.step span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: bold;
    transition: 0.3s;
}

.step.completed .circle {
    background: var(--gold);
    border-color: var(--gold);
    color: black;
}

.step.completed span {
    color: var(--gold);
}

.step.active .circle {
    background: var(--bg-dark);
    border-color: #4ade80;
    color: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.step.active span {
    color: #4ade80;
}

.line {
    flex: 1;
    height: 4px;
    background: var(--border-color);
    margin: 0 10px;
    margin-top: -25px; /* align with circles */
    transition: 0.3s;
}

.line.completed {
    background: var(--gold);
}

/* God Mode Main Grid */
.god-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.god-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zone-title {
    color: var(--text-main);
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Result Widgets */
.results-zone {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.result-widget {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
}

.widget-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
}

/* Action Zone */
.action-zone {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.idea-inbox-god, .feed-god {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    flex: 1;
}

/* Mini Agents Grid */
.status-zone {
    margin-bottom: 0;
}

.mini-agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.mini-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.mini-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.mini-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.mini-info {
    flex: 1;
}

.mini-info h4 {
    margin: 0 0 4px 0;
    font-size: 13px;
}

.mini-info p {
    margin: 0;
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes pulse-border {
    0% { border-color: var(--border-color); box-shadow: none; }
    50% { border-color: var(--gold); box-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
    100% { border-color: var(--border-color); box-shadow: none; }
}
.working-pulse {
    animation: pulse-border 1.5s infinite;
    background: rgba(251, 191, 36, 0.05) !important;
}

/* Voice Recognition Mic Button */
.mic-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
    margin-right: 10px;
}
.mic-btn:hover { color: white; }
.mic-btn.recording {
    color: #ef4444;
    animation: pulse-mic 1.5s infinite;
}
@keyframes pulse-mic {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ==============================================
   PUBLIC LANDING ZONE (Cyberpunk Style)
============================================== */
.landing-container {
    height: 100vh;
    width: 100vw;
    background: #09090b;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.landing-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(30,58,138,0.2) 0%, #09090b 70%);
    z-index: 0;
}

.landing-hero, .landing-products {
    z-index: 1;
}

.landing-hero {
    text-align: center;
    margin-bottom: 60px;
}

/* Glitch Effect */
.glitch {
    font-size: 5rem;
    font-weight: 900;
    position: relative;
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(21px, 9999px, 83px, 0); }
    20% { clip: rect(51px, 9999px, 39px, 0); }
    40% { clip: rect(6px, 9999px, 94px, 0); }
    60% { clip: rect(74px, 9999px, 34px, 0); }
    80% { clip: rect(81px, 9999px, 3px, 0); }
    100% { clip: rect(11px, 9999px, 59px, 0); }
}
@keyframes glitch-anim2 {
    0% { clip: rect(48px, 9999px, 7px, 0); }
    20% { clip: rect(9px, 9999px, 14px, 0); }
    40% { clip: rect(82px, 9999px, 31px, 0); }
    60% { clip: rect(23px, 9999px, 73px, 0); }
    80% { clip: rect(55px, 9999px, 51px, 0); }
    100% { clip: rect(100px, 9999px, 78px, 0); }
}

.neon-text {
    font-size: 1.2rem;
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    letter-spacing: 2px;
}

.landing-products {
    display: flex;
    gap: 30px;
}

.cyber-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, #00fff9, transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.cyber-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 249, 0.5);
    box-shadow: 0 10px 30px rgba(0, 255, 249, 0.1);
}

.cyber-card:hover::before {
    transform: translateX(100%);
}

.cyber-icon {
    font-size: 2.5rem;
    color: #00fff9;
    margin-bottom: 20px;
}

.cyber-card h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

.cyber-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Secret Admin Trigger */
.secret-trigger {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: rgba(255,255,255,0.1);
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.secret-trigger:hover {
    color: #f87171;
    text-shadow: 0 0 10px #f87171;
}

/* Cyber Login Box */
.cyber-login-box {
    background: #09090b;
    border: 1px solid #f87171;
    box-shadow: 0 0 20px rgba(248, 113, 113, 0.2);
    padding: 40px;
    border-radius: 5px;
    width: 400px;
    text-align: center;
    position: relative;
}

.cyber-login-box h2 {
    color: white;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.cyber-login-box input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px;
    color: #00fff9;
    font-family: monospace;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.cyber-login-box input:focus {
    outline: none;
    border-color: #00fff9;
    box-shadow: 0 0 10px rgba(0, 255, 249, 0.3);
}

.cyber-btn {
    width: 100%;
    background: #f87171;
    color: #09090b;
    border: none;
    padding: 15px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.cyber-btn:hover {
    background: white;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.close-cyber {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    font-size: 20px;
    cursor: pointer;
}
.close-cyber:hover {
    color: white;
}

/* ==============================================
   ANIMATED CYBERPUNK BACKGROUND
============================================== */
/* 3D Moving Neon Grid */
.cyber-grid {
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 255, 249, 0.15) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 255, 249, 0.15) 2px, transparent 2px);
    background-size: 60px 60px;
    transform: perspective(600px) rotateX(60deg);
    animation: moveGrid 3s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes moveGrid {
    0% { background-position: 0 0; }
    100% { background-position: 0 60px; }
}

/* CRT Scanline Effect */
.cyber-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(0, 255, 249, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 249, 0.5);
    opacity: 0.5;
    animation: scanline 4s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes scanline {
    0% { top: -10%; }
    100% { top: 110%; }
}

/* ==============================================
   VOICE VISUALIZER (Top Center)
============================================== */
.voice-visualizer {
    display: none;
    align-items: center;
    gap: 4px;
    height: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.voice-visualizer.active {
    display: flex;
}
.voice-visualizer .bar {
    width: 5px;
    background-color: #ec4899;
    border-radius: 4px;
    animation: bounce 0.5s infinite alternate;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.8);
}
.voice-visualizer .bar:nth-child(1) { height: 10px; animation-delay: 0.1s; }
.voice-visualizer .bar:nth-child(2) { height: 20px; animation-delay: 0.2s; }
.voice-visualizer .bar:nth-child(3) { height: 30px; animation-delay: 0.3s; }
.voice-visualizer .bar:nth-child(4) { height: 20px; animation-delay: 0.4s; }
.voice-visualizer .bar:nth-child(5) { height: 10px; animation-delay: 0.5s; }

@keyframes bounce {
    0% { transform: scaleY(0.5); }
    100% { transform: scaleY(1.5); }
}

/* ==============================================
   PROJECT VAULT CARDS
============================================== */
.vault-card {
    background: rgba(0, 255, 249, 0.03);
    border: 1px solid rgba(0, 255, 249, 0.2);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}
.vault-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 249, 0.6);
    box-shadow: 0 5px 20px rgba(0, 255, 249, 0.15);
}
.vault-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}
.vault-header h3 {
    font-size: 18px;
    color: white;
}
.vault-type {
    font-size: 11px;
    background: rgba(255,255,255,0.1);
    padding: 3px 8px;
    border-radius: 4px;
    color: #00fff9;
}
.vault-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.stat-box {
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}
.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.stat-value {
    font-size: 16px;
    font-weight: bold;
    color: #4ade80;
}
.vault-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.vault-btn {
    flex: 1;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.2s;
}
.vault-btn:hover {
    background: rgba(0, 255, 249, 0.1);
    border-color: #00fff9;
    color: #00fff9;
}
