:root {
  --ink: #171622;
  --ink-strong: #07070b;
  --muted: #6f6b7d;
  --subtle: #a6a0bd;
  --surface: #ffffff;
  --soft: #f5f3fb;
  --soft-2: #fbfaff;
  --line: #e8e4f5;
  --purple: #7b63ef;
  --violet: #8f7cff;
  --rose: #d97cb9;
  --blue: #63b7ff;
  --green: #69d0b9;
  --red: #ef5b6d;
  --shadow: 0 26px 70px rgba(64, 52, 122, 0.16);
  font-family:
    Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft-2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--soft-2);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.global-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(16, 14, 26, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.product-nav,
.product-nav div,
.conversation,
.phone-bar,
.tab-bar,
.profile-row,
.visual-row,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  font-size: 15px;
  font-weight: 800;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple), var(--rose));
}

.nav-links {
  gap: clamp(18px, 3vw, 34px);
  font-size: 13px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #ffffff;
}

.menu-button {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: #ffffff;
  transition: transform 0.2s ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.product-nav {
  position: sticky;
  top: 52px;
  z-index: 30;
  min-height: 58px;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(251, 250, 255, 0.78);
  border-bottom: 1px solid rgba(232, 228, 245, 0.9);
  backdrop-filter: blur(18px);
}

.product-title {
  font-size: 20px;
  font-weight: 900;
}

.product-nav div {
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.pill-link {
  min-height: 30px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--purple);
}

.hero {
  padding: 118px clamp(18px, 5vw, 72px) 86px;
}

.product-hero {
  min-height: 920px;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fdfcff 0%, #f2efff 58%, #ffffff 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1040px;
  margin: 0 auto 22px;
  color: var(--ink-strong);
  font-size: clamp(54px, 9vw, 124px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto 32px;
  color: #4a4658;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
}

.hero-actions {
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 850;
}

.primary-action {
  color: #ffffff;
  background: linear-gradient(90deg, var(--purple), var(--rose));
  box-shadow: 0 18px 38px rgba(123, 99, 239, 0.24);
}

.secondary-action {
  color: var(--purple);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.device-stage {
  position: relative;
  width: min(1060px, 100%);
  min-height: 500px;
  margin: 70px auto 0;
}

.phone {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, #faf9ff 0%, #f1efff 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-main {
  left: 50%;
  top: 0;
  width: min(420px, 86vw);
  min-height: 520px;
  padding: 22px;
  border-radius: 44px;
  transform: translateX(-60%) rotate(-2deg);
}

.phone-chat {
  right: 5%;
  top: 54px;
  width: min(360px, 72vw);
  min-height: 470px;
  padding: 20px;
  border-radius: 40px;
  transform: rotate(4deg);
}

.phone-bar {
  justify-content: space-between;
  margin-bottom: 18px;
  color: #18164e;
}

.phone-bar strong {
  font-size: 30px;
}

.phone-bar span:not(.back-dot) {
  min-height: 32px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--purple);
  background: #f1edff;
  font-size: 13px;
  font-weight: 800;
}

.conversation {
  gap: 14px;
  margin-bottom: 12px;
  padding: 15px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.conversation.active {
  border-color: rgba(123, 99, 239, 0.34);
}

.conversation img,
.visual-row img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 15px;
}

.conversation div,
.visual-row div {
  flex: 1;
  min-width: 0;
}

.conversation strong,
.visual-row strong {
  display: block;
  margin-bottom: 4px;
}

.conversation p,
.visual-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation b {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--red);
  font-size: 13px;
}

.conversation time {
  color: var(--subtle);
  font-size: 12px;
}

.avatar-text {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px;
  color: #ffffff;
  font-weight: 900;
}

.avatar-text.green {
  background: linear-gradient(180deg, #69d0b9, #79d78d);
}

.avatar-text.blue {
  background: linear-gradient(180deg, #63b7ff, #6a6eff);
}

.tab-bar {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  justify-content: space-around;
  min-height: 56px;
  border-radius: 22px;
  color: var(--subtle);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(87, 70, 160, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.tab-bar .selected {
  color: var(--purple);
}

.chat-title strong {
  font-size: 19px;
}

.back-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1edff;
}

.bubble,
.visual-chat {
  max-width: 82%;
  margin: 0 0 14px;
  padding: 13px 16px;
  border-radius: 19px;
  text-align: left;
  line-height: 1.55;
}

.bubble.other,
.visual-chat.other {
  color: var(--ink);
  background: #ffffff;
}

.bubble.self,
.visual-chat.self {
  margin-left: auto;
  color: #ffffff;
  background: linear-gradient(90deg, var(--purple), var(--rose));
}

.media-bubble {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  color: #ffffff;
  text-align: left;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(31, 24, 88, 0.78), rgba(127, 97, 239, 0.72)),
    linear-gradient(45deg, #17132e, #433b86);
}

.play {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.media-bubble p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.composer {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
}

.composer span {
  flex: 1;
  color: var(--subtle);
  text-align: left;
  font-size: 13px;
}

.composer button {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: #07c160;
  font-weight: 800;
}

.section {
  padding: 96px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--ink-strong);
  font-size: clamp(36px, 5.8vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.dark-showcase {
  color: #ffffff;
  background: #090812;
}

.dark-showcase .section-heading h2 {
  color: #ffffff;
}

.dark-showcase .eyebrow {
  color: #b8a9ff;
}

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

.highlight-card {
  min-height: 280px;
  padding: 28px;
  border-radius: 32px;
  background: linear-gradient(180deg, #171426 0%, #11101b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.highlight-card.large {
  grid-column: span 2;
}

.highlight-card.wide {
  grid-column: span 2;
}

.card-kicker {
  display: block;
  margin-bottom: 18px;
  color: #b8a9ff;
  font-weight: 900;
}

.highlight-card h3 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.12;
}

.signal-panel {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 110px;
  margin-top: 42px;
}

.signal-panel span {
  width: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--purple));
}

.signal-panel span:nth-child(1) {
  height: 38px;
}

.signal-panel span:nth-child(2) {
  height: 68px;
}

.signal-panel span:nth-child(3) {
  height: 96px;
}

.signal-panel strong {
  margin-left: auto;
  color: #69d0b9;
}

.cursor-line {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
}

.cursor-line i {
  padding: 10px 13px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-style: normal;
  font-weight: 850;
}

.cursor-line span {
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--green));
}

.messages-section {
  background: #ffffff;
}

.feature-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.feature-tabs button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #ffffff;
  cursor: pointer;
  font-weight: 850;
}

.feature-tabs button.active {
  color: #ffffff;
  border-color: var(--purple);
  background: var(--purple);
}

.tab-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: stretch;
}

