:root {
  --navy: #052f4a;
  --deep: #071f31;
  --teal: #08a99d;
  --mint: #77dfc0;
  --ink: #173447;
  --muted: #647b87;
  --line: #dce8e9;
  --pale: #f1f8f7;
  --white: #fff;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "Microsoft YaHei", sans-serif;
  background: var(--white);
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -0.02em; }

.notice {
  background: var(--deep);
  color: #aee4d9;
  text-align: center;
  padding: 9px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.logo img { height: 48px; width: auto; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-link {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
}

.lang {
  display: flex;
  border: 1px solid var(--line);
}

.lang button {
  border: 0;
  background: #fff;
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 800;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
}

.lang button.active {
  background: var(--navy);
  color: #fff;
}

.hero {
  position: relative;
  min-height: min(92vh, 720px);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 26, 41, 0.35) 0%, rgba(3, 26, 41, 0.55) 42%, rgba(3, 26, 41, 0.94) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(8, 169, 157, 0.22), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px 18px calc(36px + var(--safe-bottom));
  animation: rise 0.9s ease both;
}

.hero-brand {
  width: 78px;
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
  animation: brandIn 1s ease 0.1s both;
}

.eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: var(--mint);
  text-transform: uppercase;
}

.hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(40px, 11vw, 56px);
  line-height: 1.05;
  color: #fff;
  max-width: 12ch;
}

.lead {
  margin: 0;
  color: #d2e1e5;
  font-size: 14px;
  line-height: 1.75;
  max-width: 34ch;
}

.cta-group {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  padding: 16px 22px;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 14px 32px rgba(8, 169, 157, 0.35);
}

.btn:hover,
.btn:focus-visible {
  background: #07958b;
  transform: translateY(-2px);
}

.btn:active { transform: translateY(1px) scale(0.99); }

.download-btn {
  width: min(100%, 360px);
  min-height: 64px;
  animation: pulseGlow 2.8s ease-in-out infinite;
}

.btn-label { letter-spacing: 0.3px; }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
  flex-direction: row;
  padding: 14px 20px;
}

.hint {
  margin: 14px 0 0;
  font-size: 11px;
  color: #9fb5bc;
}

.advantages {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
}

.advantages article {
  padding: 28px 20px;
  border-bottom: 1px solid var(--line);
  animation: fadeUp 0.7s ease both;
}

.advantages article:nth-child(2) { animation-delay: 0.08s; }
.advantages article:nth-child(3) { animation-delay: 0.16s; }
.advantages article:nth-child(4) { animation-delay: 0.24s; }

.advantages span {
  display: block;
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.advantages b {
  display: block;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.advantages p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.trust {
  padding: 56px 20px;
  background: var(--pale);
}

.trust .eyebrow { color: var(--teal); }

.trust h2 {
  margin: 12px 0 14px;
  color: var(--navy);
  font-size: clamp(30px, 8vw, 42px);
  line-height: 1.1;
}

.trust > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  max-width: 40ch;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}

.checks li {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
}

.checks li::before {
  content: "✓";
  color: var(--teal);
  margin-right: 8px;
  font-weight: 800;
}

.text-link {
  font-size: 12px;
  font-weight: 800;
  color: var(--teal);
}

.contact {
  padding: 28px 16px 40px;
  background: #fff;
}

.contact-box {
  background: linear-gradient(135deg, var(--deep), #07516b);
  color: #fff;
  padding: 32px 22px;
  position: relative;
  overflow: hidden;
}

.contact-box::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(119, 223, 192, 0.2);
  border-radius: 50%;
  right: -60px;
  top: -70px;
}

.contact-box .eyebrow { color: var(--mint); }

.contact-box h2 {
  margin: 10px 0 10px;
  color: #fff;
  font-size: 28px;
}

.contact-box > p {
  margin: 0;
  font-size: 13px;
  color: #bed0d5;
}

.contact-lines {
  margin: 22px 0 24px;
  position: relative;
  z-index: 1;
}

.contact-lines p {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  margin: 10px 0;
  align-items: center;
}

.contact-lines span {
  font-size: 10px;
  color: var(--mint);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

.contact-lines a {
  font-size: 13px;
  font-weight: 700;
  word-break: break-all;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + var(--safe-bottom));
  transform: translateX(-50%) translateY(12px);
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 700;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes brandIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 14px 32px rgba(8, 169, 157, 0.32); }
  50% { box-shadow: 0 16px 40px rgba(8, 169, 157, 0.55); }
}

@media (min-width: 768px) {
  .header { height: 72px; padding: 0 28px; }
  .logo img { height: 56px; }

  .hero-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 28px 56px;
  }

  .hero h1 { max-width: none; }
  .lead { font-size: 16px; max-width: 46ch; }

  .advantages {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages article {
    border-right: 1px solid var(--line);
  }

  .advantages article:nth-child(2n) { border-right: 0; }

  .trust,
  .contact {
    max-width: 960px;
    margin: 0 auto;
  }

  .trust { padding: 72px 28px; }
  .contact { padding: 20px 28px 56px; }
  .contact-box {
    display: grid;
    grid-template-columns: 1.3fr 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 40px;
  }

  .contact-box h2 { grid-column: 1; }
  .contact-lines { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
