﻿/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER STYLES ===== */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.header-content nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
}

.header-content nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
    display: flex;
    gap: 8px;
    margin-left: auto;
    padding-left: 20px;
    border-left: 1px solid #eee;
}

.language-switcher a {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
}

.language-switcher a:hover {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
    transform: translateY(-2px);
}

.language-switcher a.active {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
}

.language-switcher a.lang-ru {
    background-color: #f8f9fa;
}

.language-switcher a.lang-en {
    background-color: #f8f9fa;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.logo-graphic {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-main {
    font-size: 1.4rem;
    line-height: 1.2;
    letter-spacing: 1px;
}

.logo-year {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.logo-image {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* ===== NAVIGATION ===== */
nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
}

nav a:hover {
    color: #3498db;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* ===== HEADER LOGO STYLES ===== */
.header_logo {
    height: 45px;
    width: auto;
    max-width: 180px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.header_logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    background: #f8f9fa;
    padding: 1rem 0;
    margin: 80px 0 0 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #2980b9;
}

.breadcrumbs span {
    color: #7f8c8d;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.hero-logo {
    max-width: 400px;
    margin: 0 auto 2rem;
}

.hero-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.cta-button.primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.6);
}

.cta-button.secondary:hover {
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
}

/* ===== METRICS SECTION ===== */
.metrics-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    color: white;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-value {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.metric-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

.section-light {
    background: white;
}

.section-dark {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-title p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
    font-weight: bold;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* ===== PROGRAM SECTION ===== */
.program-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.highlight:hover {
    transform: translateY(-3px);
}

.highlight-number {
    font-size: 3rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 1rem;
}

/* ===== FEATURE HIGHLIGHT ===== */
.feature-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
}

.feature-highlight h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-highlight p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== TECHNOLOGY STACK ===== */
.tech-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 150px;
    transition: transform 0.3s;
}

.tech-item:hover {
    transform: translateY(-3px);
}

/* ===== PROGRAM SHOWCASE ===== */
.program-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.program-image {
    text-align: center;
}

.program-image-placeholder {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.program-image-placeholder .logo-main {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.program-image-placeholder .logo-year {
    font-size: 1rem;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.program-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.program-feature:hover {
    transform: translateX(5px);
}

.feature-check {
    color: #27ae60;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-nav {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 6px;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
    color: white !important;
}

/* ===== FOOTER ===== */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #3498db;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    color: #bdc3c7;
}

/* ===== FOOTER LANGUAGE TOGGLE ===== */
#languageToggle {
    color: #bdc3c7 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: color 0.3s ease !important;
}

#languageToggle:hover {
    color: #3498db !important;
    text-decoration: underline !important;
}

/* ===== JUSTIFICATION PAGE STYLES ===== */
.main-content {
    background: white;
    margin: 100px auto 50px;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid #3498db;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-style: italic;
}

.section {
    margin-bottom: 3rem;
}

.section h2 {
    color: #3498db;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.argument-grid {
    display: grid;
    gap: 1.5rem;
}

.argument-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    transition: transform 0.3s;
}

.argument-card:hover {
    transform: translateX(5px);
}

