/* CNY Digital — Stylesheet */

:root {
  --blue-950: #0a1628;
  --blue-900: #0f2744;
  --blue-800: #1a3a6b;
  --blue-700: #1e4d8c;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gradient-primary: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 50%, var(--cyan-400) 100%);
  --gradient-hero: linear-gradient(160deg, var(--blue-950) 0%, var(--blue-900) 40%, var(--blue-800) 100%);
  --shadow-sm: 0 1px 3px rgba(15, 39, 68, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 39, 68, 0.12);
  --shadow-xl: 0 20px 60px rgba(15, 39, 68, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --header-height: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button, input, textarea { font-family: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--alt { background: var(--gray-50); }
.section--dark { background: var(--gradient-hero); color: var(--white); }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section__tag {
  display: inline-block; font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600);
  background: rgba(37, 99, 235, 0.08); padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
}
.section--dark .section__tag { color: var(--cyan-300); background: rgba(34, 211, 238, 0.12); }
.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2;
  color: var(--blue-950); margin-bottom: 16px; letter-spacing: -0.02em;
}
.section--dark .section__title { color: var(--white); }
.section__desc { font-size: 1.0625rem; color: var(--gray-500); line-height: 1.7; }
.section--dark .section__desc { color: rgba(255, 255, 255, 0.7); }
.text-gradient {
  background: linear-gradient(135deg, var(--cyan-300) 0%, var(--blue-400) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 11px 22px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  text-align: center;
}
.btn svg { flex-shrink: 0; width: 1.05em; height: 1.05em; }
.btn--sm { padding: 9px 16px; font-size: 0.8125rem; }
.btn--lg { padding: 13px 26px; font-size: 0.9375rem; }
.btn--full { width: 100%; }
.btn--primary {
  background-color: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
}
.btn--primary:hover {
  background-color: var(--blue-700);
  border-color: var(--blue-700);
}
.btn--primary:active { background-color: var(--blue-800); border-color: var(--blue-800); }
.btn--outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-height); transition: all var(--transition);
}
.header--scrolled {
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow-sm);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}
.logo__wordmark {
  display: flex;
  align-items: baseline;
  gap: 0;
}
.logo__cn {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-900);
}
.logo__digital {
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--gray-500);
}
.logo__digital::before {
  content: "·";
  margin: 0 8px;
  font-weight: 400;
  opacity: 0.45;
}
.header:not(.header--scrolled) .logo__cn { color: var(--white); }
.header:not(.header--scrolled) .logo__digital { color: rgba(255, 255, 255, 0.72); }
.header--scrolled .logo__cn { color: var(--blue-900); }
.header--scrolled .logo__digital { color: var(--gray-500); }
.logo--footer .logo__cn { color: var(--white); }
.logo--footer .logo__digital { color: rgba(255, 255, 255, 0.62); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: 0.9375rem; font-weight: 500; color: var(--gray-600); position: relative; }
.header:not(.header--scrolled) .nav__link { color: rgba(255, 255, 255, 0.85); }
.header--scrolled .nav__link { color: var(--gray-600); }
.nav__link:hover { color: var(--blue-600); }
.header:not(.header--scrolled) .nav__link:hover { color: var(--white); }
.nav__link::after {
  content: ""; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--blue-600); transition: width var(--transition);
}
.nav__link:hover::after { width: 100%; }
.nav__cta { margin-left: 4px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px; z-index: 1001;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--blue-950);
  transition: all var(--transition); border-radius: 2px;
}
.header:not(.header--scrolled) .hamburger span { background: var(--white); }
.hamburger--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger--active span:nth-child(2) { opacity: 0; }
.hamburger--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--header-height) + 40px) 0 80px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__gradient { position: absolute; inset: 0; background: var(--gradient-hero); }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; animation: float 8s ease-in-out infinite; }
.hero__orb--1 { width: 400px; height: 400px; background: var(--blue-600); top: -10%; right: 10%; }
.hero__orb--2 { width: 300px; height: 300px; background: var(--cyan-400); bottom: 10%; left: -5%; animation-delay: -3s; }
.hero__orb--3 { width: 200px; height: 200px; background: var(--blue-400); top: 40%; left: 30%; animation-delay: -5s; opacity: 0.2; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}
.hero__inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600;
  color: var(--cyan-300); background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2); padding: 8px 16px; border-radius: 100px; margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15;
  color: var(--white); letter-spacing: -0.03em; margin-bottom: 24px;
}
.hero__subtitle { font-size: 1.125rem; color: rgba(255, 255, 255, 0.75); line-height: 1.7; margin-bottom: 36px; max-width: 520px; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}
.hero__trust { display: flex; flex-wrap: wrap; gap: 24px; }
.hero__trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.hero__trust-item svg { color: var(--cyan-400); flex-shrink: 0; }
.hero__image-wrapper {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xl); border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__image { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero__float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
  padding: 14px 18px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  animation: floatCard 4s ease-in-out infinite;
}
.hero__float-card svg { color: var(--blue-600); flex-shrink: 0; }
.hero__float-card--1 { top: 20px; left: -20px; }
.hero__float-card--2 { bottom: 30px; right: -20px; animation-delay: -2s; }
.hero__float-label { display: block; font-size: 0.75rem; color: var(--gray-500); font-weight: 500; }
.hero__float-value { display: block; font-size: 0.875rem; font-weight: 700; color: var(--blue-950); }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 32px; transition: all var(--transition);
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(37, 99, 235, 0.2); }
.benefit-card__icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(34, 211, 238, 0.08) 100%);
  border-radius: var(--radius-md); color: var(--blue-600); margin-bottom: 20px; transition: all var(--transition);
}
.benefit-card:hover .benefit-card__icon { background: var(--blue-600); color: var(--white); transform: scale(1.02); }
.benefit-card__title { font-size: 1.125rem; font-weight: 700; color: var(--blue-950); margin-bottom: 10px; }
.benefit-card__desc { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.65; }

