:root {
  --cnki-accent: #ff6766;
  --cnki-primary: #294291;
  --cnki-primary-dark: #1f326f;
  --cnki-text: #1f2940;
  --cnki-muted: #5d6785;
  --cnki-bg: #f7f9ff;
  --cnki-card: #ffffff;
  --cnki-line: rgba(41, 66, 145, 0.12);
  --cnki-shadow: 0 18px 50px rgba(41, 66, 145, 0.12);
  --cnki-radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body.site-refined {
  font-size: 16px;
  line-height: 1.8;
  color: var(--cnki-text);
  background: #fff;
}

body.site-refined h1,
body.site-refined h2,
body.site-refined h3,
body.site-refined h4,
body.site-refined h5,
body.site-refined h6 {
  color: var(--cnki-text);
  line-height: 1.3;
}

body.site-refined p,
body.site-refined li,
body.site-refined td,
body.site-refined th,
body.site-refined a,
body.site-refined span {
  letter-spacing: 0.01em;
}

.section-padding {
  padding: 92px 0;
}

.section-header {
  margin-bottom: 48px;
}

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

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--cnki-muted);
}

.shape {
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cnki-accent), var(--cnki-primary));
  margin: 0 auto;
}

.section-header--left .shape {
  margin: 0;
}

.notice-text,
.section-subnote {
  font-size: 0.95rem;
  color: var(--cnki-muted);
  line-height: 1.8;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 103, 102, 0.1);
  color: var(--cnki-primary);
  font-size: 1rem;
  margin-bottom: 16px;
}

.text-accent { color: var(--cnki-accent); }
.text-primary { color: var(--cnki-primary); }
.strong { font-weight: 800; }

.bg-gray {
  background: linear-gradient(180deg, #fff 0%, #f7f9ff 100%);
}

.navbar {
  padding: 14px 0;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.bg-inverse,
.top-nav-collapse {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 35px rgba(21, 36, 79, 0.08);
}

.navbar-brand img {
  max-height: 52px;
}

.navbar-expand-md .navbar-nav .nav-item {
  margin-left: 6px;
}

.navbar-expand-md .navbar-nav .nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cnki-text);
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.navbar-expand-md .navbar-nav .nav-link::before {
  display: none;
}

.navbar-expand-md .navbar-nav .nav-link:hover,
.navbar-expand-md .navbar-nav .nav-link:focus,
.navbar-expand-md .navbar-nav .active > .nav-link {
  color: var(--cnki-primary) !important;
  background: rgba(41, 66, 145, 0.08);
  transform: translateY(-1px);
}

.navbar-expand-md .navbar-toggler {
  border: 1px solid rgba(41, 66, 145, 0.16);
  border-radius: 14px;
  padding: 8px 12px;
  color: var(--cnki-primary);
}

#hero-area.hero-refined {
  min-height: 100vh;
  padding: 150px 0 96px;
  background-image: url(../img/hero-area.png);
  position: relative;
}

#hero-area.hero-refined::before,
#hero-area.hero-refined::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  animation: floatOrb 7s ease-in-out infinite;
}

#hero-area.hero-refined::before {
  width: 220px;
  height: 220px;
  background: rgba(255, 103, 102, 0.22);
  top: 14%;
  right: 8%;
}

#hero-area.hero-refined::after {
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.1);
  bottom: 12%;
  left: 7%;
  animation-delay: -2s;
}

.hero-copy {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-subtitle {
  color:#294291;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-highlight {
  color: #294291;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-description {
  color: #112149;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto;
}

#hero-area .contents .header-button {
  margin-top: 34px;
}

.btn {
  font-size: 0.98rem;
  font-weight: 800;
  padding: 13px 28px;
  border-radius: 999px;
}

.btn-common {
  background: linear-gradient(135deg, var(--cnki-primary), var(--cnki-primary-dark));
  border: 1px solid transparent;
  box-shadow: 0 12px 28px rgba(41, 66, 145, 0.22);
}

