/* OPTMO Website - Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #800020;
    --primary-dark: #5c0016;
    --secondary-color: #8B4513;
    --accent-wood: #A0662F;
    --neutral-dark: #3d3d3d;
    --neutral-light: #f5f5f5;
    --neutral-border: #d4d4d4;
    --grey-dark: #2d2d2d;
    --grey-medium: #6b6b6b;
    --grey-light: #9e9e9e;
    --bullish: #800020;
    --bearish: #ef4444;
    --neutral: #6b6b6b;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #6b6b6b;
    --sidebar-width: 260px;
    --header-height: 64px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

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

/* Top Header */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--neutral-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 900;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    gap: 10px;
    min-height: var(--header-height);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: var(--sidebar-width);
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.sidebar-toggle:hover {
    background: var(--neutral-light);
}

.logo-small {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.header-center {
    flex: 1;
    max-width: 400px;
    min-width: 150px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.search-bar {
    position: relative;
    display: flex !important;
    align-items: center;
    background: var(--neutral-light);
    border-radius: 6px;
    padding: 8px 12px;
    width: 100%;
    flex-shrink: 0;
    min-width: 120px;
    z-index: 1;
}

.search-bar i {
    color: var(--text-light);
    margin-right: 8px;
}

.search-bar input {
    background: none;
    border: none;
    width: 100%;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
}

.search-bar input::placeholder {
    color: var(--text-light);
}

.search-bar::after {
    content: '⌘K';
    font-size: 11px;
    color: var(--text-light);
    background: rgba(128, 0, 32, 0.08);
    padding: 3px 6px;
    border-radius: 3px;
    margin-left: 8px;
    white-space: nowrap;
    font-weight: 600;
    user-select: none;
    pointer-events: none;
}

@supports not (content: '⌘K') {
    .search-bar::after {
        content: 'Ctrl+K';
    }
}

/* Search Results Panel */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--neutral-border);
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin-top: -2px;
    z-index: 1001;
    overflow-y: auto;
    max-height: 600px;
    -webkit-overflow-scrolling: touch;
}

.search-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--neutral-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--neutral-light);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    sticky: top;
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.search-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.search-header-text strong {
    font-size: 13px;
    color: var(--primary-color);
}

.search-result-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), #a0002a);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    padding: 0 8px;
    box-shadow: 0 2px 8px rgba(128, 0, 32, 0.3);
}

.search-nav-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid var(--neutral-border);
}

.search-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.2s;
}

.search-nav-btn:hover {
    background: var(--neutral-light);
    color: var(--primary-color);
}

.search-nav-btn:active {
    transform: scale(0.95);
}

.search-nav-counter {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0 6px;
    min-width: 40px;
    text-align: center;
}

.search-term {
    color: var(--text-dark);
    font-weight: 400;
    font-size: 12px;
    background: var(--white);
    padding: 2px 6px;
    border-radius: 3px;
}

.search-results-list {
    padding: 8px 0;
}

.search-section {
    padding: 0;
}

