/* Tutorial Page Styles */
.ai-tutorial-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Fade In Animation */
.ai-fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Section */
.ai-tutorial-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.ai-tutorial-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-tutorial-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Video Section */
.ai-video-section {
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ai-video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.ai-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.ai-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.ai-video-info {
    text-align: center;
}

.ai-video-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.ai-video-info p {
    color: #666;
    font-size: 1.1rem;
}

/* Section Headers */
.ai-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ai-section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.ai-section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.ai-features-overview {
    margin-bottom: 4rem;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.ai-feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.ai-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.ai-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.ai-feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.ai-feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Instructions Section */
.ai-instructions-section {
    margin-bottom: 4rem;
}

.ai-instruction-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.ai-instruction-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #f0f0f0;
}

.ai-instruction-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.ai-instruction-title h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.ai-instruction-title p {
    color: #666;
    margin: 0;
}

.ai-instruction-content {
    padding: 2rem;
}

/* Steps */
.ai-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.ai-step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.ai-step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.ai-step-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Tips */
.ai-tip {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.ai-tip-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.ai-tip-content {
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.6;
}

.ai-tip-content strong {
    color: #5a4a00;
}

/* CTA Section */
.ai-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
}

.ai-cta-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ai-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.ai-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ai-primary-btn, .ai-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.ai-primary-btn {
    background: white;
    color: #667eea;
}

.ai-primary-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ai-secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ai-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ai-tutorial-container {
        padding: 1rem;
    }

    .ai-tutorial-header h1 {
        font-size: 2rem;
    }

    .ai-tutorial-header p {
        font-size: 1rem;
    }

    .ai-video-section {
        padding: 1.5rem;
    }

    .ai-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ai-instruction-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .ai-instruction-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .ai-instruction-content {
        padding: 1.5rem;
    }

    .ai-cta-section {
        padding: 2rem 1.5rem;
    }

    .ai-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .ai-primary-btn, .ai-secondary-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ai-tutorial-header h1 {
        font-size: 1.75rem;
    }

    .ai-section-header h2 {
        font-size: 1.5rem;
    }

    .ai-feature-card {
        padding: 1.5rem;
    }

    .ai-instruction-card {
        margin-bottom: 1.5rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .ai-tutorial-container {
        color: #e0e0e0;
    }

    .ai-tutorial-header h1 {
        color: #ffffff;
    }

    .ai-feature-card,
    .ai-instruction-card {
        background: #2d2d2d;
        border-color: #404040;
        color: #e0e0e0;
    }

    .ai-feature-card h3,
    .ai-instruction-title h3,
    .ai-step-content h4 {
        color: #ffffff;
    }

    .ai-feature-card p,
    .ai-instruction-title p,
    .ai-step-content p {
        color: #b0b0b0;
    }

    .ai-instruction-header {
        background: linear-gradient(135deg, #3a3a3a 0%, #2d2d2d 100%);
        border-color: #404040;
    }
} 