/* ========================================
   TUTORIAL SWAP STYLES
   ======================================== */

:root {
    --color-jumper: #8b5cf6;
    --color-jupiter: #00d4aa;
}

.tuto-hero {
    padding: 120px 0 80px;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent 50%),
        radial-gradient(circle at bottom left, rgba(0, 212, 170, 0.1), transparent 50%);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.tuto-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

.tuto-hero p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.tuto-section {
    padding: 120px 0;
}

.tuto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    margin-bottom: 100px;
}

.tuto-grid.reverse-layout {
    grid-template-columns: 1fr 1fr !important;
}

@media (min-width: 993px) {
    .tuto-grid {
        grid-template-columns: 1fr 420px !important;
        gap: 4rem;
        display: grid;
        align-items: stretch;
    }

    .tuto-grid.reverse-layout {
        grid-template-columns: 420px 1fr !important;
    }

    .tuto-grid.reverse-layout .tuto-img {
        justify-content: flex-start !important;
    }
}

.tuto-grid.reverse {
    display: none;
    /* Deprecated */
}

.tuto-img {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
    position: relative;
    gap: 1.5rem;
}

.tuto-img img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.tuto-img .btn {
    width: 420px !important;
    max-width: 100%;
}

.step-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.step-icon-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
    color: #1e1b4b;
    /* Dark purple/black for contrast */
    font-family: 'Outfit', sans-serif;
}

.step-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.step-item p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-uniswap {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-jumper {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-jupiter {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-security {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.gas-warning {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.gas-warning-icon {
    font-size: 1.5rem;
}

.gas-warning p {
    margin: 0;
    font-size: 0.9rem;
    color: #a78bfa;
}

@media (max-width: 992px) {
    .tuto-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tuto-grid.reverse {
        direction: ltr;
    }
}

/* New Utility Classes for Lint Fixes */
.nav-logo-container {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.cta-section-tuto {
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.cta-description {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.footer-content-centered {
    justify-content: center;
    text-align: center;
}

.footer-logo-centered {
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-desc-centered {
    max-width: 500px;
    margin: 0 auto;
}

.footer-bottom-centered {
    margin-top: 3rem;
    text-align: center;
}

.placeholder-visual {
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.placeholder-visual:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.placeholder-visual p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    font-style: italic;
}

.tuto-img:hover img {
    transform: scale(1.02);
}

.lead-text {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}