/* Huantuo Official — Apple.com inspired */
:root {
  --bg: #000;
  --bg-elev: #1d1d1f;
  --bg-soft: #f5f5f7;
  --bg-white: #ffffff;
  --text: #f5f5f7;
  --text-dark: #1d1d1f;
  --muted: #a1a1a6;
  --muted-dark: #6e6e73;
  --blue: #2997ff;
  --blue-hover: #0071e3;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(0, 0, 0, 0.08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nav-h: 48px;
  --max: 980px;
  --wide: 1120px;
  --radius: 28px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.47;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* —— Global nav (Apple thin bar) —— */
.gnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 22, 23, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gnav-inner {
  max-width: 1024px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.gnav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  opacity: 0.96;
}

.gnav-logo:hover {
  opacity: 1;
}

.gnav-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
  background: #0a0a12;
}

.hero-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 14px;
  margin: 0 auto 14px;
  background: rgba(10, 10, 18, 0.6);
  box-shadow: 0 12px 40px rgba(41, 151, 255, 0.2);
  display: block;
}

.price-demo {
  margin-top: 12px !important;
  justify-content: center !important;
  display: flex !important;
}

.compare-hint {
  text-align: center;
  font-size: 12px;
  color: #6e6e73;
  margin: -4px 0 12px;
}

@media (min-width: 900px) {
  .compare-hint {
    display: none;
  }
}

a.more-row {
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

a.more-row:hover {
  background: rgba(0, 113, 227, 0.06);
}

/* Lead form */
.lead-form {
  max-width: 560px;
  margin: 36px auto 28px;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  padding: 24px 20px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.lead-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

@media (min-width: 600px) {
  .lead-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lead-field:nth-child(3),
  .lead-field:nth-child(4) {
    grid-column: span 1;
  }
}

.lead-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6e6e73;
  margin-bottom: 6px;
}

.lead-field input,
.lead-field select {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: #fafafa;
  color: #1d1d1f;
  font: 500 15px/1.3 var(--font);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.lead-field input:focus,
.lead-field select:focus {
  border-color: #0071e3;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.lead-field .select-wrap {
  position: relative;
}

.lead-field .select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.lead-field .select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: #6e6e73;
  pointer-events: none;
}

.lead-field .select-chevron svg {
  width: 100%;
  height: 100%;
}

.btn-block {
  width: 100%;
}

.lead-hint {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: #6e6e73;
}

.contact-setup {
  margin-top: 14px;
  font-size: 12px;
  color: #86868b;
  opacity: 0.85;
}

.footer-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  vertical-align: middle;
  margin-inline-end: 4px;
}

.gnav-links {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 28px;
}

.gnav-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.15s;
}

.gnav-links a:hover {
  color: #fff;
}

.gnav-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  display: flex;
  gap: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font: 600 11px/1 var(--font);
  padding: 6px 7px;
  cursor: pointer;
  border-radius: 6px;
}

.lang-btn.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.gnav-cta {
  display: none;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: var(--blue-hover);
  padding: 6px 12px;
  border-radius: 980px;
}

.gnav-cta:hover {
  background: #0077ed;
}

.gnav-burger {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.gnav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.2s, opacity 0.2s;
}

.gnav-burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.gnav-burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.gnav-drawer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #161617;
  padding: 8px 16px 16px;
  display: grid;
}

.gnav-drawer[hidden] {
  display: none !important;
}

