/* Q CLI Guide Styles */
:root {
    --primary-color: #ff9500;
    --secondary-color: #232f3e;
    --accent-color: #00d4ff;
    --text-color: #e8eaed;
    --text-muted: #9aa0a6;
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-card: #252a3a;
    --border-color: #3c4043;
    --success-color: #34a853;
    --warning-color: #fbbc04;
    --experimental-color: #ea4335;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 149, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-primary);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Navigation Grid */
.nav-grid {
    display: grid;
    gap: 60px;
    margin-bottom: 80px;
}

.nav-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.nav-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-card:hover::before {
    opacity: 0.1;
}

.nav-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(255, 149, 0, 0.2);
}

.nav-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.nav-card.experimental {
    border-color: var(--experimental-color);
}

.nav-card.experimental:hover {
    border-color: var(--experimental-color);
    box-shadow: 0 20px 40px rgba(234, 67, 53, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.nav-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.nav-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.experimental-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--experimental-color);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Quick Start Section */
.quick-start {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    margin-bottom: 60px;
}

.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.quick-start-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.quick-start-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.quick-start-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.quick-start-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.quick-start-card a {
    color: var(--accent-color);
    text-decoration: none;
}

.quick-start-card a:hover {
    text-decoration: underline;
}

code {
    background: var(--bg-primary);
    color: var(--primary-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.85em;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-section {
        padding: 25px;
    }
    
    .nav-cards {
        grid-template-columns: 1fr;
    }
    
    .quick-start-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Styles */
.page-header {
    text-align: center;
    padding: 60px 0 40px;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.content {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 30px 0 20px 0;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.content h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin: 25px 0 15px 0;
}

.content h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 20px 0 10px 0;
}

.content p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.content ul, .content ol {
    margin: 15px 0 15px 30px;
}

.content li {
    margin-bottom: 8px;
    color: var(--text-color);
}

.content pre {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.content pre code {
    background: none;
    padding: 0;
    color: var(--text-color);
}

.content blockquote {
    border-left: 4px solid var(--primary-color);
    background: var(--bg-secondary);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
}

.back-link {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
}
