:root {
  --primary: #1d4ed8;
  --primary-dark: #173ea6;
  --accent: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --hero-bg: linear-gradient(135deg, #eff6ff 0%, #f8fafc 55%, #eef2ff 100%);
  --container: 1120px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(90deg, #0a1628 0%, #132244 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.logo img {
  width: auto;
  height: 56px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.nav-links a {
  color: rgba(226, 232, 240, 0.78);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.hero,
.page-hero {
  background: var(--hero-bg);
}

.hero {
  padding: 92px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 0;
}

.hero-redesign {
  position: relative;
  overflow: hidden;
}

.hero-redesign::before,
.hero-redesign::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-redesign::before {
  top: -80px;
  left: -70px;
  width: 220px;
  height: 220px;
  background: rgba(59, 130, 246, 0.12);
}

.hero-redesign::after {
  right: -40px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  background: rgba(99, 102, 241, 0.1);
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 18px;
  align-items: stretch;
}

.visual-card-stack {
  display: grid;
  gap: 18px;
}

.visual-card,
.showcase-panel {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.visual-card img,
.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card-main {
  min-height: 520px;
}

.visual-card-small {
  min-height: 250px;
}

.visual-card.accent {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(180deg, #0f172a 0%, #172554 100%);
  color: #e2e8f0;
}

.visual-card.accent h2,
.visual-card.accent p {
  color: inherit;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.1rem;
  font-weight: 800;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.hero-metrics article {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 1rem;
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--accent);
  line-height: 1.2;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

p {
  margin: 0 0 16px;
  color: var(--text);
}

.hero-text,
.section-heading p,
.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.button.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(29, 78, 216, 0.24);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  color: var(--primary);
  background: rgba(29, 78, 216, 0.08);
}

.button.secondary:hover {
  background: rgba(29, 78, 216, 0.14);
}

.hero-card,
.card,
.timeline-item,
.legal-article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.hero-card li + li {
  margin-top: 12px;
}

.section {
  padding: 84px 0;
}

.section.muted {
  background: var(--surface-soft);
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading.align-left {
  text-align: left;
}

.section-heading-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading-split p {
  max-width: 520px;
  margin-bottom: 6px;
}

.card-grid,
.feature-list,
.timeline,
.showcase-grid {
  display: grid;
  gap: 22px;
}

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

.card-grid-featured .card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.card {
  padding: 26px;
}

.card p,
.feature-item p,
.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.feature-list-strong .feature-item {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.feature-item {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.showcase-grid {
  grid-template-columns: 1.02fr 1fr 0.88fr;
  align-items: stretch;
}

.showcase-copy,
.showcase-image {
  min-height: 320px;
}

.showcase-copy {
  padding: 30px;
}

.showcase-image.tall {
  min-height: 420px;
}

.bullet-list {
  margin: 20px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.bullet-list li + li {
  margin-top: 10px;
}

.process {
  display: grid;
  gap: 28px;
}

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

.timeline-modern .timeline-item {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.timeline-item {
  padding: 24px;
}

.timeline-item span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.1);
  color: var(--primary);
  font-weight: 800;
}

.pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(79, 76, 254, 0.18);
  border-radius: 999px;
  color: #4f4cfe;
  background: rgba(79, 76, 254, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tk-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 74px;
  background:
    radial-gradient(circle at 18% 18%, rgba(218, 126, 208, 0.22), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(79, 76, 254, 0.18), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7f5ff 100%);
}

.tk-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 42px;
  align-items: center;
}

.tk-hero-copy h1 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  letter-spacing: -0.08em;
}

.tk-hero-copy p {
  max-width: 520px;
  color: #475569;
  font-size: 1.12rem;
}

.tk-hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-bg-card,
.hero-collage {
  position: absolute;
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
}

.hero-bg-card {
  inset: 0 5% 0 0;
  width: 95%;
  height: 100%;
  object-fit: cover;
}

.hero-collage {
  right: 0;
  bottom: -22px;
  width: min(62%, 430px);
  padding: 16px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

.brand-strip {
  padding: 22px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.75);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  background: #fff;
}

.brand-strip-inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, minmax(0, 1fr));
  gap: 26px;
  align-items: center;
}

.brand-strip span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-strip img {
  max-height: 26px;
  width: 100%;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1);
}

.section-heading.compact {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

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

.agent-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
}

.agent-card.featured {
  transform: translateY(-18px);
}

.agent-card img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

.agent-card div {
  padding: 22px;
}

.agent-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #4f4cfe;
  font-weight: 900;
}

.agent-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.split-heading p {
  max-width: 360px;
  margin-bottom: 12px;
  color: var(--muted);
}

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

.pain-grid article {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 34px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.pain-grid img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.86;
}

.pain-grid h3 {
  position: absolute;
  left: 24px;
  bottom: 20px;
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
}

.compare-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.compare-copy p {
  color: var(--muted);
}

.compare-card {
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.compare-card.highlight {
  border-color: rgba(79, 76, 254, 0.32);
  box-shadow: 0 28px 70px rgba(79, 76, 254, 0.18);
}

.compare-card img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  border-radius: 24px;
  object-fit: cover;
}

.compare-card strong {
  display: block;
  padding: 16px 10px 8px;
  color: var(--accent);
  font-size: 1.05rem;
}

.product-layout {
  display: grid;
  gap: 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.86fr 1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.product-grid img {
  width: 100%;
  height: 360px;
  border-radius: 32px;
  object-fit: cover;
  background: #f8fafc;
  box-shadow: var(--shadow);
}

.product-grid img:nth-child(even) {
  margin-top: 44px;
}

.page-hero.small {
  padding: 74px 0 42px;
}

.article-wrap {
  max-width: 900px;
}

.legal-article {
  padding: 36px;
}

.legal-article section + section {
  margin-top: 30px;
}

.legal-article h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.legal-article ul {
  margin: 0;
  padding-left: 22px;
  color: var(--text);
}

.legal-article li + li {
  margin-top: 8px;
}

.site-footer {
  padding: 28px 0 18px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-content,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-content {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-content p,
.footer-bottom {
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 18px;
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .card-grid,
  .feature-list,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .hero-layout,
  .showcase-grid,
  .section-heading-split,
  .tk-hero-grid,
  .compare-grid,
  .split-heading {
    grid-template-columns: 1fr;
    display: grid;
    align-items: initial;
  }

  .agent-grid,
  .pain-grid,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .brand-strip span {
    grid-column: 1 / -1;
  }

  .tk-hero-visual {
    min-height: 520px;
  }

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

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

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .nav,
  .footer-content,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .hero-grid,
  .card-grid,
  .feature-list,
  .timeline,
  .hero-visual,
  .showcase-grid,
  .agent-grid,
  .pain-grid,
  .product-grid,
  .compare-grid,
  .brand-strip-inner {
    grid-template-columns: 1fr;
  }

  .tk-hero {
    padding: 72px 0 56px;
  }

  .tk-hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .tk-hero-visual {
    min-height: 360px;
  }

  .hero-collage {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
  }

  .agent-card.featured,
  .product-grid img:nth-child(even) {
    transform: none;
    margin-top: 0;
  }

  .pain-grid article,
  .pain-grid img,
  .product-grid img {
    min-height: auto;
    height: auto;
  }

  .section {
    padding: 64px 0;
  }

  .legal-article,
  .hero-card,
  .card,
  .timeline-item,
  .showcase-copy,
  .visual-card.accent {
    padding: 22px;
  }

  .nav-links {
    gap: 16px;
  }

  .logo span {
    letter-spacing: 0.04em;
  }

  .visual-card-main,
  .visual-card-small,
  .showcase-image,
  .showcase-image.tall {
    min-height: auto;
  }
}
