/* ============ Feichi Tech — style v40 ============ */

:root {
  --primary: #3A7BD5;
  --primary-dark: #1a2d4a;
  --primary-mid: #5B9AE8;
  --primary-light: #E8F0FA;
  --accent: #FF8A3D;
  --text: #1a2d4a;
  --muted: #4A6A8A;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --border: #D0DEF0;
  --grad: linear-gradient(135deg, #1a2d4a 0%, #3A7BD5 100%);
  --grad-light: linear-gradient(135deg, #3A7BD5 0%, #5B9AE8 100%);
  --shadow: 0 10px 30px rgba(26, 45, 74, .1);
  --shadow-lg: 0 18px 48px rgba(26, 45, 74, .15);
  --radius: 14px;
  --header-h: 76px;
  --font: "Rajdhani", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Orbitron", "Rajdhani", sans-serif;
}

/* ---------- splash screen ---------- */

.splash-screen {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0d1f3c 100%);
  transition: opacity .8s cubic-bezier(.4, 0, .2, 1), transform .8s cubic-bezier(.4, 0, .2, 1);
}
.splash-screen.fade-out {
  opacity: 0; transform: scale(1.1);
  pointer-events: none;
}
.splash-bg {
  position: absolute; inset: 0; overflow: hidden;
}
.splash-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(46, 154, 219, .15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(255, 138, 61, .1) 0%, transparent 50%);
}
.splash-particles {
  position: absolute; inset: 0;
}
.splash-particle {
  position: absolute; width: 4px; height: 4px; background: rgba(255, 255, 255, .4); border-radius: 50%;
  animation: splashFloat 10s ease-in-out infinite;
}
.splash-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.splash-particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 1s; width: 6px; height: 6px; }
.splash-particle:nth-child(3) { left: 35%; top: 15%; animation-delay: 2s; }
.splash-particle:nth-child(4) { left: 50%; top: 70%; animation-delay: 0.5s; width: 3px; height: 3px; }
.splash-particle:nth-child(5) { left: 65%; top: 30%; animation-delay: 1.5s; width: 5px; height: 5px; }
.splash-particle:nth-child(6) { left: 80%; top: 55%; animation-delay: 3s; }
.splash-particle:nth-child(7) { left: 90%; top: 80%; animation-delay: 2.5s; width: 4px; height: 4px; }
.splash-particle:nth-child(8) { left: 45%; top: 40%; animation-delay: 0.8s; width: 6px; height: 6px; }
@keyframes splashFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: .4; }
  25% { transform: translateY(-20px) translateX(10px); opacity: .7; }
  50% { transform: translateY(-10px) translateX(-8px); opacity: .5; }
  75% { transform: translateY(-30px) translateX(15px); opacity: .6; }
}
.splash-content {
  position: relative; z-index: 2; text-align: center; padding: 0 20px;
}
.splash-logo {
  width: 120px; height: 40px; margin: 0 auto 30px; color: #fff;
  opacity: 0; transform: translateY(20px); animation: splashFadeUp .8s .2s forwards;
}
.splash-logo svg { width: 100%; height: 100%; }
.splash-title {
  font-family: var(--font-display); font-size: clamp(32px, 5.5vw, 56px); font-weight: 800; color: #fff;
  letter-spacing: 8px; margin-bottom: 12px;
  opacity: 0; transform: translateY(30px); animation: splashFadeUp .8s .4s forwards;
  text-shadow: 0 4px 30px rgba(46, 154, 219, .4);
}
.splash-subtitle {
  font-family: var(--font-display); font-size: clamp(13px, 1.8vw, 16px); color: rgba(255, 255, 255, .6);
  letter-spacing: 12px; margin-bottom: 20px; font-weight: 400;
  opacity: 0; transform: translateY(30px); animation: splashFadeUp .8s .6s forwards;
}
.splash-desc {
  font-size: clamp(13px, 1.4vw, 15px); color: rgba(255, 255, 255, .5);
  margin-bottom: 50px; letter-spacing: 2px;
  opacity: 0; transform: translateY(30px); animation: splashFadeUp .8s .8s forwards;
}
.splash-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 40px; border-radius: 50px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #2E9ADB 0%, #6EC4F0 100%);
  color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 2px;
  box-shadow: 0 8px 30px rgba(46, 154, 219, .4);
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  opacity: 0; transform: translateY(30px); animation: splashFadeUp .8s 1s forwards;
  position: relative; overflow: hidden;
}
.splash-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.2) 0%, transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.splash-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 40px rgba(46, 154, 219, .5);
}
.splash-btn:hover::before { opacity: 1; }
.splash-btn:active { transform: translateY(-2px) scale(0.98); }
.splash-btn-icon {
  display: flex; transition: transform .3s;
}
.splash-btn:hover .splash-btn-icon { transform: translateX(4px); }
.splash-footer {
  position: absolute; bottom: 30px; left: 0; right: 0; text-align: center;
  color: rgba(255, 255, 255, .3); font-size: 12px; letter-spacing: 1px;
  opacity: 0; animation: splashFadeUp .8s 1.2s forwards;
}
@keyframes splashFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- main site ---------- */

.main-site {
  animation: mainFadeIn .8s forwards;
}
@keyframes mainFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.center { text-align: center; }
.narrow { max-width: 860px; }
.bg-soft { background: var(--bg-soft); }
.mt { margin-top: 26px; }

h1, h2, h3, h4 { line-height: 1.35; color: var(--primary-dark); }

