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

:root {
    --primary-color: #1f6feb;
    --secondary-color: #238636;
    --accent-color: #8957e5;
    --text-color: #0d1117;
    --light-text: #57606a;
    --bg-light: #ffffff;
    --bg-alt: #f6f8fa;
    --border-color: #d0d7de;
    --shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: white;
}

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

/* Navigation */
.navbar {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 1.3em;
}

.logo-icon {
    font-size: 1.4em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95em;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Sections */
.section {
    padding: 80px 20px;
}

.alt-bg {
    background: var(--bg-alt);
}

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

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.1em;
    margin-bottom: 40px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card p {
    color: var(--light-text);
    line-height: 1.7;
}

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

.feature-item {
    background: white;
    padding: 25px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
}

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

.feature-item p {
    color: var(--light-text);
}

/* Installation Tabs */
.installation-tabs {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1em;
    color: var(--light-text);
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tab-content p {
    margin-bottom: 15px;
    color: var(--light-text);
}

/* Code Blocks */
.code-block {
    background: #0d1117;
    color: #e6edf3;
    padding: 15px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
    margin: 15px 0;
    border-left: 3px solid var(--primary-color);
}

.code-block code {
    font-size: 0.95em;
    line-height: 1.5;
}

/* Info Box */
.info-box {
    background: #f0f7ff;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 6px;
    margin-top: 30px;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li {
    padding: 5px 0;
    color: var(--text-color);
}

.info-box a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-box a:hover {
    text-decoration: underline;
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.step {
    position: relative;
    padding-left: 80px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
}

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

.step p {
    color: var(--light-text);
    margin-bottom: 10px;
}

/* Example Box */
.example-box {
    background: #f0f7ff;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    border-left: 4px solid var(--secondary-color);
}

.example-box h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.example-item {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    color: var(--text-color);
    line-height: 1.8;
}

.example-item:last-child {
    margin-bottom: 0;
}

/* Commands Grid */
.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.command-card {
    background: white;
    padding: 20px;
    border-radius: 6px;
    border-top: 3px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.command-name {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1em;
    margin-bottom: 8px;
}

.command-card p {
    color: var(--light-text);
    margin: 0;
}

/* Tip Box */
.tip-box {
    background: #f0f7ff;
    border-left: 4px solid var(--accent-color);
    padding: 25px;
    border-radius: 6px;
    margin-top: 30px;
}

.tip-box h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.tip-box ul {
    list-style: none;
    padding-left: 0;
}

.tip-box li {
    padding: 8px 0;
    color: var(--text-color);
}

/* Practices Grid */
.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.practice {
    background: white;
    padding: 25px;
    border-radius: 6px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent-color);
}

.practice h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.practice p {
    color: var(--light-text);
    line-height: 1.7;
}

.practice strong {
    color: var(--text-color);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    padding: 20px;
    cursor: pointer;
    margin: 0;
    color: var(--primary-color);
    user-select: none;
    transition: all 0.3s;
}

.faq-item h3:hover {
    background: var(--bg-alt);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    color: var(--light-text);
}

/* Shortcuts Grid */
.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.shortcut {
    background: white;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    box-shadow: var(--shadow);
}

.shortcut-key {
    font-family: 'Courier New', monospace;
    background: var(--bg-alt);
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.shortcut-desc {
    color: var(--light-text);
    font-size: 0.95em;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer p {
    margin: 10px 0;
}

.footer a {
    color: #58a6ff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .section h2 {
        font-size: 2em;
    }

    .nav-menu {
        gap: 15px;
        font-size: 0.9em;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .tab-btn.active {
        border-left-color: var(--primary-color);
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 1.5em;
    }

    .section {
        padding: 40px 20px;
    }

    .step {
        padding-left: 0;
        text-align: center;
    }

    .step-number {
        position: static;
        margin-bottom: 15px;
    }
}
