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


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

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

/* ===== SECTIONS ===== */
section { padding: 80px 40px; max-width: 900px; }
@media (max-width: 600px) { section { padding: 60px 20px; } }

/* ===== HERO ===== */
#hero { padding: 100px 40px 80px; text-align: center; max-width: 100%; }
#cta  { padding: 80px 40px 100px; text-align: center; max-width: 100%; }
@media (max-width: 600px) {
  #hero { padding: 70px 20px 60px; }
  #cta  { padding: 60px 20px 80px; }
}

.hero-badge {
  background: rgba(245,200,66,0.12);
  border: 1px solid rgba(245,200,66,0.3);
  color: var(--yellow);
}
.hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #f5c842 0%, #ff6b9d 40%, #4fa8ff 80%, #4dffb0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeDown 0.6s ease 0.1s both;
}
.hero-sub { margin-top: 14px; }
.hero-code { margin-top: 36px; font-size: 14px; }
.hero-buttons { margin-top: 32px; }

/* ===== BUTTONS ===== */
.btn { padding: 11px 26px; font-size: 13px; }
.btn-primary {
  background: var(--yellow); color: #0d0d14;
  box-shadow: 0 4px 20px rgba(245,200,66,0.25);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

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

/* ===== SECTION HEADING ===== */
.section-heading { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 14px; }
.section-desc { max-width: 620px; }

/* ===== INFO CARDS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
@media (max-width: 700px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) { .grid-3 { grid-template-columns: 1fr; } }

.info-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px; transition: border-color 0.2s, transform 0.2s;
}
.info-card:hover { transform: translateY(-3px); }
.info-card-icon  { font-size: 22px; margin-bottom: 10px; }
.info-card-title { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.info-card-text  { color: var(--muted); font-size: 13px; line-height: 1.65; }

/* ===== TIMELINE ===== */
.timeline { margin-top: 32px; display: flex; flex-direction: column; gap: 0; }
.tl-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 22px 22px 52px; position: relative;
  border-left: 2px solid var(--border);
}
.tl-item:last-child { border-left-color: transparent; }
.tl-item::before {
  content: '';
  position: absolute; left: -8px; top: 24px;
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--yellow); background: rgba(245,200,66,0.2);
}
.tl-item:nth-child(2)::before { border-color: var(--blue);   background: rgba(79,168,255,0.2); }
.tl-item:nth-child(3)::before { border-color: var(--green);  background: rgba(77,255,176,0.2); }
.tl-item:nth-child(4)::before { border-color: var(--pink);   background: rgba(255,107,157,0.2); }
.tl-item:nth-child(5)::before { border-color: var(--purple); background: rgba(184,122,255,0.2); }
.tl-year  { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; margin-bottom: 3px; }
.tl-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.tl-desc  { color: var(--muted); font-size: 13px; line-height: 1.6; }
.tl-item:nth-child(1) .tl-year { color: var(--yellow); }
.tl-item:nth-child(2) .tl-year { color: var(--blue); }
.tl-item:nth-child(3) .tl-year { color: var(--green); }
.tl-item:nth-child(4) .tl-year { color: var(--pink); }
.tl-item:nth-child(5) .tl-year { color: var(--purple); }

/* ===== REASON CARDS ===== */
.reason-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px; transition: transform 0.2s, border-color 0.2s;
}
.reason-card:hover { transform: translateY(-3px); }
.reason-card:nth-child(1):hover { border-color: var(--yellow); }
.reason-card:nth-child(2):hover { border-color: var(--green); }
.reason-card:nth-child(3):hover { border-color: var(--blue); }
.reason-card:nth-child(4):hover { border-color: var(--pink); }
.reason-card:nth-child(5):hover { border-color: var(--purple); }
.reason-card:nth-child(6):hover { border-color: var(--orange); }
.reason-icon  { font-size: 22px; margin-bottom: 9px; }
.reason-title { font-weight: 700; font-size: 13px; margin-bottom: 5px; }
.reason-text  { color: var(--muted); font-size: 12px; line-height: 1.6; }

