.hero-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: center;
}

.home-page .hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background-image: url("../assets/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 112px 0 90px;
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(97deg, rgba(4, 8, 18, 0.72) 0%, rgba(4, 8, 18, 0.58) 44%, rgba(4, 8, 18, 0.36) 100%);
  z-index: 0;
  pointer-events: none;
}

.home-page .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 30%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  z-index: 1;
  pointer-events: none;
}

.home-page .hero > .container {
  position: relative;
  z-index: 3;
}

.home-page .hero-copy {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding-right: 10px;
}

.home-page .hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5.7vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 13ch;
  text-wrap: balance;
  margin-bottom: 14px;
}

.home-page .hero-copy p {
  color: rgba(239, 245, 255, 0.92);
  font-size: 1.03rem;
  max-width: 57ch;
  margin: 0;
}

.home-page .hero-copy .eyebrow {
  color: #ffb47b;
  margin-bottom: 12px;
}

.home-page .hero-actions {
  margin-top: 24px;
}

.home-page .hero-actions .btn {
  min-height: 48px;
  padding: 0 24px;
}

.home-page .hero-actions .btn-primary {
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.36);
}

.home-page .hero-actions .btn-outline {
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  border: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
  z-index: 1;
  display: none;
}

.hero-glow--left {
  width: 340px;
  height: 340px;
  left: -110px;
  top: -70px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.16), rgba(255, 106, 0, 0));
}

.hero-glow--right {
  width: 400px;
  height: 400px;
  right: -140px;
  top: 20px;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.13), rgba(31, 111, 235, 0));
}

.home-page .hero-proof {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-page .hero-proof p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(229, 237, 250, 0.95);
}

.hero-avatars {
  display: flex;
  align-items: center;
}

.hero-avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-left: -8px;
  border: 2px solid rgba(4, 8, 18, 0.8);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.hero-avatars span:first-child {
  margin-left: 0;
}

.hero-avatars img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-page .hero-media {
  position: relative;
  min-height: 500px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orbit {
  position: relative;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(202, 218, 239, 0.36);
  background: radial-gradient(circle at 34% 30%, rgba(148, 163, 184, 0.22), rgba(15, 23, 42, 0.08));
  box-shadow: inset 0 0 90px rgba(148, 163, 184, 0.16), 0 28px 48px rgba(2, 6, 13, 0.38);
  animation: orbitPulse 8s ease-in-out infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(188, 206, 229, 0.2);
}

.hero-orbit::before {
  inset: 52px;
}

.hero-orbit::after {
  inset: 104px;
}

.hero-node {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 16px 28px rgba(4, 10, 21, 0.28);
  color: #111827;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  animation: nodeFloat 6s ease-in-out infinite;
}

.hero-node strong {
  font-size: 0.95rem;
  font-family: "Space Grotesk", "Sora", sans-serif;
  line-height: 1.1;
}

.hero-node span {
  font-size: 0.67rem;
  color: #546177;
  line-height: 1.2;
}

.hero-node--main {
  left: -10px;
  top: 62px;
  padding: 14px 16px;
}

.hero-node--alt {
  right: -18px;
  top: 184px;
  padding: 12px 14px;
  animation-delay: 0.8s;
}

.hero-node--small {
  left: 152px;
  bottom: -22px;
  width: 84px;
  height: 84px;
  align-items: center;
  justify-content: center;
  animation-delay: 1.3s;
}

.hero-node--small strong {
  font-size: 1.35rem;
}

.home-page .hero-media img {
  display: none;
}

@keyframes orbitPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@keyframes nodeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero-chip {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 10px 20px rgba(11, 18, 32, 0.08);
  display: none;
}

.hero-chip--top {
  top: 16px;
  right: 16px;
}

.hero-chip--bottom {
  bottom: 18px;
  left: 18px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.home-page .learning-showcase {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.2), transparent 35%),
    radial-gradient(circle at 90% 76%, rgba(249, 115, 22, 0.2), transparent 34%),
    linear-gradient(140deg, #eef4ff 0%, #f5f9ff 44%, #fff2e8 100%);
}

.home-page .learning-showcase::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -120px;
  border-radius: 42% 58% 69% 31% / 36% 40% 60% 64%;
  background: rgba(37, 99, 235, 0.2);
  filter: blur(4px);
  pointer-events: none;
}

.home-page .learning-showcase::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  left: -160px;
  bottom: -190px;
  border-radius: 56% 44% 37% 63% / 41% 56% 44% 59%;
  background: rgba(249, 115, 22, 0.16);
  pointer-events: none;
}

.home-page .learning-showcase .container {
  position: relative;
  z-index: 1;
}

.home-page .learning-subtitle {
  max-width: 680px;
  font-size: 1.02rem;
  color: #49556a;
  margin-bottom: 18px;
}