.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__image { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.about__image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__image-badge {
  position: absolute; bottom: 24px; right: 24px; background: var(--white);
  padding: 20px 28px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); text-align: center;
}
.about__badge-number { display: block; font-size: 2rem; font-weight: 800; color: var(--blue-600); line-height: 1; }
.about__badge-text { font-size: 0.8125rem; color: var(--gray-500); font-weight: 500; }
.about__text { font-size: 1.0625rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 16px; }
.about__text--muted { color: var(--gray-500); font-size: 1rem; }
.about__features { margin: 28px 0 32px; }
.about__features li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--gray-700); padding: 8px 0; }
.about__features svg { color: var(--blue-600); flex-shrink: 0; }

.solutions__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.solution-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); transition: all var(--transition); }
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.solution-card__image { position: relative; height: 220px; overflow: hidden; }
.solution-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.solution-card:hover .solution-card__image img { transform: scale(1.06); }
.solution-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 22, 40, 0.5) 0%, transparent 60%); }
.solution-card__body { padding: 28px; }
.solution-card__icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: rgba(37, 99, 235, 0.1); border-radius: var(--radius-sm); color: var(--blue-600); margin-bottom: 16px;
}
.solution-card__title { font-size: 1.25rem; font-weight: 700; color: var(--blue-950); margin-bottom: 10px; }
.solution-card__desc { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.65; margin-bottom: 16px; }
.solution-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--blue-600); transition: gap var(--transition); }
.solution-card__link:hover { gap: 10px; color: var(--blue-700); }

.steps__timeline { max-width: 720px; margin: 0 auto; position: relative; }
.steps__timeline::before {
  content: ""; position: absolute; left: 28px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--blue-600), var(--cyan-400)); opacity: 0.3;
}
.step { display: flex; gap: 32px; padding-bottom: 48px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step__number {
  flex-shrink: 0; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-600); color: var(--white); font-size: 1.125rem; font-weight: 700;
  border-radius: 50%; box-shadow: none; position: relative; z-index: 1;
}
.step__title { font-size: 1.25rem; font-weight: 700; color: var(--blue-950); margin-bottom: 8px; margin-top: 12px; }
.step__desc { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.65; }

