/* ================================================
   STYLE.CSS - JUMBOTOTO Knowledge Platform
   Versi: 2.0 | Last Updated: 13 Juli 2026
   ================================================ */

/* ------------------------------------------------
   RESET & VARIABLES
------------------------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4a843;
    --gold-glow: rgba(212, 168, 67, 0.18);
    --gold-light: #f7e05e;
    --dark: #0a0a0a;
    --dark-card: #111111;
    --card: rgba(255, 255, 255, 0.03);
    --text: #e0d5c1;
    --text-light: #f0e8d8;
    --muted: #8a8280;
    --border: rgba(255, 255, 255, 0.04);
    --border-gold: rgba(212, 168, 67, 0.12);
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0;
    margin: 0;
}

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

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--gold-light);
}

img {
    max-width: 100%;
    display: block;
}

/* ------------------------------------------------
   SCROLLBAR
------------------------------------------------ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ------------------------------------------------
   PROGRESS BAR & BACK TO TOP
------------------------------------------------ */
#progressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: 9999;
    width: 0%;
    transition: width 0.15s ease;
    box-shadow: 0 0 12px var(--gold-glow);
}

#backToTop {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 999;
    background: linear-gradient(135deg, var(--gold), #b8922f);
    color: #0a0a0a;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 24px var(--gold-glow);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
#backToTop.show {
    opacity: 1;
    visibility: visible;
}
#backToTop:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 40px rgba(212, 168, 67, 0.4);
}
#backToTop:active {
    transform: scale(0.9);
}

/* ------------------------------------------------
   NAVBAR
------------------------------------------------ */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
    gap: 8px;
}

.navbar-logo img {
    height: 32px;
    width: auto;
    transition: transform var(--transition);
}
.navbar-logo img:hover {
    transform: scale(1.04);
}

.nav-menu {
    display: flex;
    gap: 14px;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}
.nav-menu a {
    color: var(--text);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
    letter-spacing: 0.2px;
}
.nav-menu a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.btn-nav {
    background: linear-gradient(135deg, var(--gold), #b8922f);
    color: #0a0a0a !important;
    padding: 6px 18px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 11px !important;
    border-bottom: none !important;
    transition: all var(--transition);
}
.btn-nav:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 20px var(--gold-glow);
    border-bottom: none !important;
}

/* ------------------------------------------------
   BREADCRUMB
------------------------------------------------ */
.breadcrumb {
    padding: 14px 0 6px 0;
    font-size: 12px;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}
.breadcrumb a {
    color: var(--muted);
    transition: color var(--transition);
}
.breadcrumb a:hover {
    color: var(--gold);
}
.breadcrumb .sep {
    color: #5a5250;
}
.breadcrumb .current {
    color: var(--text);
    font-weight: 500;
}

/* ------------------------------------------------
   HERO
------------------------------------------------ */
.hero {
    padding: 30px 0 20px 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(212, 168, 67, 0.04) 0%, transparent 60%);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero-content {
    order: 2;
}

.hero-tag {
    display: inline-block;
    background: rgba(212, 168, 67, 0.06);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    padding: 2px 14px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 8px;
    color: #fff;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 15px;
    color: var(--muted);
    max-width: 500px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-stats-mini {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.hero-stats-mini .item {
    text-align: center;
}
.hero-stats-mini .number {
    font-size: 22px;
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1.1;
}
.hero-stats-mini .label {
    font-size: 11px;
    color: var(--muted);
}

.hero-image {
    order: 1;
    text-align: center;
}
.hero-image img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gold);
}

/* LIVE COUNTER */
.live-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 200, 100, 0.04);
    border: 1px solid rgba(0, 200, 100, 0.06);
    padding: 2px 14px 2px 8px;
    border-radius: 40px;
    font-size: 11px;
    color: #00cc66;
    margin-top: 4px;
}
.live-counter .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00cc66;
    animation: livePulse 1.2s infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

@media (min-width: 768px) {
    .hero-grid {
        flex-direction: row;
        align-items: center;
    }
    .hero-content {
        order: 1;
        flex: 1.2;
    }
    .hero-image {
        order: 2;
        flex: 1;
    }
    .hero h1 {
        font-size: 38px;
    }
}

