body.homepage {
  background: #ffffff;
  color: #10131a;
  overflow-x: hidden;
}

body.homepage .main-content {
  padding-bottom: 0;
  overflow-x: hidden;
}

[class^="home-v3"],
[class*=" home-v3"] {
  box-sizing: border-box;
}

body.homepage .dropdown-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  font-family: inherit;
}

body.homepage .dropdown:hover .dropdown-toggle::after {
  transform: rotate(225deg);
}

.home-v3-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.home-v3-hero {
  position: relative;
  min-height: 680px;
  padding: 96px 0 132px;
  color: #ffffff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 8, 16, 0.91) 0%, rgba(5, 8, 16, 0.72) 46%, rgba(5, 8, 16, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 8, 16, 0) 74%, #ffffff 100%),
    url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=2200&q=82") center / cover;
}

.home-v3-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 72px;
  align-items: center;
}

.home-v3-hero-copy,
.home-v3-radar {
  min-width: 0;
}

.home-v3-kicker,
.home-v3-section-head span,
.home-v3-insight-band span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.home-v3-kicker {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.home-v3-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22d3ee;
}

.home-v3-hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: 64px;
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.home-v3-hero h1 span {
  display: block;
}

.home-v3-hero p {
  max-width: 710px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.9;
  font-weight: 600;
}

.home-v3-hero p span {
  display: block;
}

.home-v3-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.home-v3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-v3-btn:hover {
  transform: translateY(-2px);
}

.home-v3-btn-primary {
  color: #10131a;
  background: #ffffff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.home-v3-btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.home-v3-radar {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.home-v3-radar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.home-v3-radar h2 {
  margin: 0;
  color: #ffffff;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0;
}

.home-v3-radar-head span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(16, 185, 129, 0.38);
  font-size: 12px;
  font-weight: 800;
}

.home-v3-radar-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-v3-radar-stat {
  position: relative;
  display: block;
  min-height: 78px;
  padding: 18px;
  border-radius: 16px;
  color: inherit;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-v3-radar-stat::after {
  content: "→";
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  font-weight: 900;
}

.home-v3-radar-stat:hover,
.home-v3-radar-stat:focus-visible,
.home-v3-radar-stat.is-active {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
  outline: none;
}

.home-v3-radar-stat strong {
  display: block;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
}

.home-v3-radar-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.home-v3-catalog-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -2px 0 18px;
  padding: 12px 16px;
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.06);
}

.home-v3-catalog-summary[hidden] {
  display: none;
}

.home-v3-catalog-summary span {
  color: #7c3aed;
  font-size: 11px;
  font-weight: 900;
}

.home-v3-catalog-summary strong {
  color: #1f2937;
  font-size: 14px;
}

.home-v3-catalog-summary button {
  margin-left: auto;
  padding: 0;
  border: 0;
  color: #6d28d9;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.home-v3-radar-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.home-v3-radar-item,
.home-v3-radar-placeholder {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 15px;
  color: #10131a;
  background: rgba(255, 255, 255, 0.92);
}

.home-v3-radar-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.25;
}

.home-v3-radar-item small {
  display: block;
  color: #64748b;
  font-weight: 700;
}

.home-v3-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.home-v3-status-open {
  color: #047857;
  background: #d1fae5;
}

.home-v3-status-soon {
  color: #92400e;
  background: #fef3c7;
}

.home-v3-status-ended {
  color: #475569;
  background: #e2e8f0;
}

.home-v3-status-unknown {
  color: #4338ca;
  background: #eef2ff;
}

