/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --bg: #0f172a;
    --bg-light: #1e293b;
    --bg-lighter: #334155;
    --bg-card: #475569;
    --text: #f1f5f9;
    --text-muted: #cbd5e1;
    --border: #64748b;
    --border-light: #94a3b8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    margin-bottom: 30px;
}

.header-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.version-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Navigation */
.nav {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    background: var(--bg-lighter);
    padding: 12px;
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-btn {
    flex: 1;
    padding: 16px 24px;
    background: var(--bg-light);
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-btn:hover {
    background: var(--bg-card);
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

.nav-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary-light);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
}

/* Sections */
.section {
    display: none;
    animation: fadeIn 0.3s;
}

.section.active {
    display: block;
}

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

/* Hero Section */
.hero {
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Feature Cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.feature-card {
    background: linear-gradient(145deg, var(--bg-light), var(--bg-lighter));
    padding: 32px;
    border-radius: 16px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
    background: linear-gradient(145deg, var(--bg-lighter), var(--bg-card));
}

.feature-cta {
    margin-top: 16px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-card:hover .feature-cta {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
}

/* CTA Button */
.cta-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Tutorial Section */
.tutorial-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    min-height: 500px;
}

.tutorial-sidebar {
    background: linear-gradient(145deg, var(--bg-light), var(--bg-lighter));
    padding: 24px;
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tutorial-sidebar h3 {
    margin-bottom: 18px;
    color: var(--primary-light);
    font-size: 1.3rem;
    font-weight: 700;
}

.lesson-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lesson-item {
    padding: 14px 16px;
    background: var(--bg-light);
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lesson-item:hover {
    border-color: var(--primary-light);
    background: var(--bg-lighter);
    transform: translateX(4px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

.lesson-item.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary-light);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
}

.tutorial-content {
    background: linear-gradient(145deg, var(--bg-light), var(--bg-lighter));
    padding: 36px;
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lesson-content h2 {
    color: var(--primary-light);
    margin-bottom: 24px;
    font-size: 2rem;
    font-weight: 700;
}

.lesson-content h3 {
    color: var(--text);
    margin-top: 28px;
    margin-bottom: 16px;
    font-size: 1.4rem;
    font-weight: 600;
}

.lesson-content h4 {
    color: var(--text-muted);
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.lesson-content p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.lesson-content ul {
    margin-left: 24px;
    margin-bottom: 18px;
}

.lesson-content li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--text-muted);
}

.lesson-content code {
    background: var(--bg-card);
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    color: var(--primary-light);
    font-size: 0.95rem;
    border: 1px solid var(--border);
}

.lesson-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

.lesson-nav-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.lesson-nav-btn:hover {
    background: var(--primary-dark);
}

.lesson-nav-btn:disabled {
    background: var(--bg-card);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Playground Section */
.playground-container {
    text-align: center;
}

.playground-container h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.playground-intro {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.playground-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* Terminal */
.terminal {
    background: linear-gradient(145deg, var(--bg-light), var(--bg-lighter));
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border);
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-lighter));
    padding: 14px 24px;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.terminal-header::before {
    content: "";
    display: flex;
    gap: 8px;
}

.terminal-title {
    font-weight: 600;
    color: var(--primary-light);
    font-size: 1.05rem;
}

.terminal-output {
    padding: 20px;
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
}

.terminal-line {
    margin-bottom: 8px;
    color: var(--success);
}

.terminal-line.command {
    color: var(--text);
    font-weight: 600;
}

.terminal-line.success {
    color: var(--success);
    font-weight: 600;
}

.terminal-line.challenge {
    color: var(--warning);
    font-weight: 600;
}

.terminal-line.info {
    color: var(--text-muted);
}

.terminal-line.warning {
    color: var(--warning);
}

.terminal-line.hint {
    color: var(--primary-light);
    font-style: italic;
}

.terminal-input-container {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-top: 2px solid var(--border);
    background: var(--bg-card);
}

.terminal-prompt {
    color: var(--success);
    font-weight: bold;
    margin-right: 10px;
    font-family: 'Courier New', monospace;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    outline: none;
}

/* Examples */
.examples {
    background: linear-gradient(145deg, var(--bg-light), var(--bg-lighter));
    padding: 24px;
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.examples h3 {
    margin-bottom: 18px;
    color: var(--primary-light);
    font-size: 1.2rem;
    font-weight: 700;
}

.example-btn {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: var(--bg-light);
    color: var(--text-muted);
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.example-btn:hover {
    border-color: var(--primary-light);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Challenges */
.challenges {
    background: linear-gradient(145deg, var(--bg-light), var(--bg-lighter));
    padding: 24px;
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.challenges h3 {
    margin-bottom: 18px;
    color: var(--warning);
    font-size: 1.2rem;
    font-weight: 700;
}

.challenge-item {
    padding: 16px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.challenge-item:hover {
    border-color: var(--warning);
    transform: translateX(4px);
}

.challenge-item.active {
    border-color: var(--warning);
    background: linear-gradient(145deg, var(--bg-lighter), var(--bg-card));
}

.challenge-item.completed {
    border-color: var(--success);
    background: linear-gradient(145deg, var(--bg-light), var(--bg-lighter));
    opacity: 0.7;
    cursor: not-allowed;
}

.challenge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.challenge-title {
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.challenge-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.challenge-difficulty {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.challenge-difficulty.easy {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.challenge-difficulty.medium {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.challenge-difficulty.hard {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.challenge-hint-btn {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: var(--bg-card);
    color: var(--warning);
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.challenge-hint-btn:hover {
    background: var(--warning);
    color: var(--bg);
    border-color: var(--warning);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 2px solid var(--border);
    color: var(--text-muted);
}

/* Chat Widget */
#chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.6);
}

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    height: 500px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 16px;
    display: none;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.3s ease-out;
}

.chat-window.active {
    display: flex;
}

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

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px 14px 0 0;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.chat-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    animation: messageIn 0.3s ease-out;
}

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

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.bot {
    justify-content: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.5;
}

.chat-message.user .message-content {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.bot .message-content {
    background: var(--bg-card);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.chat-input-container {
    display: flex;
    padding: 15px;
    border-top: 2px solid var(--border);
    gap: 10px;
    background: var(--bg-card);
    border-radius: 0 0 14px 14px;
}

.chat-input {
    flex: 1;
    padding: 12px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send {
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-send:hover {
    background: var(--primary-dark);
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

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

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

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Playground Expandido */
.playground-full-container {
    max-width: 100%;
}

.playground-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    min-height: 600px;
}

.playground-sidebar {
    background: linear-gradient(145deg, var(--bg-light), var(--bg-lighter));
    padding: 20px;
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.playground-sidebar h3 {
    margin-bottom: 15px;
    color: var(--primary-light);
    font-size: 1.2rem;
}

.module-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

.filter-btn {
    padding: 8px 12px;
    background: var(--bg-light);
    color: var(--text-muted);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.filter-btn:hover {
    border-color: var(--primary-light);
    background: var(--bg-card);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: var(--primary-light);
    font-weight: 600;
}

.module-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 500px;
    overflow-y: auto;
}

.module-item {
    padding: 12px;
    background: var(--bg-light);
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 0.9rem;
}

.module-item:hover {
    border-color: var(--primary-light);
    background: var(--bg-card);
    transform: translateX(4px);
}

.module-item.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary-light);
    color: white;
    font-weight: 600;
}

.module-item.completed {
    opacity: 0.8;
}

.playground-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.terminal-clear {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.terminal-clear:hover {
    background: var(--warning);
    color: var(--bg);
    border-color: var(--warning);
}

.module-content {
    background: linear-gradient(145deg, var(--bg-light), var(--bg-lighter));
    padding: 24px;
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.module-placeholder {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.module-level {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.level-basico {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.level-intermediario {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.level-avancado {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.level-profissional {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.module-completed {
    margin-left: auto;
    color: var(--success);
    font-weight: 600;
}

.module-topics {
    margin-bottom: 24px;
}

.module-topics h4 {
    color: var(--primary-light);
    margin-bottom: 12px;
}

.module-topics ul {
    list-style: none;
    padding: 0;
}

.module-topics li {
    padding: 12px;
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid var(--primary);
}

.module-topics li strong {
    color: var(--text);
    display: block;
    margin-bottom: 4px;
}

.module-topics li p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.module-challenge {
    margin-top: 24px;
}

.module-challenge h4 {
    color: var(--warning);
    margin-bottom: 12px;
}

.module-challenge-card {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-lighter));
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.module-challenge-card.completed {
    border-color: var(--success);
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.1), var(--bg-lighter));
}

.module-challenge-card .challenge-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.challenge-start-btn {
    margin-top: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.challenge-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.challenge-completed {
    color: var(--success);
    font-weight: 600;
    margin-top: 10px;
}

.examples-compact {
    background: linear-gradient(145deg, var(--bg-light), var(--bg-lighter));
    padding: 16px;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.examples-compact h4 {
    margin-bottom: 10px;
    color: var(--primary-light);
    font-size: 1rem;
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.example-btn-compact {
    padding: 8px 12px;
    background: var(--bg-light);
    color: var(--text-muted);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.example-btn-compact:hover {
    border-color: var(--primary-light);
    background: var(--primary);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .tutorial-container {
        grid-template-columns: 1fr;
    }

    .playground-content {
        grid-template-columns: 1fr;
    }

    .playground-layout {
        grid-template-columns: 1fr;
    }

    .example-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .chat-window {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
        height: 450px;
    }
}
