/*
Bereits mit der global.css integriert.
*/

:root {
  --accent: var(--blue);
}

/* ===== LAYOUT ===== */
.layout { display: flex; padding-top: 56px; min-height: 100vh; }
.main { margin-left: var(--sidebar-w); flex: 1; min-width: 0; position: relative; z-index: 1; }
@media (max-width: 900px) { .main { margin-left: 0; } }

/* ===== SECTIONS ===== */
section { padding: 68px 48px; max-width: 820px; }
#hero { padding: 76px 48px 60px; max-width: 100%; text-align: center; }
#cta  { padding: 60px 48px 76px; max-width: 100%; text-align: center; }
@media (max-width: 600px) {
  section { padding: 50px 20px; }
  #hero { padding: 56px 20px 44px; }
  #cta  { padding: 44px 20px 60px; }
}
.section-desc { max-width: 580px; margin-bottom: 24px; }
.divider { margin: 0 48px; }
@media (max-width: 600px) { .divider { margin: 0 20px; } }

/* ===== PROGRESS BAR ===== */
.progress-bar {
  background: linear-gradient(90deg, var(--blue), var(--green), var(--purple));
}

/* ===== HERO ===== */
.hero-badge {
  background: rgba(79,168,255,0.1);
  border: 1px solid rgba(79,168,255,0.25);
  color: var(--blue);
}
.hero-title {
  font-size: clamp(2.8rem, 8vw, 5rem); font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #4fa8ff 0%, #4dffb0 50%, #b87aff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeDown 0.6s ease 0.1s both;
}

/* ===== BUTTONS ===== */
.btn-primary { background: var(--blue); color: #0d0d14; box-shadow: 0 4px 20px rgba(79,168,255,0.2); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ===== CTA ===== */
.cta-box {
  background: linear-gradient(135deg, rgba(79,168,255,0.07), rgba(77,255,176,0.07));
  border: 1px solid rgba(79,168,255,0.18);
  border-radius: 20px; padding: 50px 36px; max-width: 560px; margin: 0 auto;
}
.cta-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== FOOTER ===== */
footer span { color: var(--blue); }

/* ===== SECTION TITLE / FOOTER ===== */
.section-title {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); font-family: 'JetBrains Mono', monospace; margin-bottom: 8px;
}
.section-footer {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); font-family: 'JetBrains Mono', monospace;
  justify-content: center; align-items: center; display: flex;
  margin-top: 1rem; padding-bottom: 2rem;
}

/* ===== STEP CARDS ===== */
.step-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 32px; margin-bottom: 24px;
  animation: fadeUp 0.6s ease both; transition: border-color 0.2s;
}
.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }
.step-card:nth-child(5) { animation-delay: 0.5s; }
.step-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.step-num {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; font-family: 'JetBrains Mono', monospace; flex-shrink: 0;
}
.step-title { font-size: 18px; font-weight: 700; color: var(--text); margin-top: 4px; }
.step-body { padding-left: 52px; }
.step-desc { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.highlight { font-family: 'JetBrains Mono', monospace; font-weight: 700; }
@media (max-width: 600px) {
  .step-body { padding-left: 0; }
  .step-header { flex-direction: column; gap: 10px; }
}

/* ===== OS GRID ===== */
.os-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
@media (max-width: 500px) { .os-grid { grid-template-columns: 1fr; } }
.os-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; text-align: center;
  transition: border-color 0.2s, transform 0.2s; cursor: default;
}
.os-card.active { border-color: rgba(245,200,66,0.4); background: rgba(245,200,66,0.05); }
.os-icon { font-size: 28px; margin-bottom: 8px; }
.os-name { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.os-file { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }

/* ===== TIP BOX ===== */
.tip-box {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1px solid; border-radius: 10px; padding: 14px 16px;
  font-size: 13px; line-height: 1.6; color: var(--muted);
}
.tip-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ===== CHECKLIST ===== */
.checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.check-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px;
}
.check-box {
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0;
}
.check-box.checked { background: rgba(77,255,176,0.15); border-color: var(--green); color: var(--green); }
.check-title { font-weight: 700; font-size: 14px; margin-bottom: 3px; }
.check-desc { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

/* ===== INSTRUCTION STEPS ===== */
.instruction-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.inst-step { display: flex; align-items: flex-start; gap: 14px; }
.inst-num {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-family: 'JetBrains Mono', monospace; font-weight: 700; flex-shrink: 0;
}
.inst-text { font-size: 14px; line-height: 1.6; color: var(--text); padding-top: 4px; }

/* ===== KBD / MONO ===== */
.kbd {
  display: inline-block; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 5px;
  padding: 1px 7px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text);
}
.mono { font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.btn-inline {
  display: inline-block; padding: 2px 10px;
  background: rgba(77,255,176,0.15); border: 1px solid rgba(77,255,176,0.4);
  border-radius: 6px; font-size: 12px; font-family: 'JetBrains Mono', monospace; color: var(--green);
}

/* ===== EXTENSION CARD ===== */
.ext-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(77,255,176,0.25);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 16px;
}
.ext-icon { font-size: 32px; flex-shrink: 0; }
.ext-info { flex: 1; }
.ext-name { font-weight: 800; font-size: 16px; margin-bottom: 3px; }
.ext-author { font-size: 11px; font-family: 'JetBrains Mono', monospace; color: var(--muted); margin-bottom: 5px; }
.ext-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.ext-badge {
  background: rgba(77,255,176,0.15); border: 1px solid rgba(77,255,176,0.35);
  color: var(--green); font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; flex-shrink: 0; font-family: 'JetBrains Mono', monospace;
}

/* ===== EXTRAS GRID ===== */
.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 500px) { .extras-grid { grid-template-columns: 1fr; } }
.extra-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px;
}
.extra-icon { font-size: 18px; flex-shrink: 0; }
.extra-name { font-weight: 700; font-size: 13px; margin-bottom: 3px; }
.extra-desc { font-size: 11px; color: var(--muted); line-height: 1.4; }

/* ===== TERMINAL ===== */
.terminal-box {
  background: #06060e; border: 1px solid rgba(77,255,176,0.2);
  border-radius: 12px; overflow: hidden;
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
}
.terminal-header {
  background: rgba(255,255,255,0.05); padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-title { font-size: 11px; letter-spacing: 2px; color: var(--muted); margin-left: 4px; }
.terminal-body { padding: 16px 20px; line-height: 1.9; }
.t-prompt { color: var(--green); margin-right: 8px; }
.t-output { color: var(--text); }
.t-cursor { display: inline-block; color: var(--green); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ===== SHORTCUTS ===== */
.summary-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 32px; margin-bottom: 24px;
  animation: fadeUp 0.6s ease 0.6s both;
}
.shortcuts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
@media (max-width: 600px) { .shortcuts-grid { grid-template-columns: 1fr 1fr; } }
.shortcut {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px; text-align: center;
}
.shortcut-keys { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-bottom: 8px; }
.shortcut-label { font-size: 11px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

/* ===== RULE CARD ===== */
.rule-card {
  background: linear-gradient(135deg, rgba(79,168,255,0.08), rgba(77,255,176,0.08));
  border: 1px solid rgba(79,168,255,0.25);
  border-radius: 14px; padding: 24px 28px;
  display: flex; align-items: center; gap: 16px;
  animation: fadeUp 0.6s ease 0.7s both; margin-bottom: 32px;
}
.rule-icon { font-size: 28px; flex-shrink: 0; }
.rule-text { font-size: 15px; line-height: 1.5; }
.rule-text strong { color: var(--blue); }