/* Button Components */
.cta-button,
.primary-cta {
    background: var(--black);
    color: var(--gold);
    padding: 1rem 2rem;
    border: 2px solid var(--gold);
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.primary-cta {
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
}

.cta-button::before,
.primary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover,
.primary-cta:hover {
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-gold);
}

.cta-button:hover::before,
.primary-cta:hover::before {
    left: 0;
}

.secondary-cta {
    background: transparent;
    color: var(--text-secondary);
    padding: 1rem 2rem;
    border: 2px solid var(--text-secondary);
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.secondary-cta:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

/* Card Components */
.card {
    background: var(--surface);
    border: 2px solid var(--gold-dark);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(204, 153, 51, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    border-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.card-title {
    color: var(--gold-light);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Highlight Box Component */
.highlight-box {
    background: var(--surface);
    border: 2px solid var(--gold);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    box-shadow: 0 0 30px rgba(204, 153, 51, 0.2);
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
}

.highlight-box h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.highlight-box p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Badge Component */
.badge {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.secondary {
    background: var(--surface);
    color: var(--gold);
    border: 1px solid var(--gold);
}

/* Progress Bar Component */
.progress-bar {
    background: var(--surface);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    background: var(--accent-gradient);
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

/* Stats Component */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--surface);
    border: 1px solid var(--gold-dark);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 20px var(--shadow-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Alert Component */
.alert {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.alert.warning {
    background: rgba(255, 193, 7, 0.1);
    border-left-color: #ffc107;
    color: #ffc107;
}

.alert.success {
    background: rgba(40, 167, 69, 0.1);
    border-left-color: #28a745;
    color: #28a745;
}

.alert.info {
    background: rgba(204, 153, 51, 0.1);
    border-left-color: var(--gold);
    color: var(--gold);
}

/* List Components */
.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid var(--surface);
}

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

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
}

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

/* Timeline Component */
.timeline {
    position: relative;
    margin: 3rem 0;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 4rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid var(--black);
}

.timeline-year {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Quote Component */
.quote {
    background: var(--surface);
    border-left: 4px solid var(--gold);
    padding: 2rem;
    margin: 3rem 0;
    font-style: italic;
    position: relative;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--gold);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.quote-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-left: 2rem;
}

.quote-author {
    color: var(--gold);
    font-size: 0.9rem;
    text-align: right;
    margin-top: 1rem;
    font-style: normal;
}

/* Loading Component */
.loading {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--surface);
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Divider Component */
.divider {
    border: none;
    border-top: 2px solid var(--gold-dark);
    margin: 4rem 0;
    position: relative;
}

.divider::after {
    content: '◆';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: var(--gold);
    padding: 0 1rem;
    font-size: 1.5rem;
}

/* Tooltip Component */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gold-dark);
    z-index: 1000;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--gold-dark);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover::after,
.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .primary-cta,
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .quote-text {
        margin-left: 1rem;
    }
}