/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #667eea;
}

header h1 {
    font-size: 3em;
    color: #667eea;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.3em;
    color: #666;
}

/* Info Section */
.info-section {
    margin-bottom: 30px;
}

.info-section h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 2em;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tool-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.tool-card h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
}

.tool-card p {
    font-size: 0.95em;
    opacity: 0.9;
}

/* Credentials Box */
.credentials-box {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.credentials-box h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.credentials-box p {
    margin: 8px 0;
    font-size: 1.1em;
}

.credentials-box strong {
    color: #333;
}

.warning {
    color: #e74c3c;
    font-weight: bold;
    margin-top: 15px !important;
}

/* Helper Scripts */
.helper-scripts {
    background: #f8f9fa;
    border-left: 4px solid #764ba2;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.helper-scripts h3 {
    color: #764ba2;
    margin-bottom: 15px;
}

.helper-scripts ul {
    list-style: none;
    padding-left: 0;
}

.helper-scripts li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.helper-scripts li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #764ba2;
    font-weight: bold;
}

code {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
}

/* Tutorial Overlay */
.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tutorial-overlay.hidden {
    display: none;
}

.tutorial-content {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

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

/* Tutorial Header */
.tutorial-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tutorial-header h2 {
    font-size: 1.8em;
    margin: 0;
}

/* Tutorial Body */
.tutorial-body {
    padding: 30px;
}

.tutorial-step {
    display: none;
    animation: fadeInStep 0.4s ease;
}

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

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

.step-indicator {
    background: #667eea;
    color: white;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 15px;
}

.tutorial-step h3 {
    color: #667eea;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.tutorial-step p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555;
}

.tutorial-step ul, .tutorial-step ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

.tutorial-step li {
    margin: 10px 0;
    font-size: 1.05em;
    color: #555;
}

.tutorial-step li strong {
    color: #333;
}

/* Prompts Box */
.prompts-box {
    background: #f0f7ff;
    border: 2px solid #667eea;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.prompts-box h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.prompts-box ul {
    list-style: none;
    padding-left: 0;
}

.prompts-box li {
    margin: 15px 0;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.prompts-box a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.prompts-box a:hover {
    text-decoration: underline;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #c3e6cb;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

/* Tutorial Footer */
.tutorial-footer {
    padding: 20px 30px;
    border-top: 2px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Buttons */
.btn-skip {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-skip:hover {
    background: white;
    color: #667eea;
}

.btn-nav {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-nav:hover:not(:disabled) {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-nav:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Tutorial Dots */
.tutorial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #667eea;
    transform: scale(1.3);
}

.dot:hover {
    background: #764ba2;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Setup Section */
.setup-section {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.setup-section h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.setup-section p {
    margin: 15px 0;
    font-size: 1.05em;
}

.code-block {
    background: #2c3e50;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    overflow-x: auto;
}

.code-block code {
    display: block;
    padding: 0;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.feature-list li {
    margin: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05em;
}

.feature-list li:before {
    content: attr(data-icon);
    position: absolute;
    left: 0;
}

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

    header h1 {
        font-size: 2em;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tutorial-content {
        width: 95%;
        max-height: 90vh;
    }

    .tutorial-header {
        flex-direction: column;
        gap: 15px;
    }

    .tutorial-footer {
        flex-direction: column;
        gap: 15px;
    }

    .tutorial-dots {
        order: -1;
    }
}
