:root {
  --bg: #030303;
  --surface: #120a15;
  --surface-2: #1b1020;
  --line: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --faint: rgba(255, 255, 255, 0.42);
  --pink: #ff48df;
  --purple: #71266f;
  font-family: "Noto Sans SC", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { background: #000; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #000; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[data-jump] { cursor: pointer; }

.wrap, .topbar-inner, .hero-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(24px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo img { display: block; width: 147px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 13px; }
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  height: 34px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  color: rgba(255,255,255,0.76);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.desktop-nav a.active { border-color: rgba(255,255,255,0.35); color: #fff; }

.top-actions { display: flex; align-items: center; gap: 16px; }
.searchbox {
  display: flex;
  align-items: center;
  width: 200px;
  height: 40px;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(35, 17, 40, 0.72);
  color: var(--faint);
}
.searchbox input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 14px; }
.searchbox input::placeholder { color: var(--faint); }
.icon-button { display: grid; place-items: center; width: 30px; height: 30px; background: transparent; color: #fff; padding: 0; }
.mobile-search { display: none; }
.language {
  position: relative;
}
.language .lang-toggle {
  display: grid;
  width: 30px;
}
.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 40;
  display: grid;
  width: 210px;
  max-height: 340px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(12, 6, 15, 0.96);
  box-shadow: 0 18px 42px rgba(0,0,0,.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 72, 223, .72) rgba(255,255,255,.08);
}
.language-menu::-webkit-scrollbar {
  width: 8px;
}
.language-menu::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}
.language-menu::-webkit-scrollbar-thumb {
  border: 2px solid rgba(12, 6, 15, 0.96);
  border-radius: 999px;
  background: linear-gradient(180deg, #ff61ea, #30e0ff);
}
.language-menu::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff8af0, #65ecff);
}
.language.open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.language-menu button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: rgba(255,255,255,.76);
  background: transparent;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}
.language-menu button:hover,
.language-menu button.active {
  color: #fff;
  background: rgba(255, 72, 223, .18);
}
.login-btn, .signup-btn {
  flex: 0 0 auto;
  min-width: 62px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: #050505;
  border: 1px solid rgba(255,255,255,0.15);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.signup-btn { min-width: 66px; border: 0; background: #ff4de1; }

.hero { overflow: hidden; }
.hero-inner { position: relative; height: 420px; }
.hero-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 800px;
  height: 420px;
  object-fit: cover;
  object-position: left center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.86) 28%, rgba(0,0,0,0.18) 70%, rgba(0,0,0,0.08) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(710px, 100%);
  height: 100%;
  gap: 22px;
}
.hero h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero h1 span { font-weight: 600; }
.hero h1 b { padding: 0 4px; font-weight: 300; }
.hero-card {
  width: min(690px, 100%);
  padding: 18px 22px;
  border-radius: 10px;
  background: rgba(25, 15, 29, 0.72);
  color: #fff;
}
.hero-card strong, .hero-card p { display: block; font-size: 14px; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 13px; }
.pink-btn, .dark-btn, .white-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.pink-btn { background: linear-gradient(113deg, #ff61ea 12%, #760d68 93%); }
.dark-btn { border: 1px solid #3d2a44; background: #1d1422; color: #eae1e9; }
.white-btn { width: fit-content; color: #000; background: #fff; }
.white-btn svg { fill: #000; }
.pink-btn svg { fill: currentColor; }
.hero-note { margin: 0; color: rgba(255,255,255,0.36); font-size: 12px; font-weight: 700; }

.section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 24px;
}
.section-title h2 { margin: 0; font-size: 16px; line-height: 1.2; }
.section-title span, .section-title p { margin: 0; color: rgba(255,255,255,0.72); font-size: 12px; }
.how { padding: 0 0 40px; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.how-card {
  position: relative;
  height: 265px;
  overflow: hidden;
  border-radius: 14px;
  background: #151515;
}
.how-card img, .series-card > img { width: 100%; height: 100%; object-fit: cover; }
.series-card > img {
  transform: scale(1);
  transition: transform .42s ease;
}
.how-card h3 {
  position: absolute;
  left: 24px;
  bottom: 87px;
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  text-shadow: 0 2px 12px #000;
}
.how-card div {
  position: absolute;
  inset: auto 0 0;
  min-height: 96px;
  padding: 18px 24px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(14px);
}
.how-card strong, .tool-card strong { display: block; font-size: 16px; }
.how-card p, .tool-card p { margin: 7px 0 0; color: rgba(255,255,255,0.78); font-size: 12px; line-height: 1.45; }

.tools { padding-bottom: 64px; }
.tool-panel {
  position: relative;
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 30px;
  overflow: hidden;
  min-height: 420px;
  padding: 40px;
  border-radius: 18px;
  background: radial-gradient(circle at 8% 10%, #3a241a 0, #21150f 26%, #080808 62%);
}
.tool-bg { position: absolute; inset: -60px auto auto -60px; width: 720px; height: 430px; object-fit: cover; opacity: 0.23; filter: blur(24px); }
.tool-intro { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.tool-intro h2 { margin: 0; font-size: 38px; line-height: 1; font-weight: 900; }
.tool-intro h3, .tool-intro p { margin: 0; }
.tool-intro p { max-width: 260px; color: rgba(255,255,255,0.75); font-size: 13px; line-height: 1.7; }
.tool-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tool-card {
  overflow: hidden;
  min-height: 178px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: #000;
}
.tool-card img { display: block; width: 100%; height: 99px; object-fit: cover; }
.tool-card div { padding: 12px; }

.series-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin-bottom: 58px; }
.series-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 196 / 288;
  border-radius: 12px;
  background: #111;
}
.series-card:hover > img {
  transform: scale(1.1);
}
.series-card::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.84));
}
.series-card div { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; }
.series-card strong { font-size: 15px; }
.series-card p { display: flex; align-items: center; gap: 5px; margin: 12px 0 0; color: rgba(255,255,255,0.72); font-size: 12px; }
.series-card p svg { width: 15px; height: 15px; }
.series-card span { display: inline-flex; align-items: center; gap: 4px; color: #ff57df; margin-left: 8px; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 58px; }
.info-panel {
  display: grid;
  grid-template-columns: 158px 1fr;
  overflow: hidden;
  min-height: 216px;
  border-radius: 12px;
  background: linear-gradient(120deg, #2a1430, #703276);
}
.info-panel > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; background: #241227; }
.info-panel > div { padding: 26px 24px; }
.info-panel .section-title { margin-bottom: 22px; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 34px; }
.info-grid h3 { margin: 0; font-size: 15px; }
.info-grid p { margin: 8px 0 0; color: rgba(255,255,255,0.7); font-size: 12px; line-height: 1.6; }

.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 54px; }
.case-card {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  padding: 24px 18px 20px;
  border: 1px solid #412247;
  border-radius: 14px;
  background: #180a1d;
  box-shadow: 0 12px 32px rgba(255, 66, 221, 0.08);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.case-card:hover {
  border-color: #30e0ff;
  box-shadow: 0 12px 34px rgba(48, 224, 255, .18);
  transform: translateY(-2px);
}
.case-bg { position: absolute; right: 0; top: 0; width: 48%; height: 100%; object-fit: cover; opacity: 0.72; }
.case-avatar { position: relative; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.case-card h3 { position: relative; margin: 18px 0 6px; font-size: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-card p { position: relative; margin: 0; color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 800; }
.case-card strong { position: relative; display: block; margin-top: 8px; font-size: 23px; }
.case-card span { color: #ff4ee0; }
.case-card small { margin-left: 3px; color: #ff4ee0; font-size: 11px; }

.pricing {
  display: grid;
  grid-template-columns: 110px 150px 110px 170px 1fr 150px;
  align-items: center;
  gap: 20px;
  min-height: 116px;
  padding: 22px 40px;
  border: 1px solid #382141;
  border-radius: 14px;
  background: #1c1022;
  margin-bottom: 72px;
}
.pricing span { display: block; color: #fff; font-size: 14px; font-weight: 800; }
.pricing strong { display: block; margin-top: 2px; font-size: 42px; line-height: 1; }
.avatars { display: flex; align-items: center; }
.avatars img { width: 42px; height: 42px; border: 2px solid #1c1022; border-radius: 50%; object-fit: cover; margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }
.pricing > img { width: 146px; }
.pricing p { margin: 0; color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.5; }

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 80px;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer img { width: 147px; }
.footer p { max-width: 430px; margin: 0; color: rgba(255,255,255,0.7); font-size: 13px; line-height: 1.6; }
.footer nav { grid-row: span 2; display: flex; align-items: center; gap: 34px; color: rgba(255,255,255,0.42); font-size: 13px; }
.mobile-tab { display: none; }

@media (max-width: 1240px) {
  .wrap, .topbar-inner, .hero-inner { width: calc(100% - 28px); }
  .desktop-nav { display: none; }
  .topbar-inner { height: 64px; }
  .hero-inner { width: 100%; height: 320px; padding: 0 28px; }
  .hero-img { width: 100%; height: 320px; object-position: center; opacity: 0.82; }
  .hero h1 { font-size: 38px; }
  .how-grid, .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .series-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool-panel { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body { padding-bottom: 62px; }
  .topbar-inner { width: 100%; padding: 0 14px; }
  .logo img { width: 114px; }
  .searchbox, .login-btn { display: none; }
  .mobile-search { display: grid; }
  .top-actions { gap: 10px; }
  .signup-btn { min-width: 42px; height: 28px; font-size: 12px; padding: 0 10px; }
  .hero { padding-top: 12px; }
  .hero-inner { height: 286px; padding: 0 14px; }
  .hero-img { height: 286px; }
  .hero-content {
    justify-content: flex-start;
    gap: 12px;
    padding-top: 18px;
  }
  .hero h1 { max-width: 300px; font-size: 27px; line-height: 1.08; }
  .hero-card { max-width: 326px; padding: 12px; }
  .hero-card strong, .hero-card p { font-size: 11px; line-height: 1.55; }
  .hero-buttons { gap: 8px; }
  .pink-btn, .dark-btn, .white-btn { min-height: 38px; padding: 0 12px; border-radius: 8px; font-size: 12px; }
  .hero-note { font-size: 10px; }
  .wrap { width: calc(100% - 28px); }
  .section-title { align-items: baseline; margin-bottom: 16px; }
  .section-title h2 { font-size: 14px; }
  .section-title p { flex: 1; font-size: 10px; }
  .how { padding-top: 18px; }
  .how-grid { grid-template-columns: 1fr; gap: 14px; }
  .how-card { height: 172px; border-radius: 10px; }
  .how-card h3 { left: 14px; bottom: 72px; font-size: 19px; }
  .how-card div { min-height: 72px; padding: 12px 14px; }
  .how-card strong, .tool-card strong { font-size: 13px; }
  .how-card p, .tool-card p { font-size: 10px; }
  .tool-panel { padding: 24px 14px; border-radius: 12px; }
  .tool-intro { gap: 12px; }
  .tool-intro h2 { font-size: 28px; }
  .tool-intro h3 { font-size: 15px; }
  .tool-intro p { font-size: 12px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tool-card { min-height: 142px; border-radius: 9px; }
  .tool-card img { height: 74px; }
  .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 40px; }
  .split { gap: 14px; margin-bottom: 36px; }
  .info-panel { grid-template-columns: 88px 1fr; min-height: 166px; border-radius: 9px; }
  .info-panel > div { padding: 14px 12px; }
  .info-grid { gap: 12px; }
  .info-grid h3 { font-size: 12px; }
  .info-grid p { font-size: 9px; line-height: 1.45; }
  .case-grid { display: flex; gap: 12px; overflow-x: auto; margin: 0 -14px 40px; padding: 0 14px 8px; scroll-snap-type: x mandatory; }
  .case-card { flex: 0 0 168px; min-height: 154px; scroll-snap-align: start; }
  .case-card h3 { font-size: 20px; }
  .pricing { grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px; margin-bottom: 40px; }
  .pricing strong { font-size: 34px; }
  .pricing > img { width: 120px; }
  .pricing p { grid-column: 1 / -1; font-size: 11px; }
  .pricing button { justify-self: end; }
  .footer { grid-template-columns: 1fr; padding-bottom: 28px; }
  .footer nav { grid-row: auto; flex-wrap: wrap; gap: 14px 22px; font-size: 11px; }
  .mobile-tab {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 58px;
    border-top: 1px solid rgba(255,255,255,0.12);
    background: rgba(8,8,10,0.9);
    backdrop-filter: blur(18px);
  }
  .mobile-tab a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: rgba(255,255,255,0.48); font-size: 11px; }
  .mobile-tab a.active { color: #fff; }
  .mobile-tab span { display: grid; place-items: center; }
  .mobile-tab a.center span { width: 40px; height: 40px; margin-top: -22px; border-radius: 50%; color: #fff; background: linear-gradient(113deg, #ff61ea, #760d68); box-shadow: 0 8px 24px rgba(255,72,223,.35); }
}
