/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #0066b3;
    --primary-dark: #004d86;
    --secondary: #00a86b;
    --accent: #e74c3c;
    --text-dark: #1a1a2e;
    --text-light: #666;
    --bg-light: #f8fafc;
    --white: #fff;
    --border: #e1e5eb;
    --gold: #f5a623;
}
body { font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif; color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Animations */
@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 float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes bounceIn { 0% { opacity: 0; transform: scale(0.3); } 50% { transform: scale(1.05); } 70% { transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes borderGlow { 0%, 100% { box-shadow: 0 0 5px var(--primary), 0 0 10px var(--primary); } 50% { box-shadow: 0 0 20px var(--primary), 0 0 40px var(--secondary); } }

.animate-fadeInUp { animation: fadeInUp 0.8s ease forwards; }
.animate-fadeInLeft { animation: fadeInLeft 0.8s ease forwards; }
.animate-fadeInRight { animation: fadeInRight 0.8s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-bounceIn { animation: bounceIn 0.6s ease forwards; }
.animate-scaleIn { animation: scaleIn 0.5s ease forwards; }

/* Header */
.header { background: rgba(255,255,255,0.97); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); box-shadow: 0 4px 30px rgba(0,0,0,0.08); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.4s ease; }
.header.scrolled { background: rgba(255,255,255,0.99); box-shadow: 0 8px 40px rgba(0,102,179,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-icon { width: 50px; height: 50px; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.15); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); background: linear-gradient(135deg, #e8f4fc, #d4eaf5); }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.logo:hover .logo-icon { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.logo-text h1 { font-size: 22px; color: var(--primary); font-weight: 800; letter-spacing: 2px; }
.logo-text span { font-size: 12px; color: var(--text-light); letter-spacing: 1px; }

.nav { display: flex; gap: 40px; }
.nav a { font-size: 15px; color: var(--text-dark); font-weight: 600; padding: 10px 5px; position: relative; transition: all 0.3s; letter-spacing: 0.5px; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 3px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform: translateX(-50%); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 10px; }
.menu-toggle span { width: 28px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 3px; transition: all 0.3s; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* Hero */
.hero { background: linear-gradient(-45deg, #004d86, #0066b3, #0099cc, #00d4aa); background-size: 400% 400%; animation: gradientShift 15s ease infinite; color: var(--white); padding: 180px 0 140px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.6; }
.hero::after { content: ''; position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%); width: 250%; height: 120px; background: var(--white); border-radius: 50% 50% 0 0; }
.hero h2 { font-size: 56px; margin-bottom: 25px; font-weight: 800; letter-spacing: 4px; position: relative; z-index: 1; text-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.hero p { font-size: 22px; opacity: 0.95; max-width: 750px; margin: 0 auto 50px; position: relative; z-index: 1; font-weight: 300; }
.hero-btns { display: flex; gap: 25px; justify-content: center; position: relative; z-index: 1; }
.hero-btn { display: inline-block; background: linear-gradient(135deg, var(--secondary), #00c77b); color: var(--white); padding: 18px 50px; border-radius: 50px; font-weight: 700; font-size: 17px; letter-spacing: 2px; box-shadow: 0 12px 40px rgba(0,168,107,0.5); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.hero-btn:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 20px 60px rgba(0,168,107,0.6); }
.hero-btn-outline { background: transparent; border: 3px solid rgba(255,255,255,0.6); }
.hero-btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.float-deco { position: absolute; font-size: 80px; opacity: 0.15; animation: float 6s ease-in-out infinite; }
.float-deco:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.float-deco:nth-child(2) { top: 25%; right: 8%; animation-delay: 1s; }
.float-deco:nth-child(3) { bottom: 30%; left: 15%; animation-delay: 2s; }
.float-deco:nth-child(4) { bottom: 20%; right: 12%; animation-delay: 0.5s; }

/* Section */
.section { padding: 100px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f0f7ff 100%); }
.section-title { text-align: center; margin-bottom: 70px; }
.section-title h2 { font-size: 42px; color: var(--text-dark); margin-bottom: 18px; font-weight: 800; letter-spacing: 3px; }
.section-title p { color: var(--text-light); font-size: 20px; font-weight: 300; }
.section-title::after { content: ''; display: block; width: 100px; height: 5px; background: linear-gradient(90deg, var(--primary), var(--secondary)); margin: 25px auto 0; border-radius: 5px; }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Card Grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 35px; }
.card { background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: 0 15px 50px rgba(0,102,179,0.1); transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.card:hover { transform: translateY(-20px) scale(1.02); box-shadow: 0 40px 100px rgba(0,102,179,0.25); }
.card-img { height: 220px; background: linear-gradient(135deg, #e8f4fc, #d4eaf5); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 70px; }
.card-body { padding: 30px; }
.card-body h3 { font-size: 22px; margin-bottom: 15px; font-weight: 700; }
.card-body p { font-size: 16px; color: var(--text-light); line-height: 1.8; }

/* Product Card */
.product-card { background: var(--white); border-radius: 20px; overflow: hidden; border: 2px solid transparent; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.product-card:hover { transform: translateY(-12px) scale(1.03); box-shadow: 0 25px 60px rgba(0,102,179,0.2); }
.product-img { height: 200px; display: flex; align-items: center; justify-content: center; padding: 0; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 25px; }
.product-info h3 { font-size: 19px; margin-bottom: 12px; font-weight: 700; }
.product-info .category { display: inline-block; font-size: 13px; color: var(--secondary); background: linear-gradient(135deg, #e8f5f1, #d4f0e8); padding: 6px 16px; border-radius: 25px; margin-bottom: 12px; font-weight: 600; }
.product-info .desc { font-size: 15px; color: var(--text-light); line-height: 1.7; }

/* Filter Bar */
.filter-bar { display: flex; gap: 18px; justify-content: center; margin-bottom: 60px; flex-wrap: wrap; }
.filter-btn { padding: 14px 35px; border: 3px solid var(--primary); border-radius: 50px; background: var(--white); color: var(--primary); cursor: pointer; font-size: 15px; font-weight: 700; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.filter-btn:hover, .filter-btn.active { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--white); border-color: transparent; transform: translateY(-4px); box-shadow: 0 12px 35px rgba(0,102,179,0.4); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 35px; }

/* Timeline */
.timeline { position: relative; padding-left: 50px; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--primary), var(--secondary)); border-radius: 6px; }
.timeline-item { position: relative; margin-bottom: 50px; padding: 30px 40px; background: var(--white); border-radius: 20px; box-shadow: 0 15px 50px rgba(0,102,179,0.1); transition: all 0.5s; border-left: 5px solid transparent; }
.timeline-item:hover { transform: translateX(15px); border-left-color: var(--primary); box-shadow: 0 25px 70px rgba(0,102,179,0.15); }
.timeline-item::before { content: ''; position: absolute; left: -50px; top: 35px; width: 26px; height: 26px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border: 5px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 5px rgba(0,102,179,0.2); }
.timeline-item h4 { font-size: 22px; color: var(--primary); margin-bottom: 10px; font-weight: 700; }
.timeline-item p { font-size: 16px; color: var(--text-light); line-height: 1.8; }

/* Qualification */
.qualification-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 35px; }
.qualification-card { background: var(--white); border-radius: 24px; overflow: hidden; border: 2px solid var(--border); transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.qualification-card:hover { transform: translateY(-12px); border-color: var(--primary); box-shadow: 0 30px 80px rgba(0,102,179,0.2); }
.qualification-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); padding: 35px; display: flex; align-items: center; gap: 22px; }
.qualification-icon { width: 65px; height: 65px; background: rgba(255,255,255,0.25); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.qualification-header h3 { font-size: 22px; font-weight: 700; }
.qualification-body { padding: 35px; }
.qualification-body p { color: var(--text-light); font-size: 16px; line-height: 1.8; margin-bottom: 25px; }
.qualification-info { background: linear-gradient(135deg, #f8fafc, #f0f4f8); padding: 25px; border-radius: 16px; border: 1px solid var(--border); }
.qualification-info p { margin: 0 0 12px 0; font-size: 15px; }
.qualification-info strong { color: var(--text-dark); font-weight: 600; }
.license-showcase { background: var(--white); border-radius: 24px; padding: 40px; box-shadow: 0 15px 50px rgba(0,102,179,0.1); margin-bottom: 60px; border: 2px solid var(--border); }
.license-showcase h3 { font-size: 28px; color: var(--text-dark); margin-bottom: 30px; text-align: center; font-weight: 700; }
.license-img-wrapper { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.license-img-wrapper img { width: 100%; height: auto; display: block; }

/* Contact */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact-info h3 { font-size: 32px; color: var(--text-dark); margin-bottom: 35px; font-weight: 800; }
.contact-item { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 28px; padding: 28px; background: var(--white); border-radius: 20px; border: 2px solid var(--border); transition: all 0.4s; }
.contact-item:hover { border-color: var(--primary); transform: translateX(10px); box-shadow: 0 15px 50px rgba(0,102,179,0.12); }
.contact-icon { width: 55px; height: 55px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 26px; box-shadow: 0 8px 25px rgba(0,102,179,0.3); }
.contact-text h4 { font-size: 14px; color: var(--text-light); margin-bottom: 6px; font-weight: 500; }
.contact-text p { font-size: 17px; color: var(--text-dark); font-weight: 600; }
.contact-form { background: linear-gradient(145deg, #f8fafc, #fff); padding: 45px; border-radius: 28px; border: 2px solid var(--border); box-shadow: 0 20px 60px rgba(0,102,179,0.1); }
.form-group { margin-bottom: 28px; }
.form-group label { display: block; font-size: 15px; margin-bottom: 12px; color: var(--text-dark); font-weight: 700; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 16px 22px; border: 2px solid var(--border); border-radius: 14px; font-size: 16px; transition: all 0.4s; background: var(--white); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 5px rgba(0,102,179,0.15); }
.form-group textarea { resize: vertical; min-height: 150px; }
.btn-submit { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); border: none; padding: 18px 55px; border-radius: 14px; font-size: 17px; font-weight: 700; cursor: pointer; transition: all 0.4s; box-shadow: 0 10px 35px rgba(0,102,179,0.4); width: 100%; }
.btn-submit:hover { transform: translateY(-5px); box-shadow: 0 20px 55px rgba(0,102,179,0.5); }

/* Footer */
.footer { background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%); color: var(--white); padding: 80px 0 35px; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 55px; margin-bottom: 55px; }
.footer-about h3 { font-size: 24px; margin-bottom: 22px; font-weight: 800; }
.footer-about p { font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.9; }
.footer h4 { font-size: 19px; margin-bottom: 28px; font-weight: 700; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 4px; }
.footer ul li { margin-bottom: 14px; }
.footer ul li a { color: rgba(255,255,255,0.65); font-size: 15px; transition: all 0.3s; display: inline-block; }
.footer ul li a:hover { color: var(--white); transform: translateX(8px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 35px; text-align: center; font-size: 14px; color: rgba(255,255,255,0.45); }

/* Responsive */
@media (min-width: 1400px) { .container { padding: 0 60px; } .section-title h2 { font-size: 48px; } }
@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,255,255,0.99); backdrop-filter: blur(25px); flex-direction: column; padding: 28px; gap: 22px; box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
    .nav.active { display: flex; }
    .menu-toggle { display: flex; }
    .hero { padding: 150px 0 110px; }
    .hero h2 { font-size: 36px; }
    .hero p { font-size: 17px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .section { padding: 70px 0; }
    .section-title h2 { font-size: 32px; }
}
@media (max-width: 480px) {
    .card-grid { grid-template-columns: 1fr; }
    .qualification-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .filter-btn { padding: 12px 25px; font-size: 13px; }
}
