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

.content-wrapper {
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

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

.content-name {
    text-align: center;
    margin-bottom: 60px;
}

.content-name .term {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.instruction-steps {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--filler);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.step-content {
    flex: 1;
    max-width: 600px;
}

.step-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.step-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.step-image {
    width: 100%;
    object-fit: contain;
    margin-top: 20px;
}

.img {
    max-width: 30vw;
    max-height: 40vh;
}

.image-placeholder {
    border-radius: 12px;
    padding: 20px 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    border-color: rgba(145, 158, 214, 0.1);
    background: rgba(102, 126, 234, 0.05);
}

.company-info {
    text-align: right;
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.company-description {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 250px;
}

        /* Header styles */
        .theme-toggle {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-color);
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            padding: 8px;
            border-radius: 50%;
            transition: background-color 0.3s;
        }

        .theme-toggle:hover {
            background-color: rgba(128, 128, 128, 0.1);
        }

        .terms-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .terms-section {
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-color);
            /* Добавляем отступ для якорных ссылок */
            scroll-margin-top: 90px;
        }
        
        .terms-section:last-child {
            border-bottom: none;
        }

        .terms-section h2 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--text-color);
            padding-bottom: 10px;
        }

        .terms-section h3 {
            font-size: 1.2rem;
            margin: 20px 0 10px;
            color: var(--text-color);
        }

        .terms-section p {
            margin-bottom: 15px;
            color: var(--text-muted);
        }

        .terms-section ul {
            padding-left: 25px;
            margin-bottom: 15px;
        }

        .terms-section li {
            margin-bottom: 8px;
            color: var(--text-muted);
        }

        .highlight {
            background: linear-gradient(120deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
            padding: 25px;
            border-radius: 10px;
            margin: 25px 0;
            border-left: 4px solid rgba(145, 158, 214, 0.1);
        }

        .highlight p {
            margin-bottom: 0;
            color: var(--text-color);
            font-weight: 500;
        }
        
        .warning {
            background: linear-gradient(120deg, rgba(234, 102, 102, 0.1), rgba(162, 75, 75, 0.1));
            padding: 25px;
            border-radius: 10px;
            margin: 25px 0;
            border-left: 4px solid #e53e3e;
        }
        
        .warning p {
            margin-bottom: 0;
            color: var(--text-color);
            font-weight: 500;
        }

        /* Terms navigation */
        .terms-nav {
            position: fixed;
            right: 20px;
            top: 100px;
            background: var(--card-color);
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            max-width: 250px;
            display: none;
            z-index: 99;
        }
        
        .terms-nav h3 {
            font-size: 1.1rem;
            margin-bottom: 10px;
            color: var(--text-color);
        }
        
        .terms-nav ul {
            list-style: none;
            padding: 0;
        }
        
        .terms-nav li {
            margin-bottom: 8px;
        }
        
        .terms-nav a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.3s;
            font-size: 0.9rem;
            display: block;
            padding: 3px 0;
        }
        
        .terms-nav a:hover,
        .terms-nav a.active {
            color: var(--text-color);
            font-weight: 600;
        }
        
        .terms-nav.active {
            display: block;
        }

        .theme-toggle {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-color);
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            padding: 8px;
            border-radius: 50%;
            transition: background-color 0.3s;
        }

        .theme-toggle:hover {
            background-color: rgba(128, 128, 128, 0.1);
        }

        .important-note {
            background: linear-gradient(120deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
            padding: 25px;
            border-radius: 10px;
            margin: 25px 0;
            border-left: 4px solid #ff9800;
        }
        
        .important-note p {
            margin-bottom: 0;
            color: var(--text-color);
            font-weight: 500;
        }

        .servers-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .servers-header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }

        .servers-header p {
            font-size: 1.1rem;
            color: #718096;
        }

        .dark-theme .servers-header p {
            color: #a0aec0;
        }

        /* Server Cards */
        .servers-grid {
            display: flex;
            justify-content: space-between;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }

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

        .server-card.active {
            border-color: rgba(145, 158, 214, 0.1);
            box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
        }

        .server-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .server-name {
            font-size: 1.2rem;
            font-weight: 600;
        }

        .server-status {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }


        .status-offline {
            background-color: rgba(245, 101, 101, 0.15);
            color: var(--danger-color);
        }

        .status-loading {
            background-color: rgba(236, 201, 75, 0.15);
            color: var(--warning-color);
        }

        .dark-theme .server-address {
            color: #a0aec0;
        }

        .info-label {
            font-size: 0.8rem;
            color: #718096;
        }

        .dark-theme .info-label {
            color: #a0aec0;
        }

        .info-value {
            font-weight: 600;
        }

        /* Server Details */
        .server-details {
            background: var(--card-bg);
            border-radius: 10px;
            padding: 20px;
            box-shadow: var(--shadow);
            margin-bottom: 40px;
            display: none;
            border: 1px solid var(--border-color);
        }

        .server-details.active {
            display: block;
        }

        .details-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
        }

        .details-title {
            font-size: 1.5rem;
            font-weight: 600;
        }

        .time-selector {
            display: flex;
            background: var(--background);
            border-radius: 8px;
            padding: 4px;
        }

        .time-btn {
            padding: 6px 12px;
            border: none;
            background: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.9rem;
            color: var(--text-color);
            transition: all 0.3s ease;
        }

        .time-btn.active {
            background: rgba(145, 158, 214, 0.1);
            color: white;
        }

        .chart-container {
            position: relative;
            height: 300px;
            margin-bottom: 20px;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }


        .dark-theme .stat-card {
            background: rgba(0, 0, 0, 0.2);
        }

        .stat-value {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 5px;
        }


        .dark-theme .stat-label {
            color: #a0aec0;
        }

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

        .step-image {
            overflow: hidden;
            border-radius: 8px;
        }

        .step-image img {
            max-width: 100%;
            height: auto;
            display: block;
            object-fit: contain;
        }

        /* Для контейнера с изображением */
        .image-placeholder {
            max-width: 100%;
            overflow: hidden;
        }

        /* Hero Section */
