/* SeekReal layout repair layer — loaded after the historical Vue bundle. */

:root {
  --sr-blue: #2f6de5;
  --sr-blue-bright: #69a2f0;
  --sr-blue-pale: #daebff;
  --sr-ink: #020b1a;
}

html {
  scrollbar-color: #2f6de5 #071225;
  scrollbar-width: auto;
}

body {
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 14px !important;
  height: 14px !important;
}

::-webkit-scrollbar-track {
  background: #071225 !important;
}

::-webkit-scrollbar-thumb {
  min-height: 72px;
  border: 3px solid #071225;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #6fb5ff, #2f6de5 58%, #7147e8) !important;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #91c8ff, #3f7df2 58%, #865cf1) !important;
}

/* Use wide screens instead of leaving the original 1200px island in the middle. */
#landing .container,
#landing .nav-container,
#landing .navigation .nav-container {
  width: min(100%, 1720px) !important;
  max-width: 1720px !important;
  padding-left: clamp(24px, 3vw, 56px) !important;
  padding-right: clamp(24px, 3vw, 56px) !important;
}

.hero {
  min-height: auto !important;
  padding-top: clamp(132px, 9vw, 172px) !important;
  padding-bottom: clamp(72px, 6vw, 104px) !important;
}

.hero-header {
  max-width: 1180px !important;
  margin-bottom: 3rem !important;
}

.hero-title {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 1.8vw, 30px);
  flex-wrap: wrap;
  margin-bottom: 1.25rem !important;
  letter-spacing: 0 !important;
}

.hero-title::before {
  content: "";
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #daebff, #2f6de5);
  box-shadow: 0 0 24px rgba(79, 137, 240, 0.5);
  align-self: center;
}

.hero-title-cn {
  font-size: clamp(3.2rem, 5.4vw, 5.8rem);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.08em;
  color: #f8fbff;
}

.hero-title-en {
  padding-left: clamp(14px, 1.5vw, 26px);
  border-left: 1px solid rgba(218, 235, 255, 0.3);
  font-size: clamp(1.25rem, 2.15vw, 2.25rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: 0.18em;
  color: #9ec5ff;
}

.hero-subtitle {
  max-width: 980px !important;
  font-size: clamp(1rem, 1.12vw, 1.15rem) !important;
  line-height: 1.85 !important;
}

/* Compact evidence bar: calmer hierarchy and aligned labels. */
.trust-metrics {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  max-width: 980px;
  margin-bottom: 3rem !important;
  padding: 0 !important;
  border: 0 !important;
}

.metric-item {
  min-width: 0;
  padding: 17px 20px 16px;
  border: 1px solid rgba(148, 180, 229, 0.14);
  border-radius: 12px;
  background: rgba(12, 25, 48, 0.52);
}

.metric-number {
  margin-bottom: 0.25rem !important;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem) !important;
  line-height: 1.15;
  color: #83b6ff !important;
}

.metric-label {
  overflow-wrap: anywhere;
  font-size: 0.78rem !important;
  line-height: 1.35;
  letter-spacing: 0.08em !important;
  color: rgba(218, 235, 255, 0.62) !important;
}

.metric-divider {
  display: none !important;
}

/* Replace the ambiguous brace with three explicit, ordered stages. */
.goals-flow {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  max-width: 1380px;
  margin: 0 !important;
}

.goals-brace-group,
.goals-phases {
  display: contents !important;
}

.goals-brace,
.goals-arrow {
  display: none !important;
}

.goals-flow .feature-tag {
  position: relative;
  min-width: 0 !important;
  min-height: 108px;
  padding: 44px 22px 20px !important;
  border: 1px solid rgba(105, 162, 240, 0.22) !important;
  border-radius: 14px !important;
  background: linear-gradient(145deg, rgba(15, 32, 59, 0.78), rgba(6, 18, 37, 0.9)) !important;
  box-shadow: none !important;
  font-size: 0.96rem !important;
  font-weight: 550 !important;
  line-height: 1.55;
  color: rgba(240, 246, 255, 0.88) !important;
}

.goals-flow .feature-tag::before {
  position: absolute;
  top: 15px;
  left: 22px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  color: #69a2f0;
}

.goals-flow .feature-tag:nth-of-type(1)::before { content: "01  初期"; }
.goals-flow .feature-tag:nth-of-type(2)::before { content: "02  中期"; }
.goals-flow > .feature-tag::before { content: "03  终极"; }

.goals-flow .tag-dot {
  display: none !important;
}

/* The three role cards are moved into this final homepage entrance section. */
.role-entry-section {
  position: relative;
  padding: clamp(76px, 7vw, 112px) 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(47, 109, 229, 0.18), transparent 38%),
    radial-gradient(circle at 92% 100%, rgba(113, 71, 232, 0.16), transparent 40%),
    #020b1a;
  border-top: 1px solid rgba(105, 162, 240, 0.12);
}

.role-entry-heading {
  max-width: 780px;
  margin: 0 0 2.75rem;
}

.role-entry-kicker {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  color: #69a2f0;
}

.role-entry-title {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.12;
  color: #f8fbff;
}

.role-entry-copy {
  margin: 0;
  max-width: 680px;
  line-height: 1.7;
  color: rgba(218, 235, 255, 0.66);
}

