/* Gold Analysis - Professional Dark Theme */

:root {
    --gold-primary: #FFD700;
    --gold-light: #FFED4A;
    --gold-dark: #B8860B;
    --gold-muted: #D4AF37;
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --border-color: #2a2a35;
    --success: #10B981;
    --danger: #EF4444;
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #B8860B 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.gold-icon {
    color: var(--gold-primary);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold-dark);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-card {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-visual {
    flex: 0 0 auto;
}

.price-ticker {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 3rem;
    text-align: center;
}

.ticker-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.ticker-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.ticker-change {
    font-size: 1rem;
    font-weight: 600;
}

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

/* Sections */
.section {
    padding: 6rem 0;
}

.section.dark {
    background: var(--bg-card);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Executive Summary */
.summary-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.summary-main .lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.summary-main p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.summary-highlights {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.summary-highlights h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--gold-primary);
}

.highlight-list {
    list-style: none;
}

.highlight-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.highlight-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.highlight-icon {
    font-size: 1.5rem;
}

.highlight-list strong {
    display: block;
    margin-bottom: 0.25rem;
}

.highlight-list p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Charts */
.chart-container {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 4rem;
}

/* Milestones Timeline */
.milestones h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold-primary), var(--gold-dark));
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background: var(--gold-primary);
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

.timeline-item.highlight::before {
    width: 16px;
    height: 16px;
    left: -0.625rem;
    box-shadow: 0 0 20px var(--gold-primary);
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Performance Stats */
.performance-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.perf-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.perf-card h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.perf-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--success);
    margin-bottom: 0.5rem;
}

.perf-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Drivers Grid */
.drivers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.driver-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.driver-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.driver-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 165, 0, 0.02) 100%);
    border-color: var(--gold-dark);
}

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

.driver-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gold-primary);
}

.driver-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.driver-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.driver-stat {
    flex: 1;
    background: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.driver-stat .value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.driver-stat .label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.country-buyers h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.buyer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-dark);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.buyer .flag {
    font-size: 1.5rem;
}

.buyer-info strong {
    display: block;
    margin-bottom: 0.25rem;
}

.buyer-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.driver-list {
    list-style: none;
}

.driver-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.driver-list li:last-child {
    border-bottom: none;
}

.driver-list strong {
    color: var(--text-primary);
}

.quote {
    padding: 1.5rem;
    background: var(--bg-dark);
    border-left: 3px solid var(--gold-primary);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 1.5rem;
}

.quote-source {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.etf-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.etf-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-dark);
    border-radius: 12px;
}

.etf-stat .value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.etf-stat .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.etf-stat .note {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Current Trends */
.trends-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.trend-main h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.trend-main > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.trend-factors {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trend-factor {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-dark);
    border-radius: 12px;
}

.factor-number {
    flex: 0 0 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-dark);
}

.factor-content h4 {
    margin-bottom: 0.5rem;
}

.factor-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.trend-sidebar {
    position: sticky;
    top: 100px;
}

.live-factors {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.live-factors h3 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--gold-primary);
}

.factor-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.factor-item .indicator {
    font-size: 1.25rem;
}

.factor-item.bullish .indicator {
    color: var(--success);
}

.factor-item.bearish .indicator {
    color: var(--danger);
}

.factor-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.factor-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Demand Breakdown */
.demand-breakdown {
    margin-top: 4rem;
}

.demand-breakdown h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.chart-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.pie-chart-container {
    max-width: 400px;
    margin: 0 auto;
}

.demand-details p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.demand-details ul {
    list-style: none;
}

.demand-details li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.demand-details strong {
    color: var(--text-primary);
}

/* Outlook */
.analyst-views h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.analyst-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.analyst-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.analyst-logo {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.analyst-target {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: 0.25rem;
}

.analyst-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.analyst-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Scenarios */
.scenarios h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.scenario-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.scenario {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.scenario h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.scenario-price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.scenario.bullish .scenario-price {
    color: var(--success);
}

.scenario.base .scenario-price {
    color: var(--gold-primary);
}

.scenario.bearish .scenario-price {
    color: var(--danger);
}

.scenario ul {
    list-style: none;
}

.scenario li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.scenario li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* Key Levels */
.key-levels h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.levels-chart {
    max-width: 600px;
    margin: 0 auto;
}

.level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.level.resistance {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid var(--danger);
}

.level.support {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success);
}

.level.current {
    background: rgba(255, 215, 0, 0.15);
    border-left: 3px solid var(--gold-primary);
}

.level-price {
    font-size: 1.25rem;
    font-weight: 700;
}

.level.resistance .level-price {
    color: var(--danger);
}

.level.support .level-price {
    color: var(--success);
}

.level.current .level-price {
    color: var(--gold-primary);
}

.level-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Conclusion */
.conclusion {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
}

.conclusion-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.conclusion h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.conclusion .lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.conclusion p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.conclusion-quote {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
}

/* Sources */
.sources {
    background: var(--bg-card);
}

.sources h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.source-category h4 {
    font-size: 0.9rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.source-category ul {
    list-style: none;
}

.source-category li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-date {
    color: var(--gold-primary) !important;
}

.disclaimer {
    font-size: 0.8rem !important;
    margin-top: 1rem !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

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

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

    .driver-card.featured {
        grid-column: span 1;
    }

    .trends-content {
        grid-template-columns: 1fr;
    }

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

    .scenario-cards {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .performance-stats {
        grid-template-columns: 1fr;
    }

    .etf-stats {
        grid-template-columns: 1fr;
    }

    .chart-row {
        grid-template-columns: 1fr;
    }

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

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