.home-v3-quick {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -58px;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

.home-v3-quick div {
  min-height: 92px;
  padding: 24px 28px;
  border-right: 1px solid #e5e7eb;
}

.home-v3-quick div:last-child {
  border-right: 0;
}

.home-v3-quick span {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.home-v3-quick strong {
  display: block;
  color: #10131a;
  font-size: 20px;
  line-height: 1.35;
}

.home-v3-section {
  padding: 96px 0;
}

.home-v3-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 72px;
  align-items: end;
}

.home-v3-section-head {
  margin-bottom: 34px;
}

.home-v3-section-head span {
  color: #4f46e5;
  background: #eef2ff;
}

.home-v3-section-head h2,
.home-v3-insight-band h2 {
  margin: 0;
  color: #10131a;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.home-v3-section-head p,
.home-v3-insight-band p {
  margin: 0;
  color: #64748b;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 600;
}

.home-v3-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-v3-path-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 318px;
  padding: 28px;
  border-radius: 18px;
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  background: #10131a;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-v3-path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.2);
}

.path-math {
  background:
    linear-gradient(180deg, rgba(16, 19, 26, 0.12), rgba(16, 19, 26, 0.92)),
    url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=900&q=80") center / cover;
}

.path-code {
  background:
    linear-gradient(180deg, rgba(16, 19, 26, 0.08), rgba(16, 19, 26, 0.92)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80") center / cover;
}

.path-science {
  background:
    linear-gradient(180deg, rgba(16, 19, 26, 0.08), rgba(16, 19, 26, 0.92)),
    url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=900&q=80") center / cover;
}

.home-v3-path-card span {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.home-v3-path-card strong {
  margin-top: 72px;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 900;
}

.home-v3-path-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  line-height: 1.7;
}

.home-v3-catalog {
  background: #f5f7fb;
}

.home-v3-catalog .home-v3-container {
  width: min(1200px, calc(100% - 48px));
}

.home-v3-tabs,
.home-v3-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  max-width: none;
}

.home-v3-tabs {
  margin: 8px 0 18px;
  width: fit-content;
  padding: 6px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: none;
  border: 1px solid #e5e7eb;
}

.home-v3-tab {
  min-width: 96px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  color: #64748b;
  background: transparent;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.home-v3-tab.is-active {
  color: #ffffff;
  background: #10131a;
}

.home-v3-filters {
  margin: 0 0 28px;
  padding: 0;
}

.home-v3-filter {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #dbe1ea;
  border-radius: 999px;
  color: #64748b;
  background: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.home-v3-filter.is-active {
  color: #ffffff;
  border-color: #4f46e5;
  background: #4f46e5;
}

.home-v3-grid-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.home-v3-grid-wrapper::before {
  display: none;
}

.home-v3-competition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: none;
  min-height: 0;
  padding: 0;
}

.home-v3-card {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.home-v3-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.home-v3-subject {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5, #22d3ee);
  font-size: 20px;
  font-weight: 900;
}

.home-v3-card h3 {
  margin: 0 0 12px;
  color: #10131a;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 900;
}

.home-v3-card p {
  margin: 0 0 18px;
  color: #64748b;
  line-height: 1.75;
  font-weight: 600;
}

.home-v3-card-meta {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.home-v3-card-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px dashed #d7dde8;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.home-v3-card-meta strong {
  color: #10131a;
  text-align: right;
}

.home-v3-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.home-v3-source {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.home-v3-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  color: #ffffff;
  background: #10131a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.home-v3-more {
  margin-top: 34px;
  text-align: center;
}

.home-v3-more .btn-discover-more {
  background: #10131a;
  border-radius: 999px;
}

.home-v3-loading,
.home-v3-empty {
  grid-column: 1 / -1;
  padding: 34px;
  border-radius: 16px;
  background: #ffffff;
  color: #64748b;
  font-weight: 800;
  text-align: center;
}

.home-v3-insight-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 44px;
  border-radius: 24px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(16, 19, 26, 0.94), rgba(16, 19, 26, 0.72)),
    url("https://images.unsplash.com/photo-1497633762265-9d179a990aa6?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.home-v3-insight-band span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.home-v3-insight-band h2 {
  color: #ffffff;
}

.home-v3-insight-band p {
  max-width: 720px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 980px) {
  .home-v3-container {
    width: min(100% - 32px, 720px);
  }

  .home-v3-hero {
    min-height: 0;
    padding: 68px 0 98px;
    background-position: 61% center;
  }

  .home-v3-hero-grid,
  .home-v3-two-col,
  .home-v3-insight-band {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-v3-hero h1 {
    font-size: 44px;
  }

  .home-v3-hero p {
    font-size: 17px;
  }

  .home-v3-radar {
    padding: 24px;
  }

  .home-v3-quick {
    grid-template-columns: 1fr 1fr;
  }

  .home-v3-quick div:nth-child(2) {
    border-right: 0;
  }

  .home-v3-quick div:nth-child(-n + 2) {
    border-bottom: 1px solid #e5e7eb;
  }

  .home-v3-path-grid,
  .home-v3-competition-grid {
    grid-template-columns: 1fr;
  }

  .home-v3-section {
    padding: 72px 0;
  }
}

@media (max-width: 640px) {
  .home-v3-container {
    width: calc(100% - 32px);
  }

  .home-v3-hero {
    padding: 46px 0 78px;
  }

  .home-v3-hero-grid {
    display: block;
  }

  .home-v3-hero-copy,
  .home-v3-radar {
    width: 100%;
    max-width: 340px;
  }

  .home-v3-kicker {
    font-size: 12px;
  }

  .home-v3-hero h1 {
    max-width: 340px;
    font-size: 34px;
    word-break: break-all;
  }

  .home-v3-hero p {
    max-width: 340px;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .home-v3-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-v3-btn {
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
  }

  .home-v3-radar-stats {
    grid-template-columns: 1fr;
  }

  .home-v3-radar-stats strong {
    font-size: 28px;
  }

  .home-v3-radar-item {
    grid-template-columns: 1fr;
  }

  .home-v3-quick {
    grid-template-columns: 1fr;
    margin-top: -34px;
  }

  .home-v3-quick div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .home-v3-quick div:last-child {
    border-bottom: 0;
  }

  .home-v3-section-head h2,
  .home-v3-insight-band h2 {
    font-size: 34px;
  }

  .home-v3-tabs {
    width: 100%;
  }

  .home-v3-tab {
    min-width: 0;
    padding: 13px 10px;
    flex: 1;
  }

  .home-v3-filters {
    gap: 8px;
  }

  .home-v3-filter {
    min-width: 0;
    padding: 11px 15px;
  }

  .home-v3-card {
    min-height: 0;
  }

  .home-v3-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-v3-detail {
    width: 100%;
  }

  .home-v3-insight-band {
    padding: 30px 24px;
  }
}
