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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #e0e0e0;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    font-size: 28px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.subtitle {
    color: #a0a0a0;
    font-size: 14px;
}

.main-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.question-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.question-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.question-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: #4facfe;
}

.question-card.active {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(4, 120, 87, 0.2));
    border-color: #059669;
}

.question-category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4facfe;
    margin-bottom: 8px;
    font-weight: 700;
}

.question-text {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.breadcrumb-trail {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
}

.breadcrumb-title {
    font-size: 11px;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.breadcrumb-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb-item {
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 16px;
    padding: 4px 12px;
    font-size: 11px;
    color: #4facfe;
}

.content-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.content-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.15), rgba(4, 120, 87, 0.15));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
}

.content-body {
    padding: 30px;
}

.answer-section {
    margin-bottom: 30px;
}

.answer-text {
    color: #d0d0d0;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 20px;
}

.related-questions {
    background: rgba(79, 172, 254, 0.05);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
}

.related-title {
    color: #4facfe;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-link {
    color: #00f2fe;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
}

.related-link:hover {
    background: rgba(79, 172, 254, 0.1);
    transform: translateX(5px);
}

.custom-question-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-question-title {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.custom-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    color: #e0e0e0;
    font-size: 14px;
    font-family: inherit;
    margin-bottom: 12px;
    resize: vertical;
    min-height: 80px;
}

.ask-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.ask-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.action-bar {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.1);
    color: #4facfe;
    border: 2px solid #4facfe;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-btn:hover {
    background: #4facfe;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    .question-sidebar {
        order: 2;
    }
}
