:root {
  --bg: #030505;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f7f6;
  --muted: #92a09b;
  --teal: #57f5dd;
  --teal-deep: #0d2c27;
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: 48px;
  background:
    radial-gradient(circle at top center, rgba(53, 150, 134, 0.28), transparent 26%),
    linear-gradient(180deg, #04110f 0%, #020303 24%, #020303 100%);
  color: var(--text);
  font-family: "Noto Sans SC", sans-serif;
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.site-footer {
  width: min(1200px, calc(100vw - 40px));
  margin: 56px auto 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7e8b87;
  font-size: 13px;
  text-align: center;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("./assets/images/bg-top.png") top center / cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
  mix-blend-mode: screen;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 48px);
  backdrop-filter: blur(18px);
  background: rgba(2, 5, 5, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav {
  display: inline-flex;
  gap: 22px;
  color: #adbbb6;
  font-size: 14px;
}

.hero,
.section {
  width: min(1200px, calc(100vw - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 40px;
  align-items: center;
  padding: 54px 0 42px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.02;
  white-space: nowrap;
}

.hero h1 {
  max-width: none;
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
  white-space: nowrap;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: #aab7b3;
  font-size: 18px;
  line-height: 1.8;
}

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

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-btn {
  background: var(--white);
  color: #0b1211;
}

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hero-meta div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
}

.hero-meta strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.hero-meta span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
}

.orb-a {
  top: 14%;
  right: 8%;
  width: 180px;
  height: 180px;
  background: rgba(87, 245, 221, 0.18);
}

.orb-b {
  left: 4%;
  bottom: 10%;
  width: 200px;
  height: 200px;
  background: rgba(69, 110, 255, 0.14);
}

.phone {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 47, 41, 0.98), rgba(1, 4, 4, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.hero-phone {
  width: min(410px, 88vw);
  min-height: 760px;
}

.mini-phone {
  width: 100%;
  max-width: 330px;
  min-height: 560px;
}

.scene-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-glow {
  position: absolute;
  inset: auto -20% -18% -20%;
  height: 260px;
  background: radial-gradient(circle at center, rgba(87, 245, 221, 0.35), transparent 56%);
  pointer-events: none;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 120px;
  height: 26px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.42);
}

.phone-content {
  position: relative;
  z-index: 1;
  padding: 58px 24px 24px;
}

.launch-preview .preview-title {
  font-size: 20px;
  font-weight: 700;
}

.launch-preview .preview-headline {
  margin-top: 60px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
}

.launch-preview .preview-subtitle {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.8;
}

.persona-poster {
  position: relative;
  width: 250px;
  height: 380px;
  margin: 58px auto 0;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(189, 203, 233, 0.82), rgba(37, 43, 58, 0.85));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.poster-top {
  position: absolute;
  inset: 0;
  background: url("./assets/images/phone_login_bg.png") center / cover no-repeat;
  opacity: 0.25;
}

.poster-mask {
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.76));
}

.poster-info {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
}

.poster-name {
  font-size: 24px;
  font-weight: 700;
}

.poster-row {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.poster-row strong {
  color: var(--white);
}

.poster-bar {
  height: 16px;
  margin-top: 10px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.poster-bar-fill {
  width: 52%;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.launch-cta {
  width: fit-content;
  margin: 48px auto 0;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--white);
  color: #050808;
  font-weight: 700;
}

.section {
  padding: 86px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

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

.feature-card,
.scene-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(20px);
}

.feature-card {
  padding: 24px;
  border-radius: 24px;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(87, 245, 221, 0.12);
}

.icon-badge img {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin: 16px 0 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card p,
.scene-copy p,
.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.scene-grid {
  display: grid;
  gap: 40px;
}

.scene-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border-radius: 28px;
}

.scene-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.scene-copy h3 {
  margin: 0 0 14px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  white-space: nowrap;
}

.mini-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-header img {
  width: 34px;
  height: 34px;
}

.mini-header strong,
.friends-title,
.tasks-head {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.mini-header span {
  color: #91a09b;
  font-size: 12px;
}

.chat-preview,
.friends-preview,
.tasks-preview {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(14, 67, 58, 0.28), transparent 24%),
    linear-gradient(180deg, transparent, rgba(87, 245, 221, 0.07) 100%);
}

.bubble {
  max-width: 85%;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.7;
}

.bubble-user {
  margin-left: auto;
  background: var(--teal);
  color: #091311;
}

.bubble-ai {
  background: rgba(255, 255, 255, 0.08);
  color: #eef5f3;
}

.chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.task-pill,
.summary-chip {
  display: inline-flex;
  width: fit-content;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--teal);
  color: #0a1412;
  font-size: 13px;
  font-weight: 700;
}

.friends-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notify-dot {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.search-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: #929d99;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  color: #7d8784;
  font-size: 13px;
}

.tabs span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.tabs .is-active {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.friend-card-preview,
.task-card {
  margin-top: 16px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.friend-card-preview {
  display: flex;
  gap: 12px;
}

.friend-card-preview .avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08)),
    url("./assets/images/phone_login_bg.png") center / cover;
}

.friend-main strong,
.task-top strong {
  display: block;
  font-size: 16px;
}

.friend-main span,
.task-card p,
.task-stats {
  color: #8d9895;
  font-size: 12px;
}

.friend-main p {
  margin: 8px 0 0;
  color: #98a4a0;
  font-size: 12px;
  line-height: 1.6;
}

.task-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.task-top span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(87, 245, 221, 0.14);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.task-card p {
  margin: 12px 0 0;
  line-height: 1.7;
}

.progress-track {
  height: 12px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-value {
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(87, 245, 221, 0.25), rgba(87, 245, 221, 0.95));
}

.task-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(87, 245, 221, 0.12);
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
}

.timeline-item h3 {
  margin: 2px 0 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (max-width: 1080px) {
  .hero,
  .scene-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-phone,
  .mini-phone {
    margin: 0 auto;
  }

  .feature-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 16px 16px;
  }

  .nav {
    display: none;
  }

  .hero,
  .section,
  .site-footer {
    width: min(100vw - 24px, 1200px);
  }

  .hero {
    gap: 24px;
    padding: 24px 0 24px;
  }

  .hero-phone {
    width: min(100%, 360px);
    min-height: auto;
  }

  .mini-phone {
    max-width: 100%;
    min-height: auto;
  }

  .phone-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1,
  .section-heading h2,
  .scene-copy h3 {
    white-space: normal;
    word-break: break-word;
  }

  .hero h1 {
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1.04;
    letter-spacing: -0.03em;
  }

  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .scene-card,
  .feature-card,
  .timeline-item {
    padding: 20px;
  }

  .section {
    padding-top: 68px;
  }

  .section-heading h2 {
    font-size: 28px;
    line-height: 1.14;
  }

  .scene-copy h3 {
    font-size: 26px;
    line-height: 1.18;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .scene-grid {
    gap: 24px;
  }
}
