/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* Light mode colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --code-bg: #f8fafc;
    --code-header: #edf2f7;
    --accent-blue: #512BD4;
    --accent-blue-hover: #3E1A9A;
    --accent-green: #48bb78;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0f1419;
        --bg-secondary: #1a202c;
        --bg-tertiary: #2d3748;
        --text-primary: #ffffff;
        --text-secondary: #f7fafc;
        --text-tertiary: #cbd5e0;
        --border-color: #4a5568;
        --card-bg: #2d3748;
        --code-bg: #1a202c;
        --code-header: #2d3748;
        --shadow-light: rgba(0, 0, 0, 0.2);
        --shadow-medium: rgba(0, 0, 0, 0.3);
        --shadow-strong: rgba(0, 0, 0, 0.4);
    }
}

[data-theme="dark"] {
    --bg-primary: #0f1419;
    --bg-secondary: #1a202c;
    --bg-tertiary: #2d3748;
    --text-primary: #ffffff;
    --text-secondary: #f7fafc;
    --text-tertiary: #cbd5e0;
    --border-color: #4a5568;
    --card-bg: #2d3748;
    --code-bg: #1a202c;
    --code-header: #2d3748;
    --shadow-light: rgba(0, 0, 0, 0.2);
    --shadow-medium: rgba(0, 0, 0, 0.3);
    --shadow-strong: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --code-bg: #f8fafc;
    --code-header: #edf2f7;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-hover) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(81, 43, 212, 0.3);
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #6D4FE8 0%, #512BD4 100%);
    box-shadow: 0 4px 14px rgba(109, 79, 232, 0.4);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(109, 79, 232, 0.5);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(81, 43, 212, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

[data-theme="dark"] .btn-secondary {
    color: #8B7EF7;
    border-color: #8B7EF7;
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-1px);
}

.btn-download {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    width: 100%;
    padding: 0.875rem 0.5rem;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(72, 187, 120, 0.3);
    white-space: nowrap;
    font-size: 0.9rem;
}

.btn-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(72, 187, 120, 0.4);
}

/* Header */
.header {
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-light);
}

[data-theme="dark"] .header {
    background: rgba(15, 20, 25, 0.95);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 2rem;
    animation: gentle-bounce 3s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-1px); }
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
}

.version-stamp {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-tertiary);
    background: var(--bg-secondary);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-left: 0.5rem;
    vertical-align: middle;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.version-stamp:hover {
    opacity: 1;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-blue);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 1rem;
}

.theme-toggle:hover {
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

.theme-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .theme-icon {
    transform: rotate(180deg);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    margin-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.025em;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
}

[data-theme="dark"] .stat-number {
    color: #8B7EF7;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Download Section */
.download-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.download-card {
    background: var(--card-bg) !important;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}



.download-card.recommended {
    border: 2px solid var(--accent-blue);
}

[data-theme="dark"] .download-card.recommended {
    border: 2px solid #8B7EF7;
}

.recommended-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-hover) 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0 12px 0 12px;
    z-index: 10;
}

