:root {
    --bg: #0a0a0b; 
    --card-bg: #16161a; 
    --navbar-bg: rgba(10, 10, 11, 0.85);
    --primary: #8b5cf6; 
    --secondary: #3b82f6; 
    --accent: #ec4899;
    --gradient: linear-gradient(135deg, #8b5cf6, #3b82f6);
    --gradient-text: linear-gradient(to right, #8b5cf6, #ec4899);
    --text-main: #f8fafc; 
    --text-dim: #94a3b8;
    --status-1: #ffffff; 
    --status-2: #f1c40f; 
    --status-3: #3498db; 
    --status-4: #2ecc71; 
    --status-5: #e74c3c; 
    --selection-bg: rgba(255, 255, 255, 0.15); 
    --border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body { background-color: var(--bg); color: var(--text-main); font-family: 'Inter', sans-serif; line-height: 1.6; overflow-x: hidden; padding-top: 80px; }

/* NAV */
nav { display: flex; justify-content: space-between; align-items: center; padding: 0 5%; height: 80px; background: var(--navbar-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); position: fixed; top: 0; width: 100%; z-index: 1000; border-bottom: 1px solid var(--border); }
.logo { font-size: 1.5rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: flex; align-items: center; gap: 10px; }
.nav-auth { display: flex; gap: 15px; align-items: center; }

/* BOTÕES GERAIS - CORRIGIDO ALINHAMENTO E QUEBRA DE LINHA */
.btn { padding: 12px 24px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.3; gap: 8px; font-size: 1rem;}
.btn-ghost { color: var(--text-main); border: 1px solid rgba(255,255,255,0.1); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: white; border: none; box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4); }
.btn-primary:hover { background: #7c3aed; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6); }

/* LANGUAGE SELECTOR */
#lang-selector { background: transparent; color: var(--text-main); border: 1px solid rgba(255,255,255,0.2); padding: 10px 15px; border-radius: 8px; font-weight: 600; cursor: pointer; outline: none; transition: 0.3s; }
#lang-selector:hover { border-color: var(--primary); }
#lang-selector option { background: var(--card-bg); color: var(--text-main); }

/* HERO SECTION (3D STAGE) */
.hero { position: relative; min-height: calc(100vh - 80px); padding: 40px 5% 80px; display: flex; align-items: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -20%; left: -10%; width: 50%; height: 50%; background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%); filter: blur(60px); z-index: 0; pointer-events: none; }
.hero-inner { max-width: 1300px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; width: 100%; position: relative; z-index: 1; }

.hero-text { flex: 1; max-width: 600px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(139, 92, 246, 0.1); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.2); padding: 8px 18px; border-radius: 30px; font-size: 0.9rem; font-weight: 600; margin-bottom: 25px; backdrop-filter: blur(10px); }
.hero h1 { font-size: 4.5rem; font-weight: 800; margin-bottom: 20px; line-height: 1.1; letter-spacing: -1.5px; color: var(--text-main); }
.dynamic-word-container { display: inline-block; min-width: 320px; text-align: left; }
.dynamic-word { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.hero p { font-size: 1.2rem; color: var(--text-dim); margin-bottom: 28px; line-height: 1.7; max-width: 520px; }

/* HERO URL INPUT BOX */
.hero-url-box {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 6px 6px 6px 14px;
    max-width: 540px;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-url-box:focus-within {
    border-color: rgba(139,92,246,0.55);
    box-shadow: 0 0 0 3px rgba(139,92,246,0.12);
}
.hero-url-icon {
    color: #ef4444;
    font-size: 1.1rem;
    margin-right: 10px;
    flex-shrink: 0;
}
.hero-url-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #f8fafc;
    font-size: 0.95rem;
    font-family: inherit;
    min-width: 0;
}
.hero-url-box input::placeholder { color: #475569; }
.hero-url-box .btn-primary {
    border-radius: 10px;
    padding: 11px 18px;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.hero-url-hint {
    font-size: 0.8rem;
    color: #475569;
    margin: 0 0 20px;
}

/* BOTÕES DO HERO */
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-actions .btn-light { background: #ffffff; color: #000; font-weight: 700; border: none; padding: 16px 28px; font-size: 1.1rem; }
.hero-actions .btn-light:hover { background: #f1f5f9; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255,255,255,0.2); }
.hero-actions .btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.2); padding: 16px 28px; font-size: 1.1rem; }
.hero-actions .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* 3D CAROUSEL */
.hero-visual { flex: 1; height: 550px; position: relative; perspective: 1200px; display: flex; justify-content: center; align-items: center; }
.carousel-stage { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; display: flex; justify-content: center; align-items: center; }
.carousel-stage::after { content: ''; position: absolute; bottom: 20px; width: 300px; height: 20px; background: radial-gradient(ellipse, var(--primary) 0%, transparent 70%); opacity: 0.6; filter: blur(15px); z-index: 0; transition: background 0.5s; id: stage-glow; }

.carousel-card { position: absolute; width: 300px; height: 420px; border-radius: 24px; transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); overflow: visible; }
.carousel-card img { position: absolute; bottom: 0; max-width: 140%; max-height: 120%; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6)); transition: all 0.8s; pointer-events: none; }

/* Carousel States */
.carousel-card.active { transform: translateX(0) translateZ(50px) scale(1); z-index: 3; opacity: 1; filter: brightness(1.1); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.carousel-card.next { transform: translateX(55%) translateZ(-150px) scale(0.8); z-index: 2; opacity: 0.4; filter: brightness(0.4) blur(3px); }
.carousel-card.prev { transform: translateX(-55%) translateZ(-150px) scale(0.8); z-index: 1; opacity: 0.4; filter: brightness(0.4) blur(3px); }
.carousel-card.hidden { transform: translateX(0) translateZ(-300px) scale(0.5); z-index: 0; opacity: 0; pointer-events: none; }

/* PROBLEM VS SOLUTION */
.problem-solution { padding: 100px 5%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ps-box { padding: 40px; border-radius: 24px; position: relative; overflow: hidden; }
.ps-problem { background: rgba(231, 76, 60, 0.05); border: 1px solid rgba(231, 76, 60, 0.1); }
.ps-solution { background: rgba(46, 204, 113, 0.05); border: 1px solid rgba(46, 204, 113, 0.1); }
.ps-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.ps-problem .ps-icon { background: rgba(231, 76, 60, 0.2); color: #e74c3c; }
.ps-solution .ps-icon { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }
.ps-box h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 15px; color: #fff; }
.ps-box p { color: var(--text-dim); font-size: 1.1rem; line-height: 1.7; }

/* HOW IT WORKS */
.how-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, #09090b 0%, #0e0b16 50%, #09090b 100%);
    position: relative;
    overflow: hidden;
}
.how-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(139,92,246,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.how-inner { max-width: 1100px; margin: 0 auto; position: relative; }
.how-header { text-align: center; margin-bottom: 70px; }
.how-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #8b5cf6;
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 18px;
}
.how-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.25;
}
.how-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}
.how-step {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    position: relative;
    transition: border-color 0.2s, transform 0.2s;
}
.how-step:hover {
    border-color: rgba(139,92,246,0.3);
    transform: translateY(-4px);
}
.how-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: #8b5cf6;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.how-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(139,92,246,0.12);
    border: 1px solid rgba(139,92,246,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #a78bfa;
    margin: 10px 0 20px;
}
.how-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 10px;
}
.how-step p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.65;
}
.how-connector {
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: rgba(139,92,246,0.4);
    font-size: 1.2rem;
    margin-top: 80px;
    flex-shrink: 0;
}
.how-cta {
    text-align: center;
    margin-top: 56px;
}

