/**
 * Kurun-style cloud theme — dark professional nav, cyan accent, refined cards
 * Scoped to body.theme-kurun to avoid breaking non-themed pages
 */
:root {
  --kurun-bg-deep: #050a12;
  --kurun-bg-nav: rgba(6, 12, 24, 0.94);
  --kurun-accent: #00c6ff;
  --kurun-accent-2: #0070f3;
  --kurun-text: #e6eaf2;
  --kurun-muted: #8b95a8;
  --kurun-card: rgba(255, 255, 255, 0.04);
  --kurun-border: rgba(0, 198, 255, 0.15);
  --kurun-radius: 14px;
  --kurun-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

body.theme-kurun {
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif !important;
  color: #3d4a5c;
  background: #f4f7fb;
}

body.theme-kurun h1,
body.theme-kurun h2,
body.theme-kurun h3,
body.theme-kurun h4,
body.theme-kurun h5,
body.theme-kurun h6 {
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif !important;
}

/* —— Top navigation —— */
body.theme-kurun .header {
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.98) 0%, rgba(8, 16, 32, 0.96) 100%) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--kurun-border) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  min-height: 72px;
}

body.theme-kurun body.index .header.fixed,
body.theme-kurun .header.fixed {
  background: linear-gradient(180deg, #050a14 0%, #0a1428 100%) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body.theme-kurun .header .navbar-nav > li > a {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 14px !important;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

body.theme-kurun .header .navbar-nav > li > a:hover,
body.theme-kurun .header .navbar-nav > li > a:focus {
  color: #fff !important;
  background: rgba(0, 198, 255, 0.12) !important;
  box-shadow: 0 0 0 1px rgba(0, 198, 255, 0.2);
}

body.theme-kurun .header .navbar-nav > li.register > a {
  background: linear-gradient(135deg, var(--kurun-accent) 0%, var(--kurun-accent-2) 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 8px 20px !important;
  font-weight: 600;
  margin-left: 8px;
  box-shadow: 0 4px 16px rgba(0, 112, 243, 0.35);
}

body.theme-kurun .header .navbar-nav > li.register > a:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

body.theme-kurun .header .navbar-brand {
  margin: 20px 0;
}

body.theme-kurun .navbar-toggle .icon-bar {
  background-color: rgba(255, 255, 255, 0.85);
}

/* Dropdowns */
body.theme-kurun .header .navbar-nav > li > .dropdown-menu {
  background: #0d1525 !important;
  border: 1px solid rgba(0, 198, 255, 0.12) !important;
  box-shadow: var(--kurun-shadow) !important;
  border-radius: 12px !important;
  padding: 12px 0 !important;
  top: 100% !important;
  margin-top: 8px !important;
}

body.theme-kurun .header .dropdown-menu.fullwidth dl dt {
  color: var(--kurun-accent) !important;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.theme-kurun .header .dropdown-menu a {
  color: rgba(255, 255, 255, 0.82) !important;
}

body.theme-kurun .header .dropdown-menu a:hover {
  color: #fff !important;
  background: rgba(0, 198, 255, 0.1) !important;
}

body.theme-kurun .zjmf.navbar-default .navbar-nav > li > .dropdown-menu.fullwidth {
  background: linear-gradient(180deg, #0d1528 0%, #0a101c 100%) !important;
  border: 1px solid rgba(0, 198, 255, 0.12) !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45) !important;
}

body.theme-kurun .zjmf.navbar-default .navbar-nav > li > .dropdown-menu.fullwidth dl dt {
  color: var(--kurun-accent) !important;
}

body.theme-kurun .zjmf.navbar-default .navbar-nav > li > .dropdown-menu.fullwidth dl dd a {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.theme-kurun .zjmf.navbar-default .navbar-nav > li > .dropdown-menu.fullwidth dl dd a:hover {
  color: #fff !important;
}

body.theme-kurun .zjmf.navbar-default .navbar-nav > li > a:hover {
  color: var(--kurun-accent) !important;
}

body.theme-kurun .header:hover {
  background: linear-gradient(180deg, rgba(6, 14, 28, 0.98) 0%, rgba(10, 22, 40, 0.96) 100%) !important;
}

/* —— Hero swiper —— */
body.theme-kurun .wrap-main-swiper .swiper-slide {
  position: relative;
  background-color: #0a0f1a !important;
}

body.theme-kurun .wrap-main-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(5, 10, 22, 0.75) 0%, rgba(0, 40, 80, 0.45) 45%, rgba(0, 198, 255, 0.08) 100%);
  pointer-events: none;
  z-index: 0;
}

body.theme-kurun .wrap-main-swiper .content-slide {
  position: relative;
  z-index: 1;
  padding-top: 170px !important;
}

body.theme-kurun .wrap-main-swiper .content-slide .slogan {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, #fff 30%, rgba(200, 230, 255, 0.92) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}

@supports not (-webkit-background-clip: text) {
  body.theme-kurun .wrap-main-swiper .content-slide .slogan {
    -webkit-text-fill-color: #fff;
    color: #fff;
  }
}

body.theme-kurun .wrap-main-swiper .content-slide .sub-slogan {
  color: rgba(230, 238, 250, 0.78) !important;
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
}

body.theme-kurun .wrap-main-swiper .content-slide .event-title {
  color: var(--kurun-accent) !important;
  font-weight: 500;
  font-size: 17px;
}

body.theme-kurun .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.45) !important;
  opacity: 1 !important;
}

body.theme-kurun .swiper-pagination-bullet-active {
  background: var(--kurun-accent) !important;
  box-shadow: 0 0 12px rgba(0, 198, 255, 0.7);
}

body.theme-kurun .swiper-btn-prev,
body.theme-kurun .swiper-btn-next {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}

body.theme-kurun .swiper-btn-prev:hover,
body.theme-kurun .swiper-btn-next:hover {
  background: rgba(0, 198, 255, 0.2);
  border-color: var(--kurun-accent);
}

/* —— Service cards (home) —— */
body.theme-kurun .newHome-service {
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
}

body.theme-kurun .hometitleSpan span {
  font-size: 32px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  letter-spacing: 0.03em;
}

body.theme-kurun .newHome-service .service-div-content {
  background: #fff;
  border-radius: var(--kurun-radius);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  padding: 28px 24px 32px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}

body.theme-kurun .newHome-service .service-div-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 112, 243, 0.12);
  border-color: rgba(0, 198, 255, 0.35);
}

