* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root {
    --gold: #D4AF37; 
    --light-gold: #F4E5B8; 
    --dark-gold: #B8941E;
    --black: #0A0A0A; 
    --dark-gray: #1A1A1A; 
    --medium-gray: #2A2A2A; 
    --light-gray: #3A3A3A;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--light-gold); 
    min-height: 100vh; 
    overflow-x: hidden;
}

.investment-notice {
    background: linear-gradient(135deg, var(--dark-gold) 0%, var(--gold) 100%);
    color: var(--black); 
    padding: 1.5rem; 
    text-align: center; 
    font-weight: 600;
    border-bottom: 2px solid var(--gold); 
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.investment-notice strong { 
    font-size: 1.1rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

.investment-notice p { 
    margin-top: 0.5rem; 
    font-size: 0.95rem; 
}

.header {
    background: var(--dark-gray); 
    padding: 2rem; 
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2); 
    position: relative;
}

.admin-login { 
    position: absolute; 
    top: 1rem; 
    right: 1rem; 
}

.admin-btn {
    background: var(--medium-gray); 
    color: var(--gold); 
    border: 2px solid var(--gold);
    padding: 0.5rem 1rem; 
    cursor: pointer; 
    border-radius: 5px; 
    font-size: 0.9rem; 
    transition: all 0.3s;
}

.admin-btn:hover { 
    background: var(--gold); 
    color: var(--black); 
}

.logo-container { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 2rem; 
    margin-bottom: 1rem; 
}

.logo-m {
    width: 140px; 
    height: 140px; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    filter: drop-shadow(0 8px 16px rgba(212, 175, 55, 0.4));
}

.logo-m::before {
    content: 'M'; 
    font-size: 8rem; 
    font-weight: 400; 
    font-family: 'Times New Roman', 'Georgia', serif;
    background: linear-gradient(180deg, #F4E5B8 0%, #D4AF37 40%, #B8941E 100%);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    background-clip: text; 
    letter-spacing: -0.05em; 
    line-height: 1;
}

.header-content { 
    text-align: center; 
}

h1 { 
    color: var(--gold); 
    font-size: 2.5rem; 
    margin-bottom: 0.5rem; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
}

.tagline { 
    color: var(--light-gold); 
    font-size: 1rem; 
    font-style: italic; 
}

.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 2rem; 
}

.nav-tabs { 
    display: flex; 
    gap: 1rem; 
    margin-bottom: 2rem; 
    flex-wrap: wrap; 
    justify-content: center; 
}

.tab-btn {
    background: var(--medium-gray); 
    color: var(--gold); 
    border: 2px solid var(--gold);
    padding: 1rem 2rem; 
    cursor: pointer; 
    transition: all 0.3s; 
    font-size: 1rem;
    font-weight: 600; 
    border-radius: 5px;
}

.tab-btn:hover { 
    background: var(--gold); 
    color: var(--black); 
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); 
}

.tab-btn.active { 
    background: var(--gold); 
    color: var(--black); 
}

.tab-content { 
    display: none; 
    animation: fadeIn 0.5s; 
}

.tab-content.active { 
    display: block; 
}

@keyframes fadeIn { 
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    } 
    to { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}

.dashboard-stats { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 1.5rem; 
    margin-bottom: 2rem; 
}

.stat-card { 
    background: var(--dark-gray); 
    border: 2px solid var(--gold); 
    border-radius: 10px; 
    padding: 1.5rem; 
    text-align: center; 
}

.stat-value { 
    font-size: 2rem; 
    color: var(--gold); 
    font-weight: bold; 
    margin-bottom: 0.5rem; 
}

.stat-label { 
    color: var(--light-gold); 
    font-size: 0.9rem; 
}

.status-indicator { 
    display: inline-block; 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    background: #00ff00; 
    margin-right: 0.5rem; 
    animation: pulse 2s infinite; 
}

@keyframes pulse { 
    0%, 100% { 
        opacity: 1; 
    } 
    50% { 
        opacity: 0.5; 
    } 
}

.companies-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
    margin-bottom: 2rem; 
}

.company-card { 
    background: var(--dark-gray); 
    border: 2px solid var(--gold); 
    border-radius: 10px; 
    padding: 2rem; 
    transition: all 0.3s; 
}

.company-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3); 
}

.company-card h3 { 
    color: var(--gold); 
    margin-bottom: 1rem; 
    font-size: 1.5rem; 
}

.company-card p { 
    color: var(--light-gold); 
    line-height: 1.6; 
}

