/* ============================================
   MINY Gospel Music Market Intelligence
   Shared Stylesheet
   ============================================ */

/* ============================================
   Floating Sidebar Navigation
   ============================================ */
.floating-nav {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.floating-nav-toggle {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--primary);
    border: none;
    border-radius: 0 8px 8px 0;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
}

.floating-nav-toggle:hover {
    background: var(--primary-light);
}

.floating-nav-panel {
    background: #0a0a0c;
    border: 1px solid var(--border);
    border-left: none;
    border-radius: 0 12px 12px 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    width: 220px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.floating-nav.open .floating-nav-panel {
    transform: translateX(0);
}

.floating-nav-section {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.floating-nav-section:last-child {
    border-bottom: none;
}

.floating-nav-title {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    padding: 0 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.floating-nav-links {
    display: flex;
    flex-direction: column;
}

.floating-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.floating-nav-link:hover {
    background: var(--bg-light);
    color: var(--primary);
    border-left-color: var(--primary);
}

.floating-nav-link.active {
    background: var(--bg-light);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.floating-nav-link .nav-icon {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.floating-nav-link.current-page {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--primary);
}

/* Section anchor links (indented) */
.floating-nav-link.section-link {
    padding-left: 1.5rem;
    font-size: 0.75rem;
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent);
    z-index: 1001;
    transition: width 0.1s;
}

/* Navigation Visibility Rules */
@media (max-width: 768px) {
    .floating-nav {
        top: auto;
        bottom: 20px;
        left: 20px;
        transform: none;
    }

    .floating-nav-toggle {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .floating-nav-panel {
        position: absolute;
        bottom: 60px;
        left: 0;
        border-radius: 12px;
        border: 1px solid var(--border);
        transform: translateY(20px);
        opacity: 0;
        pointer-events: none;
        max-height: 60vh;
    }

    .floating-nav.open .floating-nav-panel {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    /* Hide top menu on mobile, show floating icon instead */
    .nav-menu {
        display: none !important;
    }
}

@media (min-width: 769px) {

    /* Hide floating nav on desktop, show top menu instead */
    .floating-nav,
    .floating-nav-toggle {
        display: none !important;
    }

    .scroll-progress {
        display: block;
    }
}

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

:root {
    /* Colors - Matching Main Website */
    --primary: #eab308;
    /* Amber-400 */
    --primary-light: #fbbf24;
    --emerald: #00FF9D;
    /* Emerald-400 */
    --accent: #eab308;
    --text-dark: #ffffff;
    --text-medium: #a1a1aa;
    --text-light: #71717a;
    --border: rgba(255, 255, 255, 0.1);
    --bg-white: #0a0a0a;
    --bg-light: #151518;

    /* Indicator Colors */
    --indicator-extreme: #00FF9D;
    /* Emerald */
    --indicator-high: #eab308;
    /* Amber */
    --indicator-medium: #f59e0b;
    --indicator-low: #ef4444;

    /* Shadows */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem !important;
    font-weight: 950 !important;
    letter-spacing: -0.05em !important;
    color: var(--primary) !important;
    line-height: 1;
}

.tagline {
    color: #71717a !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-weight: 800 !important;
    margin-top: 4px;
}

@media (max-width: 640px) {
    .tagline {
        display: none;
    }
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    color: #fff;
}

.nav-menu a.active {
    color: var(--primary);
}

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

/* ============================================
   Typography
   ============================================ */
h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-medium);
    max-width: 700px;
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-description {
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ============================================
   Cards & Grids
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.stat-card:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-label {
    color: var(--text-medium);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

/* Trend Grid */
.trend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.trend-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.trend-card:hover {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.03);
    transform: translateY(-4px);
}

.trend-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.trend-visual {
    height: 32px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.trend-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-out;
    width: 0;
    background: var(--primary);
    /* Default color */
}

/* Color classes for trend bars */
.trend-bar.extreme,
.bar-fill.extreme {
    background: var(--indicator-extreme);
}

.trend-bar.high,
.bar-fill.high {
    background: var(--indicator-high);
}

.trend-bar.medium,
.bar-fill.medium {
    background: var(--indicator-medium);
}

.trend-bar.low,
.bar-fill.low {
    background: var(--indicator-low);
}

.trend-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-medium);
    gap: 0.5rem;
}

/* Navigation Cards */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.nav-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.nav-card:hover {
    border-color: var(--primary);
    background: rgba(234, 179, 8, 0.05);
    transform: translateY(-4px);
}

.nav-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.nav-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.nav-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
}

/* ============================================
   Charts & Visualizations
   ============================================ */
.chart-card,
.chart-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.chart-container {
    width: 100%;
    min-height: 400px;
    position: relative;
}

/* Heat/Indicator Bars */
.heat-grid {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.heat-item {
    display: grid;
    grid-template-columns: 180px 1fr 80px;
    gap: 1rem;
    align-items: center;
}

.heat-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.heat-bar-bg {
    height: 32px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.heat-bar-fill {
    height: 100%;
    transition: width 1.5s ease-out;
    width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
}

.heat-bar-fill.extreme {
    background: var(--indicator-extreme);
}

.heat-bar-fill.high {
    background: var(--indicator-high);
}

.heat-bar-fill.medium {
    background: var(--indicator-medium);
}

.heat-bar-fill.low {
    background: var(--indicator-low);
}

.heat-value {
    text-align: right;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-medium);
}

/* Platform Cards */
.platform-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.platform-name {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.indicator-bar {
    display: block;
    width: 100%;
    height: 32px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
    margin: 1rem 0;
}

.indicator-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s ease-out;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.75rem;
    width: 0;
}

.indicator-fill.extreme {
    background: var(--indicator-extreme);
}

.indicator-fill.high {
    background: var(--indicator-high);
}

.indicator-fill.medium {
    background: var(--indicator-medium);
}

.indicator-fill.low {
    background: var(--indicator-low);
}

.indicator-value {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Artist Cards
   ============================================ */
.artist-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin: 1rem 0;
    transition: all 0.3s ease;
    align-items: center;
}

.artist-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.artist-rank {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    min-width: 50px;
}

.artist-info {
    flex: 1;
}

.artist-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.artist-category {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.visual-bars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.bar-group {
    flex: 1;
}

.bar-label {
    font-size: 0.75rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.bar {
    height: 8px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-out;
    width: 0;
}

/* ============================================
   Insight Boxes
   ============================================ */
.insight-box {
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid var(--primary);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--border);
    border-left-width: 4px;
}

.insight-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.insight-list {
    list-style: none;
    padding: 0;
}

.insight-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.insight-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: 900;
    color: var(--primary);
}

.highlight {
    background: rgba(234, 179, 8, 0.15);
    /* Subdued Amber-400 */
    color: var(--primary);
    /* Amber-400 */
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-weight: 700;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

/* ============================================
   Badges
   ============================================ */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
    margin: 0.25rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--text-dark);
}

.meta-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-timeline {
    background: #dbeafe;
    color: #1e40af;
}

.badge-priority {
    background: #fee2e2;
    color: #991b1b;
}

.badge-impact {
    background: #d1fae5;
    color: #065f46;
}

/* ============================================
   Recommendations & Strategy
   ============================================ */
.priority-section {
    background: rgba(251, 191, 36, 0.03);
    padding: 3rem;
    border-radius: 24px;
    margin: 4rem 0;
    border: 1px solid rgba(251, 191, 36, 0.2);
    position: relative;
    overflow: hidden;
}

.priority-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.priority-badge {
    display: inline-block;
    background: var(--indicator-medium);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.recommendation-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.recommendation-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.recommendation-card ul {
    list-style: none;
    padding: 0;
}

.recommendation-card li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
}

.recommendation-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--indicator-extreme);
    font-weight: 700;
}

