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

:root {
    --cyan: #00e5ff;
    --blue: #0066ff;
    --dark: #0a0e17;
    --dark-card: #111827;
    --dark-border: #1e293b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --white: #f1f5f9;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

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

.nav-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-download {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    color: var(--cyan) !important;
    transition: all 0.2s !important;
}

.nav-download:hover {
    background: rgba(0, 229, 255, 0.2) !important;
}

.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.3);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

.hero-meta {
    font-size: 0.8rem;
    color: var(--gray-400);
    opacity: 0.7;
}

.hero-visual {
    flex: 1;
    max-width: 420px;
}

.mockup-window {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.mockup-titlebar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--dark-border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.mockup-title {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.mockup-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.setting-label {
    font-size: 0.82rem;
    color: var(--gray-300);
    font-weight: 500;
}

.setting-value {
    font-size: 0.82rem;
    color: var(--cyan);
    font-weight: 600;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: linear-gradient(135deg, #00ffff, #0066ff);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.slider-mock {
    width: 120px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.slider-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    border-radius: 3px;
}

.toggle {
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    transition: background 0.2s;
}

.toggle.on {
    background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.toggle-knob {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 2px;
    transition: left 0.2s;
}

.toggle.on .toggle-knob {
    left: 18px;
}

.features,
.how-it-works,
.download-section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--gray-400);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 14px;
    padding: 1.8rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 12px;
    color: var(--cyan);
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 260px;
    padding: 2rem;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 14px;
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #000;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.step-arrow {
    color: var(--gray-400);
    opacity: 0.4;
    flex-shrink: 0;
}

.download-section {
    padding: 4rem 2rem 6rem;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.download-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(0, 102, 255, 0.05));
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 20px;
    padding: 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.download-card > p {
    color: var(--gray-400);
    font-size: 0.95rem;
    max-width: 320px;
    margin: 0 auto 1.5rem;
    flex-grow: 1;
}

.platform-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 14px;
    margin-bottom: 1.25rem;
    color: var(--cyan);
}

.btn-linux {
    background: linear-gradient(135deg, #00cc44, #0066ff) !important;
}

.btn-linux:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.install-cmd {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    font-size: 0.78rem !important;
}

.install-cmd code {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-family: monospace;
    color: var(--gray-300);
}

.download-meta {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sep {
    opacity: 0.4;
}

footer {
    position: relative;
    z-index: 1;
    padding: 2rem;
    border-top: 1px solid var(--dark-border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
}

.footer-logo .logo-icon {
    width: 24px;
    height: 24px;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--gray-400);
}

@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero {
        flex-direction: column;
        padding: 7rem 1.5rem 3rem;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-meta {
        text-align: center;
    }

    .hero-visual {
        max-width: 340px;
    }

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

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .nav-links a:not(.nav-download) {
        display: none;
    }

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