.search-section-title {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-name {
    flex: 1;
}

.section-count {
    font-size: 10px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(128, 0, 32, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.search-result-item {
    padding: 10px 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.search-result-item:hover {
    background: var(--neutral-light);
    border-left-color: var(--primary-color);
}

.result-location {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 12px;
    color: var(--text-light);
}

.result-location i {
    font-size: 14px;
    color: var(--primary-color);
    width: 16px;
}

.result-type {
    text-transform: capitalize;
    font-weight: 500;
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-breadcrumb {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.result-preview {
    margin: 0;
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.4;
    word-break: break-word;
}

.result-preview mark {
    background: linear-gradient(120deg, #FFD700 0%, #FFC700 100%);
    color: #000;
    font-weight: 600;
    padding: 1px 3px;
    border-radius: 2px;
}

.search-result-item i:last-child {
    color: var(--text-light);
    font-size: 12px;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s;
}

.search-result-item:hover i:last-child {
    opacity: 1;
    transform: translateX(0);
}

.search-more {
    padding: 8px 16px;
    font-size: 12px;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 500;
}

.search-more:hover {
    text-decoration: underline;
}

.search-no-results {
    padding: 32px 20px;
    text-align: center;
    color: var(--text-light);
}

.search-no-results i {
    font-size: 32px;
    color: var(--neutral-border);
    margin-bottom: 8px;
}

.search-no-results p {
    margin: 8px 0;
    font-size: 14px;
    color: var(--text-dark);
}

.search-no-results small {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.search-results-summary {
    padding: 12px;
    font-size: 13px;
    color: var(--text-dark);
}

.search-results-summary strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 14px;
}

.result-type {
    padding: 4px 0;
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.result-type i {
    color: var(--primary-color);
}

/* Search Highlight Styles */
.search-highlight, mark.search-highlight {
    background-color: #FFD700;
    background: linear-gradient(120deg, #FFD700 0%, #FFC700 100%);
    color: #000;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.6), 0 2px 6px rgba(255, 215, 0, 0.5);
    display: inline;
    animation: pulse-highlight 1.5s ease infinite;
    border: 1px solid #FFB300;
}

@keyframes pulse-highlight {
    0% {
        box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.6), 0 2px 6px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.4), 0 3px 8px rgba(255, 215, 0, 0.7);
    }
    100% {
        box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.6), 0 2px 6px rgba(255, 215, 0, 0.5);
    }
}

/* Current Highlight (focused result) */
mark.search-highlight.current {
    background: linear-gradient(120deg, #FF6B00 0%, #FF8C00 100%);
    color: #FFF;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.6), 0 4px 12px rgba(255, 107, 0, 0.8);
    border: 2px solid #FF5500;
    animation: pulse-current 1s ease infinite;
    transform: scale(1.05);
}

@keyframes pulse-current {
    0% {
        box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.6), 0 4px 12px rgba(255, 107, 0, 0.8);
    }
    50% {
        box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.4), 0 6px 16px rgba(255, 107, 0, 1);
    }
    100% {
        box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.6), 0 4px 12px rgba(255, 107, 0, 0.8);
    }
}

/* Smart Search Suggestions */
.search-suggestions {
    padding: 8px 0;
    max-height: 400px;
    overflow-y: auto;
    animation: slideDown 0.15s ease-out;
}

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

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.15s;
    border-left: 3px solid transparent;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: var(--neutral-light);
    border-left-color: var(--primary-color);
}

.suggestion-text {
    font-size: 14px;
    color: var(--text-dark);
    flex: 1;
    font-weight: 500;
}

.suggestion-category {
    font-size: 11px;
    color: var(--text-light);
    background: rgba(128, 0, 32, 0.08);
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 12px;
    white-space: nowrap;
}

.search-empty {
    padding: 16px;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
}

.result-count {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    margin-left: auto;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
    border-radius: 4px;
    position: relative;
    transition: background 0.2s;
}

.icon-btn:hover {
    background: var(--neutral-light);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* Account Menu */
.account-menu {
    position: relative;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.account-btn:hover {
    background: var(--neutral-light);
}

.account-btn i {
    font-size: 20px;
    color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--neutral-border);
    border-radius: 6px;
    min-width: 200px;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: var(--neutral-light);
    color: var(--primary-color);
}

.dropdown-menu a i {
    color: var(--text-light);
    width: 16px;
}

.dropdown-menu a:hover i {
    color: var(--accent-wood);
}

.dropdown-menu hr {
    border: none;
    border-top: 1px solid var(--neutral-border);
    margin: 8px 0;
}

/* Sidebar Navigation - Updated 2026-03-04 */
.sidebar {
    position: fixed;
    left: 0;
    top: var(--header-height);
    width: var(--sidebar-width);
    height: calc(100vh - var(--header-height));
    background: var(--white);
    border-right: 1px solid var(--neutral-border);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 800;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%) !important;
}

.sidebar.active {
    transform: translateX(0) !important;
}

/* Sidebar Resize Handle */
.sidebar-resize-handle {
    position: absolute;
    right: -4px;
    top: 0;
    width: 8px;
    height: 100%;
    cursor: col-resize;
    background: transparent;
    transition: background-color 0.2s ease;
    z-index: 900;
}

.sidebar-resize-handle:hover,
.sidebar-resize-handle.dragging {
    background-color: var(--primary-color);
    background-color: rgba(16, 185, 129, 0.3);
}

.sidebar-header {
    padding: 12px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: auto;
    min-height: 48px;
    border-bottom: 1px solid var(--neutral-border);
}

.sidebar-logo {
    display: none;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.close-btn:hover {
    background-color: var(--neutral-light);
}

/* Sidebar Search Bar */
.sidebar-search-container {
    padding: 12px 12px;
    border-bottom: 1px solid var(--neutral-border);
    flex-shrink: 0;
    position: relative;
    background: var(--white);
    z-index: 50;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-search-container .search-bar {
    padding: 8px 10px;
    background: var(--neutral-light);
    border-radius: 6px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.sidebar-search-container .search-bar i {
    color: var(--text-light);
    font-size: 14px;
    flex-shrink: 0;
}

.sidebar-search-container .search-bar input {
    background: none;
    border: none;
    width: 100%;
    font-size: 13px;
    color: var(--text-dark);
    outline: none;
    font-family: inherit;
}

.sidebar-search-container .search-bar input::placeholder {
    color: var(--text-light);
}

.sidebar-search-container .search-bar::after {
    display: none;
}

.sidebar-search-container .search-results {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    background: var(--white);
    border: 1px solid var(--neutral-border);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: -2px;
    z-index: 1001;
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Sidebar Search Bar */
.sidebar-search {
    display: none;
}

.sidebar .search-bar {
    padding: 8px 10px;
    background: var(--neutral-light);
    border-radius: 6px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar .search-bar i {
    color: var(--text-light);
    font-size: 14px;
    flex-shrink: 0;
}

.sidebar .search-bar input {
    background: none;
    border: none;
    width: 100%;
    font-size: 13px;
    color: var(--text-dark);
    outline: none;
    font-family: inherit;
}

.sidebar .search-bar input::placeholder {
    color: var(--text-light);
}

.sidebar .search-bar::after {
    display: none;
}

.sidebar .search-results {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    background: var(--white);
    border: 1px solid var(--neutral-border);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: -2px;
    z-index: 1001;
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.sidebar-nav {
    flex: 1;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 16px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--neutral-light) transparent;
    scroll-behavior: smooth;
}

.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--neutral-light);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-border);
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 16px;
    margin-bottom: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    margin: 0 4px;
    border-radius: 4px;
}

.nav-item i {
    width: 18px;
    color: var(--text-light);
}

.nav-item:hover {
    background: var(--neutral-light);
    color: var(--primary-color);
}

.nav-item:hover i {
    color: var(--primary-color);
}

.nav-item.active {
    background: rgba(128, 0, 32, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.nav-item.active i {
    color: var(--primary-color);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--neutral-border);
}

.premium-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 12px;
    border-radius: 6px;
    color: var(--white);
    transition: all 0.2s ease;
}

.premium-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.premium-box h4 {
    font-size: 14px;
    margin-bottom: 6px;
}

.premium-box p {
    font-size: 12px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.premium-btn {
    width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.premium-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--accent-wood);
    box-shadow: 0 0 15px rgba(139, 69, 19, 0.4);
}

/* Main Content */
.main-content {
    margin-top: var(--header-height);
    margin-left: 0;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-sizing: border-box;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 750;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    z-index: 1000;
    transition: width 0.1s ease-out;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 900;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(128, 0, 32, 0.3);
    opacity: 0;
    animation: fadeInUp 0.3s ease forwards;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(128, 0, 32, 0.4);
}

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

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--grey-dark);
    color: white;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 13px;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: slideInUp 0.3s ease forwards;
    max-width: 280px;
}

.toast-notification.show {
    animation: slideInUp 0.3s ease forwards;
}

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

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

.hero-content h1 {
    font-size: 44px;
    margin-bottom: 16px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    padding: 12px 36px;
    font-size: 15px;
    font-weight: 600;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: var(--accent-wood);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(160, 102, 47, 0.4);
}

/* Featured Section */
.featured-section {
    padding: 60px 20px;
    background: var(--white);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    background: var(--neutral-light);
    border-radius: 8px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.featured-content {
    padding: 40px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-light);
}

.featured-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 14px;
}

.read-more:hover {
    color: var(--accent-wood);
    transform: translateX(5px);
}

/* Projects Section */
.picks-section {
    padding: 60px 20px;
    background: var(--neutral-light);
}

.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--neutral-border);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

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

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.picks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.pick-card {
    background: var(--white);
    border: 1px solid var(--neutral-border);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(139, 69, 19, 0.1);
    border-color: rgba(139, 69, 19, 0.3);
}

.pick-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.symbol {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.rating {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating.bullish {
    background: rgba(16, 185, 129, 0.1);
    color: var(--bullish);
}

.rating.bearish {
    background: rgba(239, 68, 68, 0.1);
    color: var(--bearish);
}

.rating.neutral {
    background: rgba(107, 114, 128, 0.1);
    color: var(--neutral);
}

.pick-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.price {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.change {
    font-size: 13px;
    margin-left: 10px;
}

.change.positive {
    color: var(--bullish);
}

.change.negative {
    color: var(--bearish);
}

.pick-summary {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 13px;
}

.pick-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--neutral-border);
    font-size: 12px;
    color: var(--text-light);
}

.analyst {
    font-weight: 600;
}

/* Analysis Section */
.analysis-section {
    padding: 60px 20px;
    background: var(--white);
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.analysis-card {
    background: var(--neutral-light);
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.analysis-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-wood);
}

.analysis-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.analysis-card p {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 14px;
}

.analysis-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.analysis-card a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
    display: inline-block;
}

/* Pricing Cards */
.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pricing-card {
    position: relative;
    border-left: none;
    border: 2px solid var(--neutral-border);
    text-align: center;
    padding: 32px 24px;
}

.pricing-card.featured-plan {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(128, 0, 32, 0.15);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(128, 0, 32, 0.3);
}

.plan-header {
    margin-bottom: 24px;
}

.plan-header h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.price-tag {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-tag span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

.feature-list {
    list-style: none;
    text-align: left;
    margin: 24px 0;
    padding: 0;
}

.feature-item {
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--bullish);
    font-size: 14px;
    width: 16px;
}

.feature-item.disabled {
    color: var(--text-light);
    text-decoration: line-through;
}

.feature-item.disabled i {
    color: var(--bearish);
}

.plan-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background: var(--neutral-light);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--neutral-border);
    text-align: center;
}