/* ---------- micro-interactions ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 600;
  transition: all .3s cubic-bezier(.4, 0, .2, 1); white-space: nowrap; line-height: 1.4;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,.3) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.96); }
.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(46, 154, 219, .30); }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 28px rgba(46, 154, 219, .45); }
.btn-accent { background: linear-gradient(135deg, #FF8A33, #FF6A00); color: #fff; box-shadow: 0 6px 18px rgba(255, 122, 0, .3); }
.btn-accent:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 28px rgba(255, 122, 0, .45); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-ghost { border: 2px solid var(--primary-mid); color: var(--primary-dark); background: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.text-link { color: var(--primary); font-weight: 600; transition: all .3s; cursor: pointer; position: relative; }
.text-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width .3s; }
.text-link:hover { color: var(--accent); }
.text-link:hover::after { width: 100%; }
.icon-btn, .lang-btn {
  width: 40px; height: 40px; border-radius: 8px; display: inline-flex;
  align-items: center; justify-content: center; transition: all .3s cubic-bezier(.4, 0, .2, 1); color: var(--primary-dark);
}
.icon-btn svg, .lang-btn svg { width: 20px; height: 20px; transition: transform .3s; }
.icon-btn:hover, .lang-btn:hover { background: var(--primary-light); color: var(--primary); transform: translateY(-2px); }
.icon-btn:hover svg, .lang-btn:hover svg { transform: scale(1.1); }
.lang-btn { width: auto; padding: 0 12px; font-weight: 700; font-size: 14px; border: 1.5px solid var(--border); }

/* ---------- staggered animation ---------- */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
@keyframes jelly {
  0% { transform: scale(1); }
  25% { transform: scale(1.1, 0.9); }
  50% { transform: scale(0.9, 1.1); }
  75% { transform: scale(1.05, 0.95); }
  100% { transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.reveal { opacity: 0; transform: translateY(30px); transition: all .6s cubic-bezier(.4, 0, .2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }
.reveal.delay-5 { transition-delay: .5s; }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-left.visible { transform: translateX(0); }
.reveal.from-right { transform: translateX(50px); }
.reveal.from-right.visible { transform: translateX(0); }
.reveal.scale { transform: scale(0.85); }
.reveal.scale.visible { transform: scale(1); }
.reveal.rotate { transform: rotate(-5deg) scale(0.9); }
.reveal.rotate.visible { transform: rotate(0) scale(1); }

/* Section animations */
.section-animate { opacity: 0; transform: translateY(40px); transition: all .8s cubic-bezier(.4, 0, .2, 1); }
.section-animate.visible { opacity: 1; transform: translateY(0); }
.section-animate.slide-left { transform: translateX(-60px); }
.section-animate.slide-left.visible { transform: translateX(0); }
.section-animate.slide-right { transform: translateX(60px); }
.section-animate.slide-right.visible { transform: translateX(0); }
.section-animate.zoom-in { transform: scale(0.8); }
.section-animate.zoom-in.visible { transform: scale(1); }

/* Stagger children */
.stagger-children > * { opacity: 0; transform: translateY(20px); transition: all .5s cubic-bezier(.4, 0, .2, 1); }
.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: .1s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: .2s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: .3s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: .4s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: .5s; }

.stagger-item { opacity: 0; transform: translateY(30px); }
.stagger-item.visible { animation: fadeInUp .6s cubic-bezier(.4, 0, .2, 1) forwards; }
.stagger-item:nth-child(1).visible { animation-delay: 0s; }
.stagger-item:nth-child(2).visible { animation-delay: .1s; }
.stagger-item:nth-child(3).visible { animation-delay: .2s; }
.stagger-item:nth-child(4).visible { animation-delay: .3s; }
.stagger-item:nth-child(5).visible { animation-delay: .4s; }
.stagger-item:nth-child(6).visible { animation-delay: .5s; }

/* ---------- header ---------- */

/* ---------- header (top bar with slide-in nav) ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  background: transparent; transition: all .3s;
}
.site-header.scrolled { background: rgba(13, 31, 60, .95); backdrop-filter: blur(12px); box-shadow: 0 4px 30px rgba(0, 0, 0, .3); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; background: linear-gradient(135deg, #3A7BD5, #6EC4F0); border-radius: 10px; display: flex; align-items: center; justify-content: center; transition: transform .3s; }
.brand-logo:hover { transform: scale(1.05); }
.brand-logo svg { width: 24px; height: 24px; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 16px; color: #fff; letter-spacing: 1px; }
.brand-text small { font-size: 10px; color: rgba(255, 255, 255, .5); letter-spacing: 2px; }
.header-right { display: flex; align-items: center; gap: 16px; }
.hamburger {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  color: #fff; border-radius: 10px; transition: all .3s; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1);
}
.hamburger:hover { background: rgba(255, 255, 255, .15); transform: scale(1.05); }
.hamburger svg { width: 22px; height: 22px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-quote { padding: 9px 18px; background: linear-gradient(135deg, #FF8A33, #FF6A00); color: #fff; border-radius: 8px; font-weight: 600; font-size: 13px; }
.header-quote:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 138, 61, .4); }

.member-btn { padding: 9px 18px; background: linear-gradient(135deg, #3A7BD5, #1a2d4a); color: #fff; border-radius: 8px; font-weight: 600; font-size: 13px; text-decoration: none; display: inline-block; }
.member-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(58, 123, 213, .4); }
.lang-btn { 
  padding: 8px 14px; font-weight: 600; font-size: 13px; 
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .8); border-radius: 8px; transition: all .3s; cursor: pointer;
}
.lang-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- side navigation (slide-in) ---------- */

.nav-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transition: all .4s; backdrop-filter: blur(4px);
}
.nav-overlay.active { opacity: 1; visibility: visible; }
.side-nav {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 201; width: 280px;
  background: linear-gradient(180deg, #0d1f3c 0%, #1a2d4a 100%);
  transform: translateX(-100%); transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column; box-shadow: 4px 0 30px rgba(0, 0, 0, .3);
}
.side-nav.active { transform: translateX(0); }
.side-nav::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
}
.nav-header { 
  padding: 24px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .1); position: relative; z-index: 1;
}
.nav-close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .7); border-radius: 8px; transition: all .3s; cursor: pointer;
  background: rgba(255, 255, 255, .05);
}
.nav-close:hover { background: rgba(255, 255, 255, .1); color: #fff; transform: rotate(90deg); }
.nav-close svg { width: 20px; height: 20px; }
.nav-body { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; overflow-y: auto; }
.nav-link {
  position: relative; padding: 13px 15px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .7);
  transition: all .3s; border-radius: 10px; display: flex; align-items: center; gap: 14px;
  opacity: 0; transform: translateX(-20px);
}
.side-nav.active .nav-link { opacity: 1; transform: translateX(0); }
.side-nav.active .nav-link:nth-child(1) { transition-delay: .1s; }
.side-nav.active .nav-link:nth-child(2) { transition-delay: .15s; }
.side-nav.active .nav-link:nth-child(3) { transition-delay: .2s; }
.side-nav.active .nav-link:nth-child(4) { transition-delay: .25s; }
.side-nav.active .nav-link:nth-child(5) { transition-delay: .3s; }
.side-nav.active .nav-link:nth-child(6) { transition-delay: .35s; }
.side-nav.active .nav-link:nth-child(7) { transition-delay: .4s; }
.nav-link::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 0;
  background: var(--accent); border-radius: 0 3px 3px 0; transition: height .3s;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-link:hover::before, .nav-link.active::before { height: 24px; }