.agent-panel { 
    background: var(--medium-gray); 
    border: 2px solid var(--gold); 
    border-radius: 10px; 
    padding: 2rem; 
    margin-bottom: 2rem; 
}

.agent-panel h2 { 
    color: var(--gold); 
    margin-bottom: 1.5rem; 
}

.agent-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 1.5rem; 
}

.agent-card { 
    background: var(--light-gray); 
    padding: 1.5rem; 
    border-radius: 8px; 
    border-left: 4px solid var(--gold); 
}

.agent-card h4 { 
    color: var(--gold); 
    margin-bottom: 0.5rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.agent-status { 
    font-size: 0.8rem; 
    color: #00ff00; 
}

.agent-card p { 
    color: var(--light-gold); 
    font-size: 0.9rem; 
    margin-bottom: 1rem; 
}

.highlight-box { 
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%); 
    border: 3px solid var(--gold); 
    border-radius: 10px; 
    padding: 2rem; 
    margin-bottom: 2rem; 
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2); 
}

.highlight-box h3 { 
    color: var(--gold); 
    font-size: 1.8rem; 
    margin-bottom: 1.5rem; 
    text-align: center; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

.warning-box { 
    background: var(--dark-gray); 
    border: 2px solid var(--gold); 
    border-radius: 8px; 
    padding: 1.5rem; 
    margin-bottom: 1.5rem; 
}

.warning-box h4 { 
    color: var(--gold); 
    margin-bottom: 1rem; 
    font-size: 1.2rem; 
}

.warning-box ul { 
    margin-left: 1.5rem; 
    color: var(--light-gold); 
    line-height: 1.8; 
}

.warning-box ul li { 
    margin-bottom: 0.5rem; 
}

.contact-form { 
    background: var(--medium-gray); 
    border: 2px solid var(--gold); 
    border-radius: 10px; 
    padding: 2rem; 
    max-width: 700px; 
    margin: 0 auto; 
}

.form-group { 
    margin-bottom: 1.5rem; 
}

.form-group label { 
    display: block; 
    color: var(--gold); 
    margin-bottom: 0.5rem; 
    font-weight: 600; 
}

.form-group input, .form-group textarea, .form-group select { 
    width: 100%; 
    padding: 0.75rem; 
    background: var(--light-gray); 
    border: 1px solid var(--gold); 
    border-radius: 5px; 
    color: var(--light-gold); 
    font-size: 1rem; 
}

.form-group textarea { 
    min-height: 150px; 
    resize: vertical; 
}

.submit-btn { 
    background: var(--gold); 
    color: var(--black); 
    border: none; 
    padding: 1rem 2rem; 
    font-size: 1rem; 
    font-weight: 600; 
    border-radius: 5px; 
    cursor: pointer; 
    transition: all 0.3s; 
    width: 100%; 
}

.submit-btn:hover { 
    background: var(--dark-gold); 
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); 
}

.upload-section { 
    background: var(--dark-gray); 
    border: 2px dashed var(--gold); 
    border-radius: 8px; 
    padding: 1.5rem; 
    margin-top: 1rem; 
    text-align: center; 
}

.upload-section input[type="file"] { 
    display: none; 
}

.upload-label { 
    color: var(--gold); 
    cursor: pointer; 
    padding: 0.75rem 1.5rem; 
    background: var(--medium-gray); 
    border: 2px solid var(--gold); 
    border-radius: 5px; 
    display: inline-block; 
    transition: all 0.3s; 
}

.upload-label:hover { 
    background: var(--gold); 
    color: var(--black); 
}

.file-list { 
    margin-top: 1rem; 
    text-align: left; 
}

.file-item { 
    background: var(--medium-gray); 
    padding: 0.75rem; 
    margin-bottom: 0.5rem; 
    border-radius: 5px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.file-name { 
    color: var(--light-gold); 
}

.file-actions button { 
    background: var(--gold); 
    color: var(--black); 
    border: none; 
    padding: 0.5rem 1rem; 
    border-radius: 5px; 
    cursor: pointer; 
    margin-left: 0.5rem; 
    font-size: 0.85rem; 
}

.file-actions button:hover { 
    background: var(--dark-gold); 
}

.task-queue { 
    background: var(--dark-gray); 
    border: 2px solid var(--gold); 
    border-radius: 10px; 
    padding: 1.5rem; 
    margin-top: 1rem; 
}

.task-item { 
    background: var(--medium-gray); 
    padding: 1rem; 
    margin-bottom: 0.75rem; 
    border-radius: 5px; 
    border-left: 4px solid var(--gold); 
}

.task-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 0.5rem; 
}

