:root {
  --bg: #060a12;
  --bg-elevated: #0c1220;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ecf4;
  --text-muted: #8b95a8;
  --accent: #007bff;
  --accent-soft: rgba(0, 123, 255, 0.15);
  --accent-glow: rgba(0, 123, 255, 0.45);
  --premium: #7c5cff;
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 72px;
  --font: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-w: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

.is-temporarily-hidden {
  display: none !important;
}

.container {
  width: min(100% - 40px, var(--max-w));
  margin-inline: auto;
}

/* ── Nav ── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.scrolled {
  background: rgba(6, 10, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--max-w));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.35);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 99;
  background: rgba(6, 10, 18, 0.96);
  backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.mobile-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-drawer a {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.mobile-drawer a.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 12px 40px rgba(0, 123, 255, 0.32);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding-top: var(--nav-h);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 26%, rgba(0, 123, 255, 0.24), transparent 30%),
    radial-gradient(circle at 20% 18%, rgba(76, 107, 255, 0.16), transparent 32%),
    radial-gradient(circle at 50% 110%, rgba(53, 211, 153, 0.08), transparent 34%),
    linear-gradient(180deg, #07101e 0%, var(--bg) 70%, #050810 100%);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(99, 173, 255, 0.035) 50%, transparent 51%),
    linear-gradient(0deg, transparent 0 49%, rgba(99, 173, 255, 0.028) 50%, transparent 51%);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 62% 42%, #000 0 34%, transparent 72%);
  opacity: 0.78;
}

.hero::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 10, 18, 0.86) 0%, rgba(6, 10, 18, 0.3) 42%, rgba(6, 10, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.2) 0%, rgba(6, 10, 18, 0) 48%, var(--bg) 100%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.42;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 10%;
  right: -10%;
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  align-items: center;
  column-gap: clamp(34px, 6vw, 92px);
  padding: 34px 0 44px;
}

.hero-badge,
.hero h1,
.hero-stats,
.hero-actions {
  grid-column: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.35rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hero-visual {
  grid-column: 2;
  grid-row: 1 / span 4;
  justify-self: stretch;
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 0.94;
  min-height: 500px;
  border-radius: 32px;
  overflow: hidden;
  opacity: 1;
  background:
    radial-gradient(circle at 48% 32%, rgba(0, 123, 255, 0.17), transparent 42%),
    radial-gradient(circle at 72% 70%, rgba(54, 212, 146, 0.08), transparent 34%);
  filter: drop-shadow(0 28px 88px rgba(0, 123, 255, 0.14));
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 4% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-visual-loading {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 32%, rgba(0, 123, 255, 0.14), transparent 45%),
    transparent;
}

.hero-visual #sosolink-ip-animation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  background: transparent !important;
}

.hero-visual #sosolink-ip-animation .stage {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

.hero-visual #sosolink-ip-animation .replay {
  display: none !important;
}

.hero-visual #sosolink-ip-animation .world-map::before {
  opacity: 0.18 !important;
}

.hero h1 .gradient {
  background: linear-gradient(120deg, #fff 30%, var(--accent) 70%, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 18px;
  font-size: clamp(0.98rem, 2.2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 36em;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
  max-width: 860px;
}

.hero-actions .btn-primary {
  min-width: 320px;
  min-height: 66px;
  padding: 0 42px;
  font-size: 1.08rem;
  box-shadow: 0 18px 58px rgba(0, 123, 255, 0.34);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 28px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px var(--accent-glow);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  max-width: 860px;
  border: 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(80, 172, 255, 0.28), transparent 36%),
    radial-gradient(circle at 88% 100%, rgba(0, 123, 255, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(16, 82, 168, 0.42), rgba(8, 14, 28, 0.8) 62%),
    rgba(8, 15, 28, 0.86);
  box-shadow: 0 24px 80px rgba(0, 123, 255, 0.16);
  overflow: hidden;
}

.stat {
  position: relative;
  min-height: 142px;
  padding: 24px 28px 22px;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  inset: 22px 0 22px auto;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.stat:last-child::before {
  display: none;
}

.stat::after {
  content: "";
  position: absolute;
  inset: auto -54px -74px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle, rgba(0, 123, 255, 0.22), transparent 68%);
}

.stat strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: clamp(2.35rem, 4.8vw, 3.45rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  text-shadow: 0 0 32px rgba(0, 123, 255, 0.36);
}

.stat span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(220, 232, 255, 0.82);
}

/* ── Sections ── */
section {
  padding: 96px 0;
}

#product {
  padding-top: 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 32em;
  margin-bottom: 48px;
  font-size: 1.02rem;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface) 0%, transparent 100%);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 123, 255, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Pricing ── */
#pricing {
  background: linear-gradient(180deg, transparent, rgba(0, 123, 255, 0.04) 50%, transparent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.pricing-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured {
  border-color: rgba(0, 123, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(0, 123, 255, 0.2), 0 24px 60px rgba(0, 123, 255, 0.12);
}

.pricing-card.premium-tier {
  border-color: rgba(124, 92, 255, 0.4);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
}

.pricing-card.premium-tier .pricing-badge {
  background: var(--premium);
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.plan-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-price .free {
  color: var(--accent);
}

.plan-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-meta li {
  list-style: none;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-meta li::before {
  content: "";
  width: 10px;
  height: 6px;
  flex: 0 0 auto;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-1px);
}

.pricing-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 58px;
  padding: 0 28px;
  width: 100%;
  line-height: 1;
  text-align: center;
}

.pricing-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
}

/* ── Download ── */
.download-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.download-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 480px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--bg-elevated), rgba(0, 123, 255, 0.08));
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mock {
  width: 55%;
  max-width: 220px;
  aspect-ratio: 9/19;
  border-radius: 28px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  background: #0a0e17;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  padding: 12px 8px;
  position: relative;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, #0f1628 0%, #060a12 100%);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-screen .app-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.phone-screen .node-line {
  height: 8px;
  border-radius: 4px;
  background: var(--surface);
}