.nav-link svg { width: 20px; height: 20px; opacity: .6; transition: all .3s; }
.nav-link:hover svg, .nav-link.active svg { opacity: 1; transform: scale(1.1); }
.nav-footer { 
  padding: 20px 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1;
}
.nav-footer .btn { width: 100%; justify-content: center; }
.nav-footer .lang-btn { width: 100%; text-align: center; }

/* ---------- hero ---------- */

.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: linear-gradient(135deg, #0d1f3c 0%, #1a2d4a 50%, #0a1628 100%); }
.hero-track { display: flex; height: 100%; transition: transform .8s cubic-bezier(.6, .05, .2, 1); }
.hero-slide { position: relative; flex: 0 0 100%; height: 100%; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.hero-particle {
  position: absolute; width: 4px; height: 4px; background: rgba(255, 255, 255, .4); border-radius: 50%;
  animation: particleFloat 10s ease-in-out infinite;
}
.hero-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.hero-particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 1s; width: 6px; height: 6px; }
.hero-particle:nth-child(3) { left: 35%; top: 15%; animation-delay: 2s; }
.hero-particle:nth-child(4) { left: 50%; top: 70%; animation-delay: 0.5s; width: 3px; height: 3px; }
.hero-particle:nth-child(5) { left: 65%; top: 30%; animation-delay: 1.5s; width: 5px; height: 5px; }
.hero-particle:nth-child(6) { left: 80%; top: 55%; animation-delay: 3s; }
.hero-particle:nth-child(7) { left: 90%; top: 80%; animation-delay: 2.5s; width: 4px; height: 4px; }
.hero-particle:nth-child(8) { left: 45%; top: 40%; animation-delay: 0.8s; width: 6px; height: 6px; }
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: .4; }
  25% { transform: translateY(-20px) translateX(10px); opacity: .7; }
  50% { transform: translateY(-10px) translateX(-8px); opacity: .5; }
  75% { transform: translateY(-30px) translateX(15px); opacity: .6; }
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
}
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.o1 { width: 420px; height: 420px; left: -120px; top: -140px; background: radial-gradient(circle, rgba(58, 123, 213, .3), transparent 70%); animation: float1 9s ease-in-out infinite; }
.o2 { width: 360px; height: 360px; right: -80px; bottom: -140px; background: radial-gradient(circle, rgba(255, 138, 61, .2), transparent 70%); animation: float1 11s ease-in-out infinite reverse; }
.o3 { width: 200px; height: 200px; right: 30%; top: 14%; background: radial-gradient(circle, rgba(255, 255, 255, .1), transparent 70%); animation: float1 7s ease-in-out infinite; }
@keyframes float1 { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-26px) } }

