/* TEMPLATE-044 数智科技型企业模板 - 主样式 */
:root {
  --tec-primary: #2E8CFF;
  --tec-primary-dark: #1a6fd4;
  --tec-dark: #0A1628;
  --tec-dark2: #0f2137;
  --tec-gray: #6b7c93;
  --tec-light: #f4f7fb;
  --tec-white: #ffffff;
  --tec-border: #e2eaf3;
  --tec-radius: 8px;
  --tec-shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --tec-shadow-lg: 0 12px 48px rgba(10, 22, 40, 0.12);
  --tec-transition: all 0.3s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body.tec-body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: #2c3e50; line-height: 1.7; background: var(--tec-white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tec-primary); text-decoration: none; transition: var(--tec-transition); }
a:hover { color: var(--tec-primary-dark); }
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 600; }
ul { list-style: none; }

/* Skip link */
.tec-skip { position: absolute; top: -100px; left: 16px; background: var(--tec-primary); color: #fff; padding: 8px 16px; border-radius: 4px; z-index: 9999; transition: top 0.3s; }
.tec-skip:focus { top: 8px; }

/* Container */
.tec-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.tec-text-center { text-align: center; }

/* Buttons */
.tec-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 6px; font-size: 15px; font-weight: 500; cursor: pointer; transition: var(--tec-transition); border: 2px solid transparent; text-decoration: none; }
.tec-btn-primary { background: var(--tec-primary); color: #fff; border-color: var(--tec-primary); }
.tec-btn-primary:hover { background: var(--tec-primary-dark); border-color: var(--tec-primary-dark); color: #fff; }
.tec-btn-outline { background: transparent; color: var(--tec-primary); border-color: var(--tec-primary); }
.tec-btn-outline:hover { background: var(--tec-primary); color: #fff; }
.tec-btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.tec-btn-outline-light:hover { background: #fff; color: var(--tec-dark); border-color: #fff; }
.tec-btn-white { background: #fff; color: var(--tec-primary); border-color: #fff; }
.tec-btn-white:hover { background: var(--tec-light); color: var(--tec-primary-dark); }
.tec-btn-sm { padding: 8px 20px; font-size: 14px; }

/* Header */
.tec-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(10, 22, 40, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); transition: var(--tec-transition); }
.tec-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.tec-logo a { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: 700; }
.tec-logo a:hover { color: #fff; }
.tec-nav-list { display: flex; gap: 4px; }
.tec-nav-item { position: relative; }
.tec-nav-item > a { display: block; padding: 10px 16px; color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500; border-radius: 4px; transition: var(--tec-transition); }
.tec-nav-item > a:hover, .tec-nav-item.active > a { color: #fff; background: rgba(46, 140, 255, 0.15); }
.tec-sub-menu { position: absolute; top: 100%; left: 0; min-width: 160px; background: var(--tec-dark); border-radius: var(--tec-radius); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--tec-transition); box-shadow: var(--tec-shadow-lg); }
.tec-nav-item:hover .tec-sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tec-sub-menu li a { display: block; padding: 8px 20px; color: rgba(255,255,255,0.75); font-size: 13px; }
.tec-sub-menu li a:hover { color: #fff; background: rgba(46,140,255,0.1); }
.tec-header-tel { display: flex; align-items: center; gap: 6px; color: var(--tec-primary); font-size: 14px; font-weight: 600; }
.tec-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.tec-nav-bar { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: var(--tec-transition); }

/* Hero */
.tec-hero { position: relative; height: 92vh; min-height: 600px; overflow: hidden; margin-top: 68px; }
.tec-hero-slide { position: relative; width: 100%; height: 100%; }
.tec-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tec-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(15,33,55,0.6) 100%); }
.tec-hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.tec-hero-sub { color: var(--tec-primary); font-size: 14px; letter-spacing: 3px; font-weight: 500; margin-bottom: 16px; text-transform: uppercase; }
.tec-hero-title { color: #fff; font-size: clamp(32px, 5vw, 56px); font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.tec-hero-desc { color: rgba(255,255,255,0.75); font-size: 18px; margin-bottom: 32px; max-width: 600px; }
.tec-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Section Header */
.tec-section-header { text-align: center; margin-bottom: 48px; position: relative; }
.tec-section-en { display: block; color: var(--tec-primary); font-size: 13px; letter-spacing: 2px; font-weight: 500; margin-bottom: 8px; text-transform: uppercase; }
.tec-section-title { font-size: clamp(24px, 3vw, 36px); color: var(--tec-dark); margin: 0; }
.tec-section-header-light .tec-section-title { color: #fff; }
.tec-section-sub { color: rgba(255,255,255,0.7); margin-top: 12px; font-size: 15px; }
.tec-more-link { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--tec-gray); }
.tec-more-link:hover { color: var(--tec-primary); }

/* Abilities Grid */
.tec-abilities { padding: 80px 0; background: var(--tec-light); }
.tec-abilities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tec-ability-card { background: #fff; border-radius: var(--tec-radius); padding: 36px 24px; text-align: center; box-shadow: var(--tec-shadow); transition: var(--tec-transition); border: 1px solid var(--tec-border); }
.tec-ability-card:hover { transform: translateY(-4px); box-shadow: var(--tec-shadow-lg); }
.tec-ability-icon { margin-bottom: 20px; display: flex; justify-content: center; }
.tec-ability-card h3 { font-size: 17px; color: var(--tec-dark); margin-bottom: 12px; }
.tec-ability-card p { font-size: 14px; color: var(--tec-gray); line-height: 1.6; }

/* Solutions */
.tec-solutions { padding: 80px 0; }
.tec-solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tec-solution-card { border-radius: var(--tec-radius); overflow: hidden; background: #fff; box-shadow: var(--tec-shadow); transition: var(--tec-transition); border: 1px solid var(--tec-border); }
.tec-solution-card:hover { transform: translateY(-4px); box-shadow: var(--tec-shadow-lg); }
.tec-solution-img { width: 100%; height: 200px; object-fit: cover; }
.tec-solution-body { padding: 24px; }
.tec-solution-body h3 { font-size: 18px; color: var(--tec-dark); margin-bottom: 12px; }
.tec-solution-body p { font-size: 14px; color: var(--tec-gray); line-height: 1.6; margin-bottom: 16px; }
.tec-text-link { font-size: 14px; color: var(--tec-primary); font-weight: 500; }
.tec-text-link:hover { color: var(--tec-primary-dark); }

/* Why Us */
.tec-why-us { padding: 80px 0; background: linear-gradient(135deg, var(--tec-dark) 0%, var(--tec-dark2) 100%); }
.tec-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 48px; }
.tec-why-item { text-align: center; padding: 24px; }
.tec-why-item h4 { color: var(--tec-primary); font-size: 17px; margin-bottom: 12px; }
.tec-why-item p { color: rgba(255,255,255,0.65); font-size: 14px; }
.tec-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.tec-stat { text-align: center; }
.tec-stat-num { display: block; color: var(--tec-primary); font-size: 36px; font-weight: 700; }
.tec-stat-label { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 4px; }

/* News */
.tec-news { padding: 80px 0; background: var(--tec-light); }
.tec-news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tec-news-card { background: #fff; border-radius: var(--tec-radius); overflow: hidden; box-shadow: var(--tec-shadow); transition: var(--tec-transition); border: 1px solid var(--tec-border); }
.tec-news-card:hover { transform: translateY(-3px); box-shadow: var(--tec-shadow-lg); }
.tec-news-card-link { display: block; color: inherit; }
.tec-news-card-link:hover { color: inherit; }
.tec-news-img { width: 100%; height: 160px; object-fit: cover; }
.tec-news-info { padding: 16px; }
.tec-news-info time { font-size: 12px; color: var(--tec-gray); }
.tec-news-info h3 { font-size: 14px; color: var(--tec-dark); margin: 8px 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tec-news-info p { font-size: 13px; color: var(--tec-gray); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* CTA */
.tec-cta { padding: 64px 0; background: linear-gradient(135deg, var(--tec-primary) 0%, #1a6fd4 100%); }
.tec-cta h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.tec-cta p { color: rgba(255,255,255,0.8); margin-bottom: 24px; font-size: 15px; }

/* Footer */
.tec-footer { background: var(--tec-dark); color: rgba(255,255,255,0.7); }
.tec-footer-main { padding: 48px 0; }
.tec-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.tec-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: #fff; font-size: 16px; font-weight: 600; }
.tec-footer-desc { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.5); }
.tec-footer-links h4, .tec-footer-contact h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.tec-footer-links ul li, .tec-footer-contact ul li { margin-bottom: 10px; font-size: 14px; }
.tec-footer-links a { color: rgba(255,255,255,0.6); }
.tec-footer-links a:hover { color: var(--tec-primary); }
.tec-footer-friend { padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.06); font-size: 13px; }
.tec-friend-label { color: rgba(255,255,255,0.5); }
.tec-footer-friend a { color: rgba(255,255,255,0.4); margin-right: 12px; }
.tec-footer-friend a:hover { color: var(--tec-primary); }
.tec-footer-bottom { padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; font-size: 13px; }
.tec-footer-bottom a { color: rgba(255,255,255,0.5); }
.tec-footer-bottom a:hover { color: var(--tec-primary); }

/* Float toolbar */
.tec-float { position: fixed; right: 20px; bottom: 80px; z-index: 900; display: flex; flex-direction: column; gap: 8px; }
.tec-float-item { width: 48px; height: 48px; border-radius: 50%; background: var(--tec-dark); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; box-shadow: var(--tec-shadow); transition: var(--tec-transition); position: relative; }
.tec-float-item:hover { background: var(--tec-primary); transform: scale(1.1); }
.tec-float-pop { position: absolute; right: 56px; white-space: nowrap; background: var(--tec-dark); color: #fff; padding: 6px 12px; border-radius: 4px; font-size: 12px; opacity: 0; visibility: hidden; transition: var(--tec-transition); }
.tec-float-item:hover .tec-float-pop { opacity: 1; visibility: visible; }

/* Page Banner */
.tec-page-banner { position: relative; padding-top: 68px; height: 300px; display: flex; align-items: center; overflow: hidden; }
.tec-page-banner-sm { height: 220px; }
.tec-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tec-banner-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,0.9) 0%, rgba(15,33,55,0.7) 100%); }
.tec-banner-content { position: relative; z-index: 2; }
.tec-banner-content h1 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.tec-breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); }
.tec-breadcrumb a { color: rgba(255,255,255,0.7); }
.tec-breadcrumb a:hover { color: var(--tec-primary); }
