/* Realtop — realtop.tech
   Shenzhen Ruituo Information Technology Co., Ltd. */

:root {
  --ink: #0b0e14;
  --ink-2: #141924;
  --slate: #4a5568;
  --mute: #8a94a6;
  --line: #e4e8ef;
  --paper: #ffffff;
  --wash: #f5f7fb;
  --brand: #00cfa8;
  --brand-2: #22d3ee;
  --brand-deep: #00a487;
  --radius: 14px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 66px;
}

.logo { display: flex; align-items: center; }
.logo svg { height: 26px; width: auto; }

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
}

.nav a:hover { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--ink-2); }

.burger {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: none;
  cursor: pointer;
  padding: 11px 9px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 3px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

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

.btn-amazon {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #04231f;
  box-shadow: 0 8px 24px rgba(0, 207, 168, 0.3);
}

.btn-amazon:hover { box-shadow: 0 12px 30px rgba(0, 207, 168, 0.42); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(120% 120% at 75% 15%, #1d2740 0%, #0b0e14 58%);
  color: #fff;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 76px;
  padding-bottom: 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 .accent {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  font-size: 18px;
  color: #b7c0d0;
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { position: relative; }

/* Studio shots carry a white background — frame them rather than let them read
   as a bare rectangle against the dark hero. */
.hero-art img {
  margin: 0 auto;
  max-height: 520px;
  width: auto;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.hero-glow {
  position: absolute;
  inset: 12% 8% 18%;
  background: radial-gradient(circle, rgba(0, 207, 168, 0.22), transparent 68%);
  filter: blur(30px);
  z-index: -1;
}

/* ---------- spec strip ---------- */

.strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.strip .n {
  font-size: 27px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.strip .k {
  font-size: 13px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- sections ---------- */

.section { padding: 88px 0; }
.section.wash { background: var(--wash); }

.head-block { max-width: 640px; margin-bottom: 46px; }
.head-block.center { margin-left: auto; margin-right: auto; text-align: center; }

.head-block h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
}

.head-block p { color: var(--slate); font-size: 17px; margin: 0; }

/* ---------- feature grid ---------- */

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11, 14, 20, 0.09);
}

/* The product imagery is self-contained infographics — never crop them. */
.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--wash);
}

.card-body { padding: 22px 24px 26px; }
.card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card-body p { color: var(--slate); font-size: 15px; margin: 0; }

/* ---------- split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.flip .split-art { order: 2; }

.split-art img { border-radius: var(--radius); }

.split h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 16px; }
.split p { color: var(--slate); font-size: 17px; }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; }

.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--slate);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.ticks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 13px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #04231f;
  border-bottom: 2px solid #04231f;
  transform: rotate(-45deg);
}

/* ---------- category grid ---------- */

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.cat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 210px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.cat:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 207, 168, 0.45);
  box-shadow: 0 16px 40px rgba(11, 14, 20, 0.08);
}

.cat .ico { color: var(--brand-deep); margin-bottom: 16px; }
.cat .ico svg { width: 30px; height: 30px; }
.cat h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.cat p { font-size: 14px; color: var(--slate); margin: 0 0 18px; }

.tag {
  margin-top: auto;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}

.tag.live { background: rgba(0, 207, 168, 0.14); color: var(--brand-deep); }
.tag.soon { background: var(--wash); color: var(--mute); }

/* ---------- product page ---------- */

.pdp { padding: 48px 0 88px; }

.crumb { font-size: 14px; color: var(--mute); margin-bottom: 28px; }
.crumb a:hover { color: var(--ink); }

.pdp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start; }

.gallery { position: sticky; top: 92px; }

.stage {
  background: var(--wash);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  place-items: center;
  min-height: 440px;
}

.stage img { max-height: 420px; width: auto; }

.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }

.thumb {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--wash);
  padding: 6px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.thumb img { aspect-ratio: 1 / 1; object-fit: contain; }
.thumb:hover { border-color: var(--mute); }
.thumb[aria-current="true"] { border-color: var(--brand); border-width: 2px; padding: 5px; }

.pdp-info h1 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; margin-bottom: 14px; }

.pdp-info .sub { font-size: 17px; color: var(--slate); margin: 0 0 26px; }

.swatches { display: flex; gap: 10px; margin-bottom: 12px; }

.swatch {
  border: 1px solid var(--line);
  background: none;
  border-radius: 999px;
  padding: 8px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.swatch:hover { border-color: var(--mute); }
.swatch[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }

.field-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}

.buy-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 28px 0;
  background: var(--wash);
}

.buy-box .btn { width: 100%; }

.buy-note { font-size: 13px; color: var(--mute); margin: 14px 0 0; text-align: center; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }

.spec-table th,
.spec-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }

.spec-table th { font-weight: 600; color: var(--mute); width: 40%; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--slate);
}

/* ---------- prose ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 28px; font-weight: 800; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 28px 0 8px; }
.prose p { color: var(--slate); font-size: 17px; margin: 0 0 16px; }
.prose ul { color: var(--slate); font-size: 17px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--brand-deep); font-weight: 600; }
.prose a:hover { text-decoration: underline; }

.page-head {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  padding: 60px 0;
}

.page-head h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; margin-bottom: 12px; }
.page-head p { color: var(--slate); font-size: 18px; margin: 0; max-width: 60ch; }

/* ---------- cta band ---------- */

.band {
  background: radial-gradient(110% 130% at 20% 10%, #1d2740 0%, #0b0e14 60%);
  color: #fff;
  text-align: center;
  padding: 76px 0;
}

.band h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.band p { color: #b7c0d0; font-size: 17px; max-width: 52ch; margin: 0 auto 30px; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--ink);
  color: #93a0b4;
  padding: 58px 0 30px;
  font-size: 14px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.foot-grid .logo svg { height: 24px; }
.foot-brand p { margin: 16px 0 0; max-width: 34ch; }

.site-foot h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 9px; }
.site-foot a:hover { color: #fff; }

.foot-base {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #6d7a90;
  font-size: 13px;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .hero-art { order: -1; }
  .hero-art img { max-height: 340px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery { position: static; }
  .split, .split.flip .split-art { grid-template-columns: 1fr; order: 0; }
  .split { gap: 32px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }

  .nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
  }

  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 14px; align-self: flex-start; border-bottom: none; }
  .burger { display: block; }
}

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .hero-actions .btn { width: 100%; }
}