.plan-btn:hover {
    background: var(--neutral-border);
    transform: translateY(-2px);
}

.plan-btn.pro-btn {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.plan-btn.pro-btn:hover {
    background: #5c0016;
    border-color: #5c0016;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    color: var(--text-dark);
    padding: 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--neutral-border);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.cookie-notice a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cookie-btn.accept {
    background: var(--secondary-color);
    color: white;
}

.cookie-btn.accept:hover {
    background: var(--accent-wood);
}

.cookie-btn.decline {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--neutral-border);
}

.cookie-btn.decline:hover {
    background: var(--neutral-light);
}

/* Platform Statistics Section */
.portfolio-section {
    padding: 60px 20px;
    background: var(--neutral-light);
}

.portfolio-card {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--neutral-border);
}

.portfolio-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.portfolio-table {
    width: 100%;
    border-collapse: collapse;
}

.portfolio-table thead {
    background: var(--neutral-light);
}

.portfolio-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid var(--neutral-border);
    font-size: 14px;
}

.portfolio-table td {
    padding: 12px;
    border-bottom: 1px solid var(--neutral-border);
    color: var(--text-dark);
    font-size: 14px;
}

.portfolio-table tbody tr:hover {
    background: var(--neutral-light);
}

.positive {
    color: var(--bullish);
    font-weight: 600;
}

