@charset "windows-1251";
/* Ubuntu Theme CSS */
:root {
    /* Ubuntu цветовая палитра */
    --ubuntu-orange: #E95420;
    --ubuntu-aubergine: #77216F;
    --ubuntu-mid-aubergine: #5E2750;
    --ubuntu-light-aubergine: #2C001E;
    --ubuntu-warm-grey: #AEA79F;
    --ubuntu-cool-grey: #333333;
    --ubuntu-text-grey: #333333;
    --ubuntu-light-grey: #F6F6F6;
    
    /* Дополнительные цвета */
    --terminal-green: #4E9A06;
    --terminal-blue: #3465A4;
    --terminal-yellow: #C4A000;
    --terminal-red: #CC0000;
    --terminal-cyan: #06989A;
    
    /* Темная тема */
    --bg-primary: #0F0F23;
    --bg-secondary: #1A1A2E;
    --bg-tertiary: #2D2D44;
    --text-primary: #E0E0FF;
    --text-secondary: #A0A0CC;
    --accent-primary: var(--ubuntu-orange);
    --accent-secondary: var(--ubuntu-aubergine);
    
    /* Шрифты */
    --font-ubuntu: 'Ubuntu', sans-serif;
    --font-ubuntu-mono: 'Ubuntu Mono', monospace;
    
    /* Тени */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.5);
    --glow: 0 0 15px rgba(233, 84, 32, 0.4);
}

/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-ubuntu);
    background-color: var(--bg-primary);
    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% 30%, rgba(119, 33, 111, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(233, 84, 32, 0.1) 0%, transparent 50%);
    z-index: -1;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Терминальный лоадер */
.terminal-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.terminal-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.terminal-header {
    width: 600px;
    background: var(--bg-secondary);
    border-radius: 8px 8px 0 0;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--ubuntu-orange);
}

.terminal-title {
    font-family: var(--font-ubuntu-mono);
    color: var(--ubuntu-orange);
    font-size: 14px;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.control.close { background: #FF5F56; }
.control.minimize { background: #FFBD2E; }
.control.maximize { background: #27CA3F; }

.terminal-body {
    width: 600px;
    height: 300px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 0 0 8px 8px;
    padding: 20px;
    font-family: var(--font-ubuntu-mono);
    color: var(--terminal-green);
    font-size: 14px;
    line-height: 1.8;
    overflow: hidden;
}

.terminal-line {
    margin-bottom: 5px;
    opacity: 0;
    animation: fadeInLine 0.5s forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.5s; }
.terminal-line:nth-child(2) { animation-delay: 1s; }
.terminal-line:nth-child(3) { animation-delay: 1.5s; }
.terminal-line:nth-child(4) { animation-delay: 2s; }
.terminal-line.typing {
    animation: typing 2s steps(40) 2.5s forwards;
    border-right: 2px solid var(--terminal-green);
    width: 0;
    overflow: hidden;
    white-space: nowrap;
}

/* Ubuntu Background */
.ubuntu-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 49%, rgba(233, 84, 32, 0.1) 50%, transparent 51%),
        linear-gradient(transparent 49%, rgba(233, 84, 32, 0.1) 50%, transparent 51%);
    background-size: 50px 50px;
    opacity: 0.1;
}

.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
}

.orb1 {
    width: 300px;
    height: 300px;
    background: var(--ubuntu-orange);
    top: 20%;
    left: 10%;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb2 {
    width: 200px;
    height: 200px;
    background: var(--ubuntu-aubergine);
    top: 60%;
    right: 15%;
    animation: floatOrb 25s ease-in-out infinite reverse;
}

.orb3 {
    width: 150px;
    height: 150px;
    background: var(--terminal-cyan);
    bottom: 20%;
    left: 20%;
    animation: floatOrb 30s ease-in-out infinite;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(233, 84, 32, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 25, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    color: var(--ubuntu-orange);
    font-size: 2rem;
}

.logo-highlight {
    color: var(--ubuntu-orange);
    background: linear-gradient(45deg, var(--ubuntu-orange), var(--ubuntu-aubergine));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Навигация */
.nav-menu {
    display: flex;
    gap: 1.1rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ubuntu-orange);
    background: rgba(233, 84, 32, 0.1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    position: relative;
    transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    left: 0;
    transition: transform 0.3s;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 8px);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -8px);
}

/* Theme Switch */
.theme-switch-wrapper {
    margin-left: 20px;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: var(--bg-tertiary);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: white;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
    border-radius: 50%;
    z-index: 2;
}

input:checked + .slider {
    background-color: var(--ubuntu-orange);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider .sun,
.slider .moon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

.slider .sun { left: 8px; }
.slider .moon { right: 8px; }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(233, 84, 32, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid rgba(233, 84, 32, 0.3);
}

.badge-text {
    color: var(--ubuntu-orange);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--ubuntu-orange);
    background: linear-gradient(45deg, var(--ubuntu-orange), var(--ubuntu-aubergine));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ubuntu-orange), transparent);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ubuntu-orange);
    font-family: var(--font-ubuntu-mono);
    margin-bottom: 0.5rem;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: var(--font-ubuntu);
}