.btn-common:hover,
.btn-common:focus {
  color: #fff;
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--cnki-accent), #ff8b74);
  border-color: transparent;
}

.btn-primary-soft {
  background: #112149;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.btn-primary-soft:hover,
.btn-primary-soft:focus {
  background: rgba(255, 255, 255, 0.22);
}

.btn-accent {
  background: linear-gradient(135deg, var(--cnki-accent), #ff8b74);
}

.services-item,
.action-card,
.award-card {
  background: var(--cnki-card);
  border: 1px solid var(--cnki-line);
  border-radius: var(--cnki-radius);
  box-shadow: var(--cnki-shadow);
}

.services-item {
  padding: 30px 28px;
  min-height: 100%;
}

.services-item .icon {
  width: 78px;
  height: 78px;
  border: none;
  background: rgba(41, 66, 145, 0.08);
}

.services-item .icon i {
  line-height: 78px;
  color: var(--cnki-primary);
}

.services-item .services-content h3 {
  margin-top: 18px;
  margin-bottom: 12px;
  text-transform: none;
}

.services-item .services-content h3 a {
  color: var(--cnki-text);
  font-size: 1.15rem;
  font-weight: 800;
}

.services-item .services-content p {
  font-size: 1rem;
  color: var(--cnki-muted);
}

.services-item:hover,
.action-card:hover,
.award-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(41, 66, 145, 0.16);
}

.services-item:hover .icon {
  background: linear-gradient(135deg, var(--cnki-accent), var(--cnki-primary));
}

.services-item:hover .icon i {
  color: #fff;
}

.about-area img {
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(41, 66, 145, 0.16);
}

.about-area .content {
  background: #fff;
  border: 1px solid var(--cnki-line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--cnki-shadow);
}

.about-area ol {
  padding: 0 0 0 1.2rem;
}

.about-area ol li {
  list-style: decimal;
  margin-bottom: 12px;
  color: var(--cnki-text);
}

.table-card {
  background: #fff;
  border: 1px solid var(--cnki-line);
  border-radius: 24px;
  box-shadow: var(--cnki-shadow);
  overflow: hidden;
}

.table-card--database {
  margin-top: 20px;
}

.table-card--winners {
  margin-top: 28px;
}

.table-responsive-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cnki-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.cnki-table th,
.cnki-table td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(41, 66, 145, 0.08);
}

.cnki-table th {
  background: linear-gradient(135deg, var(--cnki-primary), #3655b0);
  color: #fff;
  font-weight: 800;
  text-align: center;
  position: sticky;
  top: 0;
}

.cnki-table td {
  background: #fff;
  color: var(--cnki-text);
}

.cnki-table tr:nth-child(even) td {
  background: #f9fbff;
}

.cnki-table tr:hover td {
  background: rgba(255, 103, 102, 0.06);
}

#pricing {
  text-align: center;
  background: radial-gradient(circle at top, rgba(255, 103, 102, 0.07), transparent 36%);
}

#pricing .table {
  margin-top: 18px;
  padding: 40px 34px;
  border-radius: 28px;
  border: 1px solid var(--cnki-line) !important;
}

#pricing .table .icon-box {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, rgba(255, 103, 102, 0.14), rgba(41, 66, 145, 0.1));
}

#pricing .table .icon-box i {
  line-height: 88px;
  color: var(--cnki-primary);
}

#pricing .table .pricing-header .price-value {
  font-size: 1.7rem;
  color: var(--cnki-primary);
  line-height: 1.5;
}

#pricing .table .pricing-header .price-value span {
  display: inline-block;
  font-size: 1rem;
  color: var(--cnki-muted);
  margin-top: 4px;
}

#pricing .price-value span {
  color: var(--cnki-muted);
}

.team-item {
  border-radius: 24px;
  overflow: hidden;
}

.team-item .team-img {
  width: 220px;
  margin-right: 0;
}

.team-item .team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-item .contetn {
  height: auto;
  min-height: 220px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
}

.team-item .info-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.team-item .info-text h3 {
  font-size: 1.08rem;
  line-height: 1.7;
  text-transform: none;
  color: var(--cnki-muted);
}

