

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

:root {
    --primary: #00ff41;
    --secondary: #ff0080;
    --accent: #00ccff;
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-surface: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --danger: #ff3333;
    --warning: #ffaa00;
    --success: #00ff41;
}

body {
    font-family: \'JetBrains Mono\', monospace;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: \'\';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: pulse 10s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 65, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo::before {
    content: \'⬢\';
    font-size: 1.8rem;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(0, 255, 65, 0.1);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(0, 255, 65, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

/* Main Content */
main {
    margin-top: 70px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

.page {
    display: none;
    min-height: 70vh;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page.show {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0 6rem;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    font-size: 2rem;
    padding: 0.5rem;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

.card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Security Levels */
.security-level {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0.5rem 0.5rem 0.5rem 0;
}

.level-low {
    background: rgba(255, 51, 51, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.level-medium {
    background: rgba(255, 170, 0, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.level-high {
    background: rgba(0, 255, 65, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

/* Danger Zones */
.danger-zone {
    background: linear-gradient(135deg, rgba(255, 51, 51, 0.1), rgba(255, 170, 0, 0.1));
    border: 2px solid var(--danger);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.danger-zone h3 {
    color: var(--danger);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Chart placeholder */
.chart-container {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.chart-placeholder {
    height: 300px;
    background: linear-gradient(45deg, rgba(0, 255, 65, 0.1), rgba(255, 0, 128, 0.1));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    border: 2px dashed rgba(0, 255, 65, 0.3);
}

/* Timeline */
.timeline {
    position: relative;
    margin: 4rem 0;
}

.timeline::before {
    content: \'\';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
    z-index: 2;
}

.timeline-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 65, 0.2);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Article styles */
.article-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.article-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-title {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.article-content {
    padding: 1.5rem;
    line-height: 1.8;
}

.article-content h4 {
    color: var(--accent);
    margin: 1.5rem 0 1rem;
}

.article-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Price list */
.price-list {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
}

.price-list-header {
    background: rgba(255, 51, 51, 0.1);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--danger);
}

.price-list-header h4 {
    color: var(--danger);
    margin: 0;
}

.price-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item-name {
    color: var(--text-secondary);
}

.price-item-cost {
    color: var(--danger);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
        flex-direction: column;
        height: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .nav-menu {
        margin-top: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 2rem;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 4rem;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 1rem;
        text-align: left;
    }

    .timeline-dot {
        left: 2rem;
    }

    main {
        padding: 1rem;
    }
}