/* CONTENT TYPES */
.content-types-section {
    padding: 100px 5%;
    background: #09090b;
    position: relative;
}
.ct-inner { max-width: 1100px; margin: 0 auto; }
.ct-header { text-align: center; margin-bottom: 60px; }
.ct-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #a78bfa;
    background: rgba(167,139,250,0.1);
    border: 1px solid rgba(167,139,250,0.2);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 18px;
}
.ct-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.25;
    margin-bottom: 16px;
}
.ct-header p {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}
.ct-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}
.ct-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: 32px 24px;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    cursor: default;
}
.ct-card:hover {
    border-color: rgba(139,92,246,0.3);
    background: rgba(139,92,246,0.05);
    transform: translateY(-3px);
}
.ct-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(139,92,246,0.12);
    border: 1px solid rgba(139,92,246,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #a78bfa;
    margin-bottom: 16px;
}
.ct-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 8px;
}
.ct-card p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}
.ct-bottom {
    text-align: center;
    padding-top: 10px;
}
.ct-bottom-text {
    font-size: 1.05rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

/* METRICS */
.metrics-section {
    padding: 70px 5%;
    background: linear-gradient(90deg, rgba(139,92,246,0.06) 0%, rgba(99,102,241,0.06) 100%);
    border-top: 1px solid rgba(139,92,246,0.12);
    border-bottom: 1px solid rgba(139,92,246,0.12);
}
.metrics-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.metric-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.metric-value {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.02em;
}
.metric-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f8fafc;
    margin-top: 6px;
}
.metric-note {
    font-size: 0.75rem;
    color: #475569;
}
.metric-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.07);
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .metrics-inner { flex-direction: column; gap: 36px; }
    .metric-divider { width: 60px; height: 1px; }
    .metric-value { font-size: 2.4rem; }
}