.btn-primary {
    background: linear-gradient(45deg, var(--ubuntu-orange), var(--ubuntu-aubergine));
    color: white;
    box-shadow: var(--glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 84, 32, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(233, 84, 32, 0.3);
}

.btn-outline:hover {
    border-color: var(--ubuntu-orange);
    background: rgba(233, 84, 32, 0.1);
    transform: translateY(-3px);
}

/* Hero Terminal */
.hero-terminal {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    z-index: 2;
}

.terminal-window {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(233, 84, 32, 0.3);
}

.terminal-header {
    background: var(--bg-secondary);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(233, 84, 32, 0.2);
}

.window-controls {
    display: flex;
    gap: 8px;
}

.terminal-user {
    font-family: var(--font-ubuntu-mono);
    color: var(--terminal-green);
    font-size: 0.9rem;
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-ubuntu-mono);
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.6;
    height: 300px;
    overflow-y: auto;
}

.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.terminal-body::-webkit-scrollbar-thumb {
    background: var(--ubuntu-orange);
    border-radius: 4px;
}

.terminal-line {
    margin-bottom: 10px;
}

.prompt {
    color: var(--terminal-green);
}

.command {
    color: var(--text-primary);
}

.output {
    color: var(--text-secondary);
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-number {
    color: var(--ubuntu-orange);
    opacity: 0.3;
    font-size: 3rem;
    font-family: var(--font-ubuntu-mono);
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Установка Ubuntu */
.install-steps {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.step.visible {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--ubuntu-orange), var(--ubuntu-aubergine));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--ubuntu-orange);
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--terminal-cyan);
    text-decoration: none;
    font-weight: 500;
}

.step-link:hover {
    color: var(--ubuntu-orange);
}

.code-block {
    display: block;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    font-family: var(--font-ubuntu-mono);
    color: var(--terminal-green);
    margin: 1rem 0;
    border-left: 3px solid var(--ubuntu-orange);
    overflow-x: auto;
}

/* Версии Ubuntu */
.version-comparison {
    text-align: center;
}

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

.version-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.version-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ubuntu-orange), var(--ubuntu-aubergine));
}

