* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  background: #e8e4f0;
  color: #1a1f33;
  overflow-x: hidden;
}
a { color: inherit; }

.ts-header { background: #fff; border-bottom: 1px solid #d6d0e8; }
.ts-header-inner {
  max-width: 1720px; margin: 0 auto; min-height: 88px; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.ts-logo { font-size: 34px; font-weight: 800; font-style: italic; color: #2d1f5c; }
.ts-top-btn, .ts-main-btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: none; cursor: pointer;
  background: #5b3eb5; color: #fff; font-weight: 700;
}
.ts-top-btn { min-width: 198px; height: 46px; padding: 0 24px; border-radius: 16px; font-size: 15px; }

.ts-hero {
  min-height: calc(100vh - 88px);
  padding: 34px 20px 56px;
  display: flex; flex-direction: column; align-items: center;
}
.ts-links-card {
  width: min(1360px, 100%); background: #fff; border-radius: 28px; padding: 24px 28px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
}
.ts-links-title { font-size: 24px; font-weight: 700; color: #2a1f52; }
.ts-links-list { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.ts-links-list a { text-decoration: none; font-size: 24px; font-weight: 800; color: #2a1f52; }
.ts-copy-btn {
  border: 2px solid #5b3eb5; background: #fff; color: #5b3eb5;
  border-radius: 10px; padding: 8px 14px; font-weight: 700; cursor: pointer;
}
.ts-center-card {
  width: min(1000px, calc(100% - 40px)); margin: 58px auto 0; background: #fff;
  border-radius: 22px; padding: 34px 30px; text-align: center;
  box-shadow: 0 8px 24px rgba(45,30,90,.08);
}
.ts-center-card p { margin: 0 0 28px; font-size: 28px; line-height: 1.45; color: #3d3560; }
.ts-main-btn {
  width: min(630px, 100%); min-height: 74px; padding: 18px 24px;
  border-radius: 22px; font-size: 24px; margin: 0 auto;
}

.tripscan-seo { max-width: 1080px; margin: 0 auto 70px; padding: 0 20px; }
.tripscan-seo > div {
  background: #fff; border-radius: 22px; padding: 36px 40px; margin-bottom: 26px;
  box-shadow: 0 6px 24px rgba(45,30,90,.06);
}
.tripscan-seo h1 { text-align: center; font-size: 30px; margin: 0 0 22px; color: #141428; }
.tripscan-seo h2 { text-align: center; font-size: 28px; margin: 0 0 24px; color: #141428; }
.tripscan-seo h3 { font-size: 22px; margin: 0 0 14px; color: #141428; }
.tripscan-seo p, .tripscan-seo li { font-size: 18px; line-height: 1.7; color: #2e3548; }
.tripscan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tripscan-grid > div { background: #f3f0fa; border-radius: 18px; padding: 22px 24px; }
.tripscan-seo ul { padding-left: 22px; }

.tripscan-footer {
  background: #16122a; color: #ccc6e0; padding: 48px 20px 28px;
}
.tripscan-footer-wrap {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px;
}
.tripscan-footer h3, .tripscan-footer h4 { color: #fff; margin-top: 0; }
.tripscan-footer p, .tripscan-footer li { font-size: 15px; line-height: 1.7; }
.tripscan-footer ul { list-style: none; padding: 0; margin: 0; }

@media (max-width: 980px) {
  .ts-links-card { grid-template-columns: 1fr; text-align: center; }
  .tripscan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ts-header-inner { flex-direction: column; }
  .ts-top-btn { width: 100%; }
  .ts-center-card p { font-size: 18px; }
  .ts-main-btn { font-size: 20px; min-height: 58px; }
}
