:root {
  --bg: #f6f8fe;
  --text: #101a35;
  --sub: #5e6a85;
  --line: #e4ebff;
  --blue: #176cff;
  --blue-deep: #0a4ddb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(12px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 12px;
}

.brand {
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(160deg, #41a0ff, #2566ff);
  color: #fff;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.brand span {
  color: var(--blue);
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.menu a {
  text-decoration: none;
  color: #5f6d8d;
  font-weight: 500;
  font-size: 12px;
}

.menu a:hover {
  color: var(--blue);
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.2s ease;
}

.hero-stack {
  padding: 16px 0 26px;
}

.hero-carousel {
  position: relative;
  min-height: 395px;
  overflow: hidden;
}

.hero-track {
  display: flex;
  width: 100%;
  transition: transform 380ms ease;
  will-change: transform;
}

.hero-card {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  border-radius: 16px;
  border: none;
  margin-bottom: 0;
  overflow: hidden;
  background: #f6f8fc;
  box-shadow: none;
  position: relative;
}

.hero-left {
  padding: 22px 22px 18px;
  background: transparent;
}

.hero-right {
  min-height: 332px;
  padding: 8px 18px 8px 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-left: 0;
  position: relative;
  background: transparent;
}

.kicker {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.mini-tag {
  margin: 8px 0 0;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #eaf1ff;
  color: #0a51da;
}

.mini-tag.new {
  background: #fef2d9;
  color: #a66b00;
}

h1,
h2 {
  margin: 10px 0 10px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

h1 {
  font-size: clamp(42px, 3.95vw, 64px);
}

.hero-card h2 {
  font-size: clamp(30px, 3.5vw, 44px);
}

.hero-left ul {
  margin: 0 0 2px;
  padding-left: 20px;
  color: var(--sub);
  line-height: 1.5;
  font-size: 13px;
}

.hero-left li + li {
  margin-top: 6px;
}

.actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 24px;
  font-weight: 600;
}

.btn.solid {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23, 108, 255, 0.2);
}

.btn.solid:hover {
  background: var(--blue-deep);
}

.btn.ghost {
  background: #fff;
  color: #2a385f;
  border: 1px solid #222a3f55;
}

.btn.light {
  background: #eef4ff;
  color: #0d59e8;
}

.note {
  margin: 8px 0 0;
  color: #7b88a5;
  font-size: 12px;
}

.sub-note {
  margin-top: 2px;
  font-size: 11px;
}

.card-ios .hero-right {
  background: transparent;
}

.card-android .hero-right {
  background:
    linear-gradient(90deg, rgba(246, 248, 252, 0) 0%, rgba(236, 244, 255, 0.4) 55%, rgba(229, 240, 255, 0.58) 100%),
    url("https://images.4ukey.com/home/screen-bg2-1600.png") center/cover no-repeat;
}

.card-pass .hero-right {
  background: transparent;
  justify-content: flex-end;
  padding: 8px 18px 8px 8px;
}

.device-group {
  width: min(360px, 94%);
  height: 100%;
  position: relative;
}

.device-real img {
  width: min(382px, 98%);
  display: block;
  margin: 0 auto;
  filter: contrast(1.09) saturate(1.06) brightness(1.02) drop-shadow(0 12px 24px rgba(40, 67, 128, 0.22));
  image-rendering: -webkit-optimize-contrast;
  transform: none;
}

.card-ios {
  background:
    radial-gradient(120% 120% at 100% 40%, rgba(206, 226, 255, 0.28) 0%, rgba(206, 226, 255, 0) 58%),
    linear-gradient(90deg, #f7f8fb 0%, #f6f8fc 52%, #f2f7ff 78%, #edf4ff 100%);
}

.card-ios .device-real {
  overflow: hidden;
  width: min(390px, 98%);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-group span {
  position: absolute;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f4bc8;
  font-size: 12px;
  font-weight: 700;
}

.device-group span:nth-of-type(1) {
  top: 12px;
  left: 2px;
}

.device-group span:nth-of-type(2) {
  top: 50px;
  right: 20px;
}

.android-card {
  width: min(320px, 92%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  text-align: center;
  overflow: hidden;
}

.android-phone {
  margin: 0 auto 14px;
  width: min(216px, 88%);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
  transform: translateY(-8px);
}

.android-card p {
  margin: 0;
  color: #d8e4ff;
  font-weight: 600;
}

.password-panel {
  width: min(340px, 86%);
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
}

.password-panel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 24px rgba(39, 68, 134, 0.16));
}

.card-android {
  background: linear-gradient(90deg, #f6f7f9 0%, #f6f8fb 42%, #f2f7ff 72%, #eaf2ff 100%);
}

.card-pass {
  background:
    radial-gradient(120% 120% at 100% 45%, rgba(198, 224, 255, 0.3) 0%, rgba(198, 224, 255, 0) 56%),
    linear-gradient(90deg, #f7f8fb 0%, #f6f8fc 52%, #f1f7ff 78%, #ebf3ff 100%);
}

section {
  padding: 52px 0;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.dot {
  width: 16px;
  height: 3px;
  border: none;
  border-radius: 999px;
  background: #d9e3ff;
  cursor: pointer;
}

.dot.active {
  background: #4b87ff;
}

.disclaimer {
  margin-top: 16px;
  border: none;
  background: #f8faff;
  border-radius: 14px;
  padding: 10px 14px;
  color: #6f7c9a;
  font-size: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.disclaimer strong {
  color: #45567d;
}

.disclaimer-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #dbe6fa;
  color: #8ea2cc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex: 0 0 18px;
  margin-top: 1px;
}

section > .container > h2 {
  text-align: center;
  font-size: clamp(30px, 3vw, 40px);
  margin: 0 0 22px;
}

.products {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  justify-content: center;
  gap: 14px;
}

.product-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}

.product-item img {
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
}

.product-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.product-item p {
  margin: 0 0 10px;
  color: var(--sub);
  font-size: 14px;
}

.product-item a {
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.why {
  background: linear-gradient(180deg, #f4f7ff 0%, #fff 100%);
}

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

.stat-grid div {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}

.stat-grid strong {
  display: block;
  font-size: 32px;
  line-height: 1.1;
}

.stat-grid span {
  color: var(--sub);
  font-size: 14px;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.expert-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.expert-grid .source {
  margin: 0 0 8px;
  color: #8a96b2;
  font-size: 13px;
}

.expert-grid p {
  margin: 0;
  color: #2b3a61;
  font-size: 14px;
  line-height: 1.6;
}

.customers {
  background: #f7f9ff url("https://images.4ukey.com/images/home/customers-bg.png") center top / cover no-repeat;
}

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

blockquote {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  color: #26355c;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 8px 20px rgba(25, 53, 125, 0.08);
}

blockquote img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: block;
  margin-bottom: 10px;
}

blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: #7382a2;
  font-style: normal;
}

.articles {
  background: #fff;
}

.articles .container {
  background: #fff url("https://images.4ukey.com/images/home/hot-articles-bg-mobile.png") center top / 100% auto no-repeat;
  border-radius: 20px;
  padding: 26px 20px 20px;
}

.topics {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.topics a {
  text-decoration: none;
  color: #1d4db8;
  border: 1px solid #c8d9ff;
  background: #f2f7ff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
}

.article-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.article-columns article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.article-columns h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.article-columns a {
  display: block;
  text-decoration: none;
  color: #405076;
  font-size: 13px;
  line-height: 1.45;
  padding: 6px 0;
}

.article-columns a:hover {
  color: var(--blue);
}

.footer {
  background: #0f1630;
  color: #d7e1ff;
  padding: 30px 0;
  margin-top: 34px;
}

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

.footer-logo {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #fff;
}

.footer-logo span {
  color: #77a6ff;
}

.footer p {
  margin: 6px 0 0;
  color: #9eb0df;
}

.footer-actions {
  display: flex;
  gap: 10px;
}

.legal-links {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-links a {
  color: #a9b8e4;
  text-decoration: none;
  font-size: 13px;
}

.legal-links a:hover {
  color: #d9e3ff;
}

.inner-page {
  min-height: 100vh;
  background: #f6f8fc;
}

.policy-main {
  padding: 42px 0 56px;
}

.policy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.policy-card h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 40px);
}

.policy-card h2 {
  margin: 24px 0 8px;
  font-size: 22px;
}

.policy-card p,
.policy-card li {
  color: #425071;
  font-size: 15px;
  line-height: 1.7;
}

.policy-card ul {
  margin: 0;
  padding-left: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 20px;
}

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

.price {
  margin: 10px 0;
  font-size: 34px;
  font-weight: 800;
  color: #1a3f95;
}

.muted {
  color: #6e7a98;
  font-size: 14px;
}

@media (max-width: 1120px) {
  .product-grid,
  .article-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 880px) {
  .menu {
    display: none;
  }

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

  .hero-right {
    min-height: 280px;
  }

  .hero-carousel {
    min-height: 0;
  }

  .stat-grid,
  .expert-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .product-grid,
  .review-grid,
  .article-columns {
    grid-template-columns: 1fr;
  }

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

  .legal-links {
    gap: 10px;
  }

  h1 {
    font-size: 34px;
  }
}