body.theme-kurun .service-div-text > div:first-child {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  margin-bottom: 12px;
}

body.theme-kurun .understand-btn a {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--kurun-accent) 0%, var(--kurun-accent-2) 100%);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.3);
  transition: filter 0.2s, transform 0.2s;
}

body.theme-kurun .understand-btn a:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* —— Stats / dark band —— */
body.theme-kurun .newHomePageBackground {
  background: linear-gradient(160deg, #060d18 0%, #0a1628 50%, #071a2e 100%) !important;
  border-radius: var(--kurun-radius);
  padding: 48px 32px 40px !important;
  border: 1px solid rgba(0, 198, 255, 0.12);
  box-shadow: var(--kurun-shadow);
}

body.theme-kurun .newHomebackground {
  text-align: center;
  padding: 20px 16px;
}

body.theme-kurun .newHomebackground > div:last-child > div:first-child {
  color: rgba(255, 255, 255, 0.55) !important;
}

body.theme-kurun .newHomebackground > div:last-child > div:last-child {
  color: var(--kurun-accent) !important;
  font-weight: 700 !important;
  font-size: 28px !important;
}

/* —— Scenario section —— */
body.theme-kurun .pro-appScenario .col-md-4 > div:last-child {
  background: #fff;
  border-radius: var(--kurun-radius);
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  height: calc(100% - 20px);
}

/* —— Trust band —— */
body.theme-kurun .space2x .bg-holder.overlay::before {
  background: rgba(4, 12, 28, 0.72) !important;
}

/* —— Map / global section —— */
body.theme-kurun .map-service .module-title {
  font-weight: 600 !important;
  color: #0f172a !important;
}

body.theme-kurun .map-service .module-title p {
  color: var(--kurun-muted) !important;
}

/* —— CTA strip —— */
body.theme-kurun .foot {
  background: linear-gradient(120deg, #0066cc 0%, #004499 35%, #00a8cc 100%) !important;
  position: relative;
  overflow: hidden;
}

body.theme-kurun .foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 20% 50%, rgba(0, 255, 220, 0.15), transparent 50%);
  pointer-events: none;
}

body.theme-kurun .foot-item {
  position: relative;
  z-index: 1;
}

body.theme-kurun .foot-text {
  font-size: 28px !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

body.theme-kurun .foot-text-two {
  opacity: 0.95;
  font-size: 16px !important;
}

body.theme-kurun .foot-info .btn-default {
  background: #fff !important;
  color: #0055aa !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 12px 32px !important;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

body.theme-kurun .foot-info .btn-default:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  color: #003d7a !important;
}

/* —— Footer —— */
body.theme-kurun .footer {
  background: var(--kurun-bg-deep) !important;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 48px;
  border-top: 1px solid rgba(0, 198, 255, 0.1);
}

body.theme-kurun .footer-menu-holder h4 {
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 16px;
}

body.theme-kurun ul.footer-menu li a {
  color: rgba(255, 255, 255, 0.65) !important;
}

body.theme-kurun ul.footer-menu li a:hover {
  color: var(--kurun-accent) !important;
}

body.theme-kurun .footer-contact-list,
body.theme-kurun .text-foot {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.theme-kurun .friendlyLink-title {
  color: rgba(255, 255, 255, 0.5) !important;
}

body.theme-kurun .friendlyLinkDiv a {
  color: rgba(255, 255, 255, 0.55) !important;
}

body.theme-kurun .friendlyLinkDiv a:hover {
  color: var(--kurun-accent) !important;
}

body.theme-kurun .beianNumber {
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.theme-kurun .beianNumber-des {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* —— Primary buttons site-wide —— */
body.theme-kurun .btn-primary {
  background: linear-gradient(135deg, var(--kurun-accent-2) 0%, #0052cc 100%) !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.35);
}

body.theme-kurun .btn-primary:hover {
  filter: brightness(1.05);
}

/* —— Inner page heroes —— */
body.theme-kurun .page-hero {
  position: relative;
}

body.theme-kurun .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(5, 12, 28, 0.88) 0%, rgba(0, 80, 120, 0.35) 100%);
  pointer-events: none;
  z-index: 0;
}

body.theme-kurun .page-hero .container {
  position: relative;
  z-index: 1;
}

body.theme-kurun .page-hero h2,
body.theme-kurun .page-hero .hero-slogan {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

/* —— Tabs (about / legal) —— */
body.theme-kurun .pages-tabsFix {
  background: #fff;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
}

body.theme-kurun .pages-tabs .tabs-item.active a {
  color: var(--kurun-accent-2) !important;
  font-weight: 600;
}
