/* Financial Markets Page - Unique Design Style 3 */

/* Hero Section - Third Unique Style */
.markets-hero {
    position: relative;
    min-height: 85vh;
    background: #0f172a;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.markets-hero-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.markets-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.5), transparent);
    height: 1px;
    width: 100%;
    animation: grid-line-move 20s linear infinite;
}

.grid-line:nth-child(1) {
    top: 20%;
    animation-delay: 0s;
}

.grid-line:nth-child(2) {
    top: 40%;
    animation-delay: 5s;
}

.grid-line:nth-child(3) {
    top: 60%;
    animation-delay: 10s;
}

.grid-line:nth-child(4) {
    top: 80%;
    animation-delay: 15s;
}

@keyframes grid-line-move {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.markets-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.market-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(14, 165, 233, 0.6);
    border-radius: 50%;
    animation: particle-float 15s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.market-particle:nth-child(1) {
    left: 15%;
    animation-delay: 0s;
}

.market-particle:nth-child(2) {
    left: 35%;
    animation-delay: 3s;
    background: rgba(16, 185, 129, 0.6);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.market-particle:nth-child(3) {
    left: 55%;
    animation-delay: 6s;
}

.market-particle:nth-child(4) {
    left: 75%;
    animation-delay: 9s;
    background: rgba(6, 182, 212, 0.6);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.market-particle:nth-child(5) {
    left: 90%;
    animation-delay: 12s;
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) translateX(30px);
    }
}

.markets-hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.markets-hero-left {
    color: white;
}

.markets-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(14, 165, 233, 0.9);
}

.label-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
}

.markets-title {
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.markets-highlight {
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.markets-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.markets-stats-compact {
    display: flex;
    gap: 3rem;
}

.stat-compact {
    display: flex;
    flex-direction: column;
}

.stat-value-compact {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label-compact {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.markets-hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.markets-visual-box {
    position: relative;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.05);
    backdrop-filter: blur(10px);
}

.box-line {
    position: absolute;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(16, 185, 129, 0.3));
    animation: box-line-animate 3s ease-in-out infinite;
}

.line-1 {
    width: 2px;
    height: 100%;
    left: 33.33%;
    animation-delay: 0s;
}

.line-2 {
    width: 2px;
    height: 100%;
    right: 33.33%;
    animation-delay: 1s;
}

.line-3 {
    width: 100%;
    height: 2px;
    top: 50%;
    animation-delay: 2s;
}

@keyframes box-line-animate {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

.markets-center-content {
    text-align: center;
    z-index: 1;
}

.markets-icon-large {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.markets-text-small {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(14, 165, 233, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Podcasts List */
.markets-podcasts {
    padding: 6rem 0;
    background: white;
}

.markets-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.markets-section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.markets-section-header p {
    font-size: 1.25rem;
    color: var(--text-medium);
}

.markets-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.market-podcast-item {
    display: flex;
    gap: 2.5rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 20px;
    border-left: 5px solid var(--primary-color);
    transition: all 0.4s ease;
}

.market-podcast-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.15);
    background: white;
}

.podcast-item-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(14, 165, 233, 0.15);
    line-height: 1;
    flex-shrink: 0;
    min-width: 80px;
}

.podcast-item-content {
    flex: 1;
}

.podcast-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.podcast-item-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.podcast-item-badge {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.podcast-item-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.podcast-item-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.detail-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.detail-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 700;
}

.rating-high {
    color: var(--primary-color);
}

.podcast-item-topics {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.topic-chip {
    padding: 0.5rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Market Topics */
.market-topics-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

.market-topics-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.market-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.market-topic-item {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.market-topic-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(16, 185, 129, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.market-topic-item:hover::before {
    opacity: 1;
}

.market-topic-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.15);
}

.topic-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
    animation: indicator-pulse 2s ease-in-out infinite;
}

@keyframes indicator-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.market-topic-item h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.market-topic-item p {
    color: var(--text-medium);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Expert Insights */
.expert-insights {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.insights-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.insights-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.insights-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.insights-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.insight-feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.insight-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.insight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.insight-feature h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.insight-feature p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* CTA */
.cta-markets {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-markets-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: -1px;
}

.cta-markets-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.btn-markets {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: white;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.btn-markets:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .markets-hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .markets-visual-box {
        width: 300px;
        height: 300px;
    }

    .market-topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insights-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .market-podcast-item {
        flex-direction: column;
        padding: 2rem;
    }

    .podcast-item-number {
        font-size: 3rem;
        min-width: auto;
    }

    .market-topics-grid {
        grid-template-columns: 1fr;
    }

    .podcast-item-details {
        flex-direction: column;
        gap: 1rem;
    }
}


