/* layer-2.quest */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --l1-base: #0f1729;
    --l2-surface: #1e3a5f;
    --l2-alt: #162447;
    --bridge: #3b82f6;
    --success: #22c55e;
    --accent: #8b5cf6;
    --text-light: #e2e8f0;
    --text-muted: #64748b;
    --text-secondary: #94a3b8;
}
body { background: #0f1729; color: #e2e8f0; font-family: 'Inter', sans-serif; line-height: 1.7; }
.hero { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; }
.layer-blocks { display: flex; gap: 4px; margin-bottom: 1rem; }
.mini-block { width: 16px; height: 16px; background: #3b82f6; border-radius: 2px; opacity: 0.5; }
.brand { font-family: 'Lato', sans-serif; font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); color: #e2e8f0; }
.subtitle { font-size: 0.9rem; color: #64748b; margin-bottom: 2rem; }
.layer-vis { display: flex; flex-direction: column; align-items: center; gap: 0; }
.l2-band { background: #1e3a5f; padding: 0.5rem 2rem; border-radius: 4px; font-family: 'Fira Code', monospace; font-size: 0.7rem; color: #8b5cf6; }
.bridge-line { width: 2px; height: 24px; background: #3b82f6; }
.l1-band { background: #0f1729; border: 1px solid #3b82f6; padding: 0.5rem 2rem; border-radius: 4px; font-family: 'Fira Code', monospace; font-size: 0.7rem; color: #3b82f6; }
.stages { max-width: 600px; margin: 0 auto; padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 0; }
.stage { padding: 1.5rem; border-left: 2px dotted #3b82f6; position: relative; }
.stage:first-of-type { background: #162447; }
.stage-label { font-family: 'Fira Code', monospace; font-size: 0.65rem; color: #64748b; }
.progress-badge { width: 24px; height: 24px; border-radius: 50%; background: #22c55e; display: flex; align-items: center; justify-content: center; position: absolute; top: 1.5rem; right: 1.5rem; }
.progress-badge.big { width: 40px; height: 40px; margin: 0 auto 1rem; }
.check { font-size: 0.7rem; color: #ffffff; }
.progress-badge.big .check { font-size: 1.1rem; }
.stage-title { font-family: 'Lato', sans-serif; font-weight: 700; font-size: 1rem; margin: 0.3rem 0; }
.stage-text { font-size: 0.8rem; color: #94a3b8; }
.architecture { padding: 2rem; display: flex; justify-content: center; }
.arch-diagram { display: flex; flex-direction: column; align-items: center; }
.arch-l2 { background: #1e3a5f; padding: 1rem 3rem; border-radius: 6px; font-family: 'Fira Code', monospace; font-size: 0.9rem; color: #8b5cf6; }
.arch-bridge { padding: 0.5rem 0; }
.bridge-arrow { color: #3b82f6; font-size: 1.2rem; }
.arch-l1 { background: #0f1729; border: 2px solid #3b82f6; padding: 1rem 3rem; border-radius: 6px; font-family: 'Fira Code', monospace; font-size: 0.9rem; color: #3b82f6; }
.achievement { background: #1e3a5f; text-align: center; padding: 3rem 2rem; }
.achieve-text { font-family: 'Lato', sans-serif; font-weight: 700; font-size: 1rem; color: #22c55e; }
.achieve-brand { font-size: 0.6rem; color: #64748b; display: block; margin-top: 0.5rem; }
.fade-in { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
