/*
* 模板040：科技媒体博客风格
* 主色：蓝 #1a73e8 / 深灰 #202124
* 参考虎嗅/36kr/钛媒体类科技媒体风格
*/

* {margin:0;padding:0;box-sizing:border-box;}

:root {
  --blue: #1a73e8;
  --blue-dark: #1557b0;
  --accent: #ff5722;
  --green: #0d9488;
  --purple: #7c3aed;
  --text: #202124;
  --text-sec: #5f6368;
  --text-light: #80868b;
  --border: #dadce0;
  --border-light: #f1f3f4;
  --bg: #fff;
  --bg-grey: #f8f9fa;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {color: var(--blue);}

ul, ol {list-style: none;}
img {max-width: 100%; height: auto; display: block;}

.container {
  width: 1140px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部 */
.tech-header {
  border-bottom: 1px solid var(--border-light);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.tech-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.tech-logo-area {display: flex; align-items: baseline; gap: 12px;}

.tech-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
}

.tech-logo:hover {color: var(--blue-dark);}

.tech-tagline {
  font-size: 12px;
  color: var(--text-light);
  border-left: 1px solid var(--border);
  padding-left: 12px;
}

.tech-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.tech-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.tech-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tech-menu li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
  border-radius: 6px;
}

.tech-menu li a:hover,
.tech-menu li a.active {
  color: var(--blue);
  background: var(--bg-grey);
}

.tech-menu-cta a {
  background: var(--blue) !important;
  color: #fff !important;
  margin-left: 8px;
}

.tech-menu-cta a:hover {
  background: var(--blue-dark) !important;
}

/* Hero */
.tech-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(26,115,232,0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-left h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
}

.hero-btn.primary {
  background: var(--blue);
  color: #fff !important;
}

.hero-btn.primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,115,232,0.3);
}

.hero-btn.outline {
  border: 1.5px solid var(--border);
  color: var(--text) !important;
}

.hero-btn.outline:hover {
  border-color: var(--blue);
  color: var(--blue) !important;
}

.hero-call {
  font-size: 14px;
  color: var(--text-sec);
}

.hero-call a {
  color: var(--blue);
  font-weight: 600;
}

.hero-banner-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(26,115,232,0.15);
}

/* 区块标题 */
.sec-head {
  text-align: center;
  margin-bottom: 40px;
}

.sec-head.left {
  text-align: left;
  margin-bottom: 25px;
}

.sec-head h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.sec-head p {
  font-size: 15px;
  color: var(--text-sec);
}

/* 平台分类 */
.platforms-tech {
  padding: 60px 0;
}

.platform-tags-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.platform-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg);
  transition: all 0.2s;
}

.platform-tag:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(26,115,232,0.08);
  transform: translateY(-2px);
}

.pt-name {
  font-size: 18px;
  font-weight: 700;
}

.pt-desc {
  font-size: 13px;
  color: var(--text-light);
}

/* 服务区 */
.services-tech {
  padding: 60px 0;
  background: var(--bg-grey);
}

.featured-service {
  background: linear-gradient(135deg, #fff 0%, #f0f6ff 100%);
  border: 1px solid #d4e4fc;
  border-radius: 12px;
  padding: 35px 40px;
  margin-bottom: 30px;
}

.fs-cat {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.fs-text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.fs-text h3 a {color: var(--text);}
.fs-text h3 a:hover {color: var(--blue);}

.fs-text p {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.9;
  margin-bottom: 20px;
}

.fs-link {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}

.service-list-tech {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 24px;
  transition: all 0.2s;
}

.svc-item:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(26,115,232,0.08);
}

.svc-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #e8f0fe;
  color: var(--blue);
  margin-bottom: 12px;
}

