:root {
  --ink: #102033;
  --muted: #667085;
  --blue: #6daeff;
  --deep-blue: #1d4ed8;
  --pale-blue: #f3f9ff;
  --gold: #ffd166;
  --amber: #b8782b;
  --wine: #26003d;
  --moss: #546a48;
  --white: #ffffff;
  --card: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.62);
  --shadow: 0 24px 70px rgba(29, 16, 51, 0.14);
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#products {
  scroll-margin-top: 108px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(241, 248, 255, 0.62) 48%, rgba(248, 244, 231, 0.88)),
    url("assets/blue-scroll-artwork.jpg") center top / cover fixed no-repeat,
    #edf6f1;
  font-family: var(--font-sans);
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(24deg, rgba(84, 106, 72, 0.08) 0 1px, transparent 1px 11px);
  opacity: 0.2;
  mix-blend-mode: soft-light;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 18px;
  right: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  padding: 0 24px;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, 100%);
  min-height: 64px;
  margin: 0 auto;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(253, 250, 241, 0.3);
  box-shadow: 0 18px 48px rgba(38, 0, 61, 0.1);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled .nav-shell {
  background: rgba(253, 250, 241, 0.5);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  width: 112px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(38, 0, 61, 0.14));
}

.nav-brand span {
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.55);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.hero-section {
  display: grid;
  min-height: 100svh;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 126px 0 74px;
}

.hero-content {
  max-width: 820px;
}

.hero-logo {
  width: min(360px, 72vw);
  height: auto;
  margin-bottom: 24px;
  opacity: 0.94;
  filter: drop-shadow(0 18px 34px rgba(38, 0, 61, 0.18));
}

.hero-content h1 {
  margin: 0;
  color: rgba(8, 26, 55, 0.94);
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  text-shadow: 0 18px 60px rgba(255, 255, 255, 0.72);
}

.hero-slogan {
  margin: 26px 0 0;
  color: rgba(8, 26, 55, 0.82);
  font-size: clamp(1.45rem, 3.2vw, 2.7rem);
  font-weight: 800;
}

.primary-button,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--wine), #245f85 54%, var(--amber));
  box-shadow: 0 18px 44px rgba(38, 0, 61, 0.22), 0 0 34px rgba(184, 120, 43, 0.22);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button {
  margin-top: 38px;
  padding: 0 26px;
}

.primary-button:hover,
.download-button:hover {
  box-shadow: 0 24px 58px rgba(38, 0, 61, 0.28), 0 0 48px rgba(184, 120, 43, 0.34);
  transform: translateY(-3px);
}

.primary-button:active,
.download-button:active {
  transform: scale(0.98);
}

.products-section,
.art-banner,
.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.products-section {
  padding: 82px 0 48px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

.section-heading h2,
.art-banner h2 {
  margin: 0;
  color: rgba(8, 26, 55, 0.94);
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 14px 40px rgba(255, 255, 255, 0.68);
  text-wrap: balance;
}

.section-heading p,
.art-banner p {
  margin: 16px 0 0;
  color: rgba(16, 32, 51, 0.7);
  font-size: 1.06rem;
  font-weight: 700;
}

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

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  box-shadow: 0 34px 86px rgba(38, 0, 61, 0.2);
  transform: translateY(-5px);
}

.product-art {
  height: 164px;
  background-image:
    linear-gradient(135deg, rgba(38, 0, 61, 0.22), rgba(184, 120, 43, 0.16)),
    url("assets/blue-scroll-artwork.jpg");
  background-size: cover;
}

.localmind-card .product-art {
  background-position: 16% 28%;
}

.note-card .product-art {
  background-position: 52% 44%;
}

.chatnine-card .product-art {
  background-position: 82% 36%;
}

.product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.product-label {
  margin: 0 0 8px;
  color: rgba(140, 82, 20, 0.86);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.product-lead {
  margin: 12px 0 0;
  color: #21445d;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.45;
  text-wrap: balance;
}

.product-desc {
  margin: 14px 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
  overflow-wrap: break-word;
}

.download-button {
  width: 100%;
  min-height: 64px;
  margin-top: auto;
  padding: 0 24px;
  font-size: 1.12rem;
  line-height: 1.2;
  text-align: center;
}

.art-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 48px;
  margin-bottom: 72px;
  padding: 54px 0;
}

.art-copy {
  max-width: 560px;
}

.art-painting {
  position: relative;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(38, 0, 61, 0.24);
  overflow: hidden;
}

.art-painting img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}

.site-footer {
  padding: 24px 0 42px;
  color: rgba(16, 32, 51, 0.68);
  text-align: right;
}

.site-footer img {
  width: 154px;
  height: auto;
  margin-left: auto;
  opacity: 0.86;
}

.site-footer p {
  margin: 10px 0 0;
  font-weight: 900;
}

.site-footer small {
  display: block;
  margin-top: 4px;
}

.coming-page {
  min-height: 100vh;
}

.product-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-dot,
.network-node,
.note-line,
.chat-shape {
  position: absolute;
  display: block;
}

.glow-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 28px rgba(255, 209, 102, 0.9);
  animation: floatGlow 8s ease-in-out infinite;
}

.glow-dot-a {
  top: 22%;
  left: 16%;
}

.glow-dot-b {
  top: 18%;
  right: 18%;
  width: 7px;
  height: 7px;
  animation-delay: -2s;
}

