:root {
  color-scheme: light;
  --bg: #f5fbff;
  --surface: rgba(255, 255, 255, 0.82);
  --text: #0c1720;
  --muted: #63717c;
  --blue: #1896f8;
  --blue-2: #8bc7f6;
  --cyan: #78e4f2;
  --mint: #8ee6d1;
  --warm: #f2cf87;
  --line: rgba(12, 23, 32, 0.10);
  --shadow: rgba(26, 118, 180, 0.18);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(rgba(11, 105, 150, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 105, 150, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 10% 12%, rgba(120, 228, 242, 0.34), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(242, 207, 135, 0.28), transparent 26%),
    radial-gradient(circle at 80% 72%, rgba(142, 230, 209, 0.34), transparent 28%),
    var(--bg);
  background-size: 34px 34px, 34px 34px, auto, auto, auto, auto;
  color: var(--text);
}

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

.hero {
  min-height: 92vh;
  padding: 24px clamp(20px, 5vw, 72px) 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.nav.compact {
  padding: 24px clamp(20px, 5vw, 72px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.app-icon {
  display: block;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(24, 150, 248, 0.20);
}

.app-icon.small {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.hero-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
  border-radius: 23px;
}

.links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.language-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.language-toggle button {
  min-width: 44px;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.language-toggle button.active {
  background: linear-gradient(135deg, var(--blue), var(--mint));
  color: white;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
  max-width: 1120px;
  margin: 76px auto 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: #0b83d9;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 78px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  color: white;
  font-weight: 850;
  box-shadow: 0 18px 34px rgba(24, 150, 248, 0.22);
}

.button.app-store {
  background: #0c1720;
  color: white;
  box-shadow: 0 18px 34px rgba(12, 23, 32, 0.20);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: #0b83d9;
  border: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.phone-shot {
  max-width: 360px;
  justify-self: center;
}

.phone-shot img,
.screen-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
  box-shadow: 0 36px 84px rgba(12, 23, 32, 0.20);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px clamp(20px, 5vw, 72px);
}

.section-title {
  max-width: 700px;
  margin-bottom: 30px;
}

.showcase {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 68px);
}

.screen-card {
  margin: 0;
}

.screen-card figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

.glass-demo {
  min-height: 430px;
  padding: 30px;
  border: 1px solid rgba(24, 150, 248, 0.16);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(227,249,255,0.62));
  box-shadow: 0 24px 70px rgba(24, 150, 248, 0.12);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  gap: 18px;
}

.demo-before,
.demo-after {
  display: grid;
  justify-items: center;
}

.demo-before span,
.demo-after i {
  width: 132px;
  height: 92px;
  border: 1px solid rgba(24, 150, 248, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(24,150,248,0.25) 0 42%, transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(225,248,250,0.86));
  box-shadow: 0 14px 30px rgba(24, 150, 248, 0.12);
}

.demo-before span + span { margin-top: -18px; }
.demo-after i + i { margin-top: -10px; }
.demo-after i { width: 150px; height: 74px; }

.demo-arrow {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  position: relative;
  box-shadow: 0 12px 28px rgba(24, 150, 248, 0.24);
}

.demo-arrow::before,
.demo-arrow::after {
  content: "";
  position: absolute;
  background: white;
}

.demo-arrow::before {
  width: 22px;
  height: 4px;
  top: 22px;
  left: 12px;
  border-radius: 999px;
}

.demo-arrow::after {
  width: 13px;
  height: 13px;
  top: 17px;
  left: 24px;
  border-top: 4px solid white;
  border-right: 4px solid white;
  background: transparent;
  transform: rotate(45deg);
}

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

.grid article,
.card,
.notice {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(24, 150, 248, 0.08);
  backdrop-filter: blur(18px);
}

.grid article,
.card,
.notice {
  padding: 24px;
}

.grid p,
.card p,
.notice p,
.steps {
  color: var(--muted);
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.steps {
  margin: 0;
  padding-left: 24px;
  font-size: 18px;
}

.steps li + li { margin-top: 14px; }

.notice {
  max-width: 980px;
  margin: 32px auto 80px;
}

.page {
  max-width: 860px;
  margin: 56px auto 88px;
  padding: 0 clamp(20px, 5vw, 72px);
}

.page h1 { font-size: clamp(42px, 6vw, 64px); }
.muted { color: var(--muted); }
.card + .card { margin-top: 18px; }
.card h3 { margin-bottom: 8px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 72px) 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer div {
  display: flex;
  gap: 16px;
}

@media (max-width: 900px) {
  .links {
    gap: 10px;
    font-size: 12px;
  }
  .links a { display: none; }
  .hero { min-height: auto; }
  .hero-inner,
  .showcase,
  .split {
    grid-template-columns: 1fr;
  }
  .hero-inner { margin-top: 54px; }
  .phone-shot,
  .screen-card {
    max-width: 360px;
    margin: 0 auto;
  }
  .glass-demo {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .demo-arrow { transform: rotate(90deg); justify-self: center; }
  .grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
