/* --- Tutorial Page Styles --- */


.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #e0e7ff;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.hero-title span {
    color: var(--primary);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.hero-mockup {
    width: 100%;
    max-width: 320px;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
    border: 8px solid white;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* SIDE BY SIDE SECTION */
.sbs-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.sbs-reverse {
    direction: rtl;
}

.sbs-reverse>* {
    direction: ltr;
}

.sbs-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.sbs-content p {
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.check-list li i {
    color: var(--primary);
    margin-top: 0.25rem;
}

/* TIMELINE */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
}

.timeline-item {
    padding: 2rem 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -14px;
    background-color: white;
    border: 4px solid var(--primary);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -14px;
}

.timeline-content {
    padding: 2rem;
    background: white;
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    background: var(--accent);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.timeline-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* TUTORIAL TABS */
.tutorial-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.4rem;
    border-radius: 50px;
    width: fit-content;
    margin: 2rem auto 0;
    border: 1px solid #e2e8f0;
}

.tab-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.tutorial-step-container {
    display: none;
}

.tutorial-step-container.active {
    display: block;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0px;
    }

    .timeline-item.right {
        left: 0%;
    }

    .timeline-item::after {
        left: 15px;
        top: 40px;
    }

    .timeline-item.right::after {
        left: 15px;
    }

    .timeline-content {
        margin-top: 1rem;
    }

    .hero-inner,
    .sbs-section {
        grid-template-columns: 1fr;
    }

    .sbs-reverse {
        direction: ltr;
    }

    .hero {
        text-align: center;
        padding: 4rem 0;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }
}
