/* ============ Base ============ */
:root {
  --blue: #1a6bff;
  --blue-dark: #1558d6;
  --blue-deep: #0f4bbf;
  --ink: #101828;
  --ink-soft: #475467;
  --bg-section: #eaf2fd;
  --white: #ffffff;
  --radius-card: 24px;
  --shadow-card: 0 12px 30px rgba(16, 24, 40, 0.08);
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #eef2f7;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand span {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.2px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  padding: 8px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue-deep);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
}

/* ============ Hero ============ */
.hero {
  background: #f4f8fe;
  padding: 96px 0 110px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 64px;
}

.hero h1 {
  font-size: clamp(34px, 3.3vw, 50px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.4px;
  max-width: 600px;
}

.hero p {
  margin-top: 24px;
  max-width: 430px;
  font-size: 15px;
  color: var(--ink-soft);
}

.hero-cta {
  margin-top: 40px;
  display: inline-flex;
}

.hero-cta img {
  width: 160px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover img {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(16, 24, 40, 0.16);
}

/* Pay card mockup */
.pay-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 36px 34px;
  width: 100%;
  max-width: 460px;
  justify-self: end;
}

.pay-row {
  margin-bottom: 26px;
}

.pay-row:last-child {
  margin-bottom: 0;
}

.pay-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.pay-label.accent {
  color: var(--blue);
}

.pay-track {
  height: 10px;
  border-radius: 999px;
  background: #dceafc;
  overflow: hidden;
}

.pay-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f7bff, var(--blue));
}

/* ============ Section shell ============ */
.section {
  padding: 96px 0;
}

.section-head {
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.4px;
  max-width: 560px;
}

.bg-blue {
  background: var(--bg-section);
}

/* ============ Steps ============ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 860px;
}

.step {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
}

.step img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.step p {
  font-size: 16px;
  font-weight: 700;
}

/* ============ Advantages ============ */
.advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
}

.adv-card {
  background: var(--white);
  border: 1px solid #e4ecf8;
  border-left: 4px solid var(--blue);
  border-radius: 16px;
  padding: 34px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.1);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--white);
  border-top: 1px solid #eef2f7;
  padding: 56px 0 48px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.footer-brand span {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
}

.footer-cols {
  display: flex;
  gap: 72px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.footer-col a:hover {
  color: var(--blue-deep);
}

.footer-copy {
  margin-top: 32px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============ Privacy page ============ */
.privacy-hero {
  background: #f4f8fe;
  padding: 72px 0 56px;
  text-align: center;
}

.privacy-hero h1 {
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 800;
}

.privacy-body {
  background: var(--bg-section);
  padding: 40px 0 96px;
}

.privacy-paper {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 56px 60px;
  max-width: 960px;
  margin: 0 auto;
}

.privacy-paper p,
.privacy-paper li {
  font-size: 15px;
  color: #1d2939;
  margin-bottom: 14px;
}

.privacy-paper h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 26px 0 12px;
}

.privacy-paper ul {
  padding-left: 20px;
  list-style: disc;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pay-card {
    justify-self: start;
  }

  .advantages {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-cols {
    gap: 48px;
  }

  .privacy-paper {
    padding: 36px 28px;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .section {
    padding: 64px 0;
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--white);
    box-shadow: 0 14px 24px rgba(16, 24, 40, 0.1);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
  }

  .main-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #f0f4fa;
  }

  .nav-toggle {
    display: block;
  }

  .pay-card {
    padding: 26px 22px;
  }

  .footer-cols {
    flex-direction: column;
    gap: 24px;
  }
}