.svc-cat.accent {background: #fce8e6; color: var(--accent);}
.svc-cat.blue {background: #e3f2fd; color: #1976d2;}
.svc-cat.green {background: #e0f2f1; color: var(--green);}
.svc-cat.purple {background: #f3e8ff; color: var(--purple);}
.svc-cat.dark {background: #eceff1; color: #37474f;}

.svc-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.svc-item h4 a:hover {color: var(--blue);}

.svc-item p {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.8;
}

/* 流程 */
.process-tech {
  padding: 60px 0;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.proc-card {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  position: relative;
}

.proc-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.2;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

.proc-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.proc-card p {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.7;
}

/* 三栏主内容 */
.main-three-col {
  padding: 50px 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 35px;
  background: var(--bg-grey);
}

/* 侧栏 */
.tech-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-widget-tech {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
}

.sw-title {
  font-size: 15px;
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-grey);
}

.sw-content {padding: 18px;}

.sw-content p {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 15px;
}

.sw-cta {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
}

.sw-faq-list {padding: 8px 0;}

.sw-faq-list li {
  padding: 8px 18px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
}

.sw-faq-list li:last-child {border-bottom: none;}

.sw-faq-list li a {color: var(--text-sec);}

.contact-sw {text-align: center;}
.contact-sw .sw-title {background: var(--blue); color: #fff; border-bottom-color: var(--blue);}

.sw-phone {
  padding: 18px 0 8px;
  font-size: 26px;
  font-weight: 800;
}

.sw-phone a {color: var(--blue);}

.sw-time {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.sw-btn {
  display: block;
  background: var(--accent);
  color: #fff !important;
  padding: 10px;
  font-weight: 600;
  font-size: 14px;
  margin: 0 18px 18px;
  border-radius: 6px;
}

.sw-btn:hover {background: #e64a19; color: #fff !important;}

/* 资讯列表 - 强制Grid */
ul.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

ul.article-cards > li.article-card {
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 0;
  float: none;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
}

ul.article-cards > li.article-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(26,115,232,0.08);
  transform: translateY(-2px);
}

.article-card .card-thumb {
  width: 100%;
  overflow: hidden;
  height: 160px;
}

.article-card .card-thumb img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card .card-title {
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 14px 8px;
  line-height: 1.6;
}

.article-card .card-title a:hover {color: var(--blue);}

.article-card .card-date {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  padding: 0 14px 10px;
}

.article-card .card-summary {
  overflow-wrap: anywhere;
  font-size: 12px;
  color: var(--text-sec);
  line-height: 1.7;
  padding: 0 14px 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 申请区 */
.apply-tech {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
}

.apply-card-tech {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 35px 40px;
  box-shadow: 0 10px 40px rgba(26,115,232,0.1);
}

.apply-tech-head {
  text-align: center;
  margin-bottom: 25px;
}

.apply-tech-head h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.apply-tech-head p {
  font-size: 14px;
  color: var(--text-sec);
}

.atf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.atf-field {display: flex; flex-direction: column;}
.atf-field label {font-size: 13px; font-weight: 500; margin-bottom: 6px;}
.atf-field label span {color: var(--accent);}

.atf-field input,
.atf-field select,
.atf-field textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: #fff;
}

.atf-field input:focus,
.atf-field select:focus,
.atf-field textarea:focus {border-color: var(--blue);}

.atf-field textarea {resize: vertical;}

.atf-submit {text-align: center; margin-top: 20px;}

.atf-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 12px 50px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.atf-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,115,232,0.3);
}

/* 底部CTA */
.tech-cta-band {
  background: var(--text);
  color: #fff;
  padding: 30px 0;
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-band-inner h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.cta-band-inner p {font-size: 13px; opacity: 0.7;}

.cta-band-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.cta-phone {
  color: var(--blue) !important;
  font-size: 24px;
  font-weight: 800;
}

.cta-btn-dark {
  background: var(--blue);
  color: #fff !important;
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 6px;
}

.cta-btn-dark:hover {background: var(--blue-dark); color: #fff !important;}

/* 页脚 */
.tech-footer {
  background: #1a1a1d;
  color: #9aa0a6;
  padding: 45px 0 20px;
}

.tech-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #2d2d30;
}

.tech-footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
}

.tech-footer-desc {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.tech-footer-phone a {
  color: var(--blue);
  font-weight: 600;
}

.tech-footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.tech-footer-col ul li {
  padding: 4px 0;
  font-size: 13px;
}

.tech-footer-col ul li a {color: #9aa0a6;}
.tech-footer-col ul li a:hover {color: var(--blue);}

.tech-friend-links {
  font-size: 12px;
  line-height: 2;
}

.tech-friend-links a {
  color: #9aa0a6;
  margin-right: 8px;
}

.tech-copy {
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  line-height: 2;
}

.tech-copy a {color: #9aa0a6;}
.tech-copy a:hover {color: var(--blue);}

.dot {color: #555; margin: 0 8px;}

.tech-disclaim {color: #666;}

/* 文章详情 */
.tech-article-wrap {
  padding: 30px 20px;
  background: var(--bg-grey);
}

.tech-article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 35px;
}

.tech-crumb {
  background: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-light);
  border: 1px solid var(--border-light);
}

.tech-crumb a {color: var(--text-light);}

.tech-article {
  background: #fff;
  border-radius: 10px;
  padding: 35px 45px;
  border: 1px solid var(--border-light);
}

.tech-art-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.tech-art-meta {
  font-size: 12px;
  color: var(--text-light);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 25px;
}

.tam-author {margin-right: 15px;}

.tech-art-excerpt {
  background: var(--bg-grey);
  padding: 15px 20px;
  border-left: 3px solid var(--blue);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sec);
  margin-bottom: 25px;
  font-style: italic;
}

.tech-art-cover {
  text-align: center;
  margin-bottom: 30px;
}

.tech-art-body {
  font-size: 16px;
  line-height: 2;
  color: #2d2d2d;
}

.tech-art-body p {
  margin-bottom: 20px;
  text-align: justify;
}

.tech-art-body h2, .tech-art-body h3 {
  margin: 28px 0 15px;
  font-weight: 700;
}
.tech-art-body h2 {font-size: 22px;}
.tech-art-body h3 {font-size: 18px;}

.tech-art-body img {
  max-width: 100%;
  margin: 25px auto;
  border-radius: 8px;
}

.tech-art-foot {
  margin-top: 35px;
  padding: 15px;
  background: var(--bg-grey);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-sec);
}

.tech-art-related {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.tech-art-related h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tar-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.tar-list li a {
  display: block;
  padding: 8px 12px;
  background: var(--bg-grey);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-sec);
}

.tar-list li a:hover {
  background: #e8f0fe;
  color: var(--blue);
}

.tech-art-nav {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.tan-call {
  color: var(--blue);
  font-weight: 600;
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero-layout {grid-template-columns: 1fr; gap: 30px;}
  .hero-left h1 {font-size: 32px;}
  .hero-banner-img {max-width: 500px; margin: 0 auto;}
  
  .platform-tags-grid {grid-template-columns: repeat(2, 1fr);}
  .service-list-tech {grid-template-columns: repeat(2, 1fr);}
  .process-cards {grid-template-columns: repeat(2, 1fr);}
  .main-three-col {grid-template-columns: 1fr;}
  .tech-footer-grid {grid-template-columns: repeat(2, 1fr);}
  .tech-article-layout {grid-template-columns: 1fr;}
}

@media (max-width: 768px) {
  .tech-tagline {display: none;}
  .tech-menu-btn {display: block;}
  .tech-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 10px;
  }
  .tech-menu.active {display: flex;}
  .tech-menu li {width: 100%;}
  .tech-menu li a {padding: 12px 16px; border-radius: 0;}
  .tech-menu-cta a {margin-left: 0; margin: 0 16px; border-radius: 6px !important; text-align: center;}
  
  .tech-hero {padding: 40px 0;}
  .hero-left h1 {font-size: 26px;}
  .hero-actions {flex-direction: column;}
  .hero-btn {text-align: center;}
  
  .platform-tags-grid {grid-template-columns: 1fr;}
  .service-list-tech {grid-template-columns: 1fr;}
  .process-cards {grid-template-columns: 1fr;}
  .atf-row {grid-template-columns: 1fr;}
  
  .cta-band-inner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .cta-band-actions {flex-direction: column;}
  
  .tech-footer-grid {grid-template-columns: 1fr;}
  
  .tech-article {padding: 20px 15px;}
  .tech-art-title {font-size: 22px;}
  .tar-list {grid-template-columns: 1fr;}
  .tech-art-nav {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {animation: none !important; transition: none !important;}
}
