/* ========================================
   SWAP PREMIUM PAGE STYLES
   ======================================== */

.swap-hero {
    position: relative;
    padding: 120px 0 60px;
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 50%),
        radial-gradient(circle at bottom left, rgba(0, 212, 170, 0.05), transparent 50%);
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.swap-hero .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 12px;
    color: #ffffff;
    line-height: 1.2;
}

.swap-hero .hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-secondary);
}

.swap-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('crypto_swap_concept_premium_1769599069283.png') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    filter: blur(2px);
    z-index: -1;
}

.swap-concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin: 3rem auto 6rem auto;
    max-width: 1100px;
}

.swap-concept-grid .content {
    text-align: left;
}

.swap-visual-container {
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swap-visual-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.swap-visual-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Study Cards Improvements */
.study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 6rem;
}

.study-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 0;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.study-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-visual {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #0f0c1a;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.03), transparent);
}

.step-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.study-card:hover .step-img {
    transform: scale(1.05);
}

.step-content {
    padding: 2rem;
    padding-top: 1rem;
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 180px;
    right: 1.5rem;
    line-height: 1;
    z-index: 2;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.step-icon-container {
    width: 60px;
    height: 60px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.step-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.study-card h4 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.study-card p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.section-title-premium {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.swap-diagram-premium {
    background: rgba(15, 12, 26, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 32px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.token-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 160px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.token-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.token-badge.usdt {
    border-color: rgba(38, 161, 123, 0.4);
    background: rgba(38, 161, 123, 0.1);
}

.token-badge.usdt .token-icon {
    background: #26a17b;
}

.token-badge.usdc {
    border-color: rgba(39, 117, 202, 0.4);
    background: rgba(39, 117, 202, 0.1);
}

.token-badge.usdc .token-icon {
    background: #2775ca;
}

.token-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
}

.swap-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
}

.swap-arrow-premium {
    font-size: 2rem;
    color: #fff;
    opacity: 0.8;
    animation: flow-animation 2s infinite linear;
}

@keyframes flow-animation {
    0% {
        transform: translateX(-10px);
        opacity: 0.3;
    }

    50% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(10px);
        opacity: 0.3;
    }
}

.swap-stats-mini {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    text-align: left;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.stat-value {
    font-weight: 700;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

@keyframes glow-pulse {

    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(124, 58, 237, 0.5));
        opacity: 0.8;
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.8));
        opacity: 1;
    }
}

.platforms-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 6rem;
}

.platform-link-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.platform-link-card:hover {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(124, 58, 237, 0.2);
}

.platform-logo-premium {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-link-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: #fff;
}

.platform-link-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

@media (max-width: 1024px) {

    .swap-concept-grid,
    .platforms-grid-premium {
        grid-template-columns: 1fr;
    }

    .swap-visual-container {
        margin: 20px auto;
    }
}

/* Utilities & Fixes */
.nav-logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
}

.margin-bottom-0 {
    margin-bottom: 0 !important;
}

.intro-lead-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.no-margin-shadow {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.section-title-centered {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
}

.section-separator {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 1.5rem auto;
}