/* ------------------------------------------------
   BUTTONS
------------------------------------------------ */
.btn-primary {
    background: linear-gradient(135deg, var(--gold), #b8922f);
    color: #0a0a0a;
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px var(--gold-glow);
}
.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 168, 67, 0.15);
    color: var(--text);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-secondary:hover {
    background: rgba(212, 168, 67, 0.05);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* ------------------------------------------------
   SECTION: DASHBOARD WIDGETS
------------------------------------------------ */
.section-dashboard {
    padding: 30px 0 40px 0;
    background: var(--dark-card);
    border-bottom: 1px solid var(--border);
}
.section-dashboard h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.section-dashboard h2 span {
    color: var(--gold);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}

.dash-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 18px 20px;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.dash-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-2px);
}
.dash-card .dash-title {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.dash-card .dash-value {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}
.dash-card .dash-value .gold {
    color: var(--gold);
}
.dash-card .dash-sub {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
}

/* MINI CHART */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 50px;
    margin-top: 10px;
}
.mini-chart .bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--gold), rgba(212, 168, 67, 0.2));
    min-height: 4px;
    transition: height 0.8s ease;
}
.mini-chart .bar-label {
    font-size: 9px;
    color: var(--muted);
    text-align: center;
    margin-top: 4px;
}

/* HEATMAP */
.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
    margin-top: 8px;
}
.heatmap-cell {
    aspect-ratio: 1;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    transition: all var(--transition);
    cursor: pointer;
}
.heatmap-cell.high {
    background: rgba(212, 168, 67, 0.7);
}
.heatmap-cell.medium {
    background: rgba(212, 168, 67, 0.35);
}
.heatmap-cell.low {
    background: rgba(212, 168, 67, 0.12);
}
.heatmap-cell:hover {
    transform: scale(1.2);
    box-shadow: 0 0 16px var(--gold-glow);
}
.heatmap-cell:active {
    transform: scale(0.9);
}

/* DISTRIBUTION BAR */
.distro-bar {
    display: flex;
    height: 20px;
    border-radius: 8px;
    overflow: hidden;
    margin: 6px 0;
    background: rgba(255, 255, 255, 0.02);
}
.distro-bar .segment {
    height: 100%;
    transition: width 0.8s ease;
}
.distro-bar .segment.gold {
    background: var(--gold);
}
.distro-bar .segment.gold-light {
    background: rgba(212, 168, 67, 0.3);
}
.distro-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
}

/* TREND */
.trend-up {
    color: #00cc66;
}
.trend-down {
    color: #ff6b6b;
}
.trend-neutral {
    color: var(--muted);
}

@media (min-width: 600px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* ------------------------------------------------
   WIDGET: TODAY'S INSIGHT
------------------------------------------------ */
.widget-insight {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px 24px;
    border: 1px solid var(--border);
    margin: 16px 0;
    transition: all var(--transition);
}
.widget-insight:hover {
    border-color: var(--border-gold);
}
.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}
.widget-badge {
    background: rgba(0, 200, 100, 0.06);
    color: #00cc66;
    padding: 2px 12px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 600;
}
.insight-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}
.insight-text {
    font-size: 18px;
    color: #fff;
    margin-top: 2px;
}
.insight-meta {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
    flex-wrap: wrap;
}
.insight-meta .up {
    color: #00cc66;
}
.insight-meta .down {
    color: #ff6b6b;
}