.action-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid var(--border);
    border-left: 4px solid var(--indicator-high);
}

.action-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.action-description {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.action-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   Contact CTA
   ============================================ */
.contact-cta {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem;
    border-radius: 24px;
    text-align: center;
    margin: 6rem 0;
    position: relative;
}

.contact-cta::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 2rem 1.5rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-medium);
    font-size: 0.875rem;
}

/* Simple footer variant */
footer.simple {
    padding: 2rem 0;
    text-align: center;
}

footer.simple .footer-content {
    display: block;
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ============================================
   Tooltip
   ============================================ */
.tooltip {
    position: absolute;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--border);
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
    z-index: 1000;
    color: white;
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .nav-menu {
        width: 100%;
        gap: 0.5rem 1rem;
        justify-content: flex-start;
    }

    .nav-menu a {
        font-size: 0.8rem;
        padding: 0.25rem 0;
    }

    .hero {
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    .stats-grid,
    .trend-grid,
    .nav-grid,
    .recommendation-grid {
        grid-template-columns: 1fr;
    }

    .heat-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .heat-value {
        text-align: left;
    }

    .visual-bars {
        grid-template-columns: 1fr;
    }

    .artist-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .trend-meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    .chart-container {
        min-height: 300px;
    }

    .priority-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .contact-cta {
        padding: 2rem 1rem;
    }

    .contact-cta h2 {
        font-size: 1.75rem;
    }

    .action-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .meta-badge {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding: 1.5rem 0;
    }

    h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .trend-card,
    .nav-card {
        padding: 1.25rem;
    }

    .insight-box {
        padding: 1.25rem;
    }

    .contact-details {
        flex-direction: column;
    }

    .contact-item {
        padding: 0.75rem 1rem;
    }

    .recommendation-card {
        padding: 1.25rem;
    }

    .footer-content {
        text-align: center;
    }
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-section {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem auto;
    max-width: 900px;
    border: 1px solid var(--border);
}

.newsletter-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input:focus {
    border-color: var(--primary);
}

.newsletter-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-button:hover {
    background: var(--primary-light);
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* ============================================
   Password Protection
   ============================================ */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.password-card {
    background: #0a0a0c;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.password-card h2 {
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.password-card p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.password-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1.25rem;
    text-align: center;
    letter-spacing: 0.2rem;
    margin-bottom: 1.5rem;
    outline: none;
    font-family: monospace;
}

.password-input:focus {
    border-color: var(--primary);
}

.password-error {
    color: var(--indicator-low);
    font-size: 0.875rem;
    margin-top: -1rem;
    margin-bottom: 1rem;
    display: none;
    font-weight: 600;
}

.password-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.password-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ============================================
   Global Refinements
   ============================================ */
::selection {
    background: var(--primary);
    color: #000;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #333;
}

/* ============================================
   Footer (Consistent with Main App)
   ============================================ */
footer {
    background: #000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 10;
}

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

@media (max-width: 768px) {
    .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
}

/* ============================================
   Footer (Premium Design)
   ============================================ */
.footer-standard {
    background: #000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6rem 0 3rem;
    position: relative;
    z-index: 10;
}

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

@media (max-width: 1024px) {
    .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
}

@media (max-width: 640px) {
    .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
}

.footer-logo {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.05em;
    margin: 0 0 1.5rem;
}

.footer-desc {
    color: #9ca3af;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 320px;
    margin: 0 0 2rem;
}

.footer-meta-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-meta-link {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #52525b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.2s;
}

.footer-meta-link:hover {
    color: var(--primary);
}

.footer-nav-col h4 {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-block;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.footer-nav-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact-list li {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
}

.footer-contact-item .label {
    color: #71717a;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 4px;
}

.footer-contact-item .value {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
}

.footer-contact-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-contact-link:hover {
    color: #fff;
}

.footer-copyright-row {
    max-width: 1280px;
    margin: 6rem auto 0;
    padding: 2.5rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 640px) {
    .footer-copyright-row {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

.footer-copyright-row p {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #52525b;
    margin: 0;
}

.footer-tagline {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    color: #27272a;
    font-style: italic;
    letter-spacing: -0.02em;
}