[data-theme="dark"] .recommended-badge {
    background: linear-gradient(135deg, #8B7EF7 0%, #7A6DEF 100%);
}



.platform-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.download-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    min-height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-card p {
    color: var(--text-tertiary);
    margin-bottom: 2rem;
    font-size: 0.8rem;
    line-height: 1.3;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    padding: 0 0.5rem;
}

.download-icon {
    font-size: 1.1rem;
}

.download-note {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.download-note p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.download-note p:last-child {
    margin-bottom: 0;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Quick Start Section */
.quickstart-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.code-examples {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.code-block {
    background: var(--code-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-strong);
    margin-bottom: 1rem;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--code-header);
    border-bottom: 1px solid var(--border-color);
}

.code-title {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}

.copy-btn {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.copy-btn:hover {
    background: var(--accent-blue-hover);
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block code {
    color: var(--text-secondary);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}


/* Documentation Section Styles */
.section {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.doc-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.doc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-medium);
    border-color: var(--accent-blue);
}

.doc-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.doc-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.doc-card p {
    color: var(--text-secondary);
    font-size: 0.925rem;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-main {
    text-align: center;
    margin-bottom: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 1rem;
}

.footer-column h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: var(--text-tertiary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.footer-bottom p:last-of-type {
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.025em;
    margin: 0;
}

.nav-link.active {
    color: var(--accent-blue);
    font-weight: 600;
}

[data-theme="dark"] .nav-link.active {
    color: #8B7EF7;
}

.ai-integration-highlight {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

[data-theme="dark"] .ai-integration-highlight {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.ai-integration-highlight h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.ai-integration-highlight ul {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.ai-integration-highlight li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Responsive Design */


@media (max-width: 1000px) {
    .container {
        padding: 0 1rem;
    }
    
    .header .container {
        padding: 0.75rem 1rem;
        min-height: 60px;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
        max-width: 500px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Medium Tablet - Just before mobile menu activation */
@media (max-width: 900px) {
    .nav {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .version-stamp {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
        margin-left: 0.3rem;
    }
}

/* Mobile Navigation - Tablet and Mobile */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    #docs .feature-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 12px var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 99;
    }
    
    .nav.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        text-align: center;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
    }
}

/* Small Mobile Specific */
@media (max-width: 600px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    #docs .feature-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .doc-card {
        width: 100%;
        display: block;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-tagline {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Loading and Animation States */
.downloading {
    background: var(--text-tertiary) !important;
    cursor: not-allowed;
}

.downloading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success States */
.copied {
    background: var(--accent-green) !important;
}

.copied::after {
    content: ' ✓';
}

/* Feature Grid Styles */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-grid .card {
    padding: 1.5rem;
    border-radius: 8px;
    background: var(--card-bg);
    box-shadow: 0 1px 3px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.feature-grid .card h3 {
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Info Box Styles */
.info-box {
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
    border: 2px solid #1976d2;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.15);
}

.info-box::before {
    content: '💡';
    font-size: 1.2rem;
    font-weight: bold;
    color: #1976d2;
    margin-right: 0.75rem;
}

.info-box strong {
    color: #0d47a1;
    font-weight: 600;
}

.warning-box {
    background: #fff3e0;
    border: 1px solid #ff9800;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    position: relative;
}

.warning-box::before {
    content: '⚠️';
    font-weight: bold;
    color: #f57c00;
    margin-right: 0.5rem;
}

.warning-box strong {
    color: #f57c00;
}

.success-box {
    background: #f0f7ff;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    position: relative;
}

.success-box::before {
    content: '✨';
    font-weight: bold;
    color: white;
    margin-right: 0.5rem;
}

.success-box strong {
    color: white;
    font-weight: 600;
}

.success-box p {
    color: white;
    margin: 0;
    font-weight: 500;
}

/* Quick Start Section */
.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.quick-start-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 2px solid #e3f2fd;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-start-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-green) 100%);
}

.quick-start-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(81, 43, 212, 0.15);
    border-color: var(--accent-blue);
}

.quick-start-card h4 {
    color: #1565c0;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}

.code-snippet {
    background: var(--code-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    font-family: 'Fira Code', 'Cascadia Code', 'Monaco', monospace;
    font-size: 0.85rem;
    color: #1565c0;
    font-weight: 600;
    word-break: break-all;
    line-height: 1.4;
}

.error-box {
    background: #ffebee;
    border: 1px solid #f44336;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    position: relative;
}

.error-box::before {
    content: '❌';
    font-weight: bold;
    color: #d32f2f;
    margin-right: 0.5rem;
}

.error-box strong {
    color: #d32f2f;
}

/* Dark mode adjustments for info boxes */
@media (prefers-color-scheme: dark) {
    .info-box {
        background: #1a237e;
        border-color: #3f51b5;
        color: #e3f2fd;
    }
    
    .warning-box {
        background: #e65100;
        border-color: #ff9800;
        color: #fff3e0;
    }
    
    .success-box {
        background: #2e7d32;
        border-color: #4caf50;
        color: #e8f5e8;
    }
    
    .error-box {
        background: #c62828;
        border-color: #f44336;
        color: #ffebee;
    }
}

/* Enhanced Platform Support Cards */
.platform-grid {
    gap: 1.25rem;
}

.platform-card {
    position: relative;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

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

.platform-windows {
    border-left-color: #0078d4;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.platform-macos {
    border-left-color: #007aff;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.platform-linux {
    border-left-color: #ff6600;
    background: linear-gradient(135deg, #fff8f0 0%, #fef5e6 100%);
}

.platform-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.platform-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.platform-card li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-available {
    color: #1b5e20;
    font-weight: 600;
}

.feature-unavailable {
    color: #c62828;
    font-weight: 600;
}

/* Enhanced Command Blocks */
.universal-commands {
    border-left: 4px solid #4caf50;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
}

.universal-commands .code-header {
    background: linear-gradient(135deg, #e8f5e8 0%, #dcedc8 100%);
}

.universal-commands .code-title {
    color: #2e7d32;
    font-weight: 600;
}

.windows-commands {
    border-left: 4px solid #ff9800;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3c4 100%);
}

.windows-commands .code-header {
    background: linear-gradient(135deg, #fff3c4 0%, #ffecb3 100%);
}

.windows-commands .code-title {
    color: #ef6c00;
    font-weight: 600;
}

/* Improved code block hover effects */
.code-block:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--shadow-strong);
}

/* Enhanced Platform Support Section */
.platform-support-intro {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
}

.platform-support-intro p {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    opacity: 0.85;
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.platform-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.windows-badge {
    background: #e3f2fd;
    color: #0d47a1;
    border: 1px solid #1976d2;
}

.macos-badge, .linux-badge {
    background: #fff8f0;
    color: #d84315;
    border: 1px solid #f57c00;
    font-weight: 700;
}

.platform-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1rem;
    width: 1.5rem;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
    line-height: 1.4;
}

.feature-text code {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.125rem 0.25rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

/* Enhanced Command Sections */
.commands-intro {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

.commands-intro p {
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
    opacity: 0.8;
}

.command-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.command-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.availability-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.availability-badge.universal {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.availability-badge.windows-only {
    background: #fff8f0;
    color: #d84315;
    border: 1px solid #f57c00;
    font-weight: 700;
}

/* Enhanced Code Syntax */
.comment {
    color: #4a5568;
    font-style: italic;
    opacity: 0.9;
    font-weight: 500;
}

/* Global Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.option-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-green) 100%);
}

.option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
    border-color: var(--accent-blue);
}

.option-header {
    margin-bottom: 0.75rem;
}

.option-flag {
    background: var(--code-bg);
    color: var(--accent-blue);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

.option-description {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-size: 0.95rem;
    opacity: 0.8;
    font-weight: 500;
}

.option-example {
    background: var(--code-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-family: 'Fira Code', 'Cascadia Code', 'Monaco', monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .platform-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .command-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
