/* Global Styles */
:root {
    --primary: #00D4FF;
    --secondary: #7B2CBF;
    --accent: #FF006E;
    --dark: #0A0E27;
    --darker: #050714;
    --light: #E2E8F0;
    --gray: #94A3B8;
    --light-gray: #1E293B;
    --dark-gray: #475569;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--light);
    background: var(--dark);
    overflow-x: hidden;
}

/* Dynamic Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(123, 44, 191, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 110, 0.05) 0%, transparent 50%);
    z-index: -2;
    animation: gradientMove 15s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(2%, 2%) scale(1.1);
    }
    50% {
        transform: translate(-2%, 2%) scale(1);
    }
    75% {
        transform: translate(2%, -2%) scale(1.1);
    }
}

/* Grid Background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.logo-title-mobile {
    display: none;
}

.logo-text p {
    font-size: 0.875rem;
    color: var(--gray);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.lang-switch button {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    min-width: 48px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-switch button:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: var(--glow);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: transparent;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 500px;
}

.badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: var(--glow);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
    }
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--light);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons-mobile {
    display: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: var(--glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 1px solid rgba(0, 212, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.hero-terminal {
    background: rgba(10, 14, 39, 0.5);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: terminalGlow 4s ease-in-out infinite;
    position: relative;
}

.hero-terminal::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), transparent, var(--secondary), transparent, var(--primary));
    background-size: 400% 400%;
    border-radius: calc(var(--radius) + 2px);
    z-index: -1;
    animation: borderRotate 6s linear infinite;
    opacity: 0.5;
}

@keyframes terminalGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.2), 0 0 40px rgba(0, 212, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), 0 0 60px rgba(0, 212, 255, 0.2);
    }
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.terminal {
    background: var(--darker);
    color: var(--light);
    font-family: 'JetBrains Mono', monospace;
}

.terminal-header {
    background: rgba(30, 41, 59, 0.8);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.dot.red {
    background: #EF4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    animation-delay: 0s;
}

.dot.yellow {
    background: #F59E0B;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    animation-delay: 0.3s;
}

.dot.green {
    background: #10B981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation-delay: 0.6s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.terminal-title {
    font-size: 0.875rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    animation: titleFlicker 3s ease-in-out infinite;
}

@keyframes titleFlicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.terminal-body {
    padding: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.terminal-body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scanLine 3s linear infinite;
    opacity: 0.5;
}

@keyframes scanLine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.terminal-line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: lineAppear 0.3s ease forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.1s; }
.terminal-line:nth-child(2) { animation-delay: 0.2s; }
.terminal-line:nth-child(3) { animation-delay: 0.3s; }
.terminal-line:nth-child(4) { animation-delay: 0.4s; }
.terminal-line:nth-child(5) { animation-delay: 0.5s; }
.terminal-line:nth-child(6) { animation-delay: 0.6s; }
.terminal-line:nth-child(7) { animation-delay: 0.7s; }
.terminal-line:nth-child(8) { animation-delay: 0.8s; }
.terminal-line:nth-child(9) { animation-delay: 0.9s; }
.terminal-line:nth-child(10) { animation-delay: 1.0s; }
.terminal-line:nth-child(11) { animation-delay: 1.1s; }
.terminal-line:nth-child(12) { animation-delay: 1.2s; }
.terminal-line:nth-child(13) { animation-delay: 1.3s; }
.terminal-line:nth-child(14) { animation-delay: 1.4s; }
.terminal-line:nth-child(15) { animation-delay: 1.5s; }

@keyframes lineAppear {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.terminal-content.hidden {
    display: none;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: rgba(10, 14, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow);
    border-color: rgba(0, 212, 255, 0.5);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(10, 14, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow);
    border-color: rgba(0, 212, 255, 0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Systems Section */
.systems {
    padding: 6rem 0;
    background: transparent;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.system-item {
    background: rgba(10, 14, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.system-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow);
    border-color: rgba(0, 212, 255, 0.5);
}

.system-logo {
    font-size: 2rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.system-item.centos .system-logo {
    filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.6));
    color: #9333ea;
}

.system-name {
    font-weight: 500;
    color: var(--light);
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: transparent;
}

.download-options {
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    background: rgba(10, 14, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.download-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.code-block {
    background: var(--darker);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius);
    padding: 1rem;
    position: relative;
    margin-bottom: 1rem;
}

.code-block code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--light);
    display: block;
    overflow-x: auto;
}

.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 4px;
    padding: 0.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: rgba(0, 212, 255, 0.3);
    box-shadow: var(--glow);
}

