.home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 28px 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
  margin-top: 10px;
}

.hero-copy h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 34px;
  letter-spacing: 0.6px;
  margin: 12px 0;
}

.hero-copy p {
  color: var(--text2);
  font-size: 15px;
  max-width: 520px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(59, 180, 255, 0.4);
  color: var(--red-text);
  background: rgba(59, 180, 255, 0.15);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(59, 180, 255, 0.6);
  background: rgba(59, 180, 255, 0.22);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.16s, background 0.16s;
}

.hero-btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.hero-btn:hover {
  transform: translateY(-1px);
}

.hero-carousel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.45));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.carousel-track {
  position: relative;
  min-height: 324px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(59, 180, 255, 0.18), transparent 34%),
    rgba(17, 19, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  opacity: 0;
  transform: translateX(14px) scale(0.985);
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
  pointer-events: none;
  overflow: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 40%);
  pointer-events: none;
}

.hero-visual-shell {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.14), transparent 40%),
    linear-gradient(135deg, rgba(10, 14, 20, 0.95), rgba(18, 29, 44, 0.92));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  isolation: isolate;
}

.hero-visual-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(59, 180, 255, 0.22), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.14), transparent 24%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 11px);
  pointer-events: none;
  opacity: 0.65;
}

.hero-visual-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.42) 100%);
  pointer-events: none;
}

.hero-visual-glow {
  position: absolute;
  inset: -25% auto auto -10%;
  width: 62%;
  height: 62%;
  background: radial-gradient(circle, rgba(59, 180, 255, 0.36), transparent 68%);
  filter: blur(8px);
  opacity: 0.72;
  pointer-events: none;
}

.hero-visual-kicker {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(59, 180, 255, 0.18);
  border: 1px solid rgba(59, 180, 255, 0.34);
  color: var(--red-text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.hero-visual-title {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.05;
  max-width: 12ch;
}

.hero-visual-body {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  max-width: 320px;
  font-size: 13px;
  color: var(--text2);
}

.hero-visual-meter {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: flex;
  gap: 6px;
}

.hero-visual-meter span {
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-visual-meter span:nth-child(1) {
  background: rgba(59, 180, 255, 0.55);
}

.hero-visual-meter span:nth-child(2) {
  background: rgba(95, 200, 247, 0.4);
}

.hero-visual-meter span:nth-child(3) {
  background: rgba(255, 255, 255, 0.18);
}

.hero-slide-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero-caption {
  margin: 0;
  font-size: 12px;
  color: var(--text2);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-caption span {
  color: var(--red-text);
  font-weight: 700;
}

.hero-slide.theme-sky .hero-visual-shell {
  background:
    radial-gradient(circle at 18% 8%, rgba(59, 180, 255, 0.34), transparent 36%),
    linear-gradient(135deg, rgba(11, 18, 28, 0.98), rgba(15, 31, 49, 0.92));
}

.hero-slide.theme-ice .hero-visual-shell {
  background:
    radial-gradient(circle at 80% 0%, rgba(123, 226, 168, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(9, 14, 24, 0.98), rgba(17, 24, 36, 0.92));
}

.hero-slide.theme-deep .hero-visual-shell {
  background:
    radial-gradient(circle at 16% 12%, rgba(79, 195, 247, 0.22), transparent 35%),
    linear-gradient(135deg, rgba(12, 16, 26, 0.98), rgba(10, 14, 20, 0.92));
}

.carousel-dots {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 0 8px rgba(59, 180, 255, 0.6);
}

.section {
  margin-top: 50px;
}

.home-docs {
  margin-top: 40px;
}

.section-head h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  letter-spacing: 0.6px;
}

.section-head p {
  color: var(--text2);
  margin-top: 6px;
}

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

.profile-card,
.partner-card {
  background: rgba(17, 19, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, rgba(59, 180, 255, 0.4), rgba(255, 255, 255, 0.08));
}

.profile-name,
.partner-name {
  font-weight: 700;
  font-size: 14px;
}

.profile-role,
.partner-meta {
  font-size: 12px;
  color: var(--text2);
  margin-top: 6px;
}

.docs-tabs {
  margin-top: 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.docs-tabs-head {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: var(--bg3);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.docs-tab {
  background: transparent;
  border: none;
  color: var(--text2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.18s;
}

.docs-tab.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.docs-panel {
  display: none;
}

.docs-panel.active {
  display: block;
}

.docs-panel-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.docs-list {
  display: grid;
  gap: 10px;
}

.docs-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-item-title {
  font-weight: 600;
  font-size: 14px;
}

.docs-item-sub {
  color: var(--text2);
  font-size: 12px;
  margin-top: 4px;
}

.docs-points {
  display: grid;
  gap: 12px;
}

.docs-tier {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-tier-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.docs-tier-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.docs-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  color: var(--text2);
}

@media (max-width: 800px) {
  .home {
    padding: 20px 16px 60px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-copy h1 {
    font-size: 28px;
    margin: 10px 0 14px;
    line-height: 1.3;
  }

  .hero-copy p {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-carousel {
    min-height: 310px;
    padding: 14px;
  }

  .carousel-track {
    min-height: 280px;
  }

  .hero-visual-title {
    font-size: 24px;
  }

  .hero-visual-body {
    font-size: 12px;
  }

  .section {
    margin-top: 40px;
  }

  .home-docs {
    margin-top: 32px;
  }
}
