:root {
  color-scheme: dark;
  --bg: #07110f;
  --ink: #f4f7f2;
  --muted: #a8b6ad;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(9, 24, 20, 0.82);
  --panel-strong: rgba(14, 42, 35, 0.92);
  --teal: #2dd4bf;
  --mint: #8be7c7;
  --amber: #f4bf55;
  --coral: #f36f56;
  --steel: #8ea8ff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 16% 12%, rgba(45, 212, 191, 0.16), transparent 34rem),
    radial-gradient(circle at 86% 10%, rgba(244, 191, 85, 0.12), transparent 30rem),
    linear-gradient(180deg, #06110f 0%, #0b1817 52%, #10120f 100%);
  color: var(--ink);
  letter-spacing: 0;
}

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

.intro {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: #07110f;
  animation: intro-exit 1.1s ease 2.25s forwards;
}

.intro-mark {
  display: grid;
  gap: 24px;
  justify-items: center;
}

.intro-ring {
  width: 86px;
  height: 86px;
  border: 2px solid rgba(139, 231, 199, 0.2);
  border-top-color: var(--teal);
  border-right-color: var(--amber);
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.intro-name {
  overflow: hidden;
  max-width: 0;
  color: var(--mint);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 6px;
  white-space: nowrap;
  animation: reveal-name 1.3s ease 0.25s forwards;
}

.intro-line {
  position: absolute;
  left: 50%;
  bottom: 28%;
  width: min(360px, 60vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--amber), var(--teal), transparent);
  animation: pulse-line 1.5s ease-in-out infinite;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(7, 17, 15, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.hero-metrics,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  width: 26px;
  height: 26px;
  background:
    linear-gradient(135deg, transparent 38%, #07110f 39% 48%, transparent 49%),
    conic-gradient(from 180deg, var(--teal), var(--amber), var(--coral), var(--teal));
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(45, 212, 191, 0.28);
}

.nav {
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

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

.nav-action,
.primary-btn,
.ghost-btn,
.plan-card a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.nav-action,
.primary-btn,
.plan-card a {
  background: linear-gradient(135deg, var(--teal), var(--amber));
  color: #07110f;
}

.nav-action {
  padding: 0 18px;
  font-size: 14px;
}

.nav-action:hover,
.primary-btn:hover,
.plan-card a:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(45, 212, 191, 0.18);
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  padding: 150px clamp(20px, 5vw, 84px) 92px;
}

.route-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
}

.route-canvas {
  width: 100%;
  height: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 17, 15, 0.92) 0%, rgba(7, 17, 15, 0.64) 45%, rgba(7, 17, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 17, 15, 0.92) 0%, transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 980px;
  font-size: clamp(46px, 7vw, 98px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: #dce6df;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.72;
}

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

.primary-btn,
.ghost-btn {
  padding: 0 22px;
  font-size: 15px;
}

.ghost-btn {
  border: 1px solid rgba(244, 247, 242, 0.22);
  color: var(--ink);
}

.ghost-btn:hover {
  border-color: rgba(139, 231, 199, 0.45);
  transform: translateY(-1px);
}

.hero-metrics {
  position: absolute;
  right: clamp(20px, 5vw, 84px);
  bottom: 28px;
  z-index: 3;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 18, 16, 0.72);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  display: grid;
  min-width: 132px;
  gap: 4px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-metrics strong {
  color: var(--mint);
  font-size: 28px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 92px clamp(20px, 5vw, 84px);
}

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

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.3vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p,
.security-copy p,
.contact-section p,
.line-card p,
.plan-card p,
.security-list p {
  color: var(--muted);
  line-height: 1.72;
}

.line-grid,
.plan-grid,
.security-list {
  display: grid;
  gap: 16px;
}

.line-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.line-card,
.plan-card,
.guide-card,
.security-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.line-card {
  min-height: 220px;
  padding: 22px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.line-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 231, 199, 0.36);
  background: var(--panel-strong);
}

.line-card span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(139, 231, 199, 0.28);
  border-radius: 50%;
  color: var(--mint);
  font-size: 14px;
  font-weight: 900;
}

.line-card h3,
.plan-card h3,
.security-list h3 {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: 0;
}

.plans-section {
  background: rgba(255, 255, 255, 0.03);
  border-block: 1px solid var(--line);
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
  display: grid;
  min-height: 280px;
  align-content: start;
  padding: 28px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 191, 85, 0.36);
}

.plan-card strong {
  margin: 8px 0 18px;
  color: var(--mint);
  font-size: 46px;
  letter-spacing: 0;
}

.plan-card a {
  width: fit-content;
  margin-top: 20px;
  padding: 0 18px;
}

.featured {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.2), rgba(14, 42, 35, 0.92));
  border-color: rgba(139, 231, 199, 0.4);
}

.ios-guide-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(7, 17, 15, 0.68);
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 16px;
  align-items: stretch;
}

.guide-card {
  padding: 22px;
}

.guide-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 28px;
  font-weight: 900;
}

.guide-card p {
  color: var(--muted);
  line-height: 1.72;
}

.guide-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--mint);
  font-weight: 800;
}

.guide-card img {
  display: block;
  width: 100%;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.security-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.security-copy {
  position: sticky;
  top: 118px;
}

.security-list {
  grid-template-columns: 1fr;
}

.security-list div {
  padding: 24px;
}

.contact-section {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(244, 191, 85, 0.14), transparent 52%),
    rgba(255, 255, 255, 0.04);
  border-block: 1px solid var(--line);
}

.contact-section div {
  max-width: 720px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.qq-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(244, 191, 85, 0.38);
  border-radius: 8px;
  padding: 0 16px;
  background: rgba(244, 191, 85, 0.11);
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 84px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes reveal-name {
  to {
    max-width: 260px;
  }
}

@keyframes pulse-line {
  50% {
    opacity: 0.32;
    transform: translateX(-50%) scaleX(0.7);
  }
}

@keyframes intro-exit {
  to {
    visibility: hidden;
    opacity: 0;
    transform: scale(1.04);
  }
}

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

  .hero {
    min-height: 92vh;
    padding-top: 132px;
  }

  .hero-metrics {
    position: relative;
    right: auto;
    bottom: auto;
    width: fit-content;
    margin-top: 48px;
  }

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

  .guide-grid,
  .plan-grid,
  .security-section {
    grid-template-columns: 1fr;
  }

  .security-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 14px 16px;
  }

  .brand {
    font-size: 16px;
  }

  .nav-action {
    min-height: 38px;
    padding-inline: 14px;
  }

  .hero {
    min-height: auto;
    padding: 112px 18px 54px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-metrics,
  .hero-actions,
  .contact-actions,
  .contact-section,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics {
    width: 100%;
  }

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

  .section {
    padding: 62px 18px;
  }

  .contact-section .primary-btn {
    width: 100%;
  }

  .qq-pill {
    justify-content: center;
  }
}

@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;
  }

  .intro {
    display: none;
  }
}