#awards hr {
  border-top: 1px solid rgba(41, 66, 145, 0.12);
  margin: 16px 0 20px;
}

#copyright .copyright-content {
  border-top: 1px solid rgba(41, 66, 145, 0.12);
}

#copyright p,
#copyright p a {
  color: var(--cnki-muted);
}

a.back-to-top i {
  background: linear-gradient(135deg, var(--cnki-accent), var(--cnki-primary));
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -18px, 0); }
}

@media (max-width: 991px) {
  #hero-area.hero-refined {
    min-height: auto;
    padding: 132px 0 72px;
  }

  .section-padding {
    padding: 76px 0;
  }

  .team-item .team-img {
    width: 180px;
  }

  .team-item .contetn {
    min-height: 180px;
    padding: 24px;
  }
}

@media (max-width: 767px) {
  body.site-refined {
    font-size: 15px;
  }

  .section-padding {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .navbar-brand img {
    max-height: 44px;
  }

  .hero-kicker {
    font-size: 0.85rem;
  }

  .hero-highlight {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.96rem;
    line-height: 1.9;
  }

  #hero-area .contents .header-button .btn {
    display: block;
    width: 100%;
    margin: 0 0 12px;
  }

  .services-item,
  #pricing .table,
  .about-area .content {
    padding: 24px 20px;
  }

  .team-item .team-img {
    float: none;
    width: 100%;
    max-height: 220px;
  }

  .team-item .contetn {
    min-height: auto;
  }

  .cnki-table {
    min-width: 620px;
  }
}


/* === 2026-03-16 quick fixes === */
#hero-area.hero-refined .row {
  justify-content: flex-start;
}

.hero-copy {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.hero-kicker {
  display: inline-flex;
}

.hero-description {
  max-width: 720px;
  margin-left: 0;
  margin-right: 0;
}

#hero-area .contents .header-button {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

#database-intro .row {
  align-items: flex-start;
  row-gap: 32px;
}

#database-intro .info {
  display: flex;
}

#database-intro .about-wrapper,
#database-intro .about-wrapper > div {
  display: block;
  width: 100%;
  height: auto;
}

#database-intro .content {
  width: 100%;
  position: relative;
  z-index: 1;
}

#database-intro .table-card {
  position: relative;
  z-index: 1;
}

#database-intro a {
  word-break: break-word;
}

@media (max-width: 991.98px) {
  .hero-copy {
    margin: 0 auto;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  #hero-area .contents .header-button {
    justify-content: center;
  }
}

/* ===== Database table: single clean system ===== */
#database-intro .table-card--database {
  border: 1px solid rgba(41, 66, 145, 0.22);
  border-radius: 20px;
  overflow: visible;
  background: #fff;
  box-shadow: none;
}

#database-intro .table-card--database .table-responsive-wrap {
  overflow-x: auto;
}

#database-intro .cnki-table--database {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  background: #fff;
}

#database-intro .cnki-table--database th,
#database-intro .cnki-table--database td {
  border: 1px solid rgba(41, 66, 145, 0.22);
  padding: 14px 16px;
  vertical-align: middle;
  font-family: 'Noto Sans TC', 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}

#database-intro .cnki-table--database th {
  background: #294291;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

#database-intro .cnki-table--database td {
  background: #fff;
  color: var(--cnki-text);
  text-align: left;
}

#database-intro .cnki-table--database td strong,
#database-intro .cnki-table--database th strong {
  font-weight: 700;
}

#database-intro .cnki-table--database td[rowspan],
#database-intro .cnki-table--database th[rowspan] {
  vertical-align: middle;
}

#database-intro .cnki-table--database tr:nth-child(even) td {
  background: #fff;
}

@media (max-width: 767.98px) {
  #database-intro .cnki-table--database {
    min-width: 640px;
  }

  #database-intro .cnki-table--database th,
  #database-intro .cnki-table--database td {
    padding: 12px 14px;
    font-size: 15px;
  }
}