.download-note {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Changelog Section */
.changelog {
    padding: 6rem 0;
    background: transparent;
}

.changelog-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.changelog-item {
    margin-bottom: 3rem;
}

.changelog-content {
    background: rgba(10, 14, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    overflow: hidden;
    text-align: center;
}

.changelog-content:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: var(--glow);
    transform: translateY(-5px);
}

.changelog-header {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 44, 191, 0.1));
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    flex-wrap: wrap;
}

.changelog-date {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--glow);
    white-space: nowrap;
}

.changelog-version {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.changelog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    padding: 1.5rem 2rem 1rem;
    color: var(--light);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-list li {
    margin-bottom: 0.75rem;
    padding: 0;
    position: relative;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list li::before {
    content: '✓';
    position: static;
    color: var(--primary);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: transparent;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-description {
    font-size: 1.125rem;
    color: var(--light);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.domain-info {
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    background: rgba(10, 14, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.domain-info:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: var(--glow);
}

.domain-label {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
}

.domain-link {
    color: var(--light);
    font-weight: 600;
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--transition);
}

.domain-link:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.contact-info {
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    background: rgba(10, 14, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-info:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: var(--glow);
}

.contact-label {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
}

.contact-link {
    color: var(--light);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.about-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(10, 14, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.about-link:hover {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--glow);
    border-color: rgba(0, 212, 255, 0.5);
}

/* Footer */
.footer {
    background: rgba(5, 7, 20, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text h1 {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Responsive Design - Enhanced */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header {
        position: fixed !important;
        width: 100%;
        top: 0;
        left: 0;
    }
    
    .header-content {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }
    
    .logo-icon {
        display: none;
    }
    
    .logo-text h1 {
        font-size: 0.9rem;
    }
    
    .logo-title-desktop {
        display: none;
    }
    
    .logo-title-mobile {
        display: block;
    }
    
    .logo-text p {
        display: none;
    }
    
    .lang-toggle {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .nav {
        order: 3;
        width: 100%;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.75rem;
        font-size: 0.875rem;
    }
    
    /* Add top padding to main content to avoid overlap with fixed header */
    .hero {
        padding: 3rem 0;
        padding-top: 80px;
    }
    
    section {
        scroll-margin-top: 60px;
    }
    
    /* Hide badge on mobile */
    .badge {
        display: none;
    }
    
    /* Hide nav links on mobile */
    .nav {
        display: none;
    }
    
    /* Hide hero text on mobile */
    .hero-text {
        display: none;
    }
    
    /* Show only terminal on mobile */
    .hero-terminal {
        order: 1;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.875rem;
        line-height: 1.3;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        display: none;
    }
    
    .hero-buttons-mobile {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        order: 2;
        margin-top: 1.5rem;
    }
    
    .hero-buttons-mobile .btn-primary,
    .hero-buttons-mobile .btn-secondary {
        width: 100%;
        max-width: 320px;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-terminal {
        max-width: 100%;
    }
    
    .terminal-body {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .stats {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
    
    .features {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.75rem;
    }
    
    .systems {
        padding: 4rem 0;
    }
    
    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .system-card {
        padding: 1.25rem;
    }
    
    .system-icon {
        font-size: 2rem;
    }
    
    .system-name {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .download {
        padding: 4rem 0;
    }
    
    .download-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-card {
        padding: 2rem;
    }
    
    .download-card h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .code-block {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .download-note {
        margin-top: 1rem;
        font-size: 0.9rem;
    }
    
    .changelog {
        padding: 4rem 0;
    }
    
    .changelog-content {
        margin: 0 -0.5rem;
    }
    
    .changelog-header {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
    }
    
    .changelog-content h3 {
        padding: 1rem;
        font-size: 1.25rem;
    }
    
    .feature-list {
        padding: 0 1rem 1rem;
    }
    
    .about {
        padding: 4rem 0;
    }
    
    .about-content {
        padding: 0 0.5rem;
    }
    
    .about-description {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 2rem;
    }
    
    .domain-info,
    .contact-info {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
        width: 100%;
        max-width: 320px;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-brand p {
        font-size: 0.95rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-column ul li {
        margin-bottom: 0.75rem;
    }
    
    .footer-bottom {
        padding-top: 2rem;
        margin-top: 2rem;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .nav-links {
        gap: 0.5rem;
        font-size: 0.75rem;
    }
    
    .nav-links a {
        padding: 0.25rem 0.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
    }
    
    .btn-primary,
    .btn-secondary {
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.25rem 0.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .system-card {
        padding: 1.25rem;
    }
    
    .system-icon {
        font-size: 1.75rem;
    }
    
    .system-name {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .download-card {
        padding: 1.5rem;
    }
    
    .about-links {
        flex-direction: column;
        align-items: center;
    }
    
    .about-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .feature-list li {
        font-size: 0.9rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 360px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .systems-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gray);
}