.home-page .learning-grid {
  align-items: stretch;
}

.home-page .learning-card {
  border: 2px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: 0 20px 32px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-page .learning-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 48% 52% 38% 62% / 62% 42% 58% 38%;
  right: -56px;
  top: -58px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.24), rgba(37, 99, 235, 0.02));
}

.home-page .learning-card::after {
  content: "";
  position: absolute;
  width: 52px;
  height: 52px;
  right: 18px;
  bottom: 16px;
  border-radius: 16px;
  border: 2px dashed rgba(37, 99, 235, 0.24);
  opacity: 0.8;
}

.home-page .learning-card--one {
  border-radius: 36px 14px 32px 20px;
  transform: rotate(-2.6deg) translateY(8px);
}

.home-page .learning-card--one .badge {
  background: #e8f0ff;
  color: #1d4ed8;
}

.home-page .learning-card--two {
  border-radius: 18px 34px 20px 34px;
  transform: translateY(18px) scale(1.02);
}

.home-page .learning-card--two::before {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.24), rgba(249, 115, 22, 0.02));
}

.home-page .learning-card--two .badge {
  background: #fff1e6;
  color: #c2410c;
}

.home-page .learning-card--three {
  border-radius: 16px 28px 36px 22px;
  transform: rotate(2.5deg) translateY(10px);
}

.home-page .learning-card--three::before {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0.02));
}

.home-page .learning-card--three .badge {
  background: #f3ecff;
  color: #6d28d9;
}

.home-page .learning-card:hover {
  transform: translateY(-12px) rotate(0deg) scale(1.02);
  box-shadow: 0 30px 44px rgba(15, 23, 42, 0.18);
  border-color: rgba(37, 99, 235, 0.42);
}

.home-page .learning-card .badge {
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(2px);
}

.home-page .trust-strip {
  position: relative;
  padding: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #edf4ff, #fff3ea);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
}

.home-page .trust-strip .trust-item {
  position: relative;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #ffffff;
  box-shadow: 0 10px 16px rgba(15, 23, 42, 0.08);
  min-height: 52px;
  font-weight: 600;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-page .trust-strip .trust-item::after {
  content: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0;
  transition: none;
}

.home-page .trust-strip .trust-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 16px 24px rgba(15, 23, 42, 0.16);
  border-color: rgba(37, 99, 235, 0.36);
}

.home-page .trust-strip .trust-item span {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.28);
}

.home-page .trust-strip .trust-item .trust-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eaf1ff;
  border: 1px solid rgba(37, 99, 235, 0.24);
}

.home-page .trust-strip .trust-item .trust-icon svg {
  width: 15px;
  height: 15px;
  stroke: #1e40af;
}

.home-page .trust-strip .trust-item:nth-child(1) {
  transform: rotate(-1.6deg);
  background: linear-gradient(180deg, #ffffff, #eef5ff);
}

.home-page .trust-strip .trust-item:nth-child(2) {
  transform: translateY(-2px) rotate(1deg);
  background: linear-gradient(180deg, #ffffff, #fff4ea);
}

.home-page .trust-strip .trust-item:nth-child(2) .trust-icon {
  background: #fff0e5;
  border-color: rgba(249, 115, 22, 0.26);
}

.home-page .trust-strip .trust-item:nth-child(2) .trust-icon svg {
  stroke: #c2410c;
}

.home-page .trust-strip .trust-item:nth-child(3) {
  transform: rotate(-0.8deg);
  background: linear-gradient(180deg, #ffffff, #eef8ff);
}

.home-page .trust-strip .trust-item:nth-child(3) .trust-icon {
  background: #e8f4ff;
}

.home-page .trust-strip .trust-item:nth-child(4) {
  transform: translateY(1px) rotate(1.4deg);
  background: linear-gradient(180deg, #ffffff, #fff3eb);
}

.home-page .trust-strip .trust-item:nth-child(4) .trust-icon {
  background: #f2f4f8;
  border-color: rgba(100, 116, 139, 0.34);
}

.home-page .trust-strip .trust-item:nth-child(4) .trust-icon svg {
  stroke: #334155;
}

.home-page .featured-showcase {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 8% 10%, rgba(37, 99, 235, 0.12), transparent 22%),
    radial-gradient(circle at 92% 88%, rgba(249, 115, 22, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.home-page .featured-showcase::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: -60px;
  top: -74px;
  border-radius: 46% 54% 38% 62% / 62% 42% 58% 38%;
  background: rgba(37, 99, 235, 0.13);
  pointer-events: none;
}

.home-page .featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.home-page .featured-head .section-title {
  margin: 0;
}

.home-page .featured-head p {
  margin: 0;
  max-width: 520px;
  color: #516078;
}

.home-page .featured-grid {
  position: relative;
}

.home-page .featured-card {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
  padding-top: 18px;
  overflow: hidden;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.home-page .featured-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -26px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0));
}

.home-page .featured-card h3 {
  color: #0f172a;
}

.home-page .featured-card p {
  color: #445268;
}

.home-page .featured-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.home-page .featured-card:nth-child(2n) .featured-icon {
  background: #fff1e5;
  border-color: rgba(249, 115, 22, 0.24);
  color: #c2410c;
}

.home-page .featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 34px rgba(15, 23, 42, 0.14);
  border-color: rgba(37, 99, 235, 0.34);
}

.home-page .teaching-showcase {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.home-page .teach-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.home-page .teach-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.7), rgba(249, 115, 22, 0.6));
}

