:root {
  --ink: #14161c;
  --mute: #5c6370;
  --line: rgba(20, 22, 28, 0.1);
  --paper: #f3f5f8;
  --paper-2: #e8ecf2;
  --accent: #fe2c55;
  --accent-ink: #fff;
  --mac: #1d1f27;
  --win: #243047;
  --glow: rgba(254, 44, 85, 0.18);
  --font-display: "Syne", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Syne", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 12% -10%, var(--glow), transparent 60%),
    radial-gradient(720px 480px at 88% 8%, rgba(70, 110, 180, 0.16), transparent 55%),
    linear-gradient(165deg, #f7f8fb 0%, #eef1f6 42%, #e4e9f1 100%);
  animation: wash 14s ease-in-out infinite alternate;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: multiply;
}

@keyframes wash {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(8deg);
  }
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  backdrop-filter: blur(10px);
  background: rgba(243, 245, 248, 0.72);
  border-bottom: 1px solid transparent;
}

.top-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.top-nav {
  display: flex;
  gap: 22px;
}

.top-nav a {
  color: var(--mute);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 6vh, 72px) clamp(20px, 4vw, 56px) clamp(40px, 7vh, 80px);
}

.brand-mark {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 3.6vw, 2.65rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--ink);
  animation: rise 0.8s ease both;
}

.hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  animation: rise 0.9s ease 0.05s both;
}

.lede {
  margin: 0 0 28px;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--mute);
  animation: rise 1s ease 0.1s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 1.05s ease 0.16s both;
}

.cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 168px;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--accent-ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20, 22, 28, 0.16);
}

.cta.is-primary {
  box-shadow: 0 10px 24px rgba(254, 44, 85, 0.28);
}

.cta.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.cta-mac {
  background: linear-gradient(145deg, var(--mac), #2a2e3a);
}

.cta-win {
  background: linear-gradient(145deg, var(--win), #314463);
}

.cta.is-primary.cta-mac,
.cta.is-primary.cta-win {
  background: linear-gradient(145deg, #e01840, var(--accent));
}

.cta-os {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.cta-meta {
  margin-top: 2px;
  font-size: 0.78rem;
  opacity: 0.82;
}

.version-line {
  margin: 18px 0 0;
  font-size: 0.85rem;
  color: var(--mute);
  animation: rise 1.1s ease 0.2s both;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  animation: float-in 1.1s ease 0.15s both;
}

.desk-shell {
  position: relative;
  width: min(100%, 560px);
  margin-left: auto;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #1a1d27 0%, #252a38 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transform-origin: center;
  animation: float 7s ease-in-out infinite;
}

.desk-chrome {
  display: grid;
  grid-template-columns: 10px 10px 10px 1fr;
  gap: 7px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.desk-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4a5160;
}

.desk-chrome span:nth-child(1) {
  background: #fe5f57;
}
.desk-chrome span:nth-child(2) {
  background: #febc2e;
}
.desk-chrome span:nth-child(3) {
  background: #28c840;
}

.desk-title {
  justify-self: center;
  margin-right: 40px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.desk-body {
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 300px;
}

.desk-side {
  padding: 14px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0, 0, 0, 0.15);
}

.side-item {
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
}

.side-item.on {
  background: linear-gradient(90deg, rgba(254, 44, 85, 0.55), rgba(254, 44, 85, 0.15));
}

.desk-stage {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage-bar {
  display: flex;
  gap: 8px;
}

.stage-bar i {
  width: 42px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.stage-bar i:nth-child(1) {
  background: rgba(254, 44, 85, 0.45);
}

.stage-panel {
  flex: 1;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 50%),
    linear-gradient(180deg, #2b3142, #1e2330);
  position: relative;
  overflow: hidden;
  min-height: 210px;
}

.pulse {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  left: 18%;
  top: 22%;
  background: radial-gradient(circle, rgba(254, 44, 85, 0.45), transparent 68%);
  animation: pulse 3.2s ease-in-out infinite;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(0);
  }
  50% {
    transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

.platforms {
  padding: 72px clamp(20px, 4vw, 56px) 96px;
  border-top: 1px solid var(--line);
}

.platforms h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
}

.section-lede {
  margin: 0 0 28px;
  color: var(--mute);
  max-width: 32rem;
  line-height: 1.6;
}

.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
}

.platform-list li {
  position: relative;
}

.platform-list li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.platform-list li:hover::after {
  transform: scaleX(1);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 22px clamp(20px, 4vw, 56px) 36px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.85rem;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }

  .hero-visual {
    order: -1;
    min-height: 280px;
  }

  .desk-shell {
    margin: 0 auto;
    width: min(100%, 440px);
    transform: none;
    animation: float-mobile 6s ease-in-out infinite;
  }

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

@media (max-width: 560px) {
  .cta {
    flex: 1 1 100%;
  }

  .top-nav {
    gap: 14px;
  }
}
