/* Precious Metals Section */
#precious-metals {
    background-color: #ffffff;
    /* Ensure white background */
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Section Description - Precious Metals Specific */
#precious-metals .section-desc {
    font-size: 1rem;
    line-height: 1.6;
}

#precious-metals .section-desc strong {
    font-size: 1.5rem;
    display: block;
    margin-top: 15px;
    line-height: 1.8;
}

#precious-metals .section-desc strong i {
    font-size: 1.3rem;
    margin-right: 5px;
}

.metals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.metal-card {
    background: #ffffff;
    border: 2px solid rgba(181, 156, 110, 0.2);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.metal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(181, 156, 110, 0.15);
    border-color: var(--primary-gold);
}

.metal-header {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.metal-header i {
    font-size: 1.5rem;
}

/* Specific Header Colors */
.gold-header {
    color: #D4AF37;
    border-bottom-color: rgba(212, 175, 55, 0.3);
}

.silver-header {
    color: #C0C0C0;
    border-bottom-color: rgba(192, 192, 192, 0.3);
}

.platinum-header {
    color: #E5E4E2;
    /* Darker grey for visibility on white */
    color: #5a5a5a;
    border-bottom-color: rgba(90, 90, 90, 0.3);
}

.palladium-header {
    color: #CED0DD;
    /* Darker shade */
    color: #7d7f8c;
    border-bottom-color: rgba(125, 127, 140, 0.3);
}

.rhodium-header {
    color: #E2E2E2;
    /* Darker shade */
    color: #555555;
    border-bottom-color: rgba(85, 85, 85, 0.3);
}

.metal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.metal-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.metal-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

/* Chart Styles */
.chart-container {
    background: transparent;
    padding: 0;
    margin-top: 50px;
}

.chart-wrapper {
    background: transparent;
}

/* Features Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Feature Box - Matched to Info Cards Desing */
.feature-box {
    text-align: center;
    padding: 40px;
    background: #ffffff;
    border: 2px solid rgba(181, 156, 110, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(181, 156, 110, 0.1);
    border-color: rgba(181, 156, 110, 0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #b59c6e, #8e7952);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 5px rgba(181, 156, 110, 0.2));
}

.feature-box h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-family: 'Hanken Grotesk', sans-serif;
}

.feature-box p {
    color: #4a4a4a;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .chart-container {
        padding: 10px;
    }

    .metal-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .feature-box {
        padding: 20px;
    }

    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .metal-header {
        font-size: 1.2rem;
    }
}

/* Chart Info Card Styles */
.chart-info-card {
    background: #ffffff;
    border: 2px solid rgba(181, 156, 110, 0.6);
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
    margin-top: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chart-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.chart-info-header h4 {
    margin: 0;
    color: #b59c6e;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-info-content {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.chart-info-item {
    margin-bottom: 12px;
}

.chart-info-item:last-child {
    margin-bottom: 0;
}

.chart-info-item h5 {
    font-size: 1rem;
    color: #b59c6e;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-info-item p {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.5;
    margin: 0;
}