.task-title { 
    color: var(--gold); 
    font-weight: 600; 
}

.task-status { 
    font-size: 0.85rem; 
    padding: 0.25rem 0.75rem; 
    border-radius: 3px; 
    background: var(--light-gray); 
}

.task-status.processing { 
    color: #ffa500; 
}

.task-status.completed { 
    color: #00ff00; 
}

.task-description { 
    color: var(--light-gold); 
    font-size: 0.9rem; 
}

.processing-indicator { 
    display: inline-block; 
    margin-left: 0.5rem; 
}

.dot { 
    display: inline-block; 
    width: 8px; 
    height: 8px; 
    border-radius: 50%; 
    background: var(--gold); 
    margin: 0 2px; 
    animation: bounce 1.4s infinite ease-in-out both; 
}

.dot:nth-child(1) { 
    animation-delay: -0.32s; 
}

.dot:nth-child(2) { 
    animation-delay: -0.16s; 
}

@keyframes bounce { 
    0%, 80%, 100% { 
        transform: scale(0); 
    } 
    40% { 
        transform: scale(1); 
    } 
}

.admin-panel { 
    background: var(--dark-gray); 
    border: 3px solid var(--gold); 
    border-radius: 10px; 
    padding: 2rem; 
    margin-bottom: 2rem; 
}

.admin-panel h2 { 
    color: var(--gold); 
    margin-bottom: 1.5rem; 
    text-align: center; 
}

.report-card { 
    background: var(--light-gray); 
    padding: 1.5rem; 
    margin-bottom: 1rem; 
    border-radius: 8px; 
    border-left: 4px solid var(--gold); 
}

.report-card h4 { 
    color: var(--gold); 
    margin-bottom: 1rem; 
}

.report-summary { 
    color: var(--light-gold); 
    line-height: 1.6; 
    margin-bottom: 1rem; 
}

.report-metrics { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 1rem; 
    margin-top: 1rem; 
}

.metric { 
    background: var(--dark-gray); 
    padding: 1rem; 
    border-radius: 5px; 
    text-align: center; 
}

.metric-value { 
    font-size: 1.5rem; 
    color: var(--gold); 
    font-weight: bold; 
}

.metric-label { 
    font-size: 0.85rem; 
    color: var(--light-gold); 
}

.modal { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.8); 
    z-index: 1000; 
    justify-content: center; 
    align-items: center; 
}

.modal.active { 
    display: flex; 
}

.modal-content { 
    background: var(--dark-gray); 
    border: 2px solid var(--gold); 
    border-radius: 10px; 
    padding: 2rem; 
    max-width: 400px; 
    width: 90%; 
}

.modal-content h3 { 
    color: var(--gold); 
    margin-bottom: 1rem; 
}

.modal-content input { 
    width: 100%; 
    padding: 0.75rem; 
    background: var(--light-gray); 
    border: 1px solid var(--gold); 
    border-radius: 5px; 
    color: var(--light-gold); 
    margin-bottom: 1rem; 
}

.modal-buttons { 
    display: flex; 
    gap: 1rem; 
}

.modal-buttons button { 
    flex: 1; 
    padding: 0.75rem; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    font-weight: 600; 
}

.btn-primary { 
    background: var(--gold); 
    color: var(--black); 
}

.btn-secondary { 
    background: var(--medium-gray); 
    color: var(--gold); 
    border: 2px solid var(--gold); 
}

.footer { 
    text-align: center; 
    padding: 2rem; 
    color: var(--light-gold); 
    border-top: 2px solid var(--gold); 
    margin-top: 3rem; 
}

.contact-info { 
    color: var(--gold); 
    font-size: 1.1rem; 
    margin-top: 1rem; 
}

.contact-info a { 
    color: var(--gold); 
    text-decoration: none; 
    transition: color 0.3s; 
}

.contact-info a:hover { 
    color: var(--light-gold); 
}

/* Blockchain specific styles */
.blockchain-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.blockchain-visualizer {
    background: var(--dark-gray);
    border: 2px solid var(--gold);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

#waveCanvas {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--gold);
    border-radius: 5px;
    background: var(--black);
}

.blockchain-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.blockchain-controls .submit-btn {
    width: auto;
}

.block-item {
    background: var(--light-gray);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--gold);
    font-weight: 600;
}

.block-hash {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--light-gold);
    word-break: break-all;
    background: var(--medium-gray);
    padding: 0.5rem;
    border-radius: 5px;
    margin: 0.5rem 0;
}

.wave-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

.wave-metric {
    color: var(--light-gold);
}

.wave-metric strong {
    color: var(--gold);
}