* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: #142033;
  background: #f5f8fb;
}

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

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 0 42px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 36, 62, 0.08);
  box-shadow: 0 10px 30px rgba(18, 45, 78, 0.06);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 290px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand strong,
.brand em {
  display: block;
  font-style: normal;
  line-height: 1.35;
}

.brand strong {
  font-size: 16px;
  font-weight: 700;
}

.brand em {
  font-size: 13px;
  color: #6d7890;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  color: #516078;
  font-size: 15px;
}

.nav a {
  position: relative;
  padding: 30px 0;
}

.nav a.active,
.nav a:hover {
  color: #0a6cff;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 3px;
  border-radius: 3px;
  background: #0a6cff;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.primary-btn {
  color: #fff;
  background: #0a6cff;
  box-shadow: 0 12px 24px rgba(10, 108, 255, 0.24);
}

.primary-btn:hover {
  background: #005bd8;
}

.primary-btn.small,
.ghost-btn {
  min-height: 34px;
  padding: 0 17px;
  font-size: 14px;
}

.ghost-btn {
  color: #0a6cff;
  border: 1px solid #c9ddff;
  background: #fff;
}

.secondary-btn {
  color: #0a345e;
  border: 1px solid #c9d8e9;
  background: #fff;
}

.secondary-btn.dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
}

.price-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  color: #fff;
  background: #0a1d36;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 22, 45, 0.94) 0%, rgba(6, 34, 73, 0.8) 48%, rgba(6, 34, 73, 0.35) 100%),
    url("assets/banner.jpg") center / cover no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
  min-height: 520px;
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: #0a6cff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price-hero .eyebrow,
.cta-section .eyebrow {
  color: #8cc3ff;
}

.hero-copy h1,
.section-head h2,
.security-card h2,
.faq-card h2,
.cta-section h2 {
  margin: 0;
  font-weight: 800;
  line-height: 1.22;
}

.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(34px, 4.2vw, 52px);
}

.lead {
  max-width: 640px;
  margin: 22px 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.75;
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: #172437;
}

.hero-panel span,
.hero-panel strong,
.hero-panel small {
  display: block;
}

.hero-panel span {
  color: #65738b;
  font-size: 14px;
}

.hero-panel strong {
  margin: 8px 0 4px;
  color: #0a6cff;
  font-size: 32px;
}

.hero-panel small {
  color: #64728a;
  font-size: 13px;
}

.pricing-section,
.comparison-section,
.trust-section {
  padding: 86px 0;
}

.pricing-section {
  background: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 24px;
}

.section-head h2,
.security-card h2,
.faq-card h2 {
  color: #111b2b;
  font-size: 34px;
}

.section-head p:not(.eyebrow),
.security-card > p:not(.eyebrow) {
  color: #627087;
  font-size: 17px;
  line-height: 1.8;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  min-height: 390px;
  padding: 26px;
  border: 1px solid #dfe9f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(18, 45, 78, 0.08);
}

.price-card.featured {
  color: #fff;
  border-color: #0a6cff;
  background: #0a6cff;
}

.price-card.free {
  background: #f7fbff;
}

.plan-label {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  color: #0a6cff;
  background: #eaf3ff;
  font-size: 13px;
  font-weight: 800;
}

.featured .plan-label {
  color: #063f91;
  background: #fff;
}

.price-card h3 {
  margin: 20px 0 8px;
  font-size: 22px;
}

.price {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
}

.price small {
  font-size: 14px;
}

.quota {
  min-height: 42px;
  margin: 14px 0 18px;
  color: #65738b;
  line-height: 1.6;
}

.featured .quota,
.featured li {
  color: rgba(255, 255, 255, 0.86);
}

.price-card ul,
.security-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li,
.security-list li {
  position: relative;
  padding-left: 20px;
  margin-top: 12px;
  color: #43516a;
  line-height: 1.55;
}

.featured li {
  color: rgba(255, 255, 255, 0.88);
}

.price-card li::before,
.security-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a6cff;
}

.featured li::before {
  background: #fff;
}

.tier-table {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #dfe9f5;
  border-radius: 8px;
  background: #f7fbff;
}

.tier-item {
  padding: 18px 12px;
  border-right: 1px solid #dfe9f5;
  text-align: center;
}

.tier-item:last-child {
  border-right: 0;
}

.tier-item span,
.tier-item strong {
  display: block;
}

.tier-item span {
  color: #0a6cff;
  font-size: 18px;
  font-weight: 800;
}

.tier-item strong {
  margin-top: 4px;
  color: #536078;
  font-size: 14px;
}