.phone-screen .node-line.active {
  background: linear-gradient(90deg, var(--accent), transparent);
  width: 80%;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  scroll-margin-top: calc(var(--nav-h) + 14px);
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.2s, transform 0.2s var(--ease);
}

.store-btn:hover {
  background: var(--surface-hover);
  transform: translateX(4px);
}

.store-btn.is-unavailable {
  opacity: 0.58;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.06);
}

.store-btn.is-unavailable:hover {
  background: rgba(255, 255, 255, 0.025);
  transform: none;
}

.store-btn.is-unavailable svg {
  color: #758095;
}

.store-btn.is-unavailable .small {
  color: #98a3b6;
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn span {
  display: block;
  text-align: left;
}

.store-btn .small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.store-btn .big {
  font-size: 1rem;
  font-weight: 600;
}

.download-note {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.download-alternative {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
}

.download-alternative strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.92rem;
}

.download-alternative p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.download-alternative .btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 16px;
  font-size: 0.84rem;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.about-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.about-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.about-contact-links a {
  color: var(--accent);
  transition: color 0.2s;
}

.about-contact-links a:hover {
  color: #65adff;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.value-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

/* ── Footer ── */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ── Mobile sticky CTA ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(6, 10, 18, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}

.mobile-cta-bar .btn {
  width: 100%;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .download-wrap,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .download-visual {
    max-height: 360px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-drawer {
    display: flex;
  }

  section {
    padding: 72px 0;
  }

  #product {
    padding-top: 8px;
  }

  .hero {
    align-items: flex-start;
    min-height: auto;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(6, 10, 18, 0.58) 0%, rgba(6, 10, 18, 0.18) 44%, var(--bg) 100%);
  }

  .hero-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(292px, auto) auto auto;
    padding: 24px 0 0;
  }

  .hero-badge,
  .hero h1,
  .hero-visual,
  .hero-stats,
  .hero-actions {
    grid-column: 1;
  }

  .hero-visual {
    grid-row: 2;
    order: 3;
    width: 100%;
    min-height: 292px;
    max-height: 340px;
    aspect-ratio: 1.1;
    margin-top: 0;
    border-radius: 24px;
    align-self: start;
    z-index: 1;
  }

  .hero-visual #sosolink-ip-animation .map-svg {
    top: 28px !important;
    bottom: -100px !important;
    left: 39% !important;
    right: auto !important;
    width: min(248vw, 980px) !important;
    height: calc(100% + 72px) !important;
    transform: translateX(-50%) !important;
  }

  .hero-visual #sosolink-ip-animation .stage {
    transform: translate(34px, 24px) scale(0.96);
    transform-origin: center top;
  }

  .hero-badge {
    order: 1;
    margin-bottom: 14px;
    padding: 7px 12px;
  }

  .hero h1 {
    order: 2;
    grid-row: 2;
    align-self: start;
    position: relative;
    z-index: 3;
    max-width: 7ch;
    font-size: clamp(2rem, 10.8vw, 2.9rem);
    line-height: 1.06;
    text-shadow: 0 10px 34px rgba(1, 7, 16, 0.78);
  }

  .hero h1 .gradient {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: #10b7ff;
    -webkit-text-fill-color: #10b7ff;
    -webkit-text-stroke: 0;
    filter: none;
    text-shadow:
      0 2px 0 rgba(1, 6, 16, 0.94),
      0 0 2px rgba(1, 6, 16, 0.92),
      0 10px 24px rgba(0, 0, 0, 0.68),
      0 0 26px rgba(16, 183, 255, 0.42);
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.62;
    max-width: 100%;
  }

  .hero-actions {
    order: 5;
    grid-row: 4;
    margin-top: 16px;
  }

  .hero-actions .btn-primary {
    min-height: 58px;
    min-width: min(100%, 360px);
    font-size: 1rem;
  }

  .hero-stats {
    order: 4;
    grid-row: 3;
    position: relative;
    z-index: 3;
    gap: 0;
    margin-top: 10px;
  }

  .mobile-cta-bar {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 32px, var(--max-w));
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    min-height: 54px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-radius: 20px;
  }

  .stat {
    min-height: 98px;
    padding: 15px 11px 14px;
    border-radius: 0;
  }

  .stat::before {
    width: 1px;
    height: auto;
    border-radius: 0;
    inset: 16px 0 16px auto;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  }

  .stat::after {
    width: 94px;
    height: 94px;
    right: -36px;
    bottom: -42px;
  }

  .stat strong {
    font-size: clamp(1.54rem, 8vw, 2.1rem);
  }

  .stat span {
    margin-top: 8px;
    font-size: 0.68rem;
    line-height: 1.22;
  }

  .download-alternative {
    align-items: stretch;
    flex-direction: column;
    padding-inline: 0;
  }

  .download-alternative .btn {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