/* ===== AREA CARDS ===== */
.area-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px; transition: transform 0.2s;
}
.area-card:hover { transform: translateY(-3px); }
.area-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.area-dot   { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.area-title { font-weight: 700; font-size: 14px; }
.area-text  { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.area-tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-block; padding: 3px 9px; border-radius: 20px;
  font-size: 11px; font-weight: 700; font-family: 'JetBrains Mono', monospace;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--muted);
}

/* ===== LANGUAGE COMPARE ===== */
.lang-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px; text-align: center;
}
.lang-card.highlight {
  border-color: var(--yellow);
  background: linear-gradient(135deg, rgba(245,200,66,0.06), rgba(13,13,20,1));
}
.lang-name  { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 17px; margin-bottom: 5px; }
.lang-badge {
  display: inline-block; font-size: 10px; padding: 2px 8px; border-radius: 10px;
  font-family: 'JetBrains Mono', monospace; margin-bottom: 12px;
}
.lang-props { list-style: none; text-align: left; }
.lang-props li {
  font-size: 12px; color: var(--muted); padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: flex-start; gap: 7px; line-height: 1.4;
}
.lang-props li:last-child { border-bottom: none; }
.lang-props li::before { content: '·'; color: var(--muted); flex-shrink: 0; }

/* ===== TOPIC LIST ===== */
.topic-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.topic-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px;
  text-decoration: none; color: var(--text); transition: border-color 0.2s, transform 0.2s;
}
.topic-item:hover { transform: translateX(4px); }
.topic-item:nth-child(1):hover { border-color: var(--yellow); }
.topic-item:nth-child(2):hover { border-color: var(--blue); }
.topic-item:nth-child(3):hover { border-color: var(--green); }
.topic-item:nth-child(4):hover { border-color: var(--pink); }
.topic-item:nth-child(5):hover { border-color: var(--purple); }
.topic-item:nth-child(6):hover { border-color: var(--orange); }
.topic-item:nth-child(7):hover { border-color: var(--yellow); }
.topic-item:nth-child(8):hover { border-color: var(--blue); }
.topic-item:nth-child(9):hover { border-color: var(--green); }
.topic-icon {
  font-size: 20px; flex-shrink: 0; width: 38px; height: 38px;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
}
.topic-info  { flex: 1; min-width: 0; }
.topic-title { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.topic-desc  { color: var(--muted); font-size: 12px; }
.topic-arrow { color: var(--muted); font-size: 16px; flex-shrink: 0; transition: transform 0.2s, color 0.2s; }
.topic-item:hover .topic-arrow { transform: translateX(4px); color: var(--text); }

/* ===== STEPS ===== */
.steps { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px; transition: border-color 0.2s;
}
.step:hover { border-color: var(--blue); }
.step-num {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; font-family: 'JetBrains Mono', monospace; flex-shrink: 0;
}
.step-title { font-weight: 700; font-size: 14px; margin-bottom: 5px; }
.step-text  { color: var(--muted); font-size: 13px; line-height: 1.6; }
.step-code {
  display: inline-block; margin-top: 8px; background: #080810;
  border-radius: 8px; padding: 9px 13px; font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--green); border: 1px solid var(--border);
}

/* ===== CTA ===== */
.cta-box {
  background: linear-gradient(135deg, rgba(245,200,66,0.08), rgba(79,168,255,0.08));
  border: 1px solid rgba(245,200,66,0.2);
  border-radius: 20px; padding: 52px 36px; max-width: 580px; margin: 0 auto;
}
.cta-title {
  font-size: clamp(1.6rem, 5vw, 2.6rem); font-weight: 800; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== FOOTER ===== */
footer { padding: 24px 40px; }
footer span { color: var(--yellow); }