/* Global Styles */
:root {
    --primary-color: #3b82f6;
    /* Lighter Blue for dark mode */
    --primary-dark: #2563eb;
    --secondary-color: #0f172a;
    /* Dark Slate */
    --accent-color: #60a5fa;
    --text-color: #e2e8f0;
    /* Light Gray Text */
    --light-text: #f8fafc;
    --background-color: #020617;
    /* Very Dark Blue/Black */
    --card-bg: #1e293b;
    /* Dark Slate Blue */
    --linux-color: #fbbf24;
    /* Yellowish */
    --windows-color: #38bdf8;
    /* Lighter Blue */
    --gradient-hero: linear-gradient(180deg, #020617 0%, #172554 100%);
    --card-border: #334155;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

h1,
h2,
h3 {
    line-height: 1.2;
    color: var(--light-text);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Language Switcher */
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

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

.lang-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: var(--light-text);
    padding: 120px 0;
    text-align: center;
    /* Removed aggressive clip-path for cleaner dark look, or keeping it subtle */
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.hero-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-logo {
    width: 3.5rem;
    /* Match font-size roughly */
    height: auto;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
    margin-bottom: 0;
    /* Override previous bottom margin */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0;
    /* Remove bottom margin to align with logo */
    /* Color matched to logo (assuming blue-ish based on primary variables) */
    color: #3b82f6;
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 20px;
    color: #e2e8f0;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #94a3b8;
}

.hero-screenshot {
    margin-bottom: 40px;
}

.app-screenshot {
    max-width: 90%;
    width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    /* Reduced side padding slightly */
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    min-width: fit-content;
    /* Ensure it fits content tightly */
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.hero .btn {
    width: 600px;
    max-width: 90%;
    display: block;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--light-text);
}

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

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--card-border);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--light-text);
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Download Section */
.download {
    padding: 80px 0 120px;
    background-color: #0f172a;
    /* Slightly lighter than bg */
}

.download-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #94a3b8;
    font-size: 1.1rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-top: 4px solid #475569;
}

.linux-card {
    border-top-color: var(--linux-color);
}

.windows-card {
    border-top-color: var(--windows-color);
}

.download-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 15px 20px;
    background-color: #334155;
    color: white;
    border-radius: 8px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.download-btn:hover {
    background-color: #475569;
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
}

.download-btn.secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #475569;
}

.download-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #94a3b8;
}

.download-btn .icon {
    font-size: 1.5rem;
}

.download-btn .text {
    display: flex;
    flex-direction: column;
}

.download-btn .small {
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 0.7;
}

/* Footer */
footer {
    background-color: #020617;
    color: #64748b;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero {
        padding: 80px 0;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}