/* ------------------------------------------------
   WIDGET: WEEKLY TREND
------------------------------------------------ */
.widget-weekly {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px 24px;
    border: 1px solid var(--border);
    margin: 16px 0;
    transition: all var(--transition);
}
.widget-weekly:hover {
    border-color: var(--border-gold);
}
.weekly-chart {
    height: 90px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 4px 0;
}
.weekly-chart .bar-wrap {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}
.weekly-chart .bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--gold), rgba(212, 168, 67, 0.15));
    min-height: 6px;
    transition: height 0.8s ease;
}
.weekly-chart .bar-label {
    font-size: 9px;
    color: var(--muted);
    margin-top: 4px;
}
.weekly-summary {
    font-size: 14px;
    color: #c8c0b5;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* ------------------------------------------------
   WIDGET: AI SUMMARY
------------------------------------------------ */
.widget-ai {
    background: rgba(212, 168, 67, 0.03);
    border-radius: var(--radius);
    padding: 20px 24px;
    border: 1px solid var(--border-gold);
    margin: 16px 0;
    transition: all var(--transition);
}
.widget-ai:hover {
    background: rgba(212, 168, 67, 0.05);
}
.ai-text {
    font-size: 16px;
    color: #e0d5c1;
    line-height: 1.8;
    font-style: italic;
}
.ai-text::before {
    content: '"';
    color: var(--gold);
    font-size: 28px;
    line-height: 0;
    margin-right: 4px;
}
.ai-text::after {
    content: '"';
    color: var(--gold);
    font-size: 28px;
    line-height: 0;
    margin-left: 4px;
}

/* ------------------------------------------------
   WIDGET: TOPIC CLUSTER
------------------------------------------------ */
.widget-topics {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px 24px;
    border: 1px solid var(--border);
    margin: 16px 0;
}
.topic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
}
.topic-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    cursor: pointer;
}
.topic-item:hover {
    border-color: var(--border-gold);
    transform: translateX(4px);
}
.topic-item a {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}
.topic-item .desc {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}
@media (min-width: 600px) {
    .topic-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ------------------------------------------------
   SECTION: TREND & INSIGHT
------------------------------------------------ */
.section-trend {
    padding: 30px 0 40px 0;
    background: #0a0a0a;
    border-bottom: 1px solid var(--border);
}
.section-trend h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.section-trend h2 span {
    color: var(--gold);
}

.trend-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
}
.trend-card {
    background: var(--card);
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.trend-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-2px);
}
.trend-card .num {
    font-size: 30px;
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1.1;
}
.trend-card .desc {
    font-size: 14px;
    color: #c8c0b5;
    margin-top: 2px;
}
.trend-card .meta {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.quote-block {
    background: rgba(212, 168, 67, 0.03);
    border-left: 4px solid var(--gold);
    padding: 14px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 15px;
    color: #c8c0b5;
    font-style: italic;
    margin-top: 16px;
}
.quote-block .source {
    font-size: 13px;
    color: var(--muted);
    font-style: normal;
    margin-top: 4px;
}

@media (min-width: 600px) {
    .trend-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ------------------------------------------------
   SECTION: TABLE
------------------------------------------------ */
.section-table {
    padding: 30px 0 40px 0;
    background: var(--dark-card);
    border-bottom: 1px solid var(--border);
}
.section-table h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.section-table h2 span {
    color: var(--gold);
}

.table-wrap {
    overflow-x: auto;
    margin: 12px 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.2);
}
table th {
    background: rgba(212, 168, 67, 0.04);
    color: var(--gold);
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}
table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    color: #c8c0b5;
}
table tr:last-child td {
    border-bottom: none;
}
table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

.status-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 40px;
    display: inline-block;
}
.status-badge.closed {
    background: rgba(0, 200, 100, 0.06);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.06);
}
.status-badge.update {
    background: rgba(255, 180, 0, 0.06);
    color: #ffcc00;
    border: 1px solid rgba(255, 204, 0, 0.06);
    animation: pulse 1.2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.last-updated {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}
.last-updated i {
    color: var(--gold);
}

/* ------------------------------------------------
   SECTION: RECOMMENDATION
------------------------------------------------ */
.section-recommend {
    padding: 30px 0 40px 0;
    background: #0a0a0a;
    border-bottom: 1px solid var(--border);
}
.section-recommend h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.section-recommend h2 span {
    color: var(--gold);
}

.rec-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
}
.rec-item {
    background: var(--card);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 14px;
}
.rec-item:hover {
    border-color: var(--border-gold);
    transform: translateX(4px);
}
.rec-item .icon {
    font-size: 24px;
    flex-shrink: 0;
}
.rec-item .info h4 {
    font-size: 15px;
    color: #fff;
}
.rec-item .info p {
    font-size: 13px;
    color: var(--muted);
}
.rec-item .info a {
    font-weight: 600;
    font-size: 13px;
}
@media (min-width: 600px) {
    .rec-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ------------------------------------------------
   SECTION: AUTHOR / EEAT
------------------------------------------------ */
.section-author {
    padding: 30px 0 40px 0;
    background: var(--dark-card);
    border-bottom: 1px solid var(--border);
}
.author-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--card);
    padding: 24px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.author-box .top {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.author-box .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #b8922f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    color: #0a0a0a;
    flex-shrink: 0;
}
.author-box .info h4 {
    font-size: 18px;
    color: #fff;
}
.author-box .info .role {
    font-size: 13px;
    color: var(--gold);
}
.author-box .info .meta {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}
.author-box .bio {
    font-size: 14px;
    color: #c8c0b5;
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}
.author-box .badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--muted);
}
.author-box .badges span i {
    color: var(--gold);
    margin-right: 4px;
}