.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; border-radius: 4px; 
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase; font-weight: 600;
  color: var(--accent); background: rgba(255, 138, 61, .15); border: 1px solid rgba(255, 138, 61, .3);
  margin-bottom: 24px; position: relative; overflow: hidden;
}
.hero-tag::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.hero-tag::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 138, 61, .1) 0%, transparent 100%); }
.hero-text h1 { 
  font-family: var(--font-display); color: #fff; font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: 2px; 
  margin-bottom: 16px; line-height: 1.1; position: relative;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.8) 50%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  text-shadow: none; filter: drop-shadow(0 4px 20px rgba(0,0,0,.3));
}
.hero-text h1::after { 
  content: ''; display: block; width: 60px; height: 4px; margin-top: 20px;
  background: linear-gradient(90deg, var(--accent), transparent); border-radius: 2px;
}
.hero-text p { 
  color: rgba(255,255,255,.7); font-size: 16px; max-width: 520px; margin-bottom: 28px; 
  line-height: 1.8; letter-spacing: .5px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-btns .btn { 
  padding: 13px 30px; font-size: 14px; font-weight: 600; letter-spacing: 1px;
  border-radius: 6px; position: relative; overflow: hidden; text-transform: uppercase;
}
.hero-btns .btn-primary { 
  background: linear-gradient(135deg, var(--accent), #ff6a00); 
  box-shadow: 0 8px 30px rgba(255, 138, 61, .4);
}
.hero-btns .btn-primary:hover { 
  transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255, 138, 61, .5);
}
.hero-btns .btn-outline { 
  background: transparent; border: 2px solid rgba(255,255,255,.3); color: #fff;
}
.hero-btns .btn-outline:hover { 
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5);
  transform: translateY(-3px);
}
.hero-figure { position: relative; display: flex; justify-content: center; }
.hero-figure img { width: min(460px, 100%); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .4)); animation: float2 6s ease-in-out infinite; border-radius: 16px; }
@keyframes float2 { 0%, 100% { transform: translateY(0) rotate(-1deg) } 50% { transform: translateY(-18px) rotate(1deg) } }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; color: #fff; font-size: 26px; line-height: 1;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  transition: all .25s; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-50%) scale(1.1); }
.hero-arrow.left { left: 22px; }
.hero-arrow.right { right: 22px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; gap: 10px; justify-content: center; z-index: 5; }
.hero-dot { width: 10px; height: 10px; border-radius: 20px; background: rgba(255,255,255,.3); transition: all .3s; }
.hero-dot.active { width: 30px; background: var(--accent); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); z-index: 5;
  color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: 3px; animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint { 0%, 100% { opacity: .5; transform: translateX(-50%) translateY(0) } 50% { opacity: 1; transform: translateX(-50%) translateY(8px) } }

/* ---------- sections ---------- */

.section { padding: 100px 5%; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-tag {
  display: inline-block; padding: 6px 16px; border-radius: 4px; font-size: 12px; font-weight: 600; 
  letter-spacing: 3px; text-transform: uppercase; color: var(--accent); 
  background: rgba(255, 138, 61, .1); border: 1px solid rgba(255, 138, 61, .2);
  margin-bottom: 16px;
}
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; margin-bottom: 12px; color: var(--primary-dark); }
.sec-head p { color: var(--muted); font-size: 15px; max-width: 600px; margin: 0 auto; }
.sec-head.light h2, .sec-head.light p { color: #fff; }
.sec-head.light .sec-tag { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.sec-cta { text-align: center; margin-top: 48px; }

/* about */

.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text-content h2 { font-size: clamp(24px, 2.8vw, 30px); margin-bottom: 14px; }
.about-text-content p { color: var(--muted); margin-bottom: 14px; line-height: 1.8; }
.about-img-grid-small { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-img-sm { border-radius: 16px; overflow: hidden; box-shadow: 0 16px 48px rgba(10, 36, 99, .12); }
.about-img-sm img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .5s ease; }
.about-img-sm:hover img { transform: scale(1.04); }

/* product cards */

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.prod-card {
  background: #fff; border-radius: 16px; overflow: hidden; border: none;
  transition: all .4s ease; display: block; position: relative;
  box-shadow: 0 4px 20px rgba(10, 36, 99, .06);
}
.prod-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(46, 154, 219, .15); }
.prod-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); position: relative; }
.prod-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prod-card:hover .prod-card-img img { transform: scale(1.05); }
.prod-card-img::after {
  content: ''; position: absolute; inset: 0; 
  background: linear-gradient(to top, rgba(10, 36, 99, .5) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.prod-card:hover .prod-card-img::after { opacity: 1; }
.prod-card-body { padding: 20px 24px; position: relative; }
.prod-card-body h3 { font-size: 15px; margin-bottom: 4px; transition: color .3s; font-weight: 600; }
.prod-card:hover .prod-card-body h3 { color: var(--primary); }
.prod-card-body span { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.prod-card-body span::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.prod-card-arrow {
  position: absolute; right: 20px; bottom: 20px; width: 36px; height: 36px;
  background: var(--grad); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: 0; transform: translateX(-8px); transition: all .3s;
}
.prod-card:hover .prod-card-arrow { opacity: 1; transform: translateX(0); }
.prod-card-arrow svg { width: 16px; height: 16px; }

/* stats */

.stats-home {
  background: linear-gradient(135deg, #0d1f3c 0%, #1a2d4a 100%);
  position: relative; overflow: hidden; padding: 80px 5%;
}
.stats-home::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
}
.stats-home .container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-card { 
  text-align: center; color: #fff; padding: 36px 20px; 
  position: relative; border-right: 1px solid rgba(255,255,255,.1);
}
.stat-card:last-child { border-right: none; }
.stat-card::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 70px; height: 70px; background: rgba(255,255,255,.04); border-radius: 50%;
  transition: all .3s;
}
.stat-card:hover::before { width: 100px; height: 100px; background: rgba(255,255,255,.06); }
.stat-num { 
  font-family: var(--font-display); font-size: clamp(30px, 3.8vw, 44px); font-weight: 700; color: #fff; line-height: 1.1; 
  position: relative; z-index: 1;
}
.stat-num::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.stat-label { color: rgba(255,255,255,.6); margin-top: 14px; letter-spacing: 1px; font-size: 13px; text-transform: uppercase; position: relative; z-index: 1; }

/* rnd cards */

.rnd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.rnd-grid.big { grid-template-columns: repeat(4, 1fr); }
.rnd-card {
  background: #fff; border: none; border-radius: 16px; padding: 36px 28px;
  transition: all .4s ease; position: relative; overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 36, 99, .06);
}
.rnd-card::before { 
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; 
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; 
}
.rnd-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(46, 154, 219, .12); }
.rnd-card:hover::before { transform: scaleX(1); }
.rnd-card h4 { font-size: 16px; margin-bottom: 8px; font-weight: 600; }
.rnd-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.rnd-icon {
  width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--primary-light), rgba(46, 154, 219, .08)); 
  color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: all .3s;
}
.rnd-card:hover .rnd-icon { transform: scale(1.05); }
.rnd-icon svg { width: 24px; height: 24px; }
.rnd-num { font-size: 30px; font-weight: 800; color: var(--primary-light); line-height: 1; margin-bottom: 10px; }