.negative {
    color: var(--bearish);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--neutral-dark);
    color: #d1d5db;
    padding: 40px 20px 20px;
    margin-left: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h5 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.footer-section p {
    font-size: 13px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-wood);
}

.footer-bottom {
    border-top: 1px solid #4b5563;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
}

/* Responsive Design */
/* Sidebar toggleable on all screen sizes */

/* All screens: adjust content when sidebar is open */
body.sidebar-open .main-content {
    margin-left: 0;
    width: 100%;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop: Hide overlay, keep content adjustable */
@media (min-width: 1024px) {
    .sidebar-overlay {
        display: none !important;
    }

    .close-btn {
        display: block !important;
    }
}

/* Mobile/Tablet: keep same sidebar behavior */
@media (max-width: 1023px) {
    .close-btn {
        display: block !important;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 20px;
    background: var(--neutral-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--neutral-border);
}

.testimonial-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 16px;
    font-size: 16px;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 13px;
}

/* Contact Section */
.contact-section {
    padding: 60px 20px;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 40px;
}

.contact-info h3 {
    color: var(--text-dark);
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-benefits {
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.benefit-item i {
    color: var(--bullish);
    font-size: 18px;
}

.contact-details {
    padding: 24px;
    background: var(--neutral-light);
    border-radius: 8px;
    margin-top: 24px;
}

.contact-details h4 {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 16px;
}

.contact-details p {
    margin-bottom: 12px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-details i {
    color: var(--primary-color);
    width: 20px;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.contact-details a:hover {
    border-bottom-color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--neutral-border);
    border-radius: 50%;
    color: var(--text-dark);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.contact-form-wrapper {
    background: var(--neutral-light);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-form h3 {
    color: var(--text-dark);
    font-size: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--neutral-border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 0, 32, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 12px;
    margin-top: 16px;
}

/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .container {
        padding: 0 40px;
    }

    .picks-grid {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
        gap: 24px;
    }

    .section-title {
        font-size: 32px;
    }
    
    .hero-content h1 {
        font-size: 56px;
    }
}

/* Desktop (1200px - 1919px) */
@media (max-width: 1919px) and (min-width: 1200px) {
    .featured-article {
        gap: 40px;
    }

    .picks-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

/* Tablet Landscape (1024px - 1199px) */
@media (max-width: 1199px) {
    :root {
        --sidebar-width: 200px;
    }

    .header-center {
        max-width: 250px;
        min-width: 120px;
    }

    .featured-article {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .featured-image img {
        height: 250px;
    }

    .pick-card {
        padding: 16px;
    }

    .picks-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 32px;
    }

    .analysis-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-table th,
    .portfolio-table td {
        padding: 10px;
        font-size: 13px;
    }
}



    .hero {
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .featured-section {
        padding: 40px 20px;
    }

    .featured-content {
        padding: 28px;
    }

    .featured-content h3 {
        font-size: 24px;
    }

    .featured-content p {
        font-size: 14px;
    }

    .picks-section,
    .analysis-section,
    .portfolio-section {
        padding: 40px 20px;
    }

    .picks-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }

    .analysis-grid {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .testimonials-section {
        padding: 40px 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-section {
        padding: 40px 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-info h3 {
        font-size: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .portfolio-table {
        font-size: 12px;
    }

    .portfolio-table th,
    .portfolio-table td {
        padding: 8px;
    }
}

/* Large Mobile (481px - 767px) */
@media (max-width: 767px) {
    :root {
        --header-height: 60px;
    }

    .top-header {
        padding: 0 12px;
        height: 60px;
    }

    .header-right {
        gap: 10px;
        flex-shrink: 0;
    }

    .header-center {
        display: none !important;
    }

    .sidebar-search-container {
        padding: 10px;
    }

    .sidebar-search-container .search-bar {
        padding: 7px 9px;
        font-size: 12px;
    }

    .sidebar-search-container .search-bar i {
        font-size: 12px;
    }

    .sidebar-search-container .search-results {
        max-height: 320px;
        left: 10px;
        right: 10px;
    }

    .suggestion-item {
        padding: 10px 12px;
    }

    .suggestion-text {
        font-size: 13px;
    }

    .suggestion-category {
        font-size: 10px;
        padding: 2px 6px;
    }

    .account-btn span {
        display: none;
    }

    .sidebar-search {
        padding: 10px;
    }

    .sidebar .search-bar {
        padding: 7px 9px;
        font-size: 12px;
    }

    .sidebar .search-bar i {
        font-size: 12px;
    }

    .sidebar .search-results {
        max-height: 320px;
        left: 10px;
        right: 10px;
    }

    .sidebar {
        width: var(--sidebar-width);
    }

    .sidebar-nav {
        padding: 16px 0;
    }

    .nav-section {
        margin-bottom: 24px;
    }

    .nav-section-title {
        padding: 0 16px;
        margin-bottom: 10px;
        font-size: 11px;
    }

    .nav-item {
        padding: 8px 16px;
        font-size: 13px;
    }

    .nav-item i {
        width: 16px;
        font-size: 16px;
    }

    .hero {
        padding: 50px 16px;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 10px 24px;
        font-size: 13px;
    }

    .featured-section,
    .picks-section,
    .analysis-section,
    .portfolio-section {
        padding: 32px 16px;
    }

    .featured-content {
        padding: 20px;
    }

    .featured-image img {
        height: 200px;
    }

    .featured-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .picks-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pick-card {
        padding: 14px;
    }

    .symbol {
        font-size: 16px;
    }

    .pick-card h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .price {
        font-size: 14px;
    }

    .pick-summary {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .pick-footer {
        padding-top: 10px;
        font-size: 11px;
    }

    .filters {
        gap: 8px;
        margin-bottom: 24px;
    }

    .filter-btn {
        padding: 7px 12px;
        font-size: 12px;
    }

    .analysis-card {
        padding: 16px;
    }

    .analysis-card h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .analysis-card p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .pricing-card {
        padding: 24px 16px;
    }

    .pricing-card.featured-plan {
        transform: scale(1);
    }

    .price-tag {
        font-size: 36px;
    }

    .feature-item {
        font-size: 13px;
        padding: 8px 0;
    }

    .cookie-notice {
        flex-direction: column;
        padding: 16px;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .portfolio-card {
        padding: 16px;
    }

    .portfolio-card h3 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .portfolio-table {
        font-size: 11px;
    }

    .portfolio-table th,
    .portfolio-table td {
        padding: 6px 4px;
    }

    .footer {
        padding: 32px 20px 16px;
        margin-left: 0;
    }

    .footer-section h5 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 12px;
    }

    .icon-btn {
        font-size: 16px;
        padding: 6px;
    }

    .notification-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    :root {
        --header-height: 56px;
    }

    .top-header {
        padding: 0 8px;
        height: 56px;
    }

    .header-left {
        gap: 8px;
        min-width: auto;
    }

    .logo-small {
        font-size: 14px;
    }

    .header-center {
        display: none !important;
    }

    .header-right {
        gap: 6px;
    }

    .sidebar-search-container {
        padding: 8px;
    }

    .sidebar-search-container .search-bar {
        padding: 6px 8px;
        font-size: 11px;
    }

    .sidebar-search-container .search-bar i {
        font-size: 11px;
        margin-right: 4px;
    }

    .sidebar-search-container .search-results {
        max-height: 300px;
        left: 8px;
        right: 8px;
    }

    .suggestion-item {
        padding: 8px 10px;
    }

    .suggestion-text {
        font-size: 12px;
    }

    .suggestion-category {
        font-size: 9px;
        padding: 2px 5px;
        margin-left: 8px;
    }

    .result-count {
        font-size: 12px;
    }

    .header-right {
        gap: 6px;
    }

    .sidebar-search {
        padding: 8px;
    }

    .sidebar .search-bar {
        padding: 6px 8px;
        font-size: 11px;
    }

    .sidebar .search-bar i {
        font-size: 11px;
        margin-right: 4px;
    }

    .sidebar .search-results {
        max-height: 300px;
        left: 8px;
        right: 8px;
    }

    .icon-btn {
        font-size: 18px;
        padding: 4px;
    }

    .account-btn {
        padding: 4px;
    }

    .sidebar {
        width: var(--sidebar-width);
        max-width: var(--sidebar-width);
    }

    .sidebar-header {
        padding: 0;
        height: 0;
        overflow: hidden;
    }

    .sidebar-logo {
        display: none;
    }

    .nav-section {
        margin-bottom: 18px;
    }

    .nav-item {
        padding: 8px 16px;
        font-size: 13px;
    }

    .sidebar-footer {
        padding: 16px;
    }

    .premium-box {
        padding: 12px;
    }

    .premium-box h4 {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .premium-box p {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .premium-btn {
        padding: 6px;
        font-size: 11px;
    }

    .hero {
        padding: 40px 12px;
    }

    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .cta-button {
        padding: 9px 20px;
        font-size: 12px;
    }

    .featured-section,
    .picks-section,
    .analysis-section,
    .portfolio-section {
        padding: 28px 12px;
    }

    .featured-image {
        margin: -20px -20px 0 -20px;
    }

    .featured-image img {
        height: 180px;
    }

    .featured-content {
        padding: 16px;
    }

    .featured-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .featured-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    .article-meta {
        gap: 12px;
        margin-bottom: 12px;
        font-size: 11px;
    }

    .read-more {
        font-size: 12px;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .picks-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pick-card {
        padding: 12px;
        border-radius: 6px;
    }

    .pick-header {
        margin-bottom: 8px;
    }

    .symbol {
        font-size: 14px;
    }

    .rating {
        padding: 3px 8px;
        font-size: 10px;
    }

    .pick-card h4 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .price {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .change {
        font-size: 11px;
        margin-left: 6px;
    }

    .pick-summary {
        font-size: 11px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .pick-footer {
        padding-top: 8px;
        gap: 8px;
        font-size: 10px;
    }

    .filters {
        gap: 6px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 6px 11px;
        font-size: 11px;
    }

    .analysis-card {
        padding: 14px;
        border-radius: 6px;
    }

    .analysis-card h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .analysis-card p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .analysis-card a {
        font-size: 12px;
    }

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

    .pricing-card {
        padding: 20px 12px;
    }

    .pricing-card.featured-plan {
        transform: scale(1);
        margin: 0;
    }

    .plan-badge {
        font-size: 10px;
        padding: 4px 12px;
    }

    .price-tag {
        font-size: 32px;
    }

    .price-tag span {
        font-size: 14px;
    }

    .feature-list {
        margin: 16px 0;
    }

    .feature-item {
        font-size: 12px;
        padding: 6px 0;
    }

    .plan-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .cookie-notice {
        flex-direction: column;
        padding: 12px;
        gap: 12px;
    }

    .cookie-notice p {
        font-size: 12px;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .cookie-btn {
        width: 100%;
        padding: 8px 16px;
        font-size: 13px;
    }

    .portfolio-card {
        padding: 14px;
    }

    .portfolio-card h3 {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .portfolio-table {
        font-size: 10px;
    }

    .portfolio-table th,
    .portfolio-table td {
        padding: 5px 3px;
    }

    .footer {
        padding: 24px 12px 12px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-section h5 {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .footer-bottom {
        font-size: 10px;
        padding-top: 12px;
    }

    .dropdown-menu {
        min-width: 160px;
    }

    .dropdown-menu a {
        padding: 10px 12px;
        font-size: 13px;
        gap: 8px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-light);
}

::-webkit-scrollbar-thumb {
    background: var(--neutral-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}
