:root {
    --bg: #121212;
    --surface: #1e1e1e;
    --surface-highlight: #2a2a2a;
    --border: #333333;
    --text-main: #f0f0f0;
    --text-muted: #888888;
    --accent-green: #4ade80;
    --accent-text: #000000;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
    font-family: var(--font-sans);
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-sans);
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: pageLoad 0.8s ease forwards;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Material Icons & Symbols */
.material-icons,
.material-symbols-outlined {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-icons.md-18 {
    font-size: 18px;
}

.material-icons.md-20 {
    font-size: 20px;
}

.material-icons.md-24 {
    font-size: 24px;
}

.material-icons.md-36 {
    font-size: 36px;
}

/* Subtle grid background */
.bg-grid {
    position: fixed;
    inset: 0;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    pointer-events: none;
    z-index: -1;
    animation: gridDrift 20s ease-in-out infinite;
}

@keyframes gridDrift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, 10px);
    }
}

/* --- Header --- */
.header {
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid transparent;
    animation: slideDown 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo .material-icons {
    font-size: 28px;
    transition: transform 0.4s ease;
}

.logo:hover .material-icons {
    transform: rotate(10deg);
}

/* --- Main Layout --- */
.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    position: relative;
    transition: all 0.5s ease-in-out;
}

/* --- Hero Section --- */
.hero-section {
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
    animation: heroFadeIn 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section.hidden {
    display: none;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 12px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.hero-title .highlight {
    background-color: var(--accent-green);
    color: var(--accent-text);
    padding: 0 12px;
    font-style: italic;
    display: inline-block;
    transform: skewX(-3deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: highlightPulse 3s ease-in-out infinite;
}

@keyframes highlightPulse {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(74, 222, 128, 0);
    }

    50% {
        box-shadow: 0 0 30px rgba(74, 222, 128, 0.3);
    }
}

.hero-title .highlight:hover {
    transform: skewX(-3deg) scale(1.05);
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

/* --- Input Box --- */
.input-wrapper {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    animation: inputSlideUp 0.7s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

@keyframes inputSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-wrapper:hover {
    border-color: #444;
}

.input-wrapper:focus-within {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1), 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.input-area {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1.1rem;
    resize: none;
    outline: none;
    min-height: 60px;
    max-height: 200px;
    line-height: 1.5;
}

.input-area::placeholder {
    color: #555;
    font-family: var(--font-sans);
    transition: color 0.3s ease;
}

.input-area:focus::placeholder {
    color: #666;
}



/* --- Audio Toggle --- */
/* --- Actions Bar --- */
.input-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 12px;
}

/* Audio Chip (Checkbox) */
.audio-chip {
    cursor: pointer;
    user-select: none;
}

.audio-chip input {
    display: none;
}

.audio-chip .chip-content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.audio-chip:hover .chip-content {
    background: rgba(255, 255, 255, 0.08);
    border-color: #555;
    color: var(--text-main);
    transform: translateY(-1px);
}

.audio-chip input:checked+.chip-content {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--accent-text);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
}

.audio-chip .material-icons {
    font-size: 18px;
}

/* Tool Buttons (Attach) */
.tool-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #666;
    color: var(--text-main);
    transform: translateY(-2px);
}

.tool-btn:active {
    transform: scale(0.95);
}

.tool-btn.active-img {
    color: var(--accent-green);
    background: rgba(74, 222, 128, 0.1);
    border-color: var(--accent-green);
}

/* Submit Button */
.submit-btn {
    background: var(--text-main);
    color: var(--bg);
    border: none;
    border-radius: 12px;
    padding: 0 20px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-sans);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.submit-btn::before {
    content: 'Generate';
    font-size: 0.95rem;
}

.submit-btn .material-icons {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.submit-btn:hover .material-icons {
    transform: translateX(4px);
}

.submit-btn:active {
    transform: scale(0.95);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- Examples Pills --- */
.examples-container {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.example-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: pillFadeIn 0.5s ease forwards;
}

.example-pill:nth-child(1) {
    animation-delay: 0.6s;
}

.example-pill:nth-child(2) {
    animation-delay: 0.7s;
}

.example-pill:nth-child(3) {
    animation-delay: 0.8s;
}

.example-pill:nth-child(4) {
    animation-delay: 0.9s;
}

@keyframes pillFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.example-pill:hover {
    border-color: var(--accent-green);
    color: var(--text-main);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(74, 222, 128, 0.15);
    background: rgba(74, 222, 128, 0.05);
}

/* --- Image Preview --- */
.image-preview-bar {
    display: none;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    width: fit-content;
    animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-preview-bar.visible {
    display: flex;
}

.preview-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.remove-img {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-sans);
    font-size: 12px;
    color: #ff5555;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease;
}

.remove-img:hover {
    color: #ff7777;
}

/* --- Processing View --- */
.processing-view {
    display: none;
    width: 100%;
    max-width: 1200px;
    /* Increased max-width for split view */
    text-align: left;
    margin: 0 auto;
}

.processing-view.visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

.processing-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .processing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .status-column {
        position: static;
    }
}

.steps-column {
    display: flex;
    flex-direction: column;
}

.status-column {
    position: sticky;
    top: 20px;
}

.terminal-header {
    font-family: var(--font-mono);
    color: var(--accent-green);
    margin-bottom: 32px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 2px;
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* --- Status Container --- */
.status-container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    font-family: var(--font-mono);
    animation: fadeIn 0.5s ease;
}

.mini-status {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-green);
    flex-shrink: 0;
    animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
    }
}