.role-entry-section .role-grid {
  gap: clamp(16px, 2vw, 28px) !important;
  margin-bottom: 2.25rem !important;
}

.role-entry-section .role-card {
  position: relative;
  min-height: 260px;
  padding: clamp(24px, 2.4vw, 38px) !important;
  border: 1px solid rgba(105, 162, 240, 0.2) !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, rgba(17, 35, 65, 0.9), rgba(7, 20, 41, 0.96)) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  transform: none !important;
}

.role-entry-section .role-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #daebff, #2f6de5 65%, #7147e8);
  opacity: 0.75;
}

.role-entry-section .role-card:hover {
  border-color: rgba(105, 162, 240, 0.58) !important;
  background: linear-gradient(145deg, rgba(23, 48, 88, 0.96), rgba(8, 23, 47, 0.98)) !important;
  box-shadow: 0 26px 80px rgba(28, 89, 198, 0.2) !important;
  transform: none !important;
}

.role-entry-section .role-icon {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(105, 162, 240, 0.35);
  border-radius: 999px;
  background: rgba(47, 109, 229, 0.12);
}

.role-entry-section .role-title {
  font-size: clamp(1.35rem, 1.8vw, 1.75rem) !important;
}

.role-entry-section .role-desc {
  font-size: 1rem !important;
}

.role-entry-section .hero-actions {
  display: flex !important;
  flex-direction: row !important;
  gap: 14px !important;
}

.role-entry-section .action-button {
  width: auto !important;
  min-width: 144px;
}

/* Hover must never change card position; it was causing the reported jump. */
.feature-card:hover,
.capability-card:hover {
  transform: none !important;
}

/* Keep all four evidence badges on the same baseline. */
.capability-matrix {
  align-items: stretch;
}

.capability-card {
  display: flex !important;
  flex-direction: column;
  min-height: 260px;
}

.capability-card .card-description {
  flex: 1 1 auto;
}

.capability-card .card-badge {
  align-self: flex-start;
  margin-top: auto !important;
  min-height: 46px;
}

/* Footer contact hub with a real website QR and honest social placeholders. */
.footer-content {
  grid-template-columns: minmax(260px, 1.05fr) minmax(440px, 1.7fr) minmax(210px, 0.75fr) !important;
  gap: clamp(28px, 3.5vw, 58px) !important;
}

.footer-connect {
  color: #fff;
}

.footer-connect-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.footer-qr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border: 1px solid rgba(218, 235, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.footer-qr-card img {
  width: 104px;
  height: 104px;
  padding: 7px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}

.footer-qr-copy strong,
.footer-qr-copy span {
  display: block;
}

.footer-qr-copy strong {
  margin-bottom: 5px;
  font-size: 0.92rem;
}

.footer-qr-copy span {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.56);
}

.footer-social-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.social-status-item {
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.035);
}

.social-status-item small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.38);
}

@media (max-width: 1100px) {
  .footer-content {
    grid-template-columns: 1fr 1.6fr !important;
  }

  .footer-connect {
    grid-column: 1 / -1;
    max-width: 440px;
  }
}

@media (max-width: 768px) {
  #landing .container,
  #landing .nav-container,
  #landing .navigation .nav-container {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .hero {
    padding-top: 128px !important;
    padding-bottom: 66px !important;
  }

  .hero-header {
    margin-bottom: 2rem !important;
  }

  .hero-title {
    gap: 10px;
  }

  .hero-title::before {
    width: 24px;
    height: 4px;
  }

  .hero-title-cn {
    font-size: clamp(2.4rem, 12vw, 3.3rem);
    letter-spacing: -0.06em;
  }

  .hero-title-en {
    padding-left: 10px;
    font-size: clamp(1rem, 5vw, 1.35rem);
    letter-spacing: 0.1em;
  }

  .hero-subtitle {
    font-size: 0.96rem !important;
    line-height: 1.75 !important;
  }

  .trust-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin-bottom: 2rem !important;
  }

  .metric-item {
    padding: 13px 6px 12px;
    text-align: center;
  }

  .metric-number {
    font-size: clamp(1.05rem, 5.8vw, 1.35rem) !important;
    white-space: nowrap;
  }

  .metric-label {
    font-size: 0.66rem !important;
    letter-spacing: 0 !important;
  }

  .goals-flow {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .goals-flow .feature-tag {
    min-height: 0;
    padding: 40px 17px 16px !important;
    font-size: 0.9rem !important;
  }

  .goals-flow .feature-tag::before {
    top: 13px;
    left: 17px;
  }

  .role-entry-section {
    padding: 68px 0;
  }

  .role-entry-heading {
    margin-bottom: 2rem;
  }

  .role-entry-section .role-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .role-entry-section .role-card {
    min-height: 210px;
  }

  .role-entry-section .hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-entry-section .action-button {
    width: 100% !important;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
  }

  .capability-card {
    min-height: 0;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
  }

  .footer-connect {
    grid-column: auto;
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .footer-qr-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .footer-connect-title {
    text-align: center;
  }
}

@media (max-width: 390px) {
  .hero-title-cn {
    font-size: 2.15rem;
  }

  .hero-title-en {
    font-size: 0.92rem;
  }

  .metric-number {
    font-size: 1rem !important;
  }
}
