/* ============================================================
   HORUS WEB - Modern Dark Theme CSS
   ============================================================ */

/* CSS Variables */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-gold: #ffd700;
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-gold);
    text-decoration: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-right: 30px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at center, #1a1a25 0%, #0a0a0f 70%);
    padding-top: 80px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--accent-purple);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-purple);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--accent-gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

/* How it Works */
.how-it-works {
    padding: 100px 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    max-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--bg-card);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-gold);
}

.stat-label {
    color: var(--text-secondary);
    margin-top: 10px;
}

/* Dashboard */
.dashboard {
    padding: 100px 0 50px;
    min-height: 100vh;
}

.dashboard h1 {
    margin-bottom: 40px;
    font-size: 2rem;
}

/* KPI Cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.kpi-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.kpi-card:hover {
    transform: translateY(-5px);
}

.kpi-card.highlight {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
}

.kpi-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.kpi-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-gold);
}

.kpi-label {
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Charts Row */
.charts-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.chart-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.chart-card h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Exchange Bars */
.exchange-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.exchange-name {
    width: 80px;
    color: var(--text-secondary);
}

.bar-container {
    flex: 1;
    height: 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: var(--gradient-purple);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.exchange-value {
    width: 80px;
    text-align: left;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Clients List */
.client-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.client-rank {
    font-size: 1.2rem;
}

.client-id {
    flex: 1;
    font-family: monospace;
    color: var(--text-secondary);
}

.client-volume {
    color: var(--accent-gold);
    font-weight: bold;
}

/* Financial Card */
.financial-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.split-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.split-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.split-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-gold);
}

/* Logs */
.logs-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.log-item {
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: var(--bg-secondary);
    display: flex;
    gap: 15px;
}

.log-item.info { border-right: 3px solid var(--accent-blue); }
.log-item.warning { border-right: 3px solid #f59e0b; }
.log-item.error { border-right: 3px solid #ef4444; }

.log-component {
    color: var(--accent-purple);
    font-weight: bold;
}

/* Footer */
.footer {
    padding: 30px 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Quick Stats */
.quick-stats {
    background: var(--bg-card);
    padding: 20px 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .steps { flex-direction: column; align-items: center; }
    .charts-row { grid-template-columns: 1fr; }
}