.trust__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.trust__title { font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 800; line-height: 1.25; margin-bottom: 32px; letter-spacing: -0.02em; }
.trust__phrases li { display: flex; align-items: center; gap: 14px; font-size: 1.0625rem; font-weight: 500; padding: 12px 0; color: rgba(255, 255, 255, 0.9); }
.trust__phrases svg { color: var(--cyan-400); flex-shrink: 0; }
.trust__stats { display: flex; flex-direction: column; gap: 20px; }
.stat-card {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg); padding: 28px 32px; transition: all var(--transition);
}
.stat-card:hover { background: rgba(255, 255, 255, 0.1); transform: translateX(8px); }
.stat-card__number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-card__number--text { font-size: 2rem; }
.stat-card__label { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.65); font-weight: 500; }

.contact__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact__form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-md); }
.form__group { margin-bottom: 20px; }
.form__group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.form__group input, .form__group textarea {
  width: 100%; padding: 14px 16px; font-size: 0.9375rem; color: var(--gray-700);
  background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  transition: all var(--transition); outline: none;
}
.form__group input:focus, .form__group textarea:focus {
  border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form__group textarea { resize: vertical; min-height: 120px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__feedback { margin-top: 16px; font-size: 0.875rem; font-weight: 500; text-align: center; min-height: 20px; }
.form__feedback--success { color: #059669; }
.form__feedback--error { color: #dc2626; }
.contact__info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px 24px; transition: all var(--transition);
}
.contact-card:hover { border-color: rgba(37, 99, 235, 0.2); box-shadow: var(--shadow-md); transform: translateX(4px); }
.contact-card__icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: rgba(37, 99, 235, 0.1); border-radius: var(--radius-md); color: var(--blue-600); flex-shrink: 0;
}
.contact-card__title { font-size: 0.8125rem; font-weight: 600; color: var(--gray-500); margin-bottom: 2px; }
.contact-card__value { font-size: 0.9375rem; font-weight: 600; color: var(--blue-950); }
a.contact-card__value:hover { color: var(--blue-600); }
.contact__image { margin-top: 8px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.contact__image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.footer { background: var(--blue-950); color: rgba(255, 255, 255, 0.7); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__desc { font-size: 0.9375rem; line-height: 1.7; margin-top: 16px; max-width: 320px; }
.footer__heading { font-size: 0.875rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 20px; }
.footer__links ul li, .footer__contact ul li { padding: 6px 0; }
.footer__links a { font-size: 0.9375rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--cyan-300); }
.footer__contact ul li { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; }
.footer__contact svg { color: var(--cyan-400); flex-shrink: 0; }
.footer__contact a:hover { color: var(--cyan-300); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 32px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
}
.footer__legal { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }
.footer__separator { margin: 0 12px; opacity: 0.4; }
.footer__copyright { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.4); }

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__image { max-width: 500px; margin: 0 auto; }
  .trust__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hamburger { display: flex; }
  .nav {
    position: fixed; top: 0; right: -100%; width: min(320px, 85vw); height: 100vh;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: calc(var(--header-height) + 24px) 32px 32px; box-shadow: var(--shadow-xl);
    transition: right var(--transition); gap: 0;
  }
  .nav--open { right: 0; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav__list li { width: 100%; border-bottom: 1px solid var(--gray-100); }
  .nav__link { display: block; padding: 16px 0; color: var(--gray-700) !important; font-size: 1rem; }
  .nav__cta { width: 100%; margin-top: 20px; justify-content: center; }
  .hero { min-height: auto; padding-bottom: 60px; }
  .hero__float-card--1 { left: 10px; }
  .hero__float-card--2 { right: 10px; }
  .benefits__grid, .solutions__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .contact__form { padding: 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .steps__timeline::before { left: 24px; }
  .step__number { width: 48px; height: 48px; font-size: 1rem; }
  .step { gap: 20px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { flex-direction: column; align-items: center; gap: 12px; }
}