.comparison-section {
  background: #f5f8fb;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid #dfe9f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(18, 45, 78, 0.06);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.35fr;
  min-height: 56px;
  border-bottom: 1px solid #e7eef7;
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row > * {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-right: 1px solid #e7eef7;
  line-height: 1.55;
}

.comparison-row > *:last-child {
  border-right: 0;
}

.comparison-row.heading {
  color: #fff;
  background: #0a345e;
  font-weight: 800;
}

.comparison-row.group strong {
  color: #0a345e;
}

.comparison-row:nth-child(2n + 3) {
  background: #fbfdff;
}

.ok {
  color: #0a6cff;
  font-weight: 800;
}

.trust-section {
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.security-card,
.faq-card {
  padding: 34px;
  border: 1px solid #dfe9f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(18, 45, 78, 0.06);
}

.security-card {
  background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}

.security-list {
  margin-top: 24px;
}

.faq-card details {
  padding: 18px 0;
  border-bottom: 1px solid #e7eef7;
}

.faq-card details:last-child {
  border-bottom: 0;
}

.faq-card summary {
  cursor: pointer;
  color: #172437;
  font-weight: 800;
  line-height: 1.5;
}

.faq-card p {
  margin: 12px 0 0;
  color: #65738b;
  line-height: 1.75;
}

.cta-section {
  padding: 58px 0;
  color: #fff;
  background: #0a345e;
}

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

.cta-section h2 {
  font-size: 30px;
}

.site-footer {
  padding: 32px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #001227;
}

.footer-links {
  display: flex;
  gap: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-footer p {
  margin: 22px 0;
  line-height: 1.8;
}

.site-footer small {
  display: block;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
}

.policy-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 62px;
  color: #fff;
  background: #0a1d36;
}

.policy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 22, 45, 0.98) 0%, rgba(7, 42, 82, 0.88) 58%, rgba(7, 42, 82, 0.72) 100%),
    url("assets/banner.jpg") center / cover no-repeat;
}

.policy-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.policy-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.18;
}

.policy-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.1);
  line-height: 1.6;
}

.policy-meta mark {
  padding: 0;
  color: inherit;
  background: transparent;
}

.policy-lead {
  max-width: 820px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.85;
}

.policy-section {
  padding: 64px 0 86px;
  background: #f5f8fb;
}

.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 106px;
  max-height: calc(100vh - 132px);
  overflow: auto;
  padding: 22px;
  border: 1px solid #dfe9f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(18, 45, 78, 0.06);
}

.policy-toc strong {
  display: block;
  margin-bottom: 14px;
  color: #111b2b;
  font-size: 17px;
}

.policy-toc a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid #eef3f8;
  color: #536078;
  font-size: 14px;
  line-height: 1.45;
}

.policy-toc a:hover {
  color: #0a6cff;
}

.policy-article {
  padding: 42px 48px 52px;
  border: 1px solid #dfe9f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(18, 45, 78, 0.06);
}

.policy-article h2,
.policy-article h3,
.policy-article h4 {
  scroll-margin-top: 116px;
  color: #111b2b;
  letter-spacing: 0;
}

.policy-article h2 {
  margin: 34px 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e4eefb;
  color: #0a345e;
  font-size: 26px;
  line-height: 1.35;
}

.policy-article h2:first-child {
  margin-top: 0;
}

.policy-article h3 {
  margin: 30px 0 12px;
  color: #0a6cff;
  font-size: 22px;
  line-height: 1.35;
}

.policy-article h4 {
  margin: 22px 0 10px;
  font-size: 18px;
  line-height: 1.4;
}

.policy-article p {
  margin: 0 0 14px;
  color: #3f4d63;
  font-size: 16px;
  line-height: 1.95;
  text-align: left;
}

.policy-clause,
.policy-subclause {
  position: relative;
  padding-left: 18px;
}

.policy-clause {
  margin-bottom: 12px;
}

.policy-subclause {
  margin-left: 16px;
  color: #516078;
}

.policy-note-title {
  margin-top: 24px;
  color: #0a345e !important;
  font-weight: 800;
}

.policy-note {
  padding: 16px 18px;
  border-left: 4px solid #0a6cff;
  border-radius: 6px;
  color: #20304a !important;
  background: #f2f7ff;
}

.policy-article mark {
  padding: 0 3px;
  border-radius: 3px;
  background: #fff2a8;
}

.policy-article .underline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1120px) {
  .site-header {
    flex-wrap: wrap;
    padding: 16px 24px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav a {
    padding: 10px 0;
  }

  .nav a.active::after {
    bottom: 2px;
  }

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

  .tier-table {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-toc {
    position: static;
    max-height: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .header-actions {
    width: 100%;
  }

  .hero-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 24px;
    min-height: auto;
    padding: 58px 0;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 16px;
  }

  .pricing-section,
  .comparison-section,
  .trust-section {
    padding: 54px 0;
  }

  .section-head h2,
  .security-card h2,
  .faq-card h2 {
    font-size: 26px;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-row {
    min-width: 720px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-section {
    padding: 42px 0 58px;
  }

  .policy-article {
    padding: 28px 24px 34px;
  }

  .policy-article h2 {
    font-size: 23px;
  }

  .policy-article h3 {
    font-size: 20px;
  }

  .policy-article p {
    font-size: 15px;
    line-height: 1.85;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .brand strong {
    font-size: 13px;
  }

  .brand em,
  .nav {
    font-size: 12px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .hero-actions,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn,
  .ghost-btn {
    width: 100%;
  }

  .price-cards,
  .tier-table {
    grid-template-columns: 1fr;
  }

  .tier-item {
    border-right: 0;
    border-bottom: 1px solid #dfe9f5;
  }

  .tier-item:last-child {
    border-bottom: 0;
  }

  .price-card,
  .security-card,
  .faq-card {
    padding: 22px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .policy-hero {
    padding: 54px 0 46px;
  }

  .policy-meta {
    display: block;
  }

  .policy-toc,
  .policy-article {
    padding: 20px;
  }
}
