/* QiView homepage visual system */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&family=Noto+Serif+SC:wght@500;700&display=swap");

:root {
  --hp-bg: #f5f7fb;
  --hp-surface: #ffffff;
  --hp-ink: #122033;
  --hp-ink-soft: #53657f;
  --hp-line: #d6dfeb;
  --hp-primary: #123a69;
  --hp-primary-deep: #0a2340;
  --hp-accent: #2a7f9e;
  --hp-gold: #c1a35f;
  --hp-radius: 16px;
  --hp-shadow-sm: 0 10px 26px rgba(9, 34, 61, 0.08);
  --hp-shadow-lg: 0 22px 56px rgba(6, 26, 51, 0.2);
  --hp-max: 1360px;
  --hp-ease: 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hp,
.hp * {
  box-sizing: border-box;
}

.hp {
  background: linear-gradient(180deg, #f4f7fd 0%, #f7f9fc 52%, #f2f5fa 100%);
  color: var(--hp-ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

.hp-hero {
  position: relative;
  overflow: hidden;
  color: #f2f8ff;
  background: radial-gradient(circle at 90% 8%, rgba(72, 142, 182, 0.28) 0%, rgba(72, 142, 182, 0) 38%),
    linear-gradient(132deg, #081628 0%, #0f2d50 48%, #0b223e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 620px;
}

.hp-hero__aurora {
  position: absolute;
  inset: -20% -10%;
  background: conic-gradient(from 180deg at 70% 20%, rgba(154, 207, 255, 0.16), rgba(22, 48, 73, 0), rgba(211, 180, 101, 0.12), rgba(154, 207, 255, 0.16));
  filter: blur(38px);
  pointer-events: none;
}

.hp-hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(190, 221, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 221, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 90%);
  pointer-events: none;
}

.hp-hero__inner {
  position: relative;
  max-width: var(--hp-max);
  margin: 0 auto;
  padding: 132px 36px 106px;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
}

.hp-hero__badge {
  display: inline-block;
  border: 1px solid rgba(217, 233, 249, 0.45);
  background: rgba(167, 206, 244, 0.14);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
}

.hp-hero__title {
  margin: 14px 0 10px;
  font-family: "Cinzel", "Cormorant Garamond", serif;
  font-size: clamp(36px, 5.6vw, 58px);
  line-height: 1.1;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

.hp-hero__subtitle {
  margin: 0;
  font-size: 22px;
  color: rgba(224, 239, 255, 0.92);
  font-weight: 600;
}

.hp-hero__description {
  margin: 14px 0 0;
  max-width: 670px;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(207, 224, 241, 0.9);
}

.hp-hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: transform var(--hp-ease), box-shadow var(--hp-ease), background var(--hp-ease), color var(--hp-ease);
}

.hp-btn:hover {
  transform: translateY(-2px);
}

.hp-btn--primary {
  color: #fff;
  background: linear-gradient(145deg, #2f88aa, #1f5f91);
  box-shadow: 0 10px 28px rgba(44, 133, 170, 0.35);
}

.hp-btn--primary:hover {
  box-shadow: 0 14px 34px rgba(44, 133, 170, 0.45);
}

.hp-btn--ghost,
.hp-btn--ghost-dark {
  background: transparent;
}

.hp-btn--ghost {
  color: #e7f3ff;
  border-color: rgba(231, 243, 255, 0.5);
}

.hp-btn--ghost:hover {
  background: rgba(194, 221, 245, 0.18);
}

.hp-btn--ghost-dark {
  color: #1a3150;
  border-color: #bcc9da;
}

.hp-btn--ghost-dark:hover {
  background: rgba(44, 98, 145, 0.08);
}

.hp-hero__panel {
  background: rgba(13, 34, 58, 0.84);
  border: 1px solid rgba(204, 225, 247, 0.2);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(4px);
  box-shadow: var(--hp-shadow-lg);
}

.hp-metric {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(203, 225, 249, 0.25);
  padding: 10px 0;
  color: #cce2f6;
}

.hp-metric strong {
  color: #f7fbff;
  font-size: 22px;
}

.hp-hero__figure {
  margin: 14px 0 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(200, 224, 247, 0.35);
}

.hp-hero__figure img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  display: block;
}

.hp-hero__update {
  margin: 0;
  color: #acc8e1;
  font-size: 13px;
  letter-spacing: 0.6px;
}

.hp-band {
  border-bottom: 1px solid var(--hp-line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(2px);
}

.hp-band__inner {
  max-width: var(--hp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 28px 34px;
}

.hp-band__item {
  border-left: 3px solid var(--hp-accent);
  padding-left: 14px;
}

.hp-band__label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--hp-ink-soft);
}

.hp-band__value {
  display: block;
  margin-top: 6px;
  font-size: 38px;
  color: var(--hp-primary-deep);
  font-weight: 800;
}

.hp-head {
  text-align: center;
  margin-bottom: 34px;
}

.hp-head h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  color: #152f4e;
  font-size: clamp(32px, 4.2vw, 48px);
}

.hp-head p {
  margin: 11px auto 0;
  max-width: 640px;
  color: var(--hp-ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.hp-method,
.hp-areas,
.hp-latest {
  max-width: var(--hp-max);
  margin: 0 auto;
  padding: 88px 34px;
}

.hp-method__grid,
.hp-areas__grid {
  display: grid;
  gap: 24px;
}

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

.hp-method__card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  padding: 30px 26px;
  transition: transform var(--hp-ease), box-shadow var(--hp-ease), border-color var(--hp-ease);
}

.hp-method__card i {
  color: var(--hp-primary);
  font-size: 22px;
}

.hp-method__card h3 {
  margin: 14px 0 10px;
  font-size: 21px;
  color: #173354;
}

.hp-method__card p {
  margin: 0;
  color: var(--hp-ink-soft);
  line-height: 1.72;
  font-size: 16px;
}

.hp-method__card:hover,
.hp-area:hover,
.hp-fcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--hp-shadow-sm);
  border-color: #b5c8df;
}

.hp-areas__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-area {
  text-decoration: none;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  padding: 30px;
  transition: transform var(--hp-ease), box-shadow var(--hp-ease), border-color var(--hp-ease);
}

.hp-area__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #173a64, #2d7b9c);
  color: #fff;
}

.hp-area h3 {
  margin: 14px 0 7px;
  color: #122e4d;
  font-size: 22px;
}

.hp-area p {
  margin: 0;
  color: var(--hp-ink-soft);
  line-height: 1.68;
  font-size: 16px;
}

.hp-featured {
  padding: 88px 34px;
  background: linear-gradient(180deg, #ecf2fa 0%, #f6f9fd 100%);
}

.hp-featured__grid {
  max-width: var(--hp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.hp-fcard {
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  background: #fff;
  transition: transform var(--hp-ease), box-shadow var(--hp-ease), border-color var(--hp-ease);
}

.hp-fcard--lead {
  background: linear-gradient(155deg, #fefefe 0%, #f2f7ff 100%);
}

.hp-fcard__body {
  padding: 30px;
}

.hp-fcard__date {
  color: #6a7f97;
  font-size: 13px;
}

.hp-fcard__title {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.4;
}

.hp-fcard__title a {
  color: #112f51;
  text-decoration: none;
}

.hp-fcard__title a:hover {
  color: #1d5e92;
}

.hp-fcard__summary {
  margin: 0;
  color: var(--hp-ink-soft);
  line-height: 1.75;
  font-size: 16px;
}

.hp-fcard__tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hp-fcard__tags span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #225884;
  background: #e8f1fb;
}

.hp-latest__list {
  border-top: 1px solid var(--hp-line);
}

.hp-litem {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--hp-line);
  text-decoration: none;
  transition: background var(--hp-ease);
}

.hp-litem:hover {
  background: #f2f6fc;
}

.hp-litem time {
  min-width: 52px;
  text-align: center;
  font-size: 14px;
  color: #225f8f;
  font-weight: 700;
}

.hp-litem__title {
  flex: 1;
  color: #112f51;
  font-weight: 700;
  font-size: 18px;
}

.hp-litem__tag {
  white-space: nowrap;
  font-size: 13px;
  color: #245987;
  background: #eaf3ff;
  border-radius: 999px;
  padding: 5px 12px;
}

.hp-latest__more {
  text-align: center;
  margin-top: 22px;
}

.hp-latest__more a {
  color: #1d5e92;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
}

.hp-latest__more a:hover {
  text-decoration: underline;
}

.hp-cta {
  margin-top: 12px;
  padding: 102px 34px 108px;
  text-align: center;
  color: #f6fbff;
  background: radial-gradient(circle at 20% 0%, rgba(188, 161, 100, 0.25), rgba(188, 161, 100, 0) 35%),
    linear-gradient(130deg, #08172a, #11355b 52%, #0b233f);
}

.hp-cta h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 4vw, 44px);
}

.hp-cta p {
  margin: 10px auto 0;
  max-width: 620px;
  font-size: 18px;
  color: rgba(226, 240, 254, 0.9);
}

.hp-cta__actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .hp-hero__inner {
    grid-template-columns: 1fr;
    padding: 108px 24px 84px;
  }

  .hp-hero {
    min-height: auto;
  }

  .hp-hero__panel {
    max-width: 440px;
  }

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

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

@media (max-width: 760px) {
  .hp {
    font-size: 15px;
  }

  .hp-hero__title {
    font-size: clamp(34px, 9vw, 48px);
  }

  .hp-hero__subtitle {
    font-size: 19px;
  }

  .hp-hero__description,
  .hp-head p,
  .hp-cta p {
    font-size: 16px;
  }

  .hp-hero__inner,
  .hp-method,
  .hp-areas,
  .hp-latest,
  .hp-featured {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .hp-method__grid,
  .hp-areas__grid,
  .hp-featured__grid {
    grid-template-columns: 1fr;
  }

  .hp-litem {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .hp-hero__actions,
  .hp-cta__actions {
    flex-direction: column;
  }

  .hp-btn {
    justify-content: center;
    width: 100%;
  }

  .hp-band__value {
    font-size: 25px;
  }
}