/* ------------------------------------------------
   SECTION: FAQ
------------------------------------------------ */
.section-faq {
    padding: 30px 0 40px 0;
    background: #0a0a0a;
    border-bottom: 1px solid var(--border);
}
.section-faq h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.section-faq h2 span {
    color: var(--gold);
}

.faq-list {
    max-width: 820px;
    margin: 12px auto 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-item {
    background: var(--card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
}
.faq-item.active {
    border-color: var(--border-gold);
}
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    gap: 12px;
    font-family: inherit;
    transition: color var(--transition);
}
.faq-question:hover {
    color: var(--gold);
}
.faq-icon {
    font-size: 16px;
    color: var(--gold);
    transition: transform var(--transition);
    flex-shrink: 0;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 18px;
    color: #b0a8a0;
    font-size: 14px;
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 18px 18px 18px;
}

/* ------------------------------------------------
   SECTION: REVIEWS
------------------------------------------------ */
.section-reviews {
    padding: 30px 0 40px 0;
    background: var(--dark-card);
    border-bottom: 1px solid var(--border);
}
.section-reviews h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.section-reviews h2 span {
    color: var(--gold);
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 12px;
}
.review-card {
    background: var(--card);
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.review-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-2px);
}
.review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 12px;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    margin-bottom: 10px;
}
.review-meta .name {
    font-weight: 700;
    color: var(--text);
}
.review-meta .stars {
    color: var(--gold);
    letter-spacing: 1px;
}
.review-text {
    color: #c8c0b5;
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
}
.review-text .highlight {
    color: var(--gold);
    font-style: normal;
}
@media (min-width: 600px) {
    .review-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ------------------------------------------------
   SECTION: CTA
------------------------------------------------ */
.section-cta {
    padding: 40px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, var(--dark-card) 100%);
}
.cta-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.cta-box h2 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}
.cta-box h2 span {
    color: var(--gold);
}
.cta-box p {
    color: var(--muted);
    font-size: 15px;
    margin: 10px 0 20px;
    line-height: 1.7;
}

/* ------------------------------------------------
   FOOTER
------------------------------------------------ */
.footer {
    padding: 32px 24px 16px;
    background: #080808;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.footer-brand p {
    color: var(--muted);
    font-size: 12px;
    max-width: 280px;
    margin-top: 4px;
    line-height: 1.7;
}
.footer-col h4 {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 3px;
}
.footer-col ul li a {
    color: var(--muted);
    font-size: 12px;
    transition: color var(--transition);
}
.footer-col ul li a:hover {
    color: var(--gold);
}
.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}
.footer-bottom p {
    color: #5a5250;
    font-size: 11px;
}
.footer-bottom .legal a {
    color: #5a5250;
    font-size: 11px;
    margin-left: 14px;
    transition: color var(--transition);
}
.footer-bottom .legal a:hover {
    color: var(--gold);
}
@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ------------------------------------------------
   RESPONSIVE UTILITIES
------------------------------------------------ */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 22px;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .nav-menu {
        gap: 8px;
    }
    .nav-menu a {
        font-size: 10px;
    }
    .heatmap-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .author-box .top {
        flex-direction: column;
        text-align: center;
    }
    .widget-header {
        flex-wrap: wrap;
        gap: 4px;
    }
    .insight-number {
        font-size: 36px;
    }
    .insight-text {
        font-size: 15px;
    }
    .topic-grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------
   ANIMATIONS
------------------------------------------------ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ------------------------------------------------
   PRINT STYLES
------------------------------------------------ */
@media print {
    #progressBar,
    #backToTop,
    .navbar,
    .section-cta,
    .footer {
        display: none !important;
    }
    body {
        background: #fff;
        color: #222;
    }
    .container {
        max-width: 100%;
    }
    .dash-card,
    .trend-card,
    .review-card,
    .faq-item {
        border: 1px solid #ddd;
        background: #f9f9f9;
    }
}