/* PLAYGROUND / DEMO */
.demo-section { padding: 80px 5% 40px; max-width: 1300px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; }
.demo-title { text-align: center; font-size: 3rem; font-weight: 800; margin-bottom: 10px; transition: opacity 0.3s; }
.demo-title span:first-child { color: var(--primary); }
.demo-title span:last-child { color: #d946ef; }
.demo-subtitle { text-align: center; color: var(--text-dim); margin-bottom: 24px; font-size: 1.2rem; }

/* LESSON PICKER & INFO */
.demo-lesson-picker { display: none !important; }
.lesson-chip, .lesson-chip-lang { display: none !important; }

.demo-lesson-info { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 16px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; }
.lesson-lang-badge { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; border-radius: 12px; background: var(--gradient); color: #fff; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; }
.lesson-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lesson-info-title { font-size: 1.05rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lesson-info-artist { font-size: 0.85rem; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lesson-info-label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; }
.demo-lesson-info-actions { flex-shrink: 0; display: none; align-items: center; gap: 8px; }

.demo-mobile-nav { display: none; justify-content: center; align-items: center; gap: 12px; margin-bottom: 14px; }
.demo-nav-btn { display: flex; align-items: center; gap: 8px; padding: 8px 20px; border-radius: 22px; border: 1px solid rgba(139,92,246,0.4); background: rgba(139,92,246,0.1); color: #a78bfa; font-size: .85rem; font-weight: 600; cursor: pointer; transition: 0.2s; white-space: nowrap; height: auto; width: auto; }
.demo-nav-btn:hover { background: rgba(139,92,246,0.22); border-color: rgba(139,92,246,0.7); color: #fff; }
.demo-nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.phrase-action-bar { display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 1500; align-items: center; gap: 10px; padding: 12px 16px; background: var(--card-bg); border: 1px solid var(--primary); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,0.5); max-width: calc(100% - 32px); }
.phrase-action-bar.visible { display: flex; }
.phrase-action-count { font-size: 0.85rem; color: var(--text-dim); white-space: nowrap; }
.phrase-action-bar .btn-phrase { padding: 10px 18px; border-radius: 10px; border: none; background: var(--primary); color: #fff; font-weight: 700; font-size: 0.9rem; cursor: pointer; white-space: nowrap; }
.phrase-action-bar .btn-phrase-cancel { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text-dim); font-size: 0.85rem; cursor: pointer; }

.playground-wrapper { position: relative; padding: 0 60px; margin-bottom: 20px; }
.main-display { display: grid; grid-template-columns: 1.3fr 1fr; gap: 15px; background: var(--card-bg); border-radius: 16px; padding: 15px; border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(0,0,0,0.5); max-height: 480px; position: relative;}

.video-side { position: relative; border-radius: 12px; overflow: hidden; background: #000; height: 100%; min-height: 300px; }

.mobile-audio-player { display: none; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.track-info { display: flex; flex-direction: column; }
.track-title { font-weight: 600; color: #fff; font-size: 1.05rem; line-height: 1.2;}
.track-artist { font-size: 0.85rem; color: var(--text-dim); }
.mobile-ctrl-btn { background: var(--primary); color: #fff; border: none; width: 45px; height: 45px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3); }

.lyrics-side { height: 100%; max-height: 450px; overflow-y: auto; padding: 5px 15px; scrollbar-width: thin; scrollbar-color: #334155 transparent; user-select: none; -webkit-user-select: none; position: relative; }
.lyrics-side::-webkit-scrollbar { width: 6px; }
.lyrics-side::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }
.loading-lyrics { margin: auto; text-align: center; color: var(--text-dim); padding-top: 40%; }

.video-end-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; z-index: 50; opacity: 0; transition: opacity 0.4s ease; border-radius: 16px; overflow-y: auto;}

.transcript-line { padding: 8px 15px; margin-bottom: 4px; border-radius: 8px; transition: all 0.3s ease; opacity: 0.4; border-left: 3px solid transparent; font-size: 1.05rem; line-height: 1.6; color: #888; font-family: monospace;}
.transcript-line.active-line { opacity: 1; background: rgba(255,255,255,0.03); border-left-color: var(--primary); transform: translateX(5px); color: #ccc;}
.word-token { display: inline-block; cursor: pointer; padding: 0 2px; margin: 0 1px; border-radius: 4px; transition: 0.2s; border-bottom: 1px solid transparent; }
.word-token:hover { background: rgba(139, 92, 246, 0.2); }
.word-token.status-1 { color: #aaa; } .word-token.status-2 { color: var(--status-2); font-weight: 500; } .word-token.status-3 { color: var(--status-3); } .word-token.status-4 { color: var(--status-4); } .word-token.status-5 { color: var(--status-5); text-decoration: underline; }
.word-token.selected-token { background-color: var(--selection-bg); box-shadow: 0 0 5px rgba(255, 255, 255, 0.2); border-radius: 4px;}
.word-token.active-word { background: rgba(139,92,246,0.35); color:#fff; border-radius:3px; transition: background 0.08s ease; }
@keyframes markPop { 0% { transform: scale(1); } 50% { transform: scale(1.3); filter: brightness(1.5); } 100% { transform: scale(1); } }
.celebrate-pop { animation: markPop 0.4s ease-out; }

.nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.35); color: #a78bfa; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.25s; z-index: 10; }
.nav-arrow:hover { background: rgba(139,92,246,0.25); border-color: rgba(139,92,246,0.7); transform: translateY(-50%) scale(1.08); color: #fff; }
.next-btn { right: 0; }

.onboarding-bar { text-align: center; color: var(--text-dim); font-size: 0.85rem; padding-bottom: 10px; margin-top: 15px; line-height: 1.7; }
.onboarding-bar kbd { background: #2d2d33; color: #fff; padding: 3px 6px; border-radius: 4px; font-size: 0.75rem; border: 1px solid #444; margin: 0 2px; }
.onboarding-mobile { display: none; }
.onboarding-hint { display: inline-block; margin-top: 6px; padding: 6px 12px; border-radius: 8px; background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.2); color: #c4b5fd; font-size: 0.8rem; }

.stats-section { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; padding: 0 5%; flex-wrap: wrap; }
.stat-card { background: var(--card-bg); padding: 10px 20px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; gap: 10px; }
.stat-icon { width: 35px; height: 35px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.stat-value { font-size: 1.2rem; font-weight: 800; display: block; color: var(--text-main); line-height: 1; margin-bottom: 2px;}
.stat-label { color: var(--text-dim); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }

/* DEMO FILTERS — abas de idioma + chips de tipo */
.demo-filters { display:flex; flex-direction:column; gap:12px; margin:0 auto 28px; max-width:860px; }
.demo-lang-tabs { display:flex; gap:6px; flex-wrap:wrap; justify-content:center; }
.demo-lang-tab { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); color:#94a3b8; border-radius:22px; padding:6px 16px; font-size:.85rem; font-weight:600; cursor:pointer; transition:all .2s; white-space:nowrap; }
.demo-lang-tab:hover { border-color:rgba(139,92,246,0.4); color:#c4b5fd; }
.demo-lang-tab.active { background:rgba(139,92,246,0.18); border-color:rgba(139,92,246,0.6); color:#a78bfa; }
.demo-type-chips { display:flex; gap:6px; flex-wrap:wrap; justify-content:center; }
.demo-type-chip { background:transparent; border:1px solid rgba(255,255,255,0.07); color:#64748b; border-radius:16px; padding:4px 14px; font-size:.78rem; cursor:pointer; transition:all .2s; white-space:nowrap; }
.demo-type-chip:hover { border-color:rgba(139,92,246,0.3); color:#94a3b8; }
.demo-type-chip.active { background:rgba(139,92,246,0.1); border-color:rgba(139,92,246,0.4); color:#a78bfa; }

/* DEMO CTA (Opção A) */
.demo-cta { margin: 0 auto 16px; max-width: 620px; text-align: center; padding: 28px 24px 20px; background: linear-gradient(135deg, rgba(139,92,246,0.07), rgba(129,140,248,0.03)); border: 1px solid rgba(139,92,246,0.22); border-radius: 18px; }
.demo-cta-label { font-size: 1rem; font-weight: 700; color: #e2e8f0; margin: 0 0 14px; }
.demo-cta-box { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(139,92,246,0.3); border-radius: 12px; padding: 6px 8px 6px 14px; }
.demo-cta-icon { color: #ff4e45; font-size: 1.1rem; flex-shrink: 0; }
.demo-cta-box input { flex: 1; background: transparent; border: none; outline: none; color: #f1f5f9; font-size: 0.9rem; min-width: 0; }
.demo-cta-box input::placeholder { color: #64748b; }
.demo-cta-box .btn { flex-shrink: 0; padding: 8px 18px; font-size: 0.85rem; white-space: nowrap; }
.demo-cta-hint { font-size: 0.78rem; color: #64748b; margin: 10px 0 0; }

/* DEMO NUDGE (Opção C) */
.demo-nudge { position: fixed; bottom: 0; left: 0; right: 0; z-index: 990; background: #120d1f; border-top: 1px solid rgba(139,92,246,0.35); transform: translateY(100%); transition: transform 0.35s cubic-bezier(.4,0,.2,1); pointer-events: none; }
.demo-nudge.visible { transform: translateY(0); pointer-events: auto; }
.demo-nudge-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 12px 20px; flex-wrap: wrap; }
.demo-nudge-icon { color: #a78bfa; font-size: 1.1rem; flex-shrink: 0; }
.demo-nudge-inner > span { flex: 1; min-width: 160px; font-size: 0.9rem; color: #cbd5e1; }
.demo-nudge-btn { padding: 8px 20px; font-size: 0.85rem; white-space: nowrap; }
.demo-nudge-close { background: transparent; border: none; color: #64748b; cursor: pointer; font-size: 1rem; padding: 4px 6px; margin-left: 4px; flex-shrink: 0; transition: color .2s; }
.demo-nudge-close:hover { color: #f1f5f9; }

/* FEATURES GRID */
.features-section { padding: 100px 5%; max-width: 1200px; margin: 0 auto; }
.feat-header { text-align: center; margin-bottom: 60px; }
.feat-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #34d399;
    background: rgba(52,211,153,0.08);
    border: 1px solid rgba(52,211,153,0.18);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 18px;
}
.feat-header h2 { font-size: 2.8rem; font-weight: 800; color: #f8fafc; margin-bottom: 14px; }
.feat-subtitle { font-size: 1.05rem; color: #94a3b8; max-width: 520px; margin: 0 auto; line-height: 1.7; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); padding: 32px 28px; border-radius: 20px; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; text-align: left; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.35); box-shadow: 0 12px 32px rgba(139,92,246,0.1); }
.feature-icon { width: 52px; height: 52px; background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.18); color: #a78bfa; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: #f8fafc; line-height: 1.35; }
.feature-card p { color: #64748b; font-size: 0.875rem; line-height: 1.65; }

/* TESTIMONIALS */
.testimonials { padding: 80px 5%; background: rgba(255,255,255,0.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials h2 { text-align: center; font-size: 2.5rem; font-weight: 800; margin-bottom: 50px; }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.test-card { background: var(--bg); border: 1px solid var(--border); padding: 30px; border-radius: 16px; position: relative; }
.test-card i.fa-quote-left { position: absolute; top: 20px; right: 20px; font-size: 2rem; color: rgba(255,255,255,0.05); }
.test-text { font-size: 1.1rem; color: #e2e8f0; font-style: italic; margin-bottom: 20px; line-height: 1.6; }
.test-user { display: flex; align-items: center; gap: 15px; }
.test-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }
.test-info h4 { font-size: 1rem; color: #fff; margin-bottom: 2px; }
.test-info span { font-size: 0.85rem; color: var(--text-dim); }

/* FAQ SECTION */
.faq-section { padding: 100px 5%; max-width: 800px; margin: 0 auto; }
.faq-section h2 { text-align: center; font-size: 2.5rem; font-weight: 800; margin-bottom: 40px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 1.2rem; font-weight: 600; color: #fff; user-select: none; }
.faq-question i { color: var(--primary); transition: transform 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-dim); font-size: 1.05rem; line-height: 1.6; }
.faq-answer p { padding-top: 15px; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-item.active .faq-question i { transform: rotate(45deg); }

/* CTA FINAL */
.cta-final {
    padding: 120px 5% 100px;
    background: linear-gradient(180deg, #09090b 0%, #0e0b16 40%, #09090b 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-final-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(139,92,246,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.cta-final-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-final-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #8b5cf6;
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 24px;
}
.cta-final h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #f8fafc;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.cta-final-sub {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.cta-url-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 8px 8px 8px 18px;
    max-width: 600px;
    margin: 0 auto 14px;
    backdrop-filter: blur(10px);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cta-url-box:focus-within {
    border-color: rgba(139,92,246,0.55);
    box-shadow: 0 0 0 3px rgba(139,92,246,0.12), 0 0 40px rgba(139,92,246,0.08);
}
.cta-url-icon {
    color: #ef4444;
    font-size: 1.2rem;
    margin-right: 12px;
    flex-shrink: 0;
}
.cta-url-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #f8fafc;
    font-size: 1rem;
    font-family: inherit;
    min-width: 0;
}
.cta-url-box input::placeholder { color: #475569; }
.cta-url-box .btn-primary {
    border-radius: 12px;
    padding: 13px 22px;
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.cta-final-hint {
    font-size: 0.8rem;
    color: #475569;
    margin: 0;
}

footer { background: var(--bg); border-top: 1px solid var(--border); padding: 60px 5% 30px; text-align: center; color: var(--text-dim); }
footer .footer-logo { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
footer .footer-tagline { margin-bottom: 30px; font-size: 1rem; }
footer .footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
footer .footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.95rem; transition: 0.2s; }
footer .footer-links a:hover { color: var(--text-main); }
footer .footer-copy { font-size: 0.85rem; color: rgba(255,255,255,0.3); }

/* MODAL DE PALAVRA */
.calanggo-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.calanggo-overlay.active { opacity: 1; visibility: visible; }
.reinforcement-card { background: #1e1e1e; border-radius: 16px; width: 90%; max-width: 500px; border: 1px solid #333; transform: translateY(20px); transition: 0.3s; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.calanggo-overlay.active .reinforcement-card { transform: translateY(0); }
.card-header { padding: 15px 20px; background: rgba(255,255,255,0.03); border-bottom: 1px solid #333; display: flex; justify-content: space-between; align-items: center; border-radius: 16px 16px 0 0;}
.word-title { font-size: 1.5rem; font-weight: 800; color: #fff; }
.btn-close-card { background: none; border: none; color: #aaa; font-size: 1.5rem; cursor: pointer; transition: 0.2s;}
.btn-close-card:hover { color: #fff; }
.card-content { padding: 20px; max-height: 60vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #444 transparent;}
.card-content::-webkit-scrollbar { width: 6px; }
.card-content::-webkit-scrollbar-thumb { background: #444; border-radius: 10px; }
.info-section { margin-bottom: 18px; }
.info-section:last-child { margin-bottom: 0; }
.info-label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; margin-bottom: 6px; display: block; font-weight: 600; letter-spacing: 0.5px;}
.info-data { color: #eee; line-height: 1.5;}
.example-sentence { display: block; margin-bottom: 8px; font-style: italic; color: #cbd5e1; font-size: 0.95rem; padding-left: 10px; border-left: 2px solid var(--primary); }
.example-sentence:last-child { margin-bottom: 0; }
.synonym-list { display: flex; gap: 8px; flex-wrap: wrap; }
.synonym-item { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; color: #e2e8f0; }
.card-footer { padding: 15px 20px; background: rgba(0,0,0,0.2); border-top: 1px solid #333; border-radius: 0 0 16px 16px;}
.status-selector { display: flex; justify-content: space-between; margin-top: 10px; gap: 10px; }
.btn-status { flex: 1; height: 42px; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.2s; font-size: 1.1rem;}
.btn-status:hover { transform: translateY(-2px); filter: brightness(1.1);}

/* ─── Comunidade / Contribuição ─── */
.community-badge { display:inline-block; margin-left:6px; font-size:.65rem; background:#3b1fa0; color:#c4b5fd; border-radius:20px; padding:1px 7px; font-weight:600; letter-spacing:.03em; }
.btn-contrib-toggle { display:flex; align-items:center; gap:6px; width:100%; padding:8px 12px; margin-bottom:10px; background:transparent; border:1px dashed #4c1d95; color:#a78bfa; border-radius:8px; cursor:pointer; font-size:.82rem; transition:.2s; }
.btn-contrib-toggle:hover { background:rgba(139,92,246,.12); border-color:#7c3aed; }
.contrib-panel { background:#12111a; border:1px solid #2a2040; border-radius:10px; padding:14px 16px; margin-top:8px; }
.contrib-header { display:flex; align-items:center; gap:8px; font-size:.85rem; font-weight:600; color:#6ee7b7; margin-bottom:6px; }
.contrib-hint { font-size:.75rem; color:#666; margin-bottom:10px; line-height:1.5; }
.contrib-fields { display:flex; flex-direction:column; gap:7px; margin-bottom:10px; }
.contrib-input { background:#1a1825; border:1px solid #2e2a40; border-radius:6px; color:#d4d4d8; padding:7px 10px; font-size:.83rem; width:100%; box-sizing:border-box; resize:vertical; font-family:inherit; }
.contrib-input:focus { outline:none; border-color:#7c3aed; }
.contrib-input::placeholder { color:#555; }
.contrib-submit-btn { width:100%; padding:9px; background:#5b21b6; color:#fff; border:none; border-radius:8px; cursor:pointer; font-size:.85rem; font-weight:600; transition:.2s; display:flex; align-items:center; justify-content:center; gap:6px; }
.contrib-submit-btn:hover:not(:disabled) { background:#7c3aed; }
.contrib-submit-btn:disabled { opacity:.6; cursor:not-allowed; }
.contrib-status { font-size:.78rem; margin-top:8px; padding:6px 10px; border-radius:6px; }
.contrib-ok    { background:rgba(16,185,129,.12); color:#6ee7b7; }
.contrib-error { background:rgba(239,68,68,.12);  color:#fca5a5; }

/* ============================================
   LEARNING CYCLE SECTION
   ============================================ */
.cycle-section {
    padding: 100px 5%;
    background: linear-gradient(160deg, #0a0a0b 0%, #0d0b18 50%, #0a0a0b 100%);
    position: relative;
    overflow: hidden;
}

/* DEMO PLAYER PLACEHOLDER */
.player-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: #0d0d14; z-index: 2; overflow: hidden;
}
.player-placeholder-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
/* overlay escuro sutil para o botão de play contrastar */
.player-placeholder::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.3); z-index: 1; }
.player-play-btn {
    position: relative; z-index: 3;
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(139,92,246,0.85); border: 3px solid rgba(255,255,255,0.9);
    color: #fff; font-size: 1.6rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 0 32px rgba(139,92,246,0.5);
}
.player-play-btn:hover { background: #8b5cf6; transform: scale(1.1); }
.player-placeholder.hidden { display: none; }

/* CYCLE SECTION — Layout */
.cycle-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 70px; align-items: center;
}
.cycle-eyebrow {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: #8b5cf6; background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.2); border-radius: 100px;
    padding: 5px 14px; margin-bottom: 18px;
}
.cycle-left h2 { font-size: 2.4rem; font-weight: 800; color: #f8fafc; line-height: 1.2; margin-bottom: 14px; }
.cycle-left > p { font-size: 1rem; color: #94a3b8; line-height: 1.7; margin-bottom: 36px; max-width: 400px; }

/* Step list */
.cycle-steps-list { display: flex; flex-direction: column; gap: 4px; }
.cycle-step-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 12px 14px; border-radius: 12px; cursor: pointer;
    transition: background 0.2s; border: 1px solid transparent;
}
.cycle-step-item:hover { background: rgba(255,255,255,0.03); }
.cycle-step-item.active {
    background: rgba(139,92,246,0.08);
    border-color: rgba(139,92,246,0.2);
}
.cycle-step-dot {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 5px;
    background: rgba(255,255,255,0.15); transition: background 0.3s, transform 0.3s;
}
.cycle-step-item.active .cycle-step-dot { background: #8b5cf6; transform: scale(1.3); }
.cycle-step-text { display: flex; flex-direction: column; gap: 2px; }
.cycle-step-text strong { font-size: 0.92rem; font-weight: 700; color: #f8fafc; }
.cycle-step-text span { font-size: 0.8rem; color: #64748b; }
.cycle-step-item.active .cycle-step-text strong { color: #a78bfa; }

/* Mockup card */
.cycle-mockup {
    background: #13131a; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,92,246,0.1);
    min-height: 340px; position: relative;
}
.cycle-frame {
    opacity: 1; transition: opacity 0.35s ease;
    display: flex; flex-direction: column;
}
.cycle-frame-hidden { opacity: 0; position: absolute; inset: 0; pointer-events: none; }

/* Mockup chrome bar */
.cmk-bar {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.cmk-dots { display: flex; gap: 5px; }
.cmk-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.cmk-bar-title { font-size: 0.75rem; color: #475569; font-weight: 600; margin-left: 4px; }

/* Frame 0 & 1 — video bg */
.cmk-video-bg {
    height: 130px; background: linear-gradient(135deg, #0f0f1a 0%, #1a1030 100%);
    position: relative; display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
}
.cmk-video-lines { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-evenly; padding: 16px; opacity: 0.15; gap: 10px; }
.cmk-vl { height: 8px; background: rgba(255,255,255,0.4); border-radius: 4px; }
.cmk-vl:nth-child(1) { width: 80%; }
.cmk-vl:nth-child(2) { width: 60%; }
.cmk-vl:nth-child(3) { width: 70%; }
.cmk-play-icon { font-size: 2.2rem; color: rgba(255,255,255,0.2); position: relative; z-index: 1; }

/* Subtitle bar */
.cmk-sub-bar {
    padding: 14px 16px 10px; font-size: 0.82rem; color: #94a3b8;
    line-height: 1.6; flex-wrap: wrap; display: flex; gap: 4px;
}
.cmk-sub-dim { opacity: 0.6; }
.cmk-w { display: inline; }
.cmk-w-active {
    background: rgba(139,92,246,0.25); color: #c4b5fd;
    border-radius: 4px; padding: 1px 5px; position: relative; font-weight: 600;
}
.cmk-cursor {
    display: inline-block; width: 2px; height: 0.9em;
    background: #a78bfa; margin-left: 2px; vertical-align: middle;
    animation: cmkBlink 0.8s step-end infinite;
}
@keyframes cmkBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Progress bar */
.cmk-prog { height: 3px; background: rgba(255,255,255,0.06); margin: 8px 16px 14px; border-radius: 2px; }
.cmk-prog-fill { height: 100%; background: #8b5cf6; border-radius: 2px; }

/* Frame 2 — definition card */
.cmk-def-card {
    margin: 16px; background: rgba(139,92,246,0.08);
    border: 1px solid rgba(139,92,246,0.2); border-radius: 12px; padding: 16px;
}
.cmk-def-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cmk-def-word { font-size: 1.15rem; font-weight: 800; color: #f8fafc; }
.cmk-def-tag { font-size: 0.7rem; color: #8b5cf6; background: rgba(139,92,246,0.15); padding: 2px 7px; border-radius: 6px; font-weight: 700; }
.cmk-def-phonetic { font-size: 0.75rem; color: #64748b; margin-bottom: 8px; }
.cmk-def-meaning { font-size: 0.82rem; color: #cbd5e1; margin-bottom: 4px; }
.cmk-def-translation { font-size: 0.82rem; color: #a78bfa; margin-bottom: 8px; }
.cmk-def-ctx { font-size: 0.75rem; color: #475569; border-left: 2px solid rgba(139,92,246,0.3); padding-left: 8px; margin-bottom: 12px; }
.cmk-def-ctx strong { color: #a78bfa; }
.cmk-save-btn {
    font-size: 0.78rem; background: rgba(139,92,246,0.2); color: #a78bfa;
    border: 1px solid rgba(139,92,246,0.3); border-radius: 8px; padding: 6px 14px; cursor: pointer;
    display: flex; align-items: center; gap: 5px;
}

/* Frame 3 — vocabulary */
.cmk-vocab-list { padding: 10px 16px; display: flex; flex-direction: column; gap: 4px; }
.cmk-vocab-row {
    display: flex; align-items: center; gap: 8px; padding: 8px 12px;
    background: rgba(255,255,255,0.03); border-radius: 8px; border: 1px solid rgba(255,255,255,0.05);
}
.cmk-vocab-new { border-color: rgba(139,92,246,0.25); background: rgba(139,92,246,0.06); }
.cmk-vocab-w { font-size: 0.82rem; font-weight: 700; color: #f8fafc; min-width: 70px; }
.cmk-vocab-sep { color: #334155; font-size: 0.75rem; }
.cmk-vocab-t { font-size: 0.82rem; color: #94a3b8; flex: 1; }
.cmk-vocab-badge { font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; white-space: nowrap; }
.cmk-badge-new  { background: rgba(139,92,246,0.2); color: #a78bfa; }
.cmk-badge-rev  { background: rgba(234,179,8,0.15); color: #fbbf24; }
.cmk-badge-done { background: rgba(34,197,94,0.15); color: #4ade80; }
.cmk-toast {
    margin: 6px 16px 16px; padding: 8px 12px;
    background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2);
    border-radius: 8px; font-size: 0.78rem; color: #4ade80;
    display: flex; align-items: center; gap: 7px;
}

/* Frame 4 — SRS review */
.cmk-review { padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cmk-review-q { font-size: 0.8rem; color: #64748b; margin: 0; }
.cmk-review-word { font-size: 1.6rem; font-weight: 900; color: #f8fafc; letter-spacing: -0.02em; }
.cmk-review-opts { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.cmk-opt {
    padding: 8px 14px; border-radius: 8px; font-size: 0.82rem;
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); color: #94a3b8;
}
.cmk-opt-correct { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.25); color: #4ade80; }
.cmk-opt-wrong   { opacity: 0.45; }
.cmk-review-result {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.9rem; font-weight: 700; color: #a78bfa;
}

/* Responsive */
@media (max-width: 960px) {
    .cycle-inner { grid-template-columns: 1fr; gap: 48px; }
    .cycle-left > p { max-width: 100%; }
    .cycle-left h2 { font-size: 2rem; }
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-text { max-width: 100%; }
    .dynamic-word-container { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-visual { width: 100%; height: 400px; margin-top: 40px; }
    .problem-solution { grid-template-columns: 1fr; gap: 30px; }
    .features-grid, .test-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3.5rem; }
    .how-connector { display: none; }
    .how-steps { gap: 40px; flex-direction: column; align-items: center; }
    .how-step { max-width: 480px; width: 100%; }
    .how-header h2 { font-size: 2rem; }
    .ct-grid { grid-template-columns: repeat(2, 1fr); }
    .ct-header h2 { font-size: 2rem; }
}
@media (max-width: 768px) { 
    .main-display { grid-template-columns: 1fr; max-height: none; padding: 15px; border: 1px solid var(--border); background: var(--card-bg); box-shadow: 0 10px 30px rgba(0,0,0,0.3); } 
    .video-side { position: relative; width: 100%; height: 220px; opacity: 1; pointer-events: auto; margin-bottom: 10px; }
    .lyrics-side { max-height: 45vh; padding: 5px 10px; }
    .nav-arrow { display: none; } 
    .playground-wrapper { padding: 0; }
    .demo-mobile-nav { display: flex; }
    .demo-lesson-info-actions { display: flex; }
    .demo-lesson-info { padding: 12px 14px; gap: 12px; }
    .lesson-lang-badge { min-width: 42px; height: 42px; font-size: 0.8rem; }
    .lesson-info-title { font-size: 0.95rem; }
    .word-token { padding: 4px 3px; margin: 2px 1px; min-height: 28px; line-height: 1.4; -webkit-tap-highlight-color: rgba(139, 92, 246, 0.25); }
    .onboarding-desktop { display: none; }
    .onboarding-mobile { display: block; }
    .demo-title { font-size: 2rem; }
    .hero h1 { font-size: 2.5rem; }
    .cta-final h2 { font-size: 2.2rem; }
    .cta-url-box { flex-direction: column; padding: 14px; gap: 10px; }
    .cta-url-box input { width: 100%; text-align: center; }
    .cta-url-box .btn-primary { width: 100%; justify-content: center; }
    .ps-box { padding: 25px; }
    .feature-card { padding: 25px 20px; }
    .ct-grid { grid-template-columns: 1fr; }
}
