
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blue: #1565c0;
    --blue-dark: #0d47a1;
    --blue-light: #1976d2;
    --cyan: #00b8d4;
    --orange: #ff6f00;
    --red: #c62828;
    --white: #ffffff;
    --gray-light: #f5f7fa;
    --gray: #666;
    --text: #333;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text);
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: #388fec;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 40px; height: 56px;
    backdrop-filter: blur(8px);
    animation: slideDown .6s ease;
  }
  @keyframes slideDown { from{transform:translateY(-100%);opacity:0} to{transform:translateY(0);opacity:1} }

  .nav-logo {
    color: #fff; font-weight: 900; font-size: 20px; letter-spacing: 2px;
  }
  .nav-logo img { 
    width: 100px;
  }

  nav ul { display: flex; gap: 32px; list-style: none; }
  nav ul li a {
    color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px;
    position: relative; padding-bottom: 4px; transition: color .3s;
  }
  nav ul li a::after {
    content:''; position:absolute; bottom:0; left:0; width:0; height:2px;
    background: var(--cyan); transition: width .3s;
  }
  nav ul li a:hover { color:#fff; }
  nav ul li a:hover::after { width:100%; }

  /* ── HERO ── */
  .hero {
    position: relative;   height: 600px;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1976d2 70%, #0288d1 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; overflow: hidden; padding-top: 56px;
  }

  .hero::before {
    height: 600px;
    content: '';
    position: absolute; inset: 0;
    background: url("images/bg.jpg") no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
  }

  /* Animated background lines */
  .hero-lines {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  }
  .hero-lines span {
    position: absolute; display: block;
    width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.15), transparent);
    animation: lineFlow 4s linear infinite;
  }
  .hero-lines span:nth-child(1) { left:10%; height:100%; animation-duration:4s; }
  .hero-lines span:nth-child(2) { left:25%; height:60%; top:20%; animation-duration:5s; animation-delay:.5s; }
  .hero-lines span:nth-child(3) { left:50%; height:80%; animation-duration:6s; animation-delay:1s; }
  .hero-lines span:nth-child(4) { left:75%; height:100%; animation-duration:4.5s; animation-delay:1.5s; }
  .hero-lines span:nth-child(5) { left:90%; height:70%; top:10%; animation-duration:5.5s; animation-delay:2s; }
  @keyframes lineFlow { 0%{opacity:0;transform:translateY(-100%)} 50%{opacity:1} 100%{opacity:0;transform:translateY(100%)} }

  .hero-mascot {
    width: 120px; margin-bottom: 24px;
    animation: mascotFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,.3));
  }
  @keyframes mascotFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

  .hero h1 {
    color: #fff; font-size: clamp(28px, 4vw, 52px); font-weight: 900;
    line-height: 1.3; margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,.2);
    animation: fadeUp .8s .2s both;
  }
  .hero h1 span { color: var(--cyan); }

  .hero-sub {
    color: rgba(255,255,255,.8); font-size: 18px; margin-bottom: 32px;
    animation: fadeUp .8s .4s both;
  }

  .hero-title-block {
    margin-top: 32px;
    animation: fadeUp .8s .6s both;
  }
  .hero-title-block h2 {
    color: #fff; font-size: 26px; font-weight: 700; margin-bottom: 8px;
  }
  .hero-title-block p { color: var(--cyan); font-size: 15px; letter-spacing: 4px; }

  .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--cyan); color: #fff; border: none;
    padding: 12px 32px; border-radius: 30px; font-size: 15px; font-weight: 700;
    cursor: pointer; text-decoration: none;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 4px 20px rgba(0,184,212,.4);
    animation: fadeUp .8s .5s both;
  }
  .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,184,212,.5); }
  .btn-primary::after { content: '→'; }

  @keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }

  /* Scroll indicator */
  .scroll-indicator {
    position: absolute; bottom: 30px; left:50%; transform:translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,.6); font-size: 12px;
    animation: fadeUp 1s 1s both;
  }
  .scroll-indicator .dot {
    width: 6px; height: 6px; background: var(--cyan); border-radius: 50%;
    animation: bounce 1.5s ease-in-out infinite;
  }
  @keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

  /* ── SECTION WRAPPER ── */
  section { padding: 80px 0; }
  .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

  .section-title {
    text-align: center; margin-bottom: 48px;
  }
  .section-title h2 {
    font-size: 30px; font-weight: 900; color: var(--text); margin-bottom: 12px;
    position: relative; display: inline-block;
  }
  .section-title h2::after {
    content: ''; display: block; width: 50px; height: 3px;
    background: var(--cyan); margin: 12px auto 0;
    border-radius: 2px;
  }
  .section-title p { color: var(--gray); font-size: 14px; letter-spacing: 2px; }

  /* ── ABOUT ── */
  .about { background: #fff; }
  .about-card {
    display: flex; gap: 40px; align-items: center;
    background: #fff; border-radius: 12px;
    box-shadow: 0 4px 40px rgba(0,0,0,.08);
    padding: 40px; overflow: hidden;
    transition: transform .4s, box-shadow .4s;
  }
  .about-card:hover { transform: translateY(-4px); box-shadow: 0 12px 50px rgba(0,0,0,.12); }

  .about-logo {
    flex-shrink: 0; width: 180px; height: 140px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; font-weight: 900; color: #fff; letter-spacing: 2px;
  }

  .about-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
  .about-content p { color: var(--gray); line-height: 1.8; font-size: 14px; margin-bottom: 20px; }

  .btn-sm {
    display: inline-block; background: var(--cyan); color:#fff;
    padding: 8px 24px; border-radius: 20px; font-size: 13px; text-decoration: none;
    transition: background .3s, transform .3s;
  }
  .btn-sm:hover { background: var(--blue); transform: translateX(4px); }

  /* ── SERVICES GRID ── */
  .services { background: var(--gray-light); }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 12px;
  }

  .service-item {
    position: relative; border-radius: 10px; overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, #1565c0, #0288d1);
    display: flex; align-items: flex-end;
    transition: transform .3s;
  }
  .service-item:hover { transform: scale(1.02); }
  .service-item:hover .service-overlay { opacity: .8; }
  .service-item:hover .service-label { letter-spacing: 4px; }

  /* Special layout spans */
  .service-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .service-item:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
  .service-item:nth-child(3) { grid-column: 3; grid-row: 1; }
  .service-item:nth-child(4) { grid-column: 1; grid-row: 2; }
  .service-item:nth-child(5) { grid-column: 3; grid-row: 2; }

  .service-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform .5s;
  }
  .service-item:hover .service-bg { transform: scale(1.06); }

  /* Placeholder colors for images */
  .service-item:nth-child(1) .service-bg { background-color: #1a237e; background-image: linear-gradient(135deg,#1a237e,#283593); }
  .service-item:nth-child(2) .service-bg { background-color: #004d40; background-image: linear-gradient(135deg,#1b5e20,#2e7d32); }
  .service-item:nth-child(3) .service-bg { background-color: #1565c0; background-image: linear-gradient(135deg,#1565c0,#0288d1); }
  .service-item:nth-child(4) .service-bg { background-color: #4a148c; background-image: linear-gradient(135deg,#4a148c,#6a1b9a); }
  .service-item:nth-child(5) .service-bg { background-color: #bf360c; background-image: linear-gradient(135deg,#bf360c,#e64a19); }

  .service-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
    transition: opacity .3s;
  }

  .service-label {
    position: relative; z-index: 2;
    color: #fff; font-size: 16px; font-weight: 700;
    padding: 16px 20px; letter-spacing: 2px;
    transition: letter-spacing .3s;
  }

  /* Grid icons */
  .service-icon {
    position: absolute; top: 16px; left: 20px; z-index: 2;
    font-size: 28px; opacity: .6;
  }

  /* ── TECH SERVICES ── */
  .tech { background: #fff; }
  .tech-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  .tech-card {
    background: #fff; border: 1px solid #eee; border-radius: 12px;
    padding: 36px 28px; text-align: center;
    transition: transform .4s, box-shadow .4s, border-color .4s;
    position: relative; overflow: hidden;
  }
  .tech-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--cyan); transform: scaleX(0); transform-origin: left;
    transition: transform .4s;
  }
  .tech-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.1); border-color: transparent; }
  .tech-card:hover::before { transform: scaleX(1); }

  .tech-icon {
    width: 64px; height: 64px; margin: 0 auto 20px;
    background: rgba(0,184,212,.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
    transition: background .3s, transform .3s;
  }
  .tech-card:hover .tech-icon { background: var(--cyan); transform: rotate(10deg); }
  .tech-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
  .tech-card p { color: var(--gray); font-size: 13px; line-height: 1.8; }

  /* ── CASES ── */
  .cases { background: var(--gray-light); }

  .case-slider {
    position: relative; overflow: hidden; border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,.12);
  }
  .case-slide {
    height: 400px;
    background: linear-gradient(135deg, #b71c1c, #c62828, #e53935);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }

  .case-slide-content {
    text-align: center; color: #fff; z-index: 2;
  }
  .case-slide-content h3 { font-size: 36px; font-weight: 900; margin-bottom: 8px; }
  .case-slide-content p { font-size: 16px; opacity: .8; }

  /* Decorative elements */
  .case-deco {
    position: absolute; inset: 0; overflow: hidden;
  }
  .case-deco::before {
    content: ''; position: absolute;
    width: 300px; height: 300px; background: rgba(255,255,255,.05);
    border-radius: 50%; right: -80px; top: -80px;
  }
  .case-deco::after {
    content: ''; position: absolute;
    width: 200px; height: 200px; background: rgba(255,255,255,.05);
    border-radius: 50%; left: -50px; bottom: -50px;
  }

  .case-nav {
    display: flex; justify-content: center; gap: 10px; margin-top: 20px;
  }
  .case-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #ccc; border: none; cursor: pointer;
    transition: background .3s, transform .3s;
  }
  .case-dot.active { background: var(--cyan); transform: scale(1.3); }

  /* ── COOPERATION ── */
  .coop { background: var(--blue-dark); padding: 80px 0; }
  .coop-title {
    text-align: center; margin-bottom: 48px;
  }
  .coop-title h2 {
    font-size: 40px; font-weight: 900; color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.2);
    letter-spacing: 4px; margin-bottom: 16px;
  }
  .coop-title .zh { color: #fff; font-size: 28px; -webkit-text-stroke: none; }

  .coop-steps {
    display: flex; justify-content: center; align-items: flex-start;
    gap: 0; flex-wrap: wrap;
  }
  .coop-step {
    flex: 1; min-width: 150px; text-align: center; padding: 20px;
    position: relative; color: #fff;
    opacity: 0; transform: translateY(20px);
    transition: opacity .5s, transform .5s;
  }
  .coop-step.visible { opacity: 1; transform: translateY(0); }
  .coop-step:not(:last-child)::after {
    content: '→'; position: absolute; right: -10px; top: 28px;
    color: var(--cyan); font-size: 20px;
  }
  .coop-step-icon {
    width: 60px; height: 60px; margin: 0 auto 16px;
    background: rgba(255,255,255,.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; border: 1px solid rgba(255,255,255,.2);
    transition: background .3s, transform .3s;
  }
  .coop-step:hover .coop-step-icon {
    background: var(--cyan); transform: scale(1.1);
  }
  .coop-step p { font-size: 13px; opacity: .8; margin-top: 6px; }

  /* ── PARTNERS ── */
  .partners { background: #fff; }

  .partners-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  }
  .partner-card {
    border-radius: 10px; overflow: hidden; position: relative;
    height: 160px; cursor: pointer;
    transition: transform .4s, box-shadow .4s;
  }
  .partner-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,.15); }

  .partner-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    transition: transform .5s;
  }
  .partner-card:hover .partner-bg { transform: scale(1.08); }

  .partner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 50%);
  }
  .partner-name {
    position: absolute; bottom: 12px; left: 16px; z-index: 2;
    color: #fff; font-size: 14px; font-weight: 700;
  }

  /* Partner colors */
  .partner-card:nth-child(1) .partner-bg { background: linear-gradient(135deg, #c62828, #e53935); }
  .partner-card:nth-child(2) .partner-bg { background: linear-gradient(135deg, #1565c0, #1976d2); }
  .partner-card:nth-child(3) .partner-bg { background: linear-gradient(135deg, #e65100, #f57c00); }
  .partner-card:nth-child(4) .partner-bg { background: linear-gradient(135deg, #2e7d32, #388e3c); }
  .partner-card:nth-child(5) .partner-bg { background: linear-gradient(135deg, #6a1b9a, #7b1fa2); }
  .partner-card:nth-child(6) .partner-bg { background: linear-gradient(135deg, #0277bd, #0288d1); }

  /* ── FOOTER ── */
  footer {
    background: #1a1a2e; color: rgba(255,255,255,.7);
    padding: 60px 0 30px;
  }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
    margin-bottom: 40px;
  }
  .footer-logo { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 16px; }
  .footer-logo span { color: var(--cyan); }
  .footer-info p { font-size: 13px; line-height: 2; }
  .footer-info a { color: var(--cyan); text-decoration: none; }

  .footer-col h4 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 15px; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-col ul li a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 13px; transition: color .3s; }
  .footer-col ul li a:hover { color: var(--cyan); }

  .footer-qr {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
  }
  .qr-box {
    width: 80px; height: 80px; background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
  }
  .footer-form { display: flex; flex-direction: column; gap: 10px; }
  .footer-form input {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px; padding: 8px 14px; color: #fff; font-size: 13px;
    outline: none; transition: border-color .3s;
  }
  .footer-form input::placeholder { color: rgba(255,255,255,.4); }
  .footer-form input:focus { border-color: var(--cyan); }
  .footer-form button {
    background: var(--cyan); color: #fff; border: none;
    padding: 10px; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 700;
    transition: background .3s;
  }
  .footer-form button:hover { background: var(--blue-light); }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 24px; text-align: center; font-size: 12px;
    color: rgba(255,255,255,.4);
  }

  /* ── SCROLL ANIMATIONS ── */
  .animate-on-scroll {
    opacity: 0; transform: translateY(30px);
    transition: opacity .7s, transform .7s;
  }
  .animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

  /* Stats bar */
  .stats {
    background: var(--blue-dark);
    padding: 30px 0;
  }
  .stats-inner {
    display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;
  }
  .stat-item { text-align: center; color: #fff; }
  .stat-num {
    font-size: 42px; font-weight: 900; color: var(--cyan);
    display: block; line-height: 1;
  }
  .stat-label { font-size: 13px; opacity: .8; margin-top: 4px; }

  /* Counter animation */
  .counter { display: inline-block; }

  @media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .tech-cards { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .service-item:nth-child(2) { grid-column: auto; grid-row: auto; }
    .partners-grid { grid-template-columns: 1fr 1fr; }
    .coop-steps { flex-wrap: wrap; }
  }
