/* Home - Multi UI product matrix */
:root {
  --bg: #07090f;
  --panel: #101522;
  --text: #eef2ff;
  --muted: #9aa6c2;
  --line: rgba(255, 255, 255, 0.1);
  --relay: #7c5cff;
  --relay-soft: rgba(124, 92, 255, 0.16);
  --super: #22d3ee;
  --super-soft: rgba(34, 211, 238, 0.14);
  --follow: #34d399;
  --follow-soft: rgba(52, 211, 153, 0.14);
  --radius: 18px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(124, 92, 255, 0.22), transparent 55%),
    radial-gradient(800px 420px at 90% 0%, rgba(34, 211, 238, 0.12), transparent 50%),
    radial-gradient(700px 400px at 50% 100%, rgba(52, 211, 153, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(7, 9, 15, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #a78bfa, #22d3ee 55%, #34d399);
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex-wrap: wrap;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  padding: 1.25rem 0 0;
}

.carousel {
  position: relative;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: 520px;
  border-radius: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(16, 21, 34, 0.95), rgba(10, 12, 20, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.slide {
  display: none;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem) 4.5rem;
  min-height: 520px;
}

.slide.is-active {
  display: grid;
  animation: fadeIn 0.45s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.slide-badge {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  border: 1px solid transparent;
}

.slide[data-product="relay"] .slide-badge {
  color: #c4b5fd;
  background: var(--relay-soft);
  border-color: rgba(167, 139, 250, 0.35);
}

.slide[data-product="super"] .slide-badge {
  color: #a5f3fc;
  background: var(--super-soft);
  border-color: rgba(34, 211, 238, 0.35);
}

.slide[data-product="follow"] .slide-badge {
  color: #a7f3d0;
  background: var(--follow-soft);
  border-color: rgba(52, 211, 153, 0.35);
}

.slide h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.slide p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  max-width: 40ch;
  font-size: 1.02rem;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.15rem;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #0b1020;
  background: linear-gradient(135deg, #fff, #dbe4ff);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12);
}

.slide[data-product="relay"] .btn-primary {
  background: linear-gradient(135deg, #a78bfa, #7c5cff);
  color: #fff;
  box-shadow: 0 12px 32px rgba(124, 92, 255, 0.35);
}

.slide[data-product="super"] .btn-primary {
  background: linear-gradient(135deg, #67e8f9, #22d3ee);
  color: #06202a;
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.3);
}

.slide[data-product="follow"] .btn-primary {
  background: linear-gradient(135deg, #6ee7b7, #34d399);
  color: #052e1d;
  box-shadow: 0 12px 32px rgba(52, 211, 153, 0.3);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.slide-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0e18;
  min-height: 280px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.slide-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  min-height: 280px;
  max-height: 420px;
}

.slide-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.35));
}

.carousel-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  z-index: 5;
  pointer-events: none;
}

.carousel-controls > * {
  pointer-events: auto;
}

.ctrl-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(7, 9, 15, 0.7);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dots {
  display: flex;
  gap: 0.45rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
}

.dot.is-active {
  width: 26px;
  background: #fff;
}

section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 640px;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.product-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0e18;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.04);
}

.product-card .body {
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-relay {
  color: #c4b5fd;
  background: var(--relay-soft);
}

.tag-super {
  color: #a5f3fc;
  background: var(--super-soft);
}

.tag-follow {
  color: #a7f3d0;
  background: var(--follow-soft);
}

.product-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.product-card .link {
  color: #dbe4ff;
  font-weight: 600;
  font-size: 0.92rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(16, 21, 34, 0.55);
}

.feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature.relay .icon {
  background: var(--relay-soft);
  color: #c4b5fd;
}

.feature.super .icon {
  background: var(--super-soft);
  color: #a5f3fc;
}

.feature.follow .icon {
  background: var(--follow-soft);
  color: #a7f3d0;
}

.cta-band {
  margin: 0 auto 4rem;
  width: min(1180px, calc(100% - 2.5rem));
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.1), rgba(52, 211, 153, 0.12)),
    rgba(16, 21, 34, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.cta-band .btn-primary {
  background: linear-gradient(135deg, #a78bfa, #7c5cff);
  color: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .slide {
    grid-template-columns: 1fr;
    position: absolute;
    width: 100%;
  }

  .slide.is-active {
    position: relative;
  }

  .slide-visual img {
    max-height: 280px;
  }

  .product-grid,
  .features {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .carousel {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .slide p {
    max-width: none;
  }
}