.home-page .teach-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: #eff5ff;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.home-page .seo-knowledge {
  background:
    radial-gradient(circle at 84% 18%, rgba(37, 99, 235, 0.12), transparent 26%),
    radial-gradient(circle at 12% 88%, rgba(249, 115, 22, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #f2f8ff 100%);
}

.home-page .seo-intro {
  max-width: 820px;
  color: #445268;
}

.home-page .seo-grid {
  margin-top: 16px;
}

.home-page .seo-card {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.home-page .seo-card h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.home-page .seo-card p {
  margin-bottom: 0;
}

.home-page .seo-callout {
  margin-top: 16px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.home-page .seo-callout p {
  margin: 0;
  color: #3b475a;
}

.home-page .latest-showcase {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.home-page .latest-showcase .blog-card {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.home-page .latest-showcase .blog-card .badge {
  align-self: flex-start;
}

.home-page .responsible-panel {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(120deg, #ffffff 0%, #f6f9ff 48%, #fff4eb 100%);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
}

.home-page .faq-showcase .faq-item {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.home-page .faq-showcase .faq-trigger {
  font-size: 1rem;
}

.home-page .newsletter-showcase {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.home-page .newsletter-panel {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #fff;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-stats .card {
  padding: 18px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.faq-wrap {
  max-width: 860px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 1fr minmax(0, 860px) 1fr;
}

.policy-content {
  grid-column: 2;
}

.policy-content h2 {
  margin-top: 2.2rem;
}

.toc-inline {
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.map-panel {
  border: 1px dashed rgba(31, 111, 235, 0.45);
  border-radius: 16px;
  padding: 16px;
  background: #f8fbff;
}

.legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.orange {
  background: var(--accent);
}

.dot.blue {
  background: var(--accent-2);
}

.dot.gray {
  background: #99a1af;
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .home-page .hero {
    padding: 86px 0 68px;
  }

  .home-page .hero-copy {
    max-width: 100%;
    padding-right: 0;
  }

  .home-page .hero-kpis {
    gap: 8px;
  }

  .home-page .hero-media {
    min-height: 400px;
    justify-content: flex-start;
  }

  .hero-orbit {
    width: 330px;
    height: 330px;
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-page .trust-strip {
    border-radius: 22px;
    padding: 10px;
  }

  .home-page .trust-strip .trust-item:nth-child(1),
  .home-page .trust-strip .trust-item:nth-child(2),
  .home-page .trust-strip .trust-item:nth-child(3),
  .home-page .trust-strip .trust-item:nth-child(4) {
    transform: none;
  }

  .home-page .learning-card--one,
  .home-page .learning-card--two,
  .home-page .learning-card--three {
    transform: none;
    border-radius: 20px;
  }

  .home-page .featured-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-page .seo-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .article-grid,
  .mini-stats {
    grid-template-columns: 1fr;
  }

  .policy-layout {
    display: block;
  }

  .home-page .hero {
    padding-top: 76px;
  }

  .home-page .hero h1 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .home-page .hero-copy p {
    font-size: 0.95rem;
  }

  .home-page .hero-actions .btn {
    width: 100%;
  }

  .home-page .hero-proof {
    align-items: flex-start;
  }

  .home-page .hero-media {
    min-height: 320px;
    justify-content: center;
  }

  .hero-orbit {
    width: 270px;
    height: 270px;
  }

  .hero-node--main {
    top: 34px;
    left: -12px;
    padding: 10px 12px;
  }

  .hero-node--alt {
    right: -14px;
    top: 110px;
    padding: 9px 11px;
  }

  .hero-node--small {
    left: 94px;
    bottom: -14px;
    width: 66px;
    height: 66px;
  }

  .home-page .hero-proof p {
    font-size: 0.88rem;
  }

  .home-page .learning-subtitle {
    font-size: 0.95rem;
  }

  .home-page .trust-strip {
    border-radius: 16px;
    padding: 6px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  }

  .home-page .trust-strip .trust-item {
    min-height: 48px;
    font-size: 0.93rem;
  }

  .home-page .featured-card {
    border-radius: 18px;
  }

  .home-page .seo-card {
    padding: 16px;
  }
}
