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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #F7F7F7;
    color: #1D2C4C;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #1D2C4C 0%, #2D3748 50%, #1D2C4C 100%);
    padding: 24px 48px 80px;
    position: relative;
    overflow: visible;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(28, 133, 232, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(157, 201, 248, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    text-decoration: none;
    margin-bottom: 48px;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    width: 28px;
    height: 34px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.header-title {
    font-size: 56px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.header-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    font-weight: 400;
}

/* Search Box */
.search-container {
    max-width: 520px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 100;
}

.search-icon {
    position: absolute;
    left: 18px;
    width: 22px;
    height: 22px;
    color: #6B7280;
    pointer-events: none;
    transition: color 0.2s ease;
}

.search-box:focus-within .search-icon {
    color: #1C85E8;
}

.search-input {
    width: 100%;
    padding: 18px 18px 18px 52px;
    font-size: 16px;
    font-family: inherit;
    border: 2px solid transparent;
    border-radius: 12px;
    background-color: #FFFFFF;
    color: #1D2C4C;
    outline: none;
    transition: all 0.2s ease;
}

.search-input::placeholder {
    color: #9CA3AF;
    transition: color 0.2s ease;
}

.search-input:focus {
    border-color: #1C85E8;
    box-shadow: 0 0 0 4px rgba(28, 133, 232, 0.12), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.search-input:focus::placeholder {
    color: #B0B8C4;
}

.search-submit {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background-color: #1C85E8;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.search-submit:hover {
    background-color: #1670C4;
}

.search-submit:active {
    transform: translateY(-50%) scale(0.96);
}

.search-submit svg {
    width: 20px;
    height: 20px;
}

.search-input {
    padding-right: 60px;
}

/* Autocomplete Dropdown */
.autocomplete-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    list-style: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
    border: 1px solid #E5E7EB;
    animation: dropdownFade 0.15s ease-out;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.autocomplete-list.hidden {
    display: none;
}

.autocomplete-item {
    padding: 14px 16px;
    cursor: pointer;
    font-size: 15px;
    color: #374151;
    border-bottom: 1px solid #F3F4F6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    margin-left: -3px;
    padding-left: 19px;
    line-height: 1.4;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background-color: #F0F7FF;
    border-left-color: #1C85E8;
    color: #1C85E8;
}

.autocomplete-item .icon {
    color: #9CA3AF;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.autocomplete-item .text {
    flex: 1;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

.autocomplete-item .category {
    font-size: 12px;
    color: #9CA3AF;
    text-transform: capitalize;
    flex-shrink: 0;
    margin-top: 2px;
}

/* AI Answer Area */
.ai-response-container {
    margin-top: 24px;
    max-width: 560px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-response-container.hidden {
    display: none;
}

.ai-answer-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    border-left: 4px solid #1C85E8;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #EBF5FF 0%, #F0F7FF 100%);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #1C85E8;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(28, 133, 232, 0.1);
}

.ai-badge svg {
    width: 14px;
    height: 14px;
}

.ai-badge.loading svg {
    animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.ai-dismiss {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    border-radius: 8px;
    z-index: 10;
    transition: all 0.15s ease;
}

.ai-dismiss svg {
    width: 18px;
    height: 18px;
}

.ai-dismiss:hover {
    color: #374151;
    background-color: #F3F4F6;
}

/* Answer Content */
.answer-content {
    padding: 20px 24px 16px;
}

.answer-messages {
    max-height: 320px;
    overflow-y: auto;
}

/* User Question - shown subtly */
.chat-message.user {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E5E7EB;
}

.chat-message.user .message-content {
    font-size: 16px;
    color: #1D2C4C;
    font-weight: 600;
    line-height: 1.5;
}

/* AI Answer - clean typography */
.chat-message.assistant {
    margin-bottom: 8px;
}

.chat-message.assistant .message-content {
    font-size: 15px;
    line-height: 1.75;
    color: #4B5563;
}

.chat-message.assistant .message-content p {
    margin-bottom: 12px;
}

.chat-message.assistant .message-content p:last-child {
    margin-bottom: 0;
}

.chat-message.assistant .message-content strong {
    font-weight: 600;
    color: #1D2C4C;
}

/* Related Articles */
.ai-sources {
    padding: 16px 24px 20px;
    background: linear-gradient(180deg, #FAFBFC 0%, #F5F6F8 100%);
    border-top: 1px solid #E5E7EB;
}

.ai-sources.hidden {
    display: none;
}

.sources-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 12px;
}

.sources-header svg {
    width: 16px;
    height: 16px;
    color: #9CA3AF;
}

.sources-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sources-list li {
    margin: 0;
}

.sources-list a {
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background-color: #FFFFFF;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    transition: all 0.2s ease;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sources-list a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1C85E8 0%, #9DC9F8 100%);
    flex-shrink: 0;
    margin-top: 6px;
}

.sources-list a:hover {
    background-color: #F0F7FF;
    border-color: #1C85E8;
    color: #1C85E8;
    transform: translateX(4px);
}

/* Follow-up Input */
.follow-up-container {
    padding: 16px 24px 20px;
    background-color: #FFFFFF;
    border-top: 1px solid #E5E7EB;
}

.follow-up-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 4px 4px 4px 16px;
    transition: all 0.2s ease;
}

.follow-up-wrapper:focus-within {
    border-color: #1C85E8;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(28, 133, 232, 0.1);
}

.follow-up-input {
    flex: 1;
    padding: 10px 0;
    font-size: 14px;
    font-family: inherit;
    border: none;
    background: transparent;
    color: #1D2C4C;
    outline: none;
}

.follow-up-input::placeholder {
    color: #9CA3AF;
}

.follow-up-send {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background-color: #1C85E8;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.follow-up-send:hover {
    background-color: #1670C4;
    transform: translateX(2px);
}

.follow-up-send svg {
    width: 16px;
    height: 16px;
}

/* Loading Animation */
.ai-loading {
    padding: 12px 0;
}

.ai-loading.hidden {
    display: none;
}

.loading-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1C85E8 0%, #9DC9F8 100%);
    animation: dotWave 1.2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(28, 133, 232, 0.3);
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes dotWave {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-6px) scale(1.1);
        opacity: 1;
    }
}

/* Main Content / Categories */
.main-content {
    flex: 1;
    padding: 56px 48px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Selling card accent */
.category-card[data-category="selling"]::before {
    background: linear-gradient(180deg, #D97706 0%, #FCD34D 100%);
}

.category-card[data-category="selling"]:hover {
    box-shadow: 0 8px 30px rgba(217, 119, 6, 0.12);
}

/* Buying card accent */
.category-card[data-category="buying"]::before {
    background: linear-gradient(180deg, #059669 0%, #6EE7B7 100%);
}

.category-card[data-category="buying"]:hover {
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.12);
}

/* Agents card accent */
.category-card[data-category="agents"]::before {
    background: linear-gradient(180deg, #7C3AED 0%, #C4B5FD 100%);
}

.category-card[data-category="agents"]:hover {
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.12);
}

.category-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    border: 1px solid #E5E7EB;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1C85E8 0%, #9DC9F8 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    box-shadow: 0 8px 30px rgba(28, 133, 232, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(28, 133, 232, 0.2);
    transform: translateY(-3px);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:active {
    transform: translateY(-1px);
    transition-duration: 0.1s;
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #EBF5FF 0%, #F0F7FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon svg {
    width: 28px;
    height: 28px;
    color: #1C85E8;
}

.category-icon.selling {
    background: linear-gradient(135deg, #FEF3C7 0%, #FEF9E7 100%);
}

.category-icon.selling svg {
    color: #D97706;
}

.category-icon.buying {
    background: linear-gradient(135deg, #D1FAE5 0%, #ECFDF5 100%);
}

.category-icon.buying svg {
    color: #059669;
}

.category-icon.agents {
    background: linear-gradient(135deg, #EDE9FE 0%, #F5F3FF 100%);
}

.category-icon.agents svg {
    color: #7C3AED;
}

.category-content {
    flex: 1;
}

.category-title {
    font-size: 22px;
    font-weight: 700;
    color: #1D2C4C;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.category-description {
    font-size: 15px;
    color: #6B7280;
    margin-bottom: 16px;
    line-height: 1.5;
}

.category-link {
    color: #1C85E8;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-link .arrow {
    transition: transform 0.2s ease;
}

.category-card:hover .category-link .arrow {
    transform: translateX(4px);
}

/* Article Modal - Full Page Style */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F9FAFB;
    z-index: 1000;
    overflow-y: auto;
    animation: modalFadeIn 0.25s ease-out;
}

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

.article-modal.hidden {
    display: none;
}

.article-modal-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    min-height: 100vh;
    position: relative;
}

.article-sidebar {
    width: 300px;
    background: linear-gradient(180deg, #F9FAFB 0%, #F3F4F6 100%);
    padding: 48px 32px;
    flex-shrink: 0;
    border-right: 1px solid #E5E7EB;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #1D2C4C;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #1C85E8;
    display: inline-block;
}

.related-articles-list {
    list-style: none;
}

.related-articles-list li {
    margin-bottom: 12px;
}

.related-articles-list a {
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    display: block;
    padding: 12px 16px;
    background-color: #FFFFFF;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 36px;
}

.related-articles-list a::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1C85E8 0%, #9DC9F8 100%);
}

.related-articles-list a:hover {
    color: #1C85E8;
    border-color: #1C85E8;
    background-color: #F0F7FF;
    transform: translateX(4px);
}

/* Section headers in sidebar */
.related-articles-list .section-header {
    font-size: 12px;
    font-weight: 700;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 0 8px 0;
    margin-top: 8px;
    border-bottom: 1px solid #E5E7EB;
}

.related-articles-list .section-header:first-child {
    margin-top: 0;
    padding-top: 0;
}

.related-articles-list .section-article {
    margin-bottom: 8px;
}

.related-articles-list .section-article a {
    padding: 10px 14px 10px 32px;
    font-size: 13px;
}

.related-articles-list .section-article a::before {
    left: 12px;
    width: 6px;
    height: 6px;
}

.article-main {
    flex: 1;
    padding: 48px 64px;
    background-color: #FFFFFF;
    position: relative;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.03);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #9CA3AF;
    cursor: pointer;
    line-height: 1;
    padding: 8px;
    border-radius: 4px;
}

.close-modal:hover {
    color: #1D2C4C;
    background-color: #F3F4F6;
}

.article-breadcrumb {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-breadcrumb a {
    color: #1C85E8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.article-breadcrumb a:hover {
    color: #1670C4;
}

.article-breadcrumb span {
    color: #9CA3AF;
}

.article-meta {
    font-size: 13px;
    color: #9CA3AF;
    margin-bottom: 12px;
    display: inline-block;
    background-color: #F3F4F6;
    padding: 6px 12px;
    border-radius: 20px;
}

.article-title {
    font-size: 42px;
    font-weight: 700;
    color: #1D2C4C;
    line-height: 1.2;
    margin-bottom: 32px;
    position: relative;
}

.article-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1C85E8 0%, #9DC9F8 100%);
    border-radius: 2px;
    margin-top: 20px;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    max-width: 680px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body strong {
    font-weight: 600;
    color: #1D2C4C;
}

.article-body a {
    color: #1C85E8;
    text-decoration: none;
}

.article-body a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #F9FAFB 0%, #F3F4F6 100%);
    padding: 48px 48px 40px;
    border-top: 1px solid #E5E7EB;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1C85E8 0%, #9DC9F8 50%, #1C85E8 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #1C85E8;
    border-radius: 10px;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-logo:hover {
    background: #1670C4;
    transform: translateY(-2px);
}

.footer-logo svg {
    width: 24px;
    height: 28px;
}

.footer-copyright {
    font-size: 14px;
    color: #6B7280;
}

.footer-right {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 24px;
}

.footer-link {
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-link:hover {
    color: #1C85E8;
}

.language-select {
    font-size: 14px;
    padding: 10px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background-color: #FFFFFF;
    color: #374151;
    cursor: pointer;
    margin-top: 8px;
    transition: border-color 0.15s ease;
}

.language-select:hover {
    border-color: #1C85E8;
}

.language-select:focus {
    outline: none;
    border-color: #1C85E8;
    box-shadow: 0 0 0 3px rgba(28, 133, 232, 0.15);
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .header {
        padding: 20px 32px 60px;
    }

    .header-title {
        font-size: 48px;
    }

    .main-content {
        padding: 32px;
    }

    .category-card {
        padding: 24px;
        gap: 20px;
    }

    .category-icon {
        width: 48px;
        height: 48px;
    }

    .category-icon svg {
        width: 24px;
        height: 24px;
    }

    .category-title {
        font-size: 20px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .header {
        padding: 16px 20px 48px;
    }

    .logo {
        margin-bottom: 32px;
    }

    .logo-text {
        font-size: 18px;
    }

    .header-title {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .header-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .search-container {
        max-width: 100%;
    }

    .search-input {
        padding: 16px 16px 16px 48px;
        font-size: 16px;
    }

    .main-content {
        padding: 20px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .category-card {
        padding: 20px;
        gap: 16px;
    }

    .category-icon {
        width: 44px;
        height: 44px;
    }

    .category-icon svg {
        width: 22px;
        height: 22px;
    }

    .category-title {
        font-size: 18px;
    }

    .category-description {
        font-size: 14px;
    }

    .category-link {
        font-size: 14px;
    }

    .ai-response-container {
        max-width: 100%;
    }

    .ai-answer-card {
        border-radius: 12px;
    }

    .answer-content {
        padding: 20px 16px 12px;
    }

    .article-modal-content {
        flex-direction: column;
    }

    .article-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
        padding: 20px;
    }

    .sidebar-title {
        font-size: 18px;
    }

    .article-main {
        padding: 20px;
    }

    .article-title {
        font-size: 26px;
    }

    .article-title::after {
        width: 40px;
        height: 3px;
        margin-top: 16px;
    }

    .footer {
        padding: 32px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }

    .footer-right {
        justify-content: center;
        gap: 8px 20px;
    }
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background-color: rgba(28, 133, 232, 0.15);
    color: #1D2C4C;
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
    .header-title {
        font-size: 28px;
    }

    .category-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .follow-up-container {
        padding: 12px 16px 16px;
    }

    .follow-up-input {
        font-size: 14px;
    }
}
