/* tutorial.css - Additional Styles for Tutorial Page */
.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}
/* Platform Selection for Shop */
.shop-selection {
    padding: 30px 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid rgba(255, 70, 85, 0.1);
}

.selection-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid rgba(255, 70, 85, 0.3);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.tab-btn:hover {
    background-color: rgba(255, 70, 85, 0.1);
    border-color: var(--primary-color);
}

.tab-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tab-btn i {
    font-size: 18px;
}

/* Tutorial Content */
.tutorial-content {
    padding: 60px 0;
    background-color: var(--bg-dark);
}

.platform-tutorial {
    display: none;
}

.platform-tutorial.active {
    display: block;
}

/* Tutorial Header */
.tutorial-header {
    margin-bottom: 50px;
    text-align: center;
}

.tutorial-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tutorial-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px;
}

.tutorial-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 70, 85, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary-color);
}

/* Video Tutorial */
.tutorial-video {
    margin-bottom: 60px;
}

.video-container {
    background-color: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 70, 85, 0.2);
}

.video-placeholder {
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(rgba(10, 14, 20, 0.9), rgba(10, 14, 20, 0.9)), url('../images/video-bg.jpg');
    background-size: cover;
    background-position: center;
}

.video-placeholder i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.video-placeholder h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
}

.video-placeholder p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.play-video-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.play-video-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Tutorial Steps */
.tutorial-steps {
    margin-bottom: 60px;
}

.steps-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.steps-title i {
    color: var(--primary-color);
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 35px;
    top: 70px;
    bottom: -50px;
    width: 2px;
    background-color: rgba(255, 70, 85, 0.3);
    z-index: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.step-content {
    flex: 1;
    background-color: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 70, 85, 0.1);
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.step-content ul {
    list-style: none;
    margin-bottom: 25px;
}

.step-content li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.step-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.step-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.step-content a:hover {
    text-decoration: underline;
}

.step-image {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.step:hover .step-image img {
    transform: scale(1.02);
}

/* Tutorial Notes */
.tutorial-notes {
    margin-bottom: 60px;
}

.tutorial-notes h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tutorial-notes h3 i {
    color: var(--warning-color);
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.note-card {
    background-color: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid;
    transition: transform 0.3s;
}

.note-card:hover {
    transform: translateY(-5px);
}

.note-card.warning {
    border-left-color: var(--warning-color);
}

.note-card.info {
    border-left-color: #1a8cff;
}

.note-card.tip {
    border-left-color: var(--success-color);
}

.note-card.danger {
    border-left-color: var(--danger-color);
}

.note-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.note-card.warning .note-icon {
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
}

.note-card.info .note-icon {
    background-color: rgba(26, 140, 255, 0.2);
    color: #1a8cff;
}

.note-card.tip .note-icon {
    background-color: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
}

.note-card.danger .note-icon {
    background-color: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
}

.note-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.note-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.note-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.note-card a:hover {
    text-decoration: underline;
}

/* Tutorial FAQ */
.tutorial-faq {
    margin-bottom: 60px;
}

.tutorial-faq h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tutorial-faq h3 i {
    color: var(--primary-color);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: var(--bg-card);
    border: none;
    padding: 20px 25px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(255, 70, 85, 0.1);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.02);
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tutorial Coming Soon */
.tutorial-coming {
    background-color: var(--bg-card);
    border-radius: 15px;
    padding: 80px 40px;
    text-align: center;
    border: 2px dashed rgba(255, 70, 85, 0.3);
    margin: 50px 0;
}

.tutorial-coming i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: block;
}

.tutorial-coming h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
}

.tutorial-coming p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* Download CTA */
.download-cta {
    padding: 80px 0;
    background-color: var(--bg-darker);
}

.download-cta-content {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.1), rgba(15, 25, 35, 0.8));
    border-radius: 20px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    border: 2px solid rgba(255, 70, 85, 0.2);
}

.download-cta-text {
    flex: 1;
    min-width: 300px;
}

.download-cta-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.download-cta-text p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.download-checklist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
}

.checklist-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.download-cta-action {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal .modal-content {
    background-color: var(--bg-card);
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    border: 2px solid var(--primary-color);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.video-modal.active .modal-content {
    transform: translateY(0);
}

.video-modal .modal-header {
    background-color: var(--secondary-color);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
}

.video-modal .modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-modal .modal-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.video-modal .modal-close:hover {
    color: var(--primary-color);
}

.video-modal .modal-body {
    padding: 30px;
}

.video-player {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .step {
        flex-direction: column;
        gap: 20px;
    }
    
    .step:not(:last-child)::after {
        left: 35px;
        top: 70px;
        bottom: -30px;
        height: calc(100% + 30px);
        width: 2px;
    }
    
    .step-number {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .tutorial-title {
        font-size: 2rem;
    }
    
    .tutorial-meta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .meta-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .video-placeholder {
        padding: 60px 20px;
    }
    
    .video-placeholder h3 {
        font-size: 1.5rem;
    }
    
    .step-content {
        padding: 25px;
    }
    
    .download-cta-content {
        padding: 40px 30px;
        flex-direction: column;
        text-align: center;
    }
    
    .download-cta-action {
        width: 100%;
        max-width: 300px;
    }
    
    .download-cta-action .btn-large {
        width: 100%;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .tutorial-title {
        font-size: 1.8rem;
    }
    
    .steps-title {
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 15px 20px;
    }
    
    .video-modal .modal-content {
        width: 95%;
    }
    
    .video-modal .modal-body {
        padding: 20px;
    }
}