.gnav-drawer a {
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

@media (min-width: 834px) {
  .gnav-links {
    display: flex;
  }
  .gnav-cta {
    display: inline-flex;
  }
  .gnav-burger,
  .gnav-drawer {
    display: none !important;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 28px;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-lg {
  padding: 14px 28px;
}

.btn-light {
  background: #fff;
  color: #000;
}

.btn-light:hover {
  background: #f5f5f7;
}

.btn-dark {
  background: var(--blue-hover);
  color: #fff;
}

.btn-dark:hover {
  background: #0077ed;
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(0, 113, 227, 0.4);
}

.btn-ghost:hover {
  background: rgba(0, 113, 227, 0.08);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 400;
}

.link-more:hover {
  text-decoration: underline;
}

.link-more::after {
  content: "›";
  font-size: 1.15em;
  line-height: 1;
  transform: translateY(-1px);
}

/* —— Hero —— */
.hero {
  text-align: center;
  padding: 72px 24px 80px;
  max-width: 820px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(40px, 7.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #f5f5f7;
}

.hero-sub {
  margin: 18px auto 0;
  max-width: 32em;
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.4;
  color: var(--muted);
  font-weight: 400;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* —— Stats —— */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 980px;
  margin: 0 auto 12px;
}

@media (min-width: 700px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  background: #000;
  text-align: center;
  padding: 28px 12px;
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* —— Product strips —— */
.products {
  display: grid;
  gap: 12px;
  padding: 12px 12px 0;
}

.product {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding: 56px 24px 64px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.product-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  opacity: 0.7;
}

.product-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 12em;
}

.product-desc {
  margin-top: 12px;
  max-width: 28em;
  font-size: 17px;
  line-height: 1.4;
  opacity: 0.72;
}

.product-price {
  margin-top: 10px;
  font-size: 15px;
  opacity: 0.55;
}

.product-links {
  margin-top: 18px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.product-visual {
  margin-top: auto;
  padding-top: 40px;
  width: min(100%, 520px);
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  position: relative;
  z-index: 1;
  overflow: hidden; /* 悬停放大不溢出盖住 Learn more / View demo */
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 50%);
}

/* themes */
.product[data-theme="dark"] {
  background: #000;
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.product[data-theme="dark"] .product-visual {
  background: linear-gradient(160deg, #2a2a2e, #111);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.product[data-theme="light"] {
  background: var(--bg-soft);
  color: var(--text-dark);
}

.product[data-theme="light"] .product-visual {
  background: linear-gradient(160deg, #fff, #e8e8ed);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
}

.product[data-theme="blue"] {
  background: linear-gradient(180deg, #0a1628 0%, #061018 100%);
  color: #f5f5f7;
  border: 1px solid rgba(41, 151, 255, 0.12);
}

.product[data-theme="blue"] .product-visual {
  background: linear-gradient(145deg, #1a4a8a, #0b1c33 60%, #2997ff33);
  box-shadow: 0 30px 60px rgba(0, 80, 180, 0.25);
}

.product[data-theme="soft"] {
  background: #fbf7f2;
  color: var(--text-dark);
}

.product[data-theme="soft"] .product-visual {
  background: linear-gradient(150deg, #f0e6d8, #d4c4ae);
  box-shadow: 0 24px 50px rgba(80, 50, 20, 0.12);
}

.product[data-theme="light"] .link-more,
.product[data-theme="soft"] .link-more {
  color: var(--blue-hover);
}

/* Fake UI chrome inside visual */
.ui-chrome {
  position: absolute;
  inset: 12%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  display: grid;
  gap: 8px;
  padding: 14px;
  align-content: start;
}

.product[data-theme="light"] .ui-chrome,
.product[data-theme="soft"] .ui-chrome {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(0, 0, 0, 0.06);
}

.ui-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  width: 40%;
}

.product[data-theme="light"] .ui-bar,
.product[data-theme="soft"] .ui-bar {
  background: rgba(0, 0, 0, 0.08);
}

.ui-row {
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.product[data-theme="light"] .ui-row,
.product[data-theme="soft"] .ui-row {
  background: rgba(0, 0, 0, 0.05);
}

.ui-row.short {
  width: 70%;
}

/* —— Tiles —— */
.tiles {
  padding: 12px;
}

.tile-grid {
  display: grid;
  gap: 12px;
  max-width: var(--wide);
  margin: 0 auto;
}

@media (min-width: 834px) {
  .tile-grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
  }
  .tile-wide {
    grid-row: 1 / span 2;
  }
}

.tile {
  background: var(--bg-elev);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tile-kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tile-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 12em;
}

.tile-body {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
  max-width: 28em;
  line-height: 1.45;
}

/* —— Pricing —— */
.pricing {
  background: var(--bg-soft);
  color: var(--text-dark);
  padding: 80px 20px 72px;
  margin-top: 12px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head.light {
  color: #f5f5f7;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.section-sub {
  margin-top: 12px;
  font-size: 19px;
  color: var(--muted-dark);
  line-height: 1.4;
}

.section-head.light .section-sub {
  color: var(--muted);
}

.price-grid {
  display: grid;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 1100px) {
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .price-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .price-card {
    padding: 24px 18px;
  }
  .price-card .amount {
    font-size: 32px;
  }
}

.price-card {
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.price-card.featured {
  border-color: transparent;
  background: #1d1d1f;
  color: #f5f5f7;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.price-card .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-dark);
}

.price-card.featured .name {
  color: var(--muted);
}

.price-card .amount {
  margin-top: 10px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-card .unit {
  font-size: 15px;
  font-weight: 500;
  opacity: 0.55;
}

.price-card ul {
  list-style: none;
  margin: 22px 0 28px;
  display: grid;
  gap: 10px;
  flex: 1;
}

.price-card li {
  font-size: 14px;
  color: var(--muted-dark);
  padding-inline-start: 18px;
  position: relative;
}

.price-card.featured li {
  color: var(--muted);
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-hover);
  font-size: 12px;
  font-weight: 700;
}

.price-card.featured li::before {
  color: var(--blue);
}

body.zh .price-card li::before {
  /* keep check */
}

.price-card .btn {
  width: 100%;
  font-size: 15px;
}

.price-card.featured .btn-light {
  background: var(--blue-hover);
  color: #fff;
}

.price-card.featured .btn-light:hover {
  background: #0077ed;
}

.more-prices {
  max-width: 720px;
  margin: 36px auto 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.more-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 14px;
}

.more-row span:last-child {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* —— Process —— */
.process {
  padding: 80px 20px 88px;
  background: #000;
}

.process-grid {
  list-style: none;
  display: grid;
  gap: 16px;
  max-width: var(--wide);
  margin: 0 auto;
  counter-reset: none;
}

@media (min-width: 800px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-item {
  background: var(--bg-elev);
  border-radius: 22px;
  padding: 28px 22px;
  min-height: 200px;
}

.process-item .step {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.process-item h3 {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.process-item p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

/* —— Contact —— */
.contact {
  text-align: center;
  padding: 96px 24px 100px;
  background: var(--bg-soft);
  color: var(--text-dark);
}

.contact-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 14em;
  margin: 0 auto;
}

.contact-sub {
  margin: 16px auto 0;
  max-width: 32em;
  font-size: 19px;
  color: var(--muted-dark);
}

.contact-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.contact-meta {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted-dark);
}

/* —— Footer (Apple dense) —— */
.footer {
  background: #f5f5f7;
  color: #6e6e73;
  font-size: 12px;
  padding: 20px 0 calc(28px + var(--safe-b));
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 18px;
}

.footer-top strong {
  color: #1d1d1f;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}

@media (min-width: 700px) {
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-cols h3 {
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-cols a,
.footer-cols span {
  display: block;
  margin-top: 6px;
  color: #6e6e73;
}

.footer-cols a:hover {
  text-decoration: underline;
}

.footer-copy {
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
}

/* —— Motion —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
/* —— Extras: full hero, demos, compare, FAQ, m-bar —— */

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 300;
  background: #0071e3;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.footer-privacy {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 11px;
  line-height: 1.45;
  color: #86868b;
  max-width: 52em;
}

.demo-preview-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.demo-open-tag {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(6px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 12px;
  border-radius: 99px;
  background: rgba(0, 113, 227, 0.95);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  white-space: nowrap;
}

.demo-card:hover .demo-open-tag {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, #2997ff, #0071e3);
  pointer-events: none;
}

/* Full hero */
.hero-full {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  max-width: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: orb 14s ease-in-out infinite alternate;
}

.hero-orb-1 {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  top: -10%;
  left: 50%;
  transform: translateX(-60%);
  background: radial-gradient(circle, #3a5cff 0%, transparent 70%);
}

.hero-orb-2 {
  width: min(60vw, 420px);
  height: min(60vw, 420px);
  bottom: 5%;
  right: 10%;
  background: radial-gradient(circle, #7b3ff0 0%, transparent 70%);
  animation-delay: -4s;
}

.hero-grid-fade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, #000 75%),
    linear-gradient(180deg, transparent 60%, #000 100%);
}

@keyframes orb {
  to { transform: translate(8%, 6%) scale(1.08); }
}

.hero-orb-1 {
  animation-name: orb1;
}
@keyframes orb1 {
  to { transform: translateX(-40%) translateY(8%) scale(1.06); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 56px 24px 40px;
  max-width: 880px;
  margin: 0 auto;
}

.hero-full .hero-title {
  background: linear-gradient(180deg, #fff 20%, #a1a1a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-text {
  background: transparent;
  color: var(--blue);
  border: none;
  padding: 12px 8px;
  font-size: 17px;
  font-weight: 500;
}

.btn-text:hover {
  text-decoration: underline;
}

.btn-text::after {
  content: " ›";
}

.hero-device {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.device-phone {
  width: min(220px, 52vw);
  aspect-ratio: 9 / 17;
  border-radius: 28px;
  background: #1c1c1e;
  border: 2px solid #3a3a3c;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  padding: 10px;
  transform: rotateX(8deg) rotateY(-8deg);
  animation: phoneFloat 6s ease-in-out infinite alternate;
}

@keyframes phoneFloat {
  to { transform: rotateX(4deg) rotateY(6deg) translateY(-8px); }
}

.device-notch {
  width: 36%;
  height: 10px;
  margin: 4px auto 10px;
  background: #000;
  border-radius: 99px;
}

.device-screen {
  height: calc(100% - 24px);
  border-radius: 18px;
  background: linear-gradient(165deg, #2a241c, #12100e 50%, #1a1510);
  padding: 14px 12px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.device-line {
  height: 6px;
  border-radius: 99px;
  background: rgba(212, 168, 83, 0.35);
}
.device-line.w40 { width: 40%; }
.device-line.w70 { width: 70%; background: rgba(255, 255, 255, 0.12); }

.device-card {
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.device-card.short { width: 78%; }

.device-pill {
  margin-top: auto;
  height: 28px;
  border-radius: 99px;
  background: linear-gradient(90deg, #25d366, #1ebe57);
  opacity: 0.9;
}

/* Demos */
.demos {
  padding: 72px 16px 64px;
  background: #000;
}

.demo-grid {
  display: grid;
  gap: 16px;
  max-width: var(--wide);
  margin: 0 auto;
}

@media (min-width: 800px) {
  .demo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.demo-card {
  border-radius: 24px;
  padding: 28px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: transform 0.25s, border-color 0.25s;
}

.demo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.demo-card .demo-badge,
.demo-card h3,
.demo-card > p,
.demo-card .demo-foot {
  position: relative;
  z-index: 2;
}

.demo-card[data-theme="dark"] {
  background: linear-gradient(165deg, #1a1814, #0c0b0a);
  color: #f5f5f7;
}

.demo-card[data-theme="light"] {
  background: linear-gradient(165deg, #f5f5f7, #e8e8ed);
  color: #1d1d1f;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #30d158;
  margin-bottom: 12px;
}

.demo-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.2);
  animation: pulse 1.6s ease infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 6px rgba(48, 209, 88, 0); }
}

.demo-card[data-theme="light"] .demo-badge {
  color: #248a3d;
}

.demo-card h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.demo-card p {
  margin-top: 10px;
  font-size: 15px;
  opacity: 0.7;
  line-height: 1.45;
  flex: 1;
}

.demo-foot {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-price {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.55;
}

.demo-card .btn {
  font-size: 14px;
  padding: 10px 18px;
}

.demo-card[data-theme="light"] .btn-dark {
  background: #0071e3;
}

/* Compare */
.compare-wrap {
  max-width: var(--wide);
  margin: 48px auto 0;
}

.compare-title {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 14px;
  text-align: center;
  color: #1d1d1f;
}

.compare-scroll {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line-dark);
  background: #fff;
}

.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}

.compare th,
.compare td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line-dark);
}

.compare th:first-child,
.compare td:first-child {
  text-align: left;
  font-weight: 500;
}

.compare thead th {
  background: #fafafa;
  font-size: 13px;
  font-weight: 600;
  color: #6e6e73;
}

.compare thead th.hi {
  color: #0071e3;
  background: #f0f7ff;
}

.compare tbody tr:last-child td {
  border-bottom: none;
}

.compare .yes {
  color: #30d158;
  font-weight: 700;
}

.compare .no {
  color: #d2d2d7;
}

/* FAQ */
.faq {
  background: var(--bg-soft);
  color: var(--text-dark);
  padding: 80px 20px 72px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line-dark);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 18px 20px;
  font: 600 16px/1.35 var(--font);
  color: #1d1d1f;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq-q span.icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f5f5f7;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #6e6e73;
  transition: transform 0.2s, background 0.2s;
}

.faq-item.open .faq-q span.icon {
  transform: rotate(45deg);
  background: #1d1d1f;
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  padding: 0 20px;
  font-size: 15px;
  color: #6e6e73;
  line-height: 1.5;
}

.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 20px 18px;
}

/* Mobile bar */
.m-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(22, 22, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-bottom: var(--safe-b);
}

.m-bar-link,
.m-bar-btn {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.m-bar-link {
  color: rgba(255, 255, 255, 0.8);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
}

.m-bar-btn {
  background: #0071e3;
  color: #fff;
}

@media (min-width: 834px) {
  .m-bar {
    display: none;
  }
}

body {
  padding-bottom: calc(56px + var(--safe-b));
}

@media (min-width: 834px) {
  body {
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .device-phone,
  .hero-orb,
  .demo-badge::before {
    animation: none !important;
  }
}
