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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    padding: 60px 20px 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin-bottom: 40px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.header-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.5));
}

h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00ffff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.3em;
    color: #00ccff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
}

.description {
    font-size: 1.1em;
    color: #aaa;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto 30px;
}

.tech-stack {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.tech-badge {
    background: rgba(0, 40, 80, 0.6);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.tech-badge img {
    width: 24px;
    height: 24px;
}

.tech-badge:hover {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    transform: translateY(-2px);
}

.tech-label {
    color: #888;
    font-size: 0.85em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

section {
    background: rgba(0, 20, 40, 0.8);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

h2 {
    color: #00ffff;
    font-size: 2.2em;
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    padding-bottom: 10px;
}

h3 {
    color: #00ccff;
    font-size: 1.5em;
    margin: 25px 0 15px;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.3);
}

.command-box {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #00ffff;
    border-left: 4px solid #00ffff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: #0f0;
    overflow-x: auto;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    position: relative;
}

.command-box pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.command-box code {
    color: #0f0;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Header install command box */
.header-install-wrapper {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.header-install-cmd {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.install-cmd-text {
    color: #00ff88;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.header-copy-btn {
    position: static;
    flex-shrink: 0;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 255, 255, 0.2);
    border: 1px solid #00ffff;
    color: #00ffff;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    z-index: 10;
    min-height: 32px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
    transform: translateY(-1px);
}

.copy-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.copy-btn.copied {
    background: rgba(0, 255, 0, 0.3);
    border-color: #0f0;
    color: #0f0;
}


/* Touch-friendly active states */
.os-tab:active {
    transform: scale(0.98);
}

.feature-card:active {
    transform: translateY(-3px);
}

a:active {
    opacity: 0.8;
}

.step {
    margin: 30px 0;
    padding-left: 20px;
    border-left: 3px solid #00ffff;
}

.step-number {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #00ffff, #0099ff);
    color: #000;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-weight: bold;
    margin-right: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: rgba(0, 40, 80, 0.5);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transform: translateY(-5px);
}

.feature-card h4 {
    color: #00ffff;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.coming-soon {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(255, 69, 0, 0.2));
    border: 2px solid rgba(255, 140, 0, 0.5);
}

.coming-soon h3 {
    color: #ff8c00;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    margin-left: 10px;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.highlight {
    color: #00ffff;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

a {
    color: #00ffff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

a:hover {
    border-bottom-color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    margin-top: 60px;
}

.footer-quote {
    max-width: 700px;
    margin: 30px auto 20px;
    padding: 20px 30px;
    border-left: 4px solid #00ffff;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(0, 136, 255, 0.03) 100%);
    border-radius: 0 8px 8px 0;
    text-align: left;
    font-style: italic;
    color: #ccc;
    line-height: 1.6;
}

.footer-quote p {
    margin: 0 0 10px 0;
    font-size: 1.05em;
}

.footer-quote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: #00ffff;
    font-size: 0.95em;
    margin-top: 10px;
}

.os-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.os-tab {
    background: rgba(0, 40, 80, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    flex: 1;
    min-width: 100px;
    text-align: center;
}

.os-tab:hover {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.os-tab.active {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(0, 153, 255, 0.3));
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.os-command {
    display: none;
}

.os-command.active {
    display: block;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
        letter-spacing: 1px;
    }

    .subtitle {
        font-size: 1.1em;
    }

    .description {
        font-size: 1em;
        padding: 0 10px;
    }

    section {
        padding: 20px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.3em;
    }

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

    .step {
        padding-left: 10px;
        border-left-width: 2px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 0.9em;
        margin-right: 10px;
    }

    .command-box {
        padding: 15px;
        font-size: 0.85em;
        margin: 15px 0;
    }

    .copy-btn {
        padding: 5px 10px;
        font-size: 0.8em;
        top: 8px;
        right: 8px;
    }

    /* Header install command - tablet */
    .header-install-cmd {
        flex-wrap: wrap;
    }

    .install-cmd-text {
        font-size: 0.75em;
        word-break: break-all;
    }

    .tech-stack {
        gap: 15px;
    }

    .tech-badge {
        padding: 10px 15px;
        font-size: 0.9em;
        flex: 0 1 auto;
    }

    .os-tab {
        font-size: 0.9em;
        padding: 8px 15px;
        min-width: 80px;
    }

    header {
        padding: 40px 15px 30px;
    }

    .container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6em;
    }

    .subtitle {
        font-size: 1em;
    }

    h2 {
        font-size: 1.5em;
    }

    .feature-card {
        padding: 20px;
    }

    .command-box {
        font-size: 0.75em;
        padding: 12px;
    }

    /* Header install command - mobile */
    .install-cmd-text {
        font-size: 0.65em;
    }

    .step-number {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 0.85em;
    }

    .tech-badge {
        font-size: 0.85em;
        padding: 8px 12px;
    }
}