/* news cards */

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-card {
  background: #fff; border: none; border-radius: 16px; padding: 24px;
  transition: all .4s ease; display: block;
  box-shadow: 0 4px 20px rgba(10, 36, 99, .06); position: relative; overflow: hidden;
}
.news-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(46, 154, 219, .12); }
.news-card:hover::before { transform: scaleX(1); }
.news-date { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.news-date b { font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1; }
.news-date span { color: var(--muted); font-size: 13px; }
.news-tag {
  display: inline-block; font-size: 11px; color: var(--accent); background: rgba(255, 122, 0, .08);
  padding: 4px 12px; border-radius: 4px; margin-bottom: 12px; font-weight: 600;
}
.news-card h4 { font-size: 15px; margin-bottom: 6px; line-height: 1.5; font-weight: 600; }
.news-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.news-card.wide { display: flex; gap: 24px; padding: 28px; align-items: flex-start; }
.news-card.wide .news-date { min-width: 80px; flex-direction: column; gap: 0; border-right: 1px solid var(--border); padding-right: 20px; margin: 0; }
.news-body h3 { font-size: 18px; margin-bottom: 8px; }
.news-body p { margin-bottom: 10px; }

/* CTA band */

.cta-band { background: linear-gradient(135deg, #1a2d4a 0%, #0d1f3c 100%); position: relative; overflow: hidden; padding: 60px 5%; }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.stats-particles, .cta-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 0; }
.cta-inner h3 { color: #fff; font-size: clamp(20px, 2.8vw, 26px); margin-bottom: 6px; }
.cta-inner p { color: rgba(255,255,255,.6); font-size: 14px; }
.cta-btns { display: flex; gap: 12px; }

/* ---------- page hero ---------- */

.page-hero {
  padding: 100px 0 60px; background: linear-gradient(135deg, #0d1f3c 0%, #1a2d4a 100%);
  color: #fff; position: relative; overflow: hidden; min-height: 300px;
}
.page-hero-bg {
  position: absolute; inset: 0; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.page-tag {
  display: inline-block; padding: 5px 14px; border-radius: 30px; font-size: 13px; letter-spacing: 3px; font-weight: 600;
  color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); margin-bottom: 16px;
  backdrop-filter: blur(4px);
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.page-hero p { color: rgba(255,255,255,.7); max-width: 640px; }
.breadcrumb { padding: 16px 0; font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-style: normal; color: #B9C8D8; }

/* filters / chips */

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.chip {
  padding: 8px 20px; border-radius: 30px; border: 1.5px solid var(--border); font-size: 14px; color: var(--text);
  background: #fff; transition: all .25s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(46, 154, 219, .30); }

/* product detail */

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.detail-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-soft); }
.detail-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.detail-tag { color: var(--primary); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.detail-info p { color: var(--muted); margin-bottom: 22px; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.contact-quick { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.contact-quick svg { width: 16px; height: 16px; color: var(--primary); }
.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.block-title { font-size: 18px; margin-bottom: 14px; position: relative; padding-bottom: 8px; }
.block-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--grad); border-radius: 3px; }
.params-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
.params-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.params-table td:first-child { color: var(--muted); width: 46%; }
.params-table tr:nth-child(even) { background: var(--bg-soft); }
.feature-list li { padding: 8px 0 8px 30px; position: relative; color: var(--text); }
.feature-list li::before {
  content: ""; position: absolute; left: 6px; top: 16px; width: 12px; height: 12px;
  border-radius: 3px; background: var(--grad); transform: rotate(45deg);
}
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-chip {
  padding: 7px 16px; background: #fff; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--primary);
}

/* timeline */

.timeline { position: relative; max-width: 760px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ""; position: absolute; left: 24px; top: 0; bottom: 0; width: 3px; background: var(--grad); border-radius: 3px; }
.tl-item { position: relative; padding: 0 0 34px 74px; }
.tl-dot {
  position: absolute; left: 13px; top: 6px; width: 25px; height: 25px; border-radius: 50%;
  background: #fff; border: 5px solid var(--primary); box-shadow: 0 0 0 5px var(--primary-light);
}
.tl-year { font-size: 20px; font-weight: 800; color: var(--primary); }
.tl-text { color: var(--muted); }

/* honors & missions */

.honor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.honor-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px;
  display: flex; align-items: center; gap: 14px; font-weight: 600; transition: all .25s;
}
.honor-item::before { content: "★"; color: var(--accent); font-size: 18px; }
.honor-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mission-card {
  background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--border);
  box-shadow: var(--shadow); text-align: center; transition: all .3s;
}
.mission-card h4 { font-size: 16.5px; color: var(--text); }
.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* rnd page */

.flow-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.flow-step {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 10px;
  text-align: center; font-size: 14px; font-weight: 600; color: var(--primary-dark); transition: all .3s; position: relative;
}
.flow-step span {
  display: block; width: 34px; height: 34px; line-height: 34px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 700;
}
.flow-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.equip-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.equip-gallery-item { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(10, 36, 99, .1); }
.equip-gallery-item img { width: 100%; height: 280px; object-fit: cover; transition: transform .5s ease; }
.equip-gallery-item:hover img { transform: scale(1.05); }
.equip-list-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.equip-list-full li { 
  padding: 20px 24px; background: #fff; border-radius: 12px; font-size: 15px; 
  box-shadow: 0 4px 20px rgba(10, 36, 99, .06); position: relative; padding-left: 50px;
  transition: all .3s;
}
.equip-list-full li:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(10, 36, 99, .12); }
.equip-list-full li::before { 
  content: ""; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); 
  width: 12px; height: 12px; border-radius: 3px; background: var(--grad); transform: translateY(-50%) rotate(45deg); 
}

/* news list & article */

.news-list { display: flex; flex-direction: column; gap: 22px; max-width: 900px; margin: 0 auto; }
.news-article h1 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 14px; }
.article-meta { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.article-hero { border-radius: 16px; overflow: hidden; margin-bottom: 26px; background: var(--bg-soft); box-shadow: 0 16px 48px rgba(10, 36, 99, .12); }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.article-hero:hover img { transform: scale(1.03); }
.article-summary { font-weight: 600; color: var(--primary-dark); background: var(--primary-light); border-left: 4px solid var(--primary); padding: 16px 20px; border-radius: 0 10px 10px 0; margin-bottom: 20px; }
.news-article p { color: var(--muted); margin-bottom: 16px; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin: 40px 0; }
.nav-btn { color: var(--primary); font-size: 14.5px; max-width: 45%; }
.nav-btn:hover { color: var(--accent); }

/* contact */

.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.info-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px;
  text-align: center; transition: all .3s;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.info-icon {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--primary-light);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 26px; height: 26px; }
.info-card h4 { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.info-card p { font-size: 14px; font-weight: 600; color: var(--primary-dark); word-break: break-all; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form-card { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-card h3 { font-size: 19px; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.form-card label { display: block; font-size: 13px; font-weight: 600; color: var(--primary-dark); margin-bottom: 10px; }
.form-card em { color: var(--accent); font-style: normal; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; margin-top: 7px; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--text); transition: border-color .2s;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46, 154, 219, .14);
}
.form-card input.invalid, .form-card textarea.invalid { border-color: #E03131; }
.form-actions { display: flex; gap: 12px; margin-top: 6px; }

.map-block {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px;
  text-align: center; box-shadow: var(--shadow);
}
.map-art {
  position: relative; height: 280px; border-radius: 12px; overflow: hidden; margin-bottom: 22px;
  background: linear-gradient(160deg, #EAF3FC, #D2E6F8);
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46, 154, 219, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 154, 219, .14) 1px, transparent 1px);
  background-size: 44px 44px;
}
.map-art::before, .map-art::after {
  content: ""; position: absolute; background: rgba(14, 139, 214, .16);
}
.map-art::before { width: 190px; height: 34px; left: 8%; top: 42%; transform: rotate(-8deg); border-radius: 6px; }
.map-art::after { width: 120px; height: 30px; right: 10%; top: 30%; transform: rotate(6deg); border-radius: 6px; }
.map-pin {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%);
  width: 42px; height: 42px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 6px 18px rgba(255, 122, 0, .45); z-index: 2;
}
.map-pin span { position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.map-label {
  position: absolute; left: 50%; top: 56%; transform: translateX(-50%); background: #fff; z-index: 3;
  padding: 10px 20px; border-radius: 30px; font-size: 13.5px; box-shadow: var(--shadow); font-weight: 600; white-space: nowrap;
}

/* ---------- footer ---------- */

.site-footer { background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%); color: rgba(255, 255, 255, .78); margin-top: 0; position: relative; overflow: hidden; }
.footer-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 44px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand span { color: #fff; font-size: 18px; font-weight: 700; }
.footer-logo { width: 40px; height: 40px; background: linear-gradient(135deg, #3A7BD5, #6EC4F0); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-logo svg { width: 22px; height: 22px; color: #fff; }
.footer-about p { font-size: 13px; margin-bottom: 12px; }
.footer-contact-line { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #fff; }
.footer-contact-line svg { width: 16px; height: 16px; color: var(--accent); }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer ul li { margin-bottom: 8px; font-size: 13px; }
.site-footer a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; margin-top: 4px; color: var(--accent); flex: none; }
.footer-contact .mail-ic { width: 15px; height: 15px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.admin-link { color: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .25); padding: 4px 14px; border-radius: 20px; }
.admin-link:hover { color: #fff; border-color: var(--accent); }

/* ---------- contact panel ---------- */

.contact-panel {
  position: fixed; right: 90px; top: 50%; transform: translateY(-50%) translateX(20px);
  z-index: 95; width: 300px; background: #fff; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2); opacity: 0; visibility: hidden;
  transition: all .4s cubic-bezier(.4, 0, .2, 1); pointer-events: none;
}
.contact-panel.active { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); pointer-events: auto; }
.contact-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff;
  border-radius: 16px 16px 0 0;
}
.contact-panel-header span { font-weight: 600; font-size: 15px; }
.contact-panel-close { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.2); border-radius: 50%; transition: all .3s; }
.contact-panel-close:hover { background: rgba(255,255,255,.3); transform: rotate(90deg); }
.contact-panel-close svg { width: 16px; height: 16px; }
.contact-panel-body { padding: 20px; }
.contact-panel-item { display: block; padding: 16px; border-radius: 12px; margin-bottom: 12px; transition: all .3s; text-decoration: none; color: inherit; }
.contact-panel-item:last-child { margin-bottom: 0; }
.contact-panel-item.wechat { background: linear-gradient(135deg, rgba(7, 193, 96, .08), rgba(7, 193, 96, .04)); }
.contact-panel-item.phone { background: linear-gradient(135deg, rgba(59, 130, 246, .08), rgba(59, 130, 246, .04)); }
.contact-panel-item.email { background: linear-gradient(135deg, rgba(245, 158, 11, .08), rgba(245, 158, 11, .04)); }
.contact-panel-item:hover { transform: translateX(4px); }
.contact-panel-label { font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.contact-panel-qr { width: 140px; height: 140px; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--border); }
.contact-panel-qr img { width: 100%; height: 100%; object-fit: cover; }
.contact-panel-value { font-size: 16px; font-weight: 600; color: var(--primary-dark); }

/* ---------- float buttons ---------- */

.contact-toggle {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 96;
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 8px 25px rgba(59, 130, 246, .4); transition: all .4s cubic-bezier(.4, 0, .2, 1);
  cursor: pointer; border: none; animation: contactPulse 3s infinite;
}
.contact-toggle:hover { transform: translateY(-50%) scale(1.1); box-shadow: 0 12px 35px rgba(59, 130, 246, .5); }
.contact-toggle.active { transform: translateY(-50%) rotate(135deg); background: var(--accent); animation: none; }
.contact-toggle svg { width: 26px; height: 26px; }
@keyframes contactPulse { 0% { box-shadow: 0 8px 25px rgba(59, 130, 246, .4) } 50% { box-shadow: 0 8px 25px rgba(59, 130, 246, .4), 0 0 0 12px rgba(59, 130, 246, .1) } 100% { box-shadow: 0 8px 25px rgba(59, 130, 246, .4) } }

.float-btn {
  position: fixed; right: 22px; z-index: 90; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow-lg);
  transition: all .3s; opacity: 0; pointer-events: none;
}
.float-btn.show { opacity: 1; pointer-events: auto; }
.float-btn svg { width: 24px; height: 24px; }
.float-top { bottom: 26px; background: var(--primary-dark); }
.float-btn:hover { transform: translateY(-4px); }

/* ---------- search modal ---------- */

.search-modal {
  position: fixed; inset: 0; z-index: 200; background: rgba(22, 103, 155, .5); backdrop-filter: blur(6px);
  display: flex; justify-content: center; padding: 14vh 4% 0; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.search-modal.open { opacity: 1; pointer-events: auto; }
.search-box { width: min(680px, 100%); height: fit-content; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.search-input-row { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 20px; border-bottom: 1px solid var(--border); }
#searchInput { flex: 1; border: none; outline: none; font-size: 15px; padding: 12px 0; font-family: inherit; }
.search-close { width: 44px; height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all .2s; position: relative; }
.search-close::before, .search-close::after { content: ""; position: absolute; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.search-close::before { transform: rotate(45deg); }
.search-close::after { transform: rotate(-45deg); }
.search-close:hover { background: var(--bg-soft); color: var(--primary); }
.search-results { max-height: 52vh; overflow: auto; padding: 14px; }
.search-group { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 1px; padding: 10px 6px 6px; }
.search-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; transition: all .2s;
  font-size: 14px;
}
.search-item:hover { background: var(--primary-light); color: var(--primary); }
.search-item img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; background: var(--bg-soft); }
.search-empty { padding: 26px; text-align: center; color: var(--muted); }

/* ---------- toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(20px); z-index: 300;
  background: var(--primary-dark); color: #fff; padding: 13px 28px; border-radius: 30px; font-size: 14.5px;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .35s; max-width: 90%;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- admin ---------- */

.admin-page { background: var(--bg-soft); min-height: 60vh; }
.admin-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.admin-stats { display: flex; gap: 22px; margin-bottom: 30px; }
.admin-stat {
  flex: 1; background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--border);
  font-size: 40px; font-weight: 800; color: var(--primary);
}
.admin-stat span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.admin-login { max-width: 420px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); }
.admin-login h3 { margin-bottom: 6px; }
.admin-login .hint { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.admin-login input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 8px; margin-bottom: 14px; font-size: 15px; }
.admin-login input:focus { outline: none; border-color: var(--primary); }
.admin-table-wrap { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 28px; overflow: hidden; }
.admin-table-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.admin-table-head small { color: var(--muted); font-weight: 400; font-size: 12px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { background: var(--bg-soft); text-align: left; padding: 12px 14px; color: var(--primary-dark); white-space: nowrap; }
.admin-table td { padding: 12px 14px; border-top: 1px solid var(--border); color: var(--text); }
.admin-table tr:hover td { background: #FAFCFF; }
.admin-table .empty { text-align: center; color: var(--muted); }
.st { padding: 3px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 600; }
.st-new { background: rgba(255, 122, 0, .12); color: var(--accent); }
.st-done { background: rgba(14, 139, 214, .12); color: var(--primary); }
.mini-btn { padding: 5px 12px; border-radius: 6px; font-size: 12.5px; border: 1px solid var(--border); color: var(--primary); background: #fff; transition: all .2s; }
.mini-btn:hover { background: var(--primary); color: #fff; }
.mini-btn.danger:hover { background: #E03131; border-color: #E03131; }
.row-actions { display: flex; gap: 6px; white-space: nowrap; }

/* ---------- 404 ---------- */

.notfound { padding: 140px 0 180px; }
.nf-code { font-size: 120px; font-weight: 800; color: var(--primary-light); line-height: 1; }

/* ---------- reveal animations ---------- */

.reveal { opacity: 0; transform: translateY(30px); transition: all .7s cubic-bezier(.4, 0, .2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-left.visible { transform: translateX(0); }
.reveal.from-right { transform: translateX(40px); }
.reveal.from-right.visible { transform: translateX(0); }
.reveal.scale { transform: scale(0.9); }
.reveal.scale.visible { transform: scale(1); }

/* ---------- parallax ---------- */

.parallax-section { position: relative; overflow: hidden; }
.parallax-bg {
  position: absolute; inset: -20% 0; background-size: cover; background-position: center;
  will-change: transform; transition: transform .1s linear;
}
.parallax-overlay {
  position: absolute; inset: 0; background: linear-gradient(135deg, rgba(46, 154, 219, .85) 0%, rgba(30, 80, 144, .9) 100%);
}

/* ---------- fluid animations ---------- */

.fluid-hover {
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
}
.fluid-hover:hover {
  transform: scale(1.03) translateY(-5px);
}
.bounce-hover {
  transition: all .3s cubic-bezier(.68, -.55, .265, 1.55);
}
.bounce-hover:hover {
  transform: scale(1.08);
}
.rubber-band:hover {
  animation: rubberBand .6s ease;
}
@keyframes rubberBand {
  0% { transform: scale(1); }
  30% { transform: scaleX(1.25) scaleY(0.75); }
  40% { transform: scaleX(0.75) scaleY(1.25); }
  50% { transform: scaleX(1.15) scaleY(0.85); }
  65% { transform: scaleX(0.95) scaleY(1.05); }
  75% { transform: scaleX(1.05) scaleY(0.95); }
  100% { transform: scale(1); }
}
.wobble:hover {
  animation: wobble .8s ease;
}
@keyframes wobble {
  0% { transform: translateX(0); }
  15% { transform: translateX(-10px) rotate(-5deg); }
  30% { transform: translateX(8px) rotate(3deg); }
  45% { transform: translateX(-6px) rotate(-3deg); }
  60% { transform: translateX(4px) rotate(2deg); }
  75% { transform: translateX(-2px) rotate(-1deg); }
  100% { transform: translateX(0); }
}

/* ---------- 3D tilt ---------- */

.tilt-card {
  perspective: 1000px;
  transform-style: preserve-3d;
}
.tilt-card-inner {
  transition: transform .3s ease;
  transform-style: preserve-3d;
}
.tilt-card:hover .tilt-card-inner {
  transform: rotateY(5deg) rotateX(5deg);
}

/* ---------- magnetic button ---------- */

.magnetic { position: relative; }
.magnetic-inner {
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- glow effect ---------- */

.glow-hover {
  position: relative;
}
.glow-hover::before {
  content: ''; position: absolute; inset: -3px; border-radius: inherit;
  background: var(--grad); opacity: 0; filter: blur(12px); transition: opacity .4s; z-index: -1;
}
.glow-hover:hover::before { opacity: .6; }

/* ---------- counter animation ---------- */

.counter-animate {
  display: inline-block;
  transition: all .3s;
}
.counter-animate.counting {
  animation: pulse .3s ease;
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .rnd-grid.big { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flow-row { grid-template-columns: repeat(3, 1fr); }
  .hero-content { grid-template-columns: 1fr; }
  .hero-figure { display: none; }
  .hero { min-height: 520px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 56px 0; }
  .hamburger { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; background: #fff; padding: 12px 6%;
    box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: all .3s; max-height: 0; overflow: hidden;
  }
  body.nav-open .main-nav { opacity: 1; pointer-events: auto; transform: none; max-height: 420px; }
  .nav-link { padding: 11px 15px; font-size: 13px; }
  .nav-link::after { display: none; }
  .header-quote { display: none; }
  .member-btn { display: none; }
  .hero-arrow { display: none; }
  .hero-scroll { display: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .rnd-grid { grid-template-columns: 1fr; }
  .rnd-grid.big { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: 1fr; }
  .detail-grid, .detail-cols, .form-grid, .equip-grid, .about-grid { grid-template-columns: 1fr; }
  .prod-card.small { grid-template-columns: 1fr; }
  .prod-card.small .prod-card-img { height: 150px; }
  .flow-row { grid-template-columns: repeat(2, 1fr); }
  .news-card.wide { flex-direction: column; }
  .news-card.wide .news-date { flex-direction: row; border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .article-nav { flex-direction: column; }
  .nav-btn { max-width: none; }
  .map-label { white-space: normal; width: 86%; text-align: center; }
}