.status-dot.error {
    background: #ef4444;
    animation: none;
}

.status-dot.idle,
.status-dot.complete {
    animation: none;
}

.status-dot.complete {
    background: var(--accent-green);
}

.status-message {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
    flex: 1;
}

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.status-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.status-item .label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.status-item .value {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 600;
    font-family: var(--font-mono);
}

.status-item .value.accent {
    color: var(--accent-green);
}

/* Progress Section */
.progress-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), #22c55e);
    border-radius: 3px;
    transition: width 0.4s ease;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.8rem;
}

.progress-info .progress-label {
    color: var(--text-muted);
}

.progress-info .progress-value {
    color: var(--accent-green);
    font-weight: 600;
}

/* --- Step List --- */
.step-list {
    position: relative;
    padding-left: 20px;
    margin-top: 10px;
}

.step-list::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 24px;
    bottom: 40px;
    width: 2px;
    background: var(--border);
    transition: all 0.5s ease;
}

.step-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    opacity: 0.3;
    transform: scale(0.95);
    transform-origin: left center;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    align-items: flex-start;
}

.step-item.active {
    opacity: 1;
    transform: scale(1);
}

.step-item.complete {
    opacity: 0.6;
    transform: scale(0.98);
}

.step-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border);
    z-index: 2;
    flex-shrink: 0;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-marker .material-icons {
    font-size: 18px;
    display: none;
}

.step-item.active .step-marker {
    border-color: var(--accent-green);
    background: var(--accent-green);
    color: var(--accent-text);
    box-shadow: 0 0 25px rgba(74, 222, 128, 0.4);
    transform: scale(1.1);
}

.step-item.active .step-marker .material-icons {
    display: block;
    animation: rotateIn 0.4s ease;
}

@keyframes rotateIn {
    from {
        transform: rotate(-90deg) scale(0);
        opacity: 0;
    }

    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

.step-item.complete .step-marker {
    background: var(--surface-highlight);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.step-item.complete .step-marker .material-icons {
    display: block;
}

.step-text {
    padding-top: 2px;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    /* Bigger title */
    font-weight: 500;
    margin-bottom: 8px;
    transition: all 0.5s ease;
}

.step-item.active .step-title {
    font-size: 2rem;
    /* Even bigger when active */
    font-weight: 600;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.step-desc {
    font-size: 1rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    transform: translateY(-10px);
}

.step-item.active .step-desc {
    opacity: 1;
    height: auto;
    margin-top: 8px;
    transform: translateY(0);
}


@keyframes markerPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(74, 222, 128, 0.6);
    }
}

.step-item.complete .step-marker {
    background: var(--accent-green);
    border-color: var(--accent-green);
    animation: none;
}

.step-item.complete .step-marker .material-icons {
    display: block;
    color: var(--accent-text);
}

/* Duplicate rules removed - see above for .step-text and .step-desc styling */

/* --- Thinking Indicator --- */
.thinking-container {
    display: none;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-green);
    animation: fadeIn 0.3s ease;
}

.thinking-container.visible {
    display: block;
}

.thinking-label {
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.thinking-label .material-icons {
    font-size: 14px;
}

.thinking-dots {
    display: inline-flex;
    gap: 3px;
    margin-left: 4px;
}

.thinking-dots span {
    width: 4px;
    height: 4px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: dotPulse 1.2s ease-in-out infinite;
}

.thinking-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.thinking-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* --- Video Result View --- */
.video-view {
    display: none;
    width: 100%;
}

.video-view.visible {
    display: block;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: black;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}

.play-overlay:hover {
    background: rgba(0, 0, 0, 0.4);
}

.play-overlay .material-icons {
    color: white;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.play-overlay:hover .material-icons {
    transform: scale(1.1);
}

.video-container:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(-3px);
}

video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.result-actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* --- Audio Badge --- */
.audio-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 24px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--accent-green);
    animation: fadeIn 0.5s ease;
}

.audio-badge .material-icons {
    font-size: 18px;
}

.audio-badge.hidden {
    display: none !important;
}

.new-chat-btn {
    font-family: var(--font-sans);
    background: var(--surface);
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-chat-btn:hover {
    background: var(--surface-highlight);
    border-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.new-chat-btn .material-icons {
    font-size: 18px;
}

/* --- Tutorial Modal --- */
.tutorial-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.4s ease forwards;
}

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

.tutorial-modal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tutorial-icon {
    font-size: 64px;
    color: var(--accent-green);
    margin-bottom: 20px;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.tutorial-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.tutorial-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.tutorial-steps {
    text-align: left;
    margin-bottom: 30px;
}

.tut-step {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.tut-step-num {
    background: var(--accent-green);
    color: var(--accent-text);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.tut-step-text {
    color: var(--text-main);
    font-size: 0.95rem;
}

.tutorial-btn {
    background: var(--accent-green);
    color: var(--accent-text);
    border: none;
    padding: 14px 40px;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tutorial-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
}

/* --- Footer --- */
.footer {
    font-family: var(--font-sans);
    text-align: center;
    padding: 20px;
    color: #444;
    font-size: 0.8rem;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}