.argument-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.comparison {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.comparison h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.comparison-table th {
    background: #3498db;
    color: white;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: #e8f4fc;
}

.pros {
    color: #27ae60;
    font-weight: bold;
}

.cons {
    color: #e74c3c;
    font-weight: bold;
}

.quote {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
    font-style: italic;
    position: relative;
}

/* ===== INTRODUCTION PAGE STYLES ===== */
.quick-nav {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.quick-nav h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.nav-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #3498db;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.nav-item:hover {
    border-color: #3498db;
    transform: translateY(-2px);
}

.file-structure {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    margin: 2rem 0;
}

.file-item {
    margin: 0.5rem 0;
    padding-left: 1rem;
}

.file-item.folder::before {
    content: "[dir] ";
    color: #3498db;
}

.file-item.file::before {
    content: "[file] ";
    color: #27ae60;
}

.code-block {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.code-comment {
    color: #7f8c8d;
}

.code-command {
    color: #3498db;
}

.code-option {
    color: #e74c3c;
}

.examples-grid {
    display: grid;
    gap: 1.5rem;
}

.example-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.example-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.features-list {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-icon {
    color: #27ae60;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ===== FILE TREE STYLES ===== */
.file-tree {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    margin: 2rem 0;
    border-left: 4px solid #3498db;
}

.tree-item {
    margin: 0.3rem 0;
    padding: 0.2rem 0;
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.4;
}

.tree-item.root {
    font-weight: bold;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.tree-item.folder {
    color: #e74c3c;
    font-weight: 500;
}

.tree-item.file {
    color: #27ae60;
}

.tree-item.indent-1 {
    padding-left: 2rem;
}

.tree-item.indent-2 {
    padding-left: 4rem;
}

.tree-item.indent-3 {
    padding-left: 6rem;
}

/* Подсветка для разных типов файлов */
.tree-item.file[class*="jar"] {
    color: #9b59b6;
    font-weight: bold;
}

.tree-item.file[class*="yml"] {
    color: #3498db;
}

.tree-item.file[class*="bat"] {
    color: #e67e22;
}

.tree-item.file[class*="sh"] {
    color: #e74c3c;
}

/* ===== PERFORMANCE STATS STYLES ===== */
.performance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
}

.stat-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.stat-card ul {
    list-style: none;
    padding: 0;
}

.stat-card li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.stat-card li::before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ===== WARNING AND SUCCESS BOXES ===== */
.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #fdcb6e;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.warning-box h4 {
    color: #e17055;
    margin-bottom: 0.5rem;
}

.success-box {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-left: 4px solid #17a2b8;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.success-box h4 {
    color: #0c5460;
    margin-bottom: 0.5rem;
}

/* ===== CONCLUSION SECTION STYLES ===== */
.conclusion-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
    border-left: 5px solid #3498db;
}

.conclusion-section h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #3498db;
}

/* ===== COMMAND REFERENCE STYLES ===== */
.command-reference {
    background: #2c3e50;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.command-reference h3 {
    color: #3498db;
    margin-bottom: 1.5rem;
    text-align: center;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.command-item {
    background: #34495e;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
}

.command-desc {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== FEATURES GRID WITH LEFT ALIGNMENT ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
    transition: all 0.3s;
    text-align: left;
}

.feature-card:first-child {
    border-left-color: #e74c3c;
}

.feature-card:last-child {
    border-left-color: #27ae60;
}

.feature-card h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.8rem;
    text-align: left;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-card li {
    margin: 1rem 0;
    padding: 0.8rem 0;
    text-align: left;
    font-size: 1rem;
    line-height: 1.4;
    border-bottom: 1px solid #f8f9fa;
}

.feature-card li:last-child {
    border-bottom: none;
}

.feature-card li strong {
    color: #2c3e50;
    font-weight: 600;
}

.feature-card:last-child li {
    font-weight: 500;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Простой вариант с точками */
.feature-card li::before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    margin-right: 0.8rem;
}

.feature-card:first-child li::before {
    color: #e74c3c;
}

.feature-card:last-child li::before {
    color: #27ae60;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .header-content nav ul {
        gap: 1rem;
    }

    .language-switcher {
        margin-left: 15px;
        padding-left: 15px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .header-content nav {
        order: 3;
        flex-basis: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .header-content nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }

    .language-switcher {
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #eee;
        padding-top: 1rem;
        justify-content: center;
        width: 100%;
    }

    .header_logo {
        margin-right: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .program-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .logo-graphic {
        padding: 0.6rem 1rem;
    }

    .logo-main {
        font-size: 1.2rem;
    }

    .main-content {
        margin: 120px auto 30px;
        padding: 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .nav-grid {
        grid-template-columns: 1fr;
    }

    .header_logo {
        height: 35px;
        max-width: 150px;
    }

    .performance-stats {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .command-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .metric-value {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .feature-highlight {
        padding: 2rem 1rem;
    }

    .feature-highlight h3 {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card li {
        padding: 0.6rem 0;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .tech-stack {
        flex-direction: column;
        align-items: center;
    }

    .program-highlights {
        grid-template-columns: 1fr;
    }

    .header-content nav ul {
        gap: 0.5rem;
    }

    .header-content nav ul li a {
        font-size: 0.9rem;
        padding: 0.3rem 0.5rem;
    }

    .language-switcher a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .header_logo {
        height: 30px;
        max-width: 130px;
    }

    .conclusion-section {
        padding: 1.5rem;
    }

    .command-reference {
        padding: 1.5rem;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .breadcrumbs .container {
        font-size: 0.8rem;
    }
}