:root {
    /* Color Palette */
    --bg-base: #0a0a0f;
    --bg-glass: rgba(18, 18, 25, 0.6);
    --bg-glass-hover: rgba(25, 25, 35, 0.8);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --primary: #6366f1; /* Indigo */
    --primary-light: #818cf8;
    --secondary: #ec4899; /* Pink */
    --accent: #22d3ee; /* Cyan */
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --glow-primary: rgba(99, 102, 241, 0.4);
    --glow-secondary: rgba(236, 72, 153, 0.4);

    /* Typography */
    --font-heading: 'Outfit', 'Cairo', sans-serif;
    --font-body: 'Cairo', sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Animated Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.1); }
}

/* Typography Utility */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }

/* Glassmorphism Classes */
.glass-panel, .glass-card, .navbar {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-primary);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

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

.btn-primary-small {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
}
.btn-primary-small:hover {
    background: var(--primary-light);
    color: white !important;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

/* Main Layout */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 100px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.pulse-text {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; text-shadow: 0 0 20px rgba(236, 72, 153, 0.5); }
    100% { opacity: 0.8; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

/* OS Preview Box (Terminal Style) */
.hero-graphic {
    flex: 1;
    perspective: 1000px;
}

.os-preview {
    border-radius: 12px;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    box-shadow: -20px 20px 50px rgba(0,0,0,0.5);
}

.os-preview:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.window-header {
    background: rgba(0,0,0,0.4);
    padding: 0.8rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.window-title {
    flex-grow: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.window-body.terminal {
    background: rgba(10, 10, 15, 0.8);
    padding: 1.5rem;
    font-family: var(--font-mono);
    min-height: 300px;
    direction: ltr; /* EN for terminal */
    text-align: left;
}

.cmd { margin-bottom: 1rem;}
.prompt { color: var(--accent); font-weight: bold; }
.cursor-blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.neofetch-output {
    display: flex;
    gap: 2rem;
    font-size: 0.85rem;
}

.ascii-art {
    white-space: pre;
    line-height: 1.2;
    font-weight: bold;
}

.sys-info p { margin-bottom: 0.3rem;}
.sys-info .label { color: var(--primary-light); font-weight: bold;}


/* Features Section */
.features {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--bg-glass-hover);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-muted);
}


/* About Kernel Section */
.about-kernel {
    padding: 5rem 0;
}

.layout-horizontal {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem;
    border-radius: 24px;
}

.text-side { flex: 1; }
.image-side { 
    flex: 1; 
    display: flex;
    justify-content: center;
}

.text-side h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.text-side p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.kernel-list {
    list-style: none;
}

.kernel-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.kernel-list i {
    color: var(--accent);
}

.tech-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateSlow 20s linear infinite;
}

.tech-circle .linux-icon {
    font-size: 5rem;
    color: white;
    animation: rotateSlowReverse 20s linear infinite;
}

.orbit {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orbit i {
    position: absolute;
    font-size: 2rem;
    color: var(--primary-light);
}

.orbit .gear-1 { top: -15px; left: 50%; transform: translateX(-50%); }
.orbit .chip-1 { bottom: -15px; left: 50%; transform: translateX(-50%); }

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes rotateSlowReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    margin-bottom: 5rem;
}

.cta-content {
    padding: 5rem 2rem;
    border-radius: 24px;
    background: linear-gradient(rgba(10, 10, 15, 0.7), rgba(10, 10, 15, 0.7)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(99, 102, 241, 0.05)" width="50" height="50" x="0" y="0"/><rect fill="rgba(99, 102, 241, 0.05)" width="50" height="50" x="50" y="50"/></svg>');
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.version-info {
    margin-top: 1rem !important;
    font-size: 0.9rem !important;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 3rem 2rem 1rem;
    background: rgba(0,0,0,0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1rem;
}

/* Responsive Variables */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        margin-top: 2rem;
    }
    .hero-actions { justify-content: center; }
    .hero-graphic { width: 100%; max-width: 600px; }
    .layout-horizontal { flex-direction: column; text-align: center; }
    .kernel-list { text-align: right; display: inline-block;}
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2.8rem; }
    .neofetch-output { flex-direction: column; gap: 1rem;}
    .ascii-art { font-size: 0.6rem; }
}