.hero {
    width: 100%;
    position: relative;
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--filler);
    color: white;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: var(--f-color);
    color: var(--text-color);
    border: 2px solid rgba(145, 158, 214, 0.1);
}

.btn-secondary:hover {
    background: vrgba(145, 158, 214, 0.1);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.hero-image {
    border: transparent;
    background: transparent;
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--surface);
}

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

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

.feature-card {
    background: var(--card-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--s-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

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

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

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

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--s-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

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

.center-button {
    text-align: center;
    margin-top: 50px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--s-color);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background: var(--f-color);
    color: var(--text-color);
    font-size: 1.1rem;
}

.cta .btn:hover {
    background: rgba(145, 158, 214, 0.1);
    transform: translateY(-2px);
}
        
        /* Стили для статусов серверов */
        .status-online {
            background-color: #4CAF50;
            color: white;
        }
        
        .status-offline {
            background-color: #F44336;
            color: white;
        }
        
        .status-loading {
            background-color: #FF9800;
            color: white;
        }
        
        /* Стили для карточек серверов */
        .server-card {
            border-radius: 12px;
            padding: 20px;
            background: var(--card-bg);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 1px solid var(--border-color);
            height: 100%;
            width: 35vw;
        }
        
        .server-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }
        
        .server-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .server-name {
            font-weight: 600;
            font-size: 18px;
            color: var(--text-color);
        }
        
        .server-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 14px;
        }

        
        .info-value {
            font-weight: 500;
        }
        
        .server-description {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid var(--border-color);
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.5;
        }
        
        /* Общая статистика */
        .stats-overview {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .stat-card {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            border: 1px solid var(--border-color);
        }
        
        .с {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 5px;
            color: var(--text-color);
        }
        
        .stat-label {
            font-size: 14px;
            color: var(--text-secondary);
        }
        
        /* Анимация загрузки */
        .loading-spinner {
            width: 16px;
            height: 16px;
            border: 2px solid transparent;
            border-top: 2px solid currentColor;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Время обновления */
        .update-info {
            text-align: center;
            margin: 20px 0;
            color: var(--text-secondary);
            font-size: 14px;
            display: none; /* Скрываем блок времени обновления */
        }
        .hero-video-container {
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: -1;
        }
        
        .hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 99%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translateX(-50%) translateY(-50%);
            object-fit: cover;
            filter: var(--gray);
        }
        
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            z-index: 0;
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
        }