.version-card.desktop::before {
    background: linear-gradient(90deg, var(--ubuntu-orange), #FF7B00);
}

.version-card.server::before {
    background: linear-gradient(90deg, var(--ubuntu-aubergine), #9B4F96);
}

.version-card:hover {
    transform: translateY(-10px);
    border-color: var(--ubuntu-orange);
    box-shadow: var(--glow);
}

.version-icon {
    font-size: 3rem;
    color: var(--ubuntu-orange);
    margin-bottom: 1.5rem;
}

.version-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.version-card ul {
    list-style: none;
    text-align: left;
}

.version-card li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.version-card li i {
    color: var(--terminal-green);
}

/* Терминал */
.terminal-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.demo-terminal {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(233, 84, 32, 0.3);
}

.demo-header {
    background: var(--bg-secondary);
    padding: 0 20px;
    border-bottom: 1px solid rgba(233, 84, 32, 0.2);
}

.demo-tabs {
    display: flex;
}

.demo-tab {
    background: none;
    border: none;
    padding: 15px 20px;
    color: var(--text-secondary);
    font-family: var(--font-ubuntu);
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.demo-tab:hover {
    color: var(--text-primary);
}

.demo-tab.active {
    color: var(--ubuntu-orange);
}

.demo-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ubuntu-orange);
}

.demo-content {
    padding: 20px;
}

.tab-content {
    display: none;
}

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

.tab-content pre {
    margin: 0;
    overflow-x: auto;
}

.tab-content code {
    font-family: var(--font-ubuntu-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--terminal-green);
}

.language-bash .prompt { color: var(--terminal-green); }
.language-bash .comment { color: var(--ubuntu-warm-grey); }
.language-bash .command { color: var(--terminal-blue); }
.language-bash .string { color: var(--terminal-yellow); }
.language-bash .keyword { color: var(--terminal-red); }

.terminal-tips {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(233, 84, 32, 0.2);
}

.terminal-tips h3 {
    color: var(--ubuntu-orange);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tip {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tip-icon {
    width: 50px;
    height: 50px;
    background: rgba(233, 84, 32, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tip-icon i {
    color: var(--ubuntu-orange);
    font-size: 1.2rem;
}

.tip-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.tip-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Окружения рабочего стола */
.desktop-environments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.environment-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.environment-card:hover {
    transform: translateY(-10px);
    border-color: var(--ubuntu-orange);
    box-shadow: var(--glow);
}

.environment-card.gnome {
    border-top: 4px solid var(--ubuntu-orange);
}

.environment-card.kde {
    border-top: 4px solid #1D99F3;
}

.environment-card.xfce {
    border-top: 4px solid #228B22;
}

.env-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.env-logo {
    width: 50px;
    height: 50px;
    background: rgba(233, 84, 32, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.env-logo i {
    color: var(--ubuntu-orange);
    font-size: 1.5rem;
}

.environment-card.kde .env-logo i { color: #1D99F3; }
.environment-card.xfce .env-logo i { color: #228B22; }

.env-header h3 {
    font-size: 1.5rem;
    flex: 1;
}

.env-badge {
    background: rgba(233, 84, 32, 0.2);
    color: var(--ubuntu-orange);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.environment-card.kde .env-badge {
    background: rgba(29, 153, 243, 0.2);
    color: #1D99F3;
}

.environment-card.xfce .env-badge {
    background: rgba(34, 139, 34, 0.2);
    color: #228B22;
}

.env-content {
    padding: 1.5rem 2rem 2rem;
}

.env-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.env-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.env-features li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.env-features li::before {
    content: '?';
    color: var(--ubuntu-orange);
    position: absolute;
    left: 0;
}

.env-install code {
    display: block;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 6px;
    font-family: var(--font-ubuntu-mono);
    color: var(--terminal-green);
    font-size: 0.9rem;
    overflow-x: auto;
}

/* Ubuntu Server */
.server-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--ubuntu-orange);
}

.feature-icon {
    font-size: 3rem;
    color: var(--ubuntu-orange);
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.server-services {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(233, 84, 32, 0.2);
}

.server-services h3 {
    text-align: center;
    color: var(--ubuntu-orange);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

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

.service {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--ubuntu-orange);
}

.service h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.service code {
    font-family: var(--font-ubuntu-mono);
    color: var(--terminal-green);
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    font-size: 0.9rem;
}

/* Команды */
.commands-search {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

#commandSearch {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-ubuntu);
    font-size: 1rem;
    transition: all 0.3s ease;
}

#commandSearch:focus {
    outline: none;
    border-color: var(--ubuntu-orange);
    box-shadow: 0 0 0 2px rgba(233, 84, 32, 0.2);
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.command-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.command-card:hover {
    transform: translateY(-5px);
    border-color: var(--ubuntu-orange);
    box-shadow: var(--shadow-md);
}

.command-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.command-name {
    font-family: var(--font-ubuntu-mono);
    color: var(--terminal-green);
    font-size: 1.1rem;
    font-weight: 600;
}

.command-copy {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.command-copy:hover {
    color: var(--ubuntu-orange);
    background: rgba(233, 84, 32, 0.1);
}

.command-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.command-example {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 6px;
    font-family: var(--font-ubuntu-mono);
    color: var(--text-secondary);
    font-size: 0.85rem;
    overflow-x: auto;
}

/* Сообщество */
.community-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.community-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: block;
}

.community-card:hover {
    transform: translateY(-10px);
    border-color: var(--ubuntu-orange);
    background: rgba(233, 84, 32, 0.05);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--ubuntu-orange);
    margin-bottom: 1.5rem;
}

.community-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.community-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(233, 84, 32, 0.2);
    position: relative;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.footer-brand i {
    color: var(--ubuntu-orange);
    font-size: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--ubuntu-orange);
    color: white;
}

.footer-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--ubuntu-orange);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info p i {
    color: var(--ubuntu-orange);
}

.telegram-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ubuntu-orange);
    text-decoration: none;
    padding: 10px 15px;
    background: rgba(233, 84, 32, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.telegram-contact:hover {
    background: rgba(233, 84, 32, 0.2);
    transform: translateX(5px);
}

.community-note {
    margin-top: 1rem;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border-left: 3px solid var(--terminal-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stats-item i {
    color: var(--ubuntu-orange);
}

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--ubuntu-orange);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--ubuntu-aubergine);
    transform: translateY(-5px);
}

.terminal-notification {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    padding: 15px 20px;
    border: 1px solid rgba(233, 84, 32, 0.3);
    border-left: 4px solid var(--terminal-green);
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s ease;
    z-index: 100;
}

.terminal-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-icon {
    color: var(--terminal-green);
    font-family: var(--font-ubuntu-mono);
    font-weight: bold;
    font-size: 1.2rem;
}

.notification-text {
    font-family: var(--font-ubuntu-mono);
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Плавающие элементы */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    color: var(--ubuntu-orange);
    animation: floatIcon 15s ease-in-out infinite;
}

.terminal-icon {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.ubuntu-icon {
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.code-icon {
    bottom: 30%;
    left: 15%;
    animation-delay: 10s;
}

/* Анимации */
@keyframes fadeInLine {
    to { opacity: 1; }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(100px, -50px); }
    50% { transform: translate(-50px, 100px); }
    75% { transform: translate(50px, 50px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

@keyframes floatIcon {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0.1;
    }
    25% { 
        transform: translateY(-50px) rotate(90deg); 
        opacity: 0.2;
    }
    50% { 
        transform: translateY(0) rotate(180deg); 
        opacity: 0.1;
    }
    75% { 
        transform: translateY(50px) rotate(270deg); 
        opacity: 0.05;
    }
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hero-terminal {
        position: relative;
        width: 100%;
        margin-top: 3rem;
        transform: none;
    }
    
    .terminal-demo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-primary);
        width: 100%;
        padding: 2rem;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(233, 84, 32, 0.2);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .title-number {
        font-size: 2rem;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        align-self: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .commands-grid {
        grid-template-columns: 1fr;
    }
}













/* Новые стили для логотипа */
.logo-animated {
    position: relative;
    overflow: hidden;
}

.logo-animated::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(233, 84, 32, 0.1), 
        rgba(139, 92, 246, 0.1), 
        rgba(233, 84, 32, 0.1),
        transparent);
    z-index: -1;
    animation: logoGlow 3s linear infinite;
    border-radius: 8px;
}

.logo-tld {
    color: var(--text-secondary);
    font-size: 0.8em;
    opacity: 0.8;
}

@keyframes logoGlow {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: rotate(180deg) scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.5;
    }
}

.logo-animated:hover .logo-highlight {
    animation: logoColorShift 2s infinite;
}

@keyframes logoColorShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Исправление позиционирования героя */
.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-bottom: 0;
}

.hero-terminal {
    position: relative;
    flex: 1;
    max-width: 550px;
    margin-top: 0;
    transform: none;
    top: auto;
    right: auto;
}

/* Адаптивность для героя */
@media (max-width: 1100px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-terminal {
        order: 2;
        max-width: 100%;
    }
    
    .hero-content {
        order: 1;
    }
}

/* Исправление темы */
body.light-theme {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.light-theme .terminal-window {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #dee2e6;
}

.light-theme .terminal-body {
    color: #212529;
}

.light-theme .prompt {
    color: #28a745;
}

.light-theme .command {
    color: #007bff;
}

.light-theme .output {
    color: #6c757d;
}

/* Анимация переключения темы */
.theme-switch-wrapper {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.theme-switch-wrapper:hover {
    opacity: 0.9;
}

/* Улучшение статистики */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ubuntu-orange);
    font-family: var(--font-ubuntu-mono);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Улучшение терминала в герое */
.terminal-window {
    background: rgba(0, 0, 0, 0.85);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(233, 84, 32, 0.4);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(233, 84, 32, 0.2);
    transition: all 0.3s ease;
}

.terminal-window:hover {
    transform: translateY(-5px);
    border-color: rgba(233, 84, 32, 0.6);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(233, 84, 32, 0.3);
}