:root {
  --bg: #edf1f4;
  --panel: #f8fafc;
  --card: #ffffff;
  --line: #dfe6ee;
  --text: #1f2a36;
  --muted: #657283;
  --blue: #0a83d8;
  --blue-deep: #0c4ca2;
  --orange: #ff9f1c;
  --orange-deep: #ff7d00;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Kantumruy Pro", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, #fef7d4 0 20%, transparent 45%),
    radial-gradient(circle at 85% 20%, #d8efff 0 15%, transparent 45%),
    var(--bg);
}

.page-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px;
}

.topbar {
  height: 70px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #f5fbff, #ffffff 35%, #f7fafc);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.left-top,
.right-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn,
.lang-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.logo-wrap {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
}

.logo-main {
  color: var(--blue-deep);
}

.logo-accent {
  color: var(--orange);
}

.clock {
  color: var(--muted);
  font-size: 14px;
}

.btn {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 9px 16px;
  font-weight: 600;
  cursor: pointer;
}

.btn.ghost {
  background: #fff;
  border-color: #cfd8e2;
}

.btn.primary {
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  color: #fff;
}

.content-wrap {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}

.left-panel,
.right-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

h1 {
  margin: 0 0 14px;
  font-size: 36px;
  font-weight: 600;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.social-label {
  color: var(--muted);
  margin-bottom: 8px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.social-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  height: 40px;
  cursor: pointer;
  font-weight: 500;
}

.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: #a0abb8;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  color: #526173;
  font-size: 14px;
}

input,
select {
  height: 40px;
  border-radius: 8px;
  border: 1px solid #cfd7e3;
  padding: 0 10px;
  font: inherit;
  background: #fff;
}

.phone-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
}

.agent-code {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 4px;
}

.agent-code summary {
  cursor: pointer;
  color: #4f5f71;
}

.submit-btn {
  margin-top: 6px;
  border: none;
  border-radius: 10px;
  height: 42px;
  background: linear-gradient(90deg, #bcc9d9, #aab9cb);
  color: #f8fbff;
  font-weight: 700;
  cursor: not-allowed;
}

.terms,
.signin {
  color: #657283;
  margin: 0;
  font-size: 13px;
}

.signin a {
  color: var(--blue);
  text-decoration: none;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}

.slides {
  border-radius: 12px;
  min-height: 290px;
  overflow: hidden;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: #fff;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.45s ease;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 255, 255, 0.45), transparent 36%),
    linear-gradient(120deg, #0d4ebb, #009fe3 60%, #18b2ed);
}

.slide:nth-child(2) {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.4), transparent 34%),
    linear-gradient(120deg, #0053a8, #00a2e8 50%, #ff9f1c);
}

.slide:nth-child(3) {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.4), transparent 34%),
    linear-gradient(120deg, #006eaa, #20a8d8 50%, #3cb371);
}

.slide:nth-child(4) {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.4), transparent 34%),
    linear-gradient(120deg, #17418c, #3060d8 50%, #f08d1a);
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-badge {
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.slide h2 {
  margin: 0;
  font-size: 40px;
  max-width: 14ch;
}

.slide p {
  margin: 0;
  max-width: 38ch;
  font-size: 20px;
}

.dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d6dde7;
  cursor: pointer;
}

.dots button.active {
  background: var(--orange);
}

.welcome {
  text-align: center;
  margin: 18px 0;
}

.welcome h3 {
  margin: 0;
  font-size: 42px;
}

.welcome p {
  margin: 4px 0 0;
  color: #4d5c6e;
  font-size: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.seo-content {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.seo-content h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid #d5deea;
  border-radius: 8px;
  padding: 10px;
  background: #f9fcff;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  margin: 8px 0 0;
  color: #4f6073;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.feature-icon {
  font-size: 40px;
  line-height: 1;
}

.feature h4 {
  margin: 10px 0 3px;
  font-size: 28px;
}

.feature p {
  margin: 0;
  color: #5f6f81;
  font-size: 20px;
}

.license {
  margin-top: 16px;
  text-align: center;
  color: #536476;
  font-size: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .content-wrap {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .slide h2 {
    font-size: 28px;
  }

  .slide p {
    font-size: 16px;
  }

  .welcome h3 {
    font-size: 30px;
  }

  .welcome p {
    font-size: 18px;
  }

  .seo-content h2 {
    font-size: 22px;
  }
}

@media (max-width: 760px) {
  .topbar {
    height: auto;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .right-top {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 28px;
  }

  .logo-wrap {
    font-size: 30px;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .phone-row {
    grid-template-columns: 1fr;
  }
}