.tab-copy,
.feature-device,
.stack-card,
.scene-grid article,
.faq-list,
.experience-panel {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(87, 70, 160, 0.08);
}

.tab-copy {
  padding: 34px;
}

.tab-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.tab-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.feature-device {
  min-height: 360px;
  padding: 26px;
  background: linear-gradient(180deg, #f8f7ff, #ffffff);
}

.visual-row {
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
}

.visual-chat {
  margin-top: 20px;
}

.reliability-section {
  background: linear-gradient(180deg, #f8f7ff 0%, #ffffff 100%);
}

.recovery-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.recovery-track article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #ffffff;
}

.recovery-track span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple), var(--rose));
  font-weight: 900;
}

.recovery-track h3,
.stack-card h3,
.scene-grid h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.recovery-track p,
.stack-card p,
.scene-grid p,
.faq-list p,
.experience-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.architecture-section {
  background: #ffffff;
}

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

.stack-card {
  padding: 30px;
}

.stack-card.accent {
  color: #ffffff;
  background: linear-gradient(135deg, #17132e, #433b86);
}

.stack-card.accent p,
.stack-card.accent li {
  color: rgba(255, 255, 255, 0.76);
}

.stack-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.stack-card li {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.stack-card.accent li {
  border-color: rgba(255, 255, 255, 0.18);
}

.scenes-section {
  background: #f8f7ff;
}

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

.scene-grid article {
  min-height: 230px;
  padding: 30px;
}

.faq-section {
  background: #ffffff;
}

.faq-list {
  overflow: hidden;
}

.faq-list details {
  padding: 0 28px;
}

.faq-list details + details {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  min-height: 78px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--ink-strong);
  font-size: 20px;
  font-weight: 850;
}

.faq-list summary::marker {
  color: var(--purple);
}

.faq-list p {
  padding-bottom: 26px;
}

.experience-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
}

.experience-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 68px);
  text-align: center;
}

.experience-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
}

.experience-panel p {
  max-width: 680px;
  margin: 0 auto 28px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #090812;
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 20px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  gap: 18px;
  font-size: 14px;
}

@media (max-width: 1060px) {
  .product-hero {
    min-height: 980px;
  }

  .device-stage {
    min-height: 560px;
  }

  .phone-main {
    left: 12%;
    transform: rotate(-2deg);
  }

  .phone-chat {
    right: 4%;
  }

  .highlight-grid,
  .recovery-track,
  .architecture-grid,
  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .global-nav {
    padding: 0 18px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 52px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px;
    background: rgba(16, 14, 26, 0.96);
    transform: translateY(-120%);
    transition: transform 0.22s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .product-nav {
    top: 52px;
  }

  .product-nav div a:not(.pill-link) {
    display: none;
  }

  .hero {
    padding-top: 92px;
  }

  .product-hero {
    min-height: 1060px;
  }

  .device-stage {
    min-height: 610px;
    margin-top: 52px;
  }

  .phone-main,
  .phone-chat {
    right: auto;
    left: 50%;
    width: min(88vw, 380px);
  }

  .phone-main {
    transform: translateX(-54%) rotate(-2deg);
  }

  .phone-chat {
    top: 270px;
    transform: translateX(-46%) rotate(3deg);
  }

  .highlight-grid,
  .recovery-track,
  .architecture-grid,
  .scene-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card.large,
  .highlight-card.wide {
    grid-column: span 1;
  }

  .cursor-line {
    grid-template-columns: 1fr;
  }

  .cursor-line span {
    width: 2px;
    height: 22px;
    margin-left: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 50px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .section {
    padding: 70px 18px;
  }

  .phone-main {
    min-height: 500px;
  }

  .phone-chat {
    min-height: 440px;
  }
}
