#hero {
  padding: 100px 0 80px;
  position: relative;
  background: radial-gradient(
    ellipse 90% 70% at 50% 0%,
    rgba(14, 159, 143, 0.14) 0%,
    rgba(235, 107, 77, 0.08) 42%,
    transparent 72%
  );
}

#hero::after {
  content: "";
  position: absolute;
  inset: 18px 24px auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(19, 35, 63, 0.18),
    transparent
  );
}

.course-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(14, 159, 143, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 36px;
  font-weight: 400;
  max-width: 760px;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.author {
  color: var(--text);
  font-weight: 700;
}

.author span {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.82rem;
  display: block;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0d7cc4);
  border-color: transparent;
  color: #fff;
}

.btn-primary:hover {
  filter: saturate(1.1);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(19, 35, 63, 0.12);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  transform: translateY(-2px);
}

.btn-dim {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(19, 35, 63, 0.1);
  color: rgba(19, 35, 63, 0.35);
  cursor: default;
  pointer-events: none;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

#abstract .abstract-box {
  border-left: 3px solid var(--accent2);
  padding: 24px 28px;
  background: var(--surface);
  border-radius: 0 16px 16px 0;
  font-size: 1rem;
  line-height: 1.8;
  box-shadow: var(--shadow);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px auto;
  max-width: 750px;
}

.stat-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88),
    rgba(244, 249, 255, 0.8)
  );
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  transition:
    border-color 0.2s,
    transform 0.2s;
  box-shadow: var(--shadow);
}

.stat-card:hover {
  border-color: rgba(14, 159, 143, 0.45);
  transform: translateY(-4px);
}

.stat-num {
  font-family: var(--mono);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--accent2);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#architecture .arch-box {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  margin-top: 32px;
  overflow-x: auto;
  box-shadow: var(--shadow);
}

.arch-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.arch-node {
  background: rgba(220, 232, 248, 0.7);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 28px;
  color: var(--text);
  white-space: nowrap;
  position: relative;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.arch-node:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.arch-node.highlight {
  border-color: var(--accent3);
  color: var(--accent3);
  background: rgba(235, 107, 77, 0.1);
}

.arch-arrow {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.arch-arrow .label {
  font-size: 0.7rem;
  color: var(--accent);
  font-style: normal;
}

.arch-steps {
  background: rgba(220, 232, 248, 0.55);
  border: 1px solid rgba(14, 159, 143, 0.35);
  border-radius: 18px;
  padding: 16px 24px;
  width: 100%;
  max-width: 520px;
}

.arch-steps ol {
  list-style: decimal;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 2;
}

.arch-steps ol li span {
  color: var(--text);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.info-card {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.info-card h4 {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.info-card ul {
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.9;
}

.info-card ul li::before {
  content: "→ ";
  color: var(--accent3);
}

#algorithm .eq-block {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
  overflow-x: auto;
  box-shadow: var(--shadow);
}

.eq-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: block;
}

.matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.bug-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bug-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  border-left: 3px solid;
  transition: transform 0.15s;
  box-shadow: var(--shadow);
}

.bug-card:hover {
  transform: translateX(3px);
}

.bug-card.critical {
  border-left-color: #b42828;
}

.bug-card.moderate {
  border-left-color: #9a7200;
}

.bug-card.minor {
  border-left-color: var(--accent2);
}

.bug-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.bug-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 500;
}

.critical .bug-num {
  background: rgba(180, 40, 40, 0.1);
  color: #b42828;
}

.moderate .bug-num {
  background: rgba(160, 120, 10, 0.12);
  color: #9a7200;
}

.minor .bug-num {
  background: rgba(26, 111, 204, 0.1);
  color: var(--accent2);
}

.bug-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a1915;
}

.bug-body {
  font-size: 0.88rem;
  color: var(--muted);
}

.bug-fix {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--green);
  font-family: var(--mono);
  background: rgba(30, 138, 74, 0.06);
  border-radius: 4px;
  padding: 8px 12px;
}

.results-section {
  margin-top: 36px;
}

.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

thead tr {
  background: rgba(220, 232, 248, 0.7);
  border-bottom: 1px solid var(--accent2);
}

thead th {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

tbody tr:hover {
  background: rgba(14, 159, 143, 0.06);
}

tbody td {
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.88rem;
  white-space: nowrap;
}

.td-config {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent2);
}

.td-best {
  color: var(--accent2);
  font-weight: 600;
}

.td-check {
  color: var(--green);
}

.row-lqr {
  background: rgba(14, 159, 143, 0.06);
}

.figure-block {
  margin: 32px 0;
}

.figure-block img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  display: block;
  box-shadow: var(--shadow);
}

.figure-caption {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  font-style: italic;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.video-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.2s;
  box-shadow: var(--shadow);
}

.video-card:hover {
  border-color: rgba(14, 159, 143, 0.45);
}

.video-card video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.video-label {
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted);
}

.video-label strong {
  color: var(--text);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.insight-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.insight-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
  display: block;
}

.insight-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1915;
  margin-bottom: 8px;
}

.insight-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

.team-table {
  margin-top: 24px;
}

.team-row {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  align-items: flex-start;
}

.team-row:last-child {
  border-bottom: none;
}

.team-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: #1a1915;
  min-width: 150px;
  flex-shrink: 0;
}

.team-tasks {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.tuning-timeline {
  margin-top: 28px;
  position: relative;
  padding-left: 24px;
}

.tuning-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent2), transparent);
}

.tuning-entry {
  position: relative;
  margin-bottom: 28px;
}

.tuning-entry::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent2);
  border: 2px solid #f4f8ff;
}

.tuning-date {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent2);
  margin-bottom: 4px;
}

.tuning-title {
  font-weight: 600;
  color: #1a1915;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.tuning-body {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.bibtex-box {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  margin-top: 24px;
  position: relative;
  box-shadow: var(--shadow);
}

.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(220, 232, 248, 0.9);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

@media (max-width: 640px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .authors {
    gap: 6px 16px;
  }
}

@media (max-width: 600px) {
  .matrix-grid {
    grid-template-columns: 1fr;
  }
}
