/* Global reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #333; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: #0056b3; text-decoration: none; }
a:hover { color: #003d82; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* Buttons */
.btn-primary { display: inline-block; padding: 12px 32px; background: #0056b3; color: #fff; border-radius: 6px; font-size: 16px; transition: background .3s; }
.btn-primary:hover { background: #003d82; color: #fff; }
.btn-outline { display: inline-block; padding: 12px 32px; border: 2px solid #0056b3; color: #0056b3; border-radius: 6px; font-size: 16px; transition: all .3s; }
.btn-outline:hover { background: #0056b3; color: #fff; }
.btn-link { display: inline-block; margin-top: 20px; color: #0056b3; font-weight: 600; }
.btn-link:hover { text-decoration: underline; }

/* Header - basic */
header { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo img { height: 40px; }
header nav ul { display: flex; gap: 24px; }
header nav a { color: #333; font-size: 15px; padding: 8px 0; }
header nav a:hover { color: #0056b3; }
.head-tel a { color: #e60012; font-size: 20px; font-weight: 700; }

/* Hero section */
.hero { background: linear-gradient(135deg, #003d82 0%, #0056b3 50%, #0077be 100%); color: #fff; text-align: center; padding: 80px 20px 60px; }
.hero h1 { font-size: 36px; margin-bottom: 12px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-sub { font-size: 18px; color: #a8d8ff; margin-bottom: 8px; }
.hero-desc { font-size: 16px; color: #c8e6ff; margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-stats { display: flex; justify-content: center; gap: 40px; margin-bottom: 32px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 32px; font-weight: 800; }
.stat span { font-size: 14px; color: #a8d8ff; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn-primary { background: #fff; color: #0056b3; }
.hero-cta .btn-primary:hover { background: #e8f4ff; }
.hero-cta .btn-outline { border-color: #fff; color: #fff; }
.hero-cta .btn-outline:hover { background: rgba(255,255,255,.15); }

/* Section common */
section { padding: 60px 20px; }
section h2 { font-size: 28px; text-align: center; margin-bottom: 12px; color: #003d82; }
.section-desc { text-align: center; color: #666; margin-bottom: 40px; font-size: 16px; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.product-card { display: block; background: #f8f9fa; border: 1px solid #e8e8e8; border-radius: 8px; padding: 28px; transition: all .3s; }
.product-card:hover { border-color: #0056b3; box-shadow: 0 4px 16px rgba(0,86,179,.1); transform: translateY(-2px); }
.product-card h3 { font-size: 18px; color: #003d82; margin-bottom: 8px; }
.product-card p { color: #666; font-size: 14px; line-height: 1.5; }
.product-card-more { border: 2px dashed #ccc; background: transparent; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.product-card-more h3 { font-size: 20px; }

/* Solutions */
.solution-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.solution-item { display: block; background: #f0f7ff; border-left: 4px solid #0056b3; border-radius: 6px; padding: 24px; transition: all .3s; }
.solution-item:hover { background: #e0eeff; }
.solution-item h3 { font-size: 18px; color: #003d82; margin-bottom: 8px; }
.solution-item p { color: #555; font-size: 14px; }

/* Case highlight */
.case-highlight { background: #f8f9fa; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; text-align: left; }
.case-card { background: #fff; border-radius: 8px; padding: 24px; border: 1px solid #e8e8e8; }
.case-tag { display: inline-block; padding: 2px 10px; border-radius: 3px; font-size: 12px; background: #e0eeff; color: #0056b3; margin-bottom: 12px; }
.case-card h3 { font-size: 16px; margin-bottom: 8px; }
.case-card p { color: #666; font-size: 14px; }
.case-highlight .btn-link { display: block; text-align: center; }

/* About preview */
.about-preview { text-align: center; max-width: 800px; margin: 0 auto; }
.about-preview p { margin-bottom: 16px; color: #555; }

/* Floating bar - diyos */
.diyos { position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 999; }
.diyos ul li { position: relative; width: 100px; margin-bottom: 1px; }
.diyos ul li a { display: block; background: rgba(0,86,179,.85); color: #fff; text-align: center; padding: 10px 5px; font-size: 13px; transition: background .3s; }
.diyos ul li a:hover { background: #0056b3; width: 140px; }
.diyos ul li a img { display: block; margin: 0 auto 4px; width: 24px; height: 24px; }
.diyos .sidebox { line-height: 1.3; }
.diyos .sidebox img { display: inline; vertical-align: middle; margin-right: 4px; }
.sideewm .sideewmshow { display: none; position: absolute; right: 105px; top: 0; width: 120px; border: 2px solid #0056b3; background: #fff; padding: 4px; }
.sideewm:hover .sideewmshow { display: block; }
.sidetop img { width: 20px; }

/* Mobile bottom bar */
.footer-bottom { display: none; }
@media (max-width: 768px) {
  .hidden-xs { display: none !important; }
  .visible-xs { display: flex !important; }
  .footer-bottom { position: fixed; bottom: 0; left: 0; right: 0; display: flex; z-index: 999; background: #fff; border-top: 1px solid #ddd; }
  .footer-bottom a { flex: 1; text-align: center; padding: 12px; color: #333; font-size: 14px; }
  .footer-bottom a:first-child { border-right: 1px solid #ddd; }
  .product-grid { grid-template-columns: 1fr; }
  .solution-list { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero h1 { font-size: 24px; }
}

/* Footer */
footer { background: #1a1a2e; color: #ccc; padding-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 30px; border-bottom: 1px solid #333; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: #999; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-contact p { margin-bottom: 8px; font-size: 14px; }
.footer-contact a { color: #a8d8ff; }
.footer-qr { width: 100px; margin-top: 12px; }
.footer-bottom-bar { padding: 16px 0; text-align: center; font-size: 13px; color: #666; }
.footer-bottom-bar a { color: #888; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eee; padding: 16px 0; }
.faq-item h3 { font-size: 16px; cursor: pointer; color: #003d82; }
.faq-item p { margin-top: 8px; color: #555; font-size: 14px; }

/* Breadcrumb */
.breadcrumb { padding: 12px 0; font-size: 13px; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #0056b3; }

/* Page header */
.page-header { background: linear-gradient(135deg, #003d82, #0056b3); color: #fff; text-align: center; padding: 50px 20px; }
.page-header h1 { font-size: 30px; margin-bottom: 8px; }
.page-header p { color: #a8d8ff; font-size: 16px; }

/* Content area */
.content-area { max-width: 900px; margin: 0 auto; padding: 40px 20px; }
.content-area h2 { font-size: 24px; margin: 32px 0 16px; text-align: left; color: #003d82; }
.content-area h3 { font-size: 20px; margin: 24px 0 12px; color: #0056b3; }
.content-area p { margin-bottom: 16px; color: #444; line-height: 1.8; }
.content-area ul, .content-area ol { margin: 16px 0; padding-left: 24px; }
.content-area li { margin-bottom: 8px; color: #444; }
.content-area table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.content-area th, .content-area td { border: 1px solid #ddd; padding: 10px; text-align: left; }
.content-area th { background: #f0f7ff; font-weight: 600; }
.content-area blockquote { margin: 20px 0; padding: 16px 20px; background: #f8f9fa; border-left: 4px solid #0056b3; color: #555; }
.content-area img { border-radius: 8px; margin: 20px 0; }

/* Header dropdown nav */
.has-dropdown { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #eee; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.12); min-width: 200px; z-index: 200; padding: 8px 0; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown li { margin: 0; }
.dropdown a { display: block; padding: 8px 20px; font-size: 14px; color: #333; white-space: nowrap; }
.dropdown a:hover { background: #f0f7ff; color: #0056b3; }
.head-actions { display: flex; align-items: center; gap: 16px; }
.btn-apply { display: inline-block; padding: 8px 20px; background: #e60012; color: #fff; border-radius: 4px; font-size: 14px; transition: background .3s; }
.btn-apply:hover { background: #c0000e; color: #fff; }

/* Product tags */
.product-tags { margin-top: 8px; font-size: 12px; color: #0056b3; background: #f0f7ff; padding: 4px 8px; border-radius: 3px; display: inline-block; }

/* Cloud platform section */
.cloud-platform { background: #f0f7ff; }
.cloud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.cloud-card { display: block; background: #fff; border: 2px solid #c8e0f5; border-radius: 12px; padding: 32px 24px; text-align: center; transition: all .3s; }
.cloud-card:hover { border-color: #0056b3; box-shadow: 0 4px 20px rgba(0,86,179,.15); transform: translateY(-2px); }
.cloud-card h3 { font-size: 20px; color: #003d82; margin-bottom: 12px; }
.cloud-card p { font-size: 13px; color: #666; line-height: 1.6; }

/* Partners section */
.partners-section { background: #f8f9fa; }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.partner-item { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 20px; display: flex; align-items: center; justify-content: center; min-height: 80px; }
.partner-item img { max-height: 50px; max-width: 100%; object-fit: contain; }
.partner-item span { font-size: 15px; color: #333; font-weight: 600; }
.partner-grid-page { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin: 30px 0; }
.partner-item-page { background: #f8f9fa; border: 1px solid #eee; border-radius: 8px; padding: 24px; display: flex; align-items: center; justify-content: center; min-height: 90px; }
.partner-item-page img { max-height: 60px; max-width: 100%; object-fit: contain; }
.partner-item-page span { font-size: 16px; color: #333; font-weight: 600; }

/* CTA section */
.cta-section { background: linear-gradient(135deg, #003d82, #0056b3); color: #fff; text-align: center; }
.cta-section h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.cta-section p { color: #c8e6ff; margin-bottom: 24px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-buttons .btn-primary { background: #fff; color: #0056b3; }
.cta-buttons .btn-primary:hover { background: #e8f4ff; }
.cta-buttons .btn-outline { border-color: #fff; color: #fff; }
.cta-buttons .btn-outline:hover { background: rgba(255,255,255,.15); }

/* About sub navigation */
.about-subnav { display: flex; gap: 0; border-bottom: 2px solid #eee; margin-bottom: 30px; padding-bottom: 0; flex-wrap: wrap; }
.about-subnav a { padding: 10px 20px; font-size: 15px; color: #666; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .3s; }
.about-subnav a:hover { color: #0056b3; }
.about-subnav a.active { color: #0056b3; border-bottom-color: #0056b3; font-weight: 600; }

/* Cert grid */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 20px 0; }
.cert-item { text-align: center; background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; padding: 16px; transition: all .3s; }
.cert-item:hover { border-color: #0056b3; box-shadow: 0 4px 16px rgba(0,86,179,.12); transform: translateY(-2px); }
.cert-img-wrap { background: #f8f9fa; border-radius: 6px; padding: 12px; margin-bottom: 10px; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cert-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.cert-item p { font-size: 13px; color: #333; margin-top: 8px; line-height: 1.4; }
.cert-category { margin-bottom: 40px; }
.cert-category-header { margin-bottom: 20px; }
.cert-category-header h2 { font-size: 22px; color: #003d82; text-align: left; margin-bottom: 4px; border-left: 4px solid #0056b3; padding-left: 12px; }
.cert-category-header p { color: #888; font-size: 14px; text-align: left; margin-left: 16px; }
.cert-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 30px 0; }
.cert-summary-item { text-align: center; padding: 20px 12px; background: linear-gradient(135deg, #f0f7ff, #e0eeff); border-radius: 8px; }
.cert-summary-item strong { display: block; font-size: 16px; color: #003d82; margin-bottom: 4px; }
.cert-summary-item span { font-size: 13px; color: #666; }
.cert-honor-list { margin-top: 40px; padding: 24px; background: #f8f9fa; border-radius: 8px; }
.cert-honor-list h2 { font-size: 22px; color: #003d82; text-align: left; margin-bottom: 16px; border-left: 4px solid #0056b3; padding-left: 12px; }
.cert-honor-list ul { columns: 2; column-gap: 24px; }
.cert-honor-list li { margin-bottom: 10px; color: #444; font-size: 14px; line-height: 1.6; break-inside: avoid; }

/* Strength grid */
.strength-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 30px 0; }
.strength-card { background: #f0f7ff; border-radius: 8px; padding: 24px; border-left: 4px solid #0056b3; }
.strength-card h3 { color: #003d82; margin-bottom: 8px; }
.strength-card p { color: #555; font-size: 14px; line-height: 1.6; margin: 0; }

/* Vision highlight */
.vision-highlight { background: linear-gradient(135deg, #f0f7ff, #e0eeff); border-radius: 12px; padding: 40px; text-align: center; margin: 30px 0; }
.vision-highlight p { font-size: 20px; color: #003d82; font-weight: 600; margin: 8px 0; }

/* Timeline */
.timeline { border-left: 3px solid #0056b3; padding-left: 24px; margin: 30px 0; }
.timeline-item { margin-bottom: 24px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -31px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #0056b3; }
.timeline-item strong { display: block; font-size: 20px; color: #0056b3; margin-bottom: 4px; }
.timeline-item p { color: #555; margin: 0; }

/* Footer links */
.footer-links { padding: 20px 0 10px; border-top: 1px solid #333; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.footer-links span { color: #999; }
.footer-links a { color: #777; }
.footer-links a:hover { color: #fff; }
.footer-qr-row { display: flex; gap: 16px; margin-top: 12px; }
.footer-qr-item { text-align: center; }
.footer-qr-item span { display: block; font-size: 12px; color: #999; margin-top: 4px; }

/* Mobile responsive additions */
@media (max-width: 768px) {
  .cloud-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-grid-page { grid-template-columns: repeat(3, 1fr); }
  .strength-grid { grid-template-columns: 1fr; }
  .about-subnav { gap: 0; }
  .about-subnav a { padding: 8px 12px; font-size: 13px; }
  .has-dropdown:hover .dropdown { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cert-summary { grid-template-columns: repeat(2, 1fr); }
  .cert-honor-list ul { columns: 1; }
}
