/* Основные стили */
:root {
    --windows-blue: #0078d4;
    --linux-green: #179a17;
    --android-green: #3ddc84;
    --terminal-purple: #b967ff;
    --telegram-blue: #0088cc;
    --dark-color: #1a1a1a;
    --darker-color: #0a0a0a;
    --light-color: #f5f5f5;
    --card-bg: rgba(30, 30, 40, 0.8);
    --card-border: rgba(100, 100, 150, 0.3);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--light-color);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Header */
header {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 3rem;
    color: var(--terminal-purple);
    text-shadow: 0 0 10px rgba(185, 103, 255, 0.5);
}

.logo-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #0078d4, #179a17, #3ddc84, #b967ff, #0088cc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 30px;
    font-family: 'Roboto Mono', monospace;
}

/* Общие стили для секций */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--windows-blue), var(--linux-green), var(--android-green), var(--terminal-purple), var(--telegram-blue));
    margin: 10px auto;
    border-radius: 2px;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Roboto Mono', monospace;
    border: 2px solid transparent;
}

.btn-download {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-download:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-github {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-github:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Code blocks */
.code-block {
    background: #000;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
    margin: 15px 0;
    border-left: 4px solid;
    cursor: pointer;
    transition: background-color 0.3s;
}

.code-block:hover {
    background: #111;
}

.code-comment {
    color: #666;
}

/* Табы */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab {
    padding: 10px 20px;
    background: transparent;
    color: #aaa;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    transition: all 0.3s;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tab.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: bold;
}

/* Контент табов */
.tab-content {
    display: none;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid var(--card-border);
    font-family: 'Roboto Mono', monospace;
    overflow-x: auto;
}

.tab-content.active {
    display: block;
}

/* Футер */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #333;
    margin-top: 40px;
    color: #888;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: #fff;
}

.copyright {
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}