/* YCETON v3 - Chinese corporate homepage */
:root {
  --cn-primary: #135bd8;
  --cn-primary-dark: #0b3f9a;
  --cn-red: #d92d20;
  --cn-green: #16815d;
  --cn-ink: #172033;
  --cn-body: #445168;
  --cn-muted: #f4f6f9;
  --cn-line: #dfe5ed;
  --cn-white: #ffffff;
  --tg-body-font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  --tg-heading-font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--cn-body); background: #fff; font-family: var(--tg-body-font-family); letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
.cn-container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

.cn-topbar { height: 36px; color: #667085; background: #f5f7fa; border-bottom: 1px solid #e8ecf2; font-size: 13px; }
.cn-topbar__inner { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.cn-topbar a { color: var(--cn-primary); }
.cn-header { position: sticky; top: 0; z-index: 1000; height: 74px; background: rgba(255,255,255,.97); border-bottom: 1px solid #e5eaf1; }
.cn-header__inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.cn-brand { flex: 0 0 auto; display: flex; align-items: center; }
.cn-brand img { width: 196px; height: 42px; }
.cn-nav { margin-left: auto; display: flex; height: 100%; align-items: stretch; }
.cn-nav a { position: relative; min-width: 88px; padding: 0 16px; display: flex; align-items: center; justify-content: center; color: #344054; font-size: 15px; font-weight: 600; }
.cn-nav a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; background: transparent; }
.cn-nav a:hover, .cn-nav a.is-active { color: var(--cn-primary); }
.cn-nav a.is-active::after { background: var(--cn-primary); }
.cn-header-cta, .cn-button { min-height: 44px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 4px; font-weight: 700; transition: .2s ease; }
.cn-header-cta { color: #fff; background: var(--cn-primary); }
.cn-header-cta:hover, .cn-button--primary:hover { color: #fff; background: var(--cn-primary-dark); }
.cn-menu-button { display: none; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.cn-menu-button span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--cn-ink); }

.cn-hero { position: relative; height: clamp(560px, calc(100svh - 128px), 720px); min-height: 560px; display: flex; align-items: center; background: #eaf0f8; overflow: hidden; }
.cn-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.cn-hero::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 64%; background: rgba(255,255,255,.94); border-right: 1px solid rgba(19,91,216,.10); }
.cn-hero__content { position: relative; z-index: 2; padding-top: 12px; }
.cn-eyebrow, .cn-section-label { display: block; margin-bottom: 14px; color: var(--cn-primary); font-size: 15px; font-weight: 700; }
.cn-eyebrow::before, .cn-section-label::before { content: ""; display: inline-block; width: 22px; height: 3px; margin-right: 10px; vertical-align: middle; background: var(--cn-red); }
.cn-hero h1 { max-width: 660px; margin: 0 0 22px; color: var(--cn-ink); font-size: 52px; line-height: 1.28; font-weight: 800; letter-spacing: 0; }
.cn-hero__lead { max-width: 620px; margin: 0 0 32px; color: #344054; font-size: 18px; line-height: 1.9; }
.cn-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cn-button--primary { color: #fff; background: var(--cn-primary); }
.cn-button--secondary { color: var(--cn-primary); background: rgba(255,255,255,.86); border-color: var(--cn-primary); }
.cn-button--secondary:hover { background: #fff; }
.cn-button--outline { color: var(--cn-primary); background: transparent; border-color: var(--cn-primary); }
.cn-button--outline:hover { color: #fff; background: var(--cn-primary); }
.cn-hero__points { margin: 32px 0 0; padding: 0; display: flex; gap: 28px; list-style: none; color: #344054; font-size: 14px; }
.cn-hero__points li::before { content: "✓"; margin-right: 8px; color: var(--cn-green); font-weight: 800; }

.cn-stats { background: #fff; border-bottom: 1px solid var(--cn-line); }
.cn-stats__grid { min-height: 126px; display: grid; grid-template-columns: repeat(4,1fr); }
.cn-stats__grid > div { display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid var(--cn-line); }
.cn-stats__grid > div:first-child { border-left: 1px solid var(--cn-line); }
.cn-stats strong { color: var(--cn-primary); font-size: 36px; line-height: 1; }
.cn-stats strong span { font-size: 20px; }
.cn-stats p { margin: 10px 0 0; color: #667085; font-size: 14px; }

.cn-section { padding: 92px 0; }
.cn-section--muted { background: var(--cn-muted); }
.cn-section-copy h2, .cn-section-heading h2 { margin: 0; color: var(--cn-ink); font-size: 34px; line-height: 1.38; }
.cn-section-copy > p { margin: 22px 0 28px; line-height: 1.9; }
.cn-check-list { margin: 0 0 24px; padding: 0; list-style: none; }
.cn-check-list li { padding: 16px 0; display: grid; grid-template-columns: 128px 1fr; gap: 16px; border-top: 1px solid var(--cn-line); }
.cn-check-list li:last-child { border-bottom: 1px solid var(--cn-line); }
.cn-check-list strong { color: var(--cn-ink); }
.cn-check-list span { line-height: 1.7; }
.cn-text-link { color: var(--cn-primary); font-weight: 700; }

.cn-section-heading { margin-bottom: 42px; display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: end; }
.cn-section-heading > p { margin: 0; line-height: 1.85; }
.cn-section-intro { max-width: 780px; margin: 0 auto 46px; text-align: center; }
.cn-section-intro .cn-section-label::before { display: none; }
.cn-section-intro h2 { margin: 0; color: var(--cn-ink); font-size: 36px; line-height: 1.4; }
.cn-section-intro p { margin: 18px auto 0; max-width: 700px; line-height: 1.85; }
.cn-service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cn-service-grid article { min-height: 300px; padding: 30px; background: #fff; border: 1px solid var(--cn-line); border-radius: 4px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.cn-service-grid article:hover { transform: translateY(-4px); border-color: #b9cae5; box-shadow: 0 14px 34px rgba(31,55,88,.09); }
.cn-service-icon { width: 62px; height: 62px; margin-bottom: 22px; display: flex; align-items: center; justify-content: center; color: var(--cn-primary); background: #edf4ff; border-left: 3px solid var(--cn-primary); font-size: 30px; }
.cn-service-grid article > span { color: #7b8798; font-size: 13px; font-weight: 700; }
.cn-service-grid h3 { margin: 10px 0 13px; color: var(--cn-ink); font-size: 21px; line-height: 1.5; }
.cn-service-grid p { min-height: 78px; margin: 0 0 20px; line-height: 1.75; }
.cn-service-grid a { color: var(--cn-primary); font-size: 14px; font-weight: 700; }
.cn-service-grid a b { margin-left: 5px; font-size: 16px; }
.cn-section-more { margin-top: 38px; display: flex; justify-content: center; }

.cn-industry-layout { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 58px; align-items: stretch; }
.cn-industry-visual { position: relative; min-height: 560px; overflow: hidden; background: #dfe8f5; }
.cn-industry-visual > img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.cn-industry-visual > div { position: absolute; left: 0; right: 0; bottom: 0; min-height: 116px; padding: 24px 28px; display: flex; align-items: center; gap: 22px; color: #fff; background: rgba(19,91,216,.94); }
.cn-industry-visual strong { font-size: 42px; line-height: 1; }
.cn-industry-visual strong span { font-size: 22px; }
.cn-industry-visual p { margin: 0; font-size: 16px; }
.cn-industry-list { border-top: 1px solid var(--cn-line); }
.cn-industry-list article { padding: 24px 0; display: grid; grid-template-columns: 48px 1fr; gap: 18px; border-bottom: 1px solid var(--cn-line); }
.cn-industry-list article > span { color: var(--cn-primary); font-size: 14px; font-weight: 800; }
.cn-industry-list h3 { margin: 0 0 8px; color: var(--cn-ink); font-size: 21px; }
.cn-industry-list p { margin: 0 0 10px; line-height: 1.75; }
.cn-industry-list small { color: #667085; font-size: 13px; }

.cn-process { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); border-top: 2px solid var(--cn-primary); list-style: none; }
.cn-process li { position: relative; padding: 30px 24px 0 0; display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.cn-process li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: var(--cn-primary); }
.cn-process li > span { color: var(--cn-primary); font-weight: 800; }
.cn-process h3 { margin: 0 0 10px; color: var(--cn-ink); font-size: 19px; }
.cn-process p { margin: 0; line-height: 1.75; }

.cn-insights { background: #fff; }
.cn-insight-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cn-insight-grid article { min-height: 220px; padding: 26px; background: #fff; border: 1px solid var(--cn-line); border-radius: 4px; }
.cn-insight-grid time { color: #7b8798; font-size: 13px; }
.cn-insight-grid h3 { margin: 26px 0 14px; font-size: 20px; line-height: 1.55; }
.cn-insight-grid h3 a { color: var(--cn-ink); }
.cn-insight-grid h3 a:hover { color: var(--cn-primary); }
.cn-insight-grid p { margin: 0; line-height: 1.75; }

.cn-contact-band { padding: 64px 0; color: #fff; background: var(--cn-primary); border-bottom: 4px solid var(--cn-red); }
.cn-contact-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cn-contact-band span { color: #c7d9fb; font-size: 14px; }
.cn-contact-band h2 { margin: 8px 0 10px; color: #fff; font-size: 32px; }
.cn-contact-band p { margin: 0; color: #d8e4fa; }
.cn-button--light { color: var(--cn-primary); background: #fff; flex: 0 0 auto; }

.cn-footer { color: #c1cad7; background: #111827; }
.cn-footer__grid { padding: 64px 0 44px; display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 54px; }
.cn-footer__brand img { width: 196px; height: auto; }
.cn-footer__brand p { max-width: 330px; margin: 20px 0 0; line-height: 1.8; }
.cn-footer h3 { margin: 0 0 20px; color: #fff; font-size: 16px; }
.cn-footer__grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 12px; }
.cn-footer a:hover { color: #fff; }
.cn-footer p { margin: 0; line-height: 1.7; }
.cn-footer__bottom { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid #2b3545; font-size: 12px; }

/* Secondary pages: flatten the imported template into the same visual language. */
body:not(.cn-home) { color: var(--cn-body); background: #fff; }
body:not(.cn-home) .tg-header__top { background: #0a165e; border-bottom: 1px solid rgba(255,255,255,.16); }
body:not(.cn-home) .tg-header__top-menu .list-wrap li,
body:not(.cn-home) .tg-header__top-menu .list-wrap li a { color: #fff; }
body:not(.cn-home) .tg-header__top-menu .list-wrap li::before { background: rgba(255,255,255,.28); }
body:not(.cn-home) .tg-header__top-menu .list-wrap li a:hover { color: #fff; opacity: .82; }
body:not(.cn-home) .tg-header__area { background: #fff; }
body:not(.cn-home) .tgmenu__nav { padding-top: 10px; padding-bottom: 10px; background: #fff; border-radius: 0; box-shadow: none; }
body:not(.cn-home) .tgmenu__navbar-wrap ul li a { color: #111827; font-weight: 700; }
body:not(.cn-home) .tgmenu__navbar-wrap ul li.active > a,
body:not(.cn-home) .tgmenu__navbar-wrap ul li:hover > a { color: var(--cn-primary); }
body:not(.cn-home) .tg-btn { border-radius: 4px; background: var(--cn-primary); }
body:not(.cn-home) .tg-btn:hover { background: var(--cn-primary-dark); }
body:not(.cn-home) .section-bg { background: var(--cn-muted); }
body:not(.cn-home) .section-py-140 { padding-top: 88px; padding-bottom: 88px; }
body:not(.cn-home) .breadcrumb__area { padding-top: 86px; padding-bottom: 86px; }
body:not(.cn-home) .breadcrumb__content .title { font-size: 40px; }
body:not(.cn-home) .services__item,
body:not(.cn-home) .pricing__box,
body:not(.cn-home) .blog__post-item,
body:not(.cn-home) .testimonial__item-two,
body:not(.cn-home) .contact__form-wrap { border-radius: 4px; box-shadow: none; }
body:not(.cn-home) .services__item,
body:not(.cn-home) .pricing__box { border: 1px solid var(--cn-line); }
body:not(.cn-home) .section__line,
body:not(.cn-home) .team__shape,
body:not(.cn-home) .services__shape,
body:not(.cn-home) .testimonial__shape,
body:not(.cn-home) .brand__area { display: none; }
body:not(.cn-home) .footer__area,
body:not(.cn-home) .footer__area-two { background-color: #111827; }
body:not(.cn-home) .testimonial__avatar .thumb,
body:not(.cn-home) .testimonial__avatar-two .thumb { background: #fff; border: 1px solid var(--cn-line); }
body:not(.cn-home) .testimonial__avatar .thumb img,
body:not(.cn-home) .testimonial__avatar-two .thumb img { padding: 8px; object-fit: contain; }

.yceton-team-band { padding: 88px 0; background: var(--cn-muted); }
.yceton-team-band__intro { max-width: 720px; margin-bottom: 40px; }
.yceton-team-band__intro h2 { margin: 0 0 16px; color: var(--cn-ink); font-size: 34px; line-height: 1.4; }
.yceton-team-band__intro p { margin: 0; line-height: 1.9; }
.yceton-team-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--cn-line); border-left: 1px solid var(--cn-line); }
.yceton-team-grid article { min-height: 200px; padding: 28px; background: #fff; border-right: 1px solid var(--cn-line); border-bottom: 1px solid var(--cn-line); }
.yceton-team-grid span { color: var(--cn-primary); font-weight: 800; }
.yceton-team-grid h3 { margin: 30px 0 12px; color: var(--cn-ink); font-size: 20px; }
.yceton-team-grid p { margin: 0; line-height: 1.75; }

@media (max-width: 1199.98px) {
  .cn-header__inner { gap: 20px; }
  .cn-nav a { min-width: auto; padding: 0 11px; }
  .cn-industry-layout { gap: 36px; }
}

@media (max-width: 991.98px) {
  .cn-topbar { display: none; }
  .cn-header { height: 70px; }
  .cn-header__inner { justify-content: space-between; }
  .cn-menu-button { display: block; margin-left: auto; }
  .cn-header-cta { display: none; }
  .cn-nav { position: absolute; top: 70px; left: 0; right: 0; height: auto; padding: 10px 20px 18px; display: none; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--cn-line); }
  .cn-nav.is-open { display: flex; }
  .cn-nav a { min-height: 48px; padding: 0; justify-content: flex-start; border-bottom: 1px solid #eef1f5; }
  .cn-nav a::after { display: none; }
  .cn-hero { height: clamp(610px, calc(100svh - 70px), 720px); }
  .cn-hero h1 { font-size: 42px; }
  .cn-stats__grid { grid-template-columns: repeat(2,1fr); }
  .cn-stats__grid > div { min-height: 110px; border-bottom: 1px solid var(--cn-line); }
  .cn-service-grid, .cn-insight-grid { grid-template-columns: repeat(2,1fr); }
  .cn-section-heading { grid-template-columns: 1fr; gap: 16px; }
  .cn-industry-layout { grid-template-columns: 1fr; }
  .cn-industry-visual { min-height: 420px; }
  .cn-process, .yceton-team-grid { grid-template-columns: repeat(2,1fr); }
  .cn-footer__grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 767.98px) {
  .cn-container { width: min(100% - 32px, 1200px); }
  .cn-brand img { width: 174px; height: auto; }
  .cn-hero { min-height: 620px; }
  .cn-hero__media { object-position: 66% center; }
  .cn-hero::before { width: 100%; background: rgba(255,255,255,.90); }
  .cn-hero h1 { font-size: 34px; line-height: 1.34; }
  .cn-hero__lead { font-size: 17px; line-height: 1.8; }
  .cn-hero__points { gap: 10px 18px; flex-wrap: wrap; }
  .cn-stats strong { font-size: 30px; }
  .cn-section { padding: 68px 0; }
  .cn-section-copy h2, .cn-section-heading h2 { font-size: 28px; }
  .cn-section-intro h2 { font-size: 28px; }
  .cn-service-grid, .cn-insight-grid, .cn-process, .yceton-team-grid { grid-template-columns: 1fr; }
  .cn-service-grid article { min-height: auto; }
  .cn-service-grid p { min-height: auto; }
  .cn-industry-visual { min-height: 320px; }
  .cn-industry-visual > div { min-height: 94px; padding: 18px 20px; }
  .cn-industry-visual strong { font-size: 34px; }
  .cn-industry-list article { grid-template-columns: 38px 1fr; gap: 10px; }
  .cn-process { border-top: 0; border-left: 2px solid var(--cn-primary); }
  .cn-process li { padding: 0 0 28px 24px; }
  .cn-process li::before { top: 5px; left: -7px; }
  .cn-contact-band__inner { align-items: flex-start; flex-direction: column; }
  .cn-contact-band h2 { font-size: 27px; }
  .cn-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .cn-footer__bottom { padding: 20px 0; align-items: flex-start; flex-direction: column; justify-content: center; }
  body:not(.cn-home) .section-py-140 { padding-top: 68px; padding-bottom: 68px; }
  body:not(.cn-home) .breadcrumb__area { padding-top: 64px; padding-bottom: 64px; }
  body:not(.cn-home) .breadcrumb__content .title { font-size: 32px; }
}
