:root {
  color-scheme: dark;
  --page: #050506;
  --surface: rgba(255, 255, 255, .06);
  --surface-strong: rgba(255, 255, 255, .1);
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --line: rgba(255, 255, 255, .13);
  --brand: #ff9f2e;
  --brand-deep: #f26f16;
  --blue: #2997ff;
  --green: #30d158;
  --shadow: 0 38px 120px rgba(0, 0, 0, .46);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #050506 0%, #101013 44%, #151517 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  background: rgba(5, 5, 6, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: saturate(180%) blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(245, 245, 247, .68);
  font-size: 13px;
}

.nav-links a {
  transition: color .2s ease;
}

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

.hero {
  position: relative;
  min-height: calc(88vh - 56px);
  overflow: hidden;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 28px;
  padding: 42px 24px 34px;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 159, 46, .18) 24%, transparent 48%),
    linear-gradient(245deg, transparent 12%, rgba(41, 151, 255, .18) 44%, transparent 72%);
  opacity: 1;
}

.hero-light {
  position: absolute;
  z-index: -1;
  top: 54px;
  width: min(980px, 94vw);
  height: 420px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent),
    linear-gradient(180deg, rgba(255, 159, 46, .3), transparent 72%);
  filter: blur(46px);
  transform: perspective(900px) rotateX(66deg);
  opacity: .62;
  animation: breathe 7s ease-in-out infinite;
}

.hero-copy {
  max-width: 840px;
}

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

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(72px, 12vw, 150px);
  line-height: .88;
  letter-spacing: 0;
  color: #fff;
  text-shadow: 0 0 42px rgba(255, 255, 255, .16);
}

.lead {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(245, 245, 247, .84);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.48;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

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

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 38px rgba(41, 151, 255, .26);
}

.button.ghost {
  color: var(--blue);
  background: rgba(41, 151, 255, .1);
  border: 1px solid rgba(41, 151, 255, .2);
}

.product-stage {
  width: min(980px, calc(100vw - 36px));
  transform: translateZ(0);
}

.device-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 2.08;
  margin: 0 auto;
  padding: 14px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .07)),
    #131316;
  box-shadow: var(--shadow);
}

.device-shell::after {
  content: "";
  position: absolute;
  inset: auto 9% -22px;
  height: 32px;
  background: rgba(255, 159, 46, .16);
  filter: blur(22px);
}

.screen {
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03)),
    linear-gradient(180deg, #202026, #0f1014);
  padding: 18px;
}

.window-bar {
  display: flex;
  gap: 7px;
  margin-bottom: min(6vw, 52px);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d7d7dc;
}

.window-bar span:first-child { background: #ff5f57; }
.window-bar span:nth-child(2) { background: #ffbd2e; }
.window-bar span:nth-child(3) { background: #28c840; }

.assistant-panel {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 22px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .11);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  backdrop-filter: blur(18px);
  animation: floatPanel 5.5s ease-in-out infinite;
}

.assistant-panel img {
  width: 78px;
  height: 78px;
  border-radius: 20px;
}

.assistant-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.assistant-panel p {
  margin: 0;
  color: rgba(245, 245, 247, .76);
  line-height: 1.55;
}

.task-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: min(7vw, 56px) auto 0;
}

.task-row span {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  background: rgba(255, 255, 255, .075);
  color: rgba(245, 245, 247, .9);
  text-align: center;
}

.task-row strong {
  display: block;
  font-size: 15px;
  font-weight: 750;
}

.task-row em {
  display: block;
  color: rgba(245, 245, 247, .56);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 94px 24px;
}

.intro {
  padding-top: 42px;
}

.intro p {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.1;
  font-weight: 750;
  letter-spacing: 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head h2,
.download h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

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

.feature-grid article {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.feature-grid article:hover {
  transform: translateY(-4px);
  background: var(--surface-strong);
  border-color: rgba(255, 159, 46, .28);
}

.feature-grid span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.feature-grid h3 {
  margin: 42px 0 10px;
  font-size: 23px;
  line-height: 1.18;
}

.feature-grid p,
.timeline p,
.download p {
  color: var(--muted);
  line-height: 1.65;
}

.workflow {
  border-top: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.timeline div {
  min-height: 238px;
  padding: 26px;
  background: rgba(255, 255, 255, .055);
}

.timeline span {
  display: block;
  margin-bottom: 30px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.timeline strong {
  display: block;
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.18;
}

.download {
  max-width: 1180px;
  margin: 38px auto 0;
  padding: 56px 24px 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.download-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 320px;
}

.download p {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 17px;
}

footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 38px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(245, 245, 247, .52);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes breathe {
  0%, 100% { opacity: .48; transform: perspective(900px) rotateX(66deg) scale(.98); }
  50% { opacity: .76; transform: perspective(900px) rotateX(66deg) scale(1.02); }
}

@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 42px;
  }

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

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

  .download-actions {
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 680px) {
  .nav {
    padding: 0 16px;
  }

  .nav-links {
    gap: 14px;
    font-size: 12px;
  }

  .nav-links a:nth-child(2) {
    display: none;
  }

  .hero {
    padding: 34px 18px 40px;
  }

  .lead {
    font-size: 18px;
  }

  .device-shell {
    border-radius: 24px;
    padding: 10px;
    aspect-ratio: .92;
  }

  .screen {
    border-radius: 18px;
    padding: 14px;
  }

  .assistant-panel {
    grid-template-columns: 58px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .assistant-panel img {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .assistant-panel strong {
    font-size: 17px;
  }

  .task-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }

  .task-row span {
    min-height: 86px;
  }

  .section {
    padding: 64px 18px;
  }

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

  .timeline div {
    min-height: auto;
    padding: 22px;
  }

  .timeline span {
    margin-bottom: 22px;
  }

  .download {
    margin-top: 12px;
    padding: 46px 18px 56px;
  }

  .download-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .download .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
    padding-left: 18px;
    padding-right: 18px;
  }
}