.glow-dot-c {
  right: 38%;
  bottom: 18%;
  animation-delay: -4s;
}

.network-node,
.note-line,
.chat-shape {
  opacity: 0.36;
}

.network-node {
  width: 18rem;
  height: 1px;
  background: rgba(109, 174, 255, 0.7);
}

.network-node-a {
  top: 32%;
  left: 8%;
  transform: rotate(16deg);
}

.network-node-b {
  right: 8%;
  bottom: 28%;
  transform: rotate(-22deg);
}

.network-node-c {
  top: 62%;
  left: 18%;
  transform: rotate(-8deg);
}

.note-line {
  width: 16rem;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.42);
}

.note-line-a {
  top: 28%;
  left: 9%;
  transform: rotate(-9deg);
}

.note-line-b {
  right: 9%;
  bottom: 24%;
  transform: rotate(10deg);
}

.chat-shape {
  border: 1px solid rgba(109, 174, 255, 0.42);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.34);
}

.chat-shape-a {
  top: 26%;
  left: 8%;
  width: 12rem;
  height: 5.5rem;
}

.chat-shape-b {
  right: 9%;
  bottom: 22%;
  width: 15rem;
  height: 6rem;
}

.back-link {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 42px rgba(16, 32, 51, 0.12);
  backdrop-filter: blur(18px);
  font-weight: 900;
}

.coming-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 112px 24px 56px;
}

.coming-card {
  position: relative;
  width: min(680px, 100%);
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  backdrop-filter: blur(18px);
}

.coming-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(29, 78, 216, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.coming-status {
  margin: 18px 0 0;
  color: var(--deep-blue);
  font-size: 1.36rem;
  font-weight: 900;
}

.coming-lead {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.coming-copy {
  max-width: 520px;
  margin: 12px auto 0;
  color: var(--muted);
}

.coming-card .primary-button {
  margin-top: 28px;
  padding: 0 24px;
}

.coming-card .primary-button svg {
  display: none;
}

.coming-art {
  position: relative;
  width: 148px;
  height: 104px;
  margin: 0 auto 24px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 209, 102, 0.58), transparent 42px),
    linear-gradient(135deg, rgba(29, 78, 216, 0.72), rgba(109, 174, 255, 0.44));
  box-shadow: 0 18px 42px rgba(29, 78, 216, 0.18);
}

.coming-art span {
  display: none;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  #products {
    scroll-margin-top: 86px;
  }

  body {
    background-attachment: scroll;
    background-position: 58% top;
  }

  .site-header {
    top: 10px;
    right: auto;
    left: 14px;
    width: auto;
    padding: 0;
  }

  .nav-shell {
    width: auto;
    max-width: calc(100vw - 28px);
    min-height: 58px;
    padding: 8px 12px;
  }

  .nav-brand img {
    width: 90px;
  }

  .nav-brand span {
    font-size: 0.82rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hero-section,
  .products-section,
  .art-banner,
  .site-footer {
    width: min(100% - 32px, 1120px);
  }

  .hero-section {
    min-height: clamp(640px, 88svh, 780px);
    padding-top: 104px;
    padding-bottom: 46px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-logo {
    width: min(244px, 76vw);
    margin-bottom: 18px;
  }

  .hero-content h1 {
    font-size: clamp(3.6rem, 16vw, 4.8rem);
  }

  .hero-slogan {
    margin-top: 18px;
    font-size: clamp(1.15rem, 5.8vw, 1.6rem);
  }

  .primary-button {
    width: 100%;
    max-width: calc(100vw - 32px);
    min-height: 58px;
    padding: 0 18px;
    text-align: center;
  }

  .products-section {
    padding-top: 54px;
    padding-bottom: 30px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading h2,
  .art-banner h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
    line-height: 1.04;
  }

  .section-heading p {
    margin-top: 12px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .product-grid {
    gap: 20px;
  }

  .product-art {
    height: 142px;
  }

  .product-copy {
    padding: 22px;
  }

  .product-desc {
    margin-bottom: 20px;
    font-size: 0.94rem;
  }

  .download-button {
    min-height: 60px;
    font-size: 1.06rem;
  }

  .art-banner {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 30px;
    margin-bottom: 44px;
    padding: 34px 0;
  }

  .art-painting img {
    aspect-ratio: 4 / 3;
  }

  .site-footer {
    padding-top: 10px;
    text-align: left;
  }

  .site-footer img {
    width: 132px;
    margin-right: auto;
    margin-left: 0;
  }

  .site-footer p {
    line-height: 1.5;
  }

  .back-link {
    top: 14px;
    left: 14px;
  }

  .coming-main {
    padding: 92px 16px 40px;
  }

  .coming-card {
    padding: 34px 22px;
  }
}

@media (max-width: 420px) {
  .nav-brand {
    gap: 10px;
  }

  .nav-brand img {
    width: 82px;
  }

  .nav-brand span {
    font-size: 0.78rem;
  }

  .hero-content h1 {
    font-size: clamp(3rem, 15.2vw, 3.65rem);
  }

  .primary-button,
  .download-button {
    font-size: 1rem;
  }
}

@media (max-width: 350px) {
  .nav-brand span {
    display: none;
  }

  .hero-section,
  .products-section,
  .art-banner,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
