/* ============================================
  搜点网络官网 — 还原蓝湖设计稿 "官网-1"
  橙色 #EC6608 + 浅灰/纯黑交替 简约风
============================================ */

:root {
  --orange: #EC6608;
  --orange-hover: #d65a06;
  --black: #1a1a1a;
  --black-2: #222;
  --card-dark: #2b2b2b;
  --card-dark-active: #333;
  --light: #ebebeb;
  --light-2: #e6e6e6;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #8a8a8a;
  --text-gray-light: #b5b5b5;
  --text-muted-dark: #999;
  --border-light: rgba(0,0,0,0.1);
  --border-dark: rgba(255,255,255,0.08);
  --container: 1240px;
  --header-h: 88px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.4s var(--ease);
}

* , *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); color: var(--text-dark); background: var(--light); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; vertical-align: middle; }
ul, ol, li { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 30px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* 标题字体 - 粗黑 */
.heavy { font-weight: 800; letter-spacing: -0.5px; }

/* 橙色下划线高亮 */
.u-mark { position: relative; display: inline-block; }
.u-mark::after {
  content: '';
  position: absolute;
  left: 0; bottom: 6px;
  width: 100%; height: 12px;
  background: var(--orange);
  z-index: -1;
  opacity: 0.95;
}

/* ============================================
  PRELOADER
============================================ */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--light);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { width: 140px; animation: pulse 1.4s ease-in-out infinite; }
.preloader-text { margin-top: 16px; font-size: 16px; color: var(--orange); letter-spacing: 2px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .5; transform: scale(.96);} 50% { opacity: 1; transform: scale(1);} }

/* ============================================
  HEADER
============================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: var(--transition);
  background: transparent;
}
.header.scrolled {
  height: 70px;
  background: rgba(235,235,235,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 30px;
}
.header-logo { display: flex; align-items: center; z-index: 1001; }
.header-logo img { height: 40px; width: auto; }

.header-nav { display: flex; align-items: center; gap: 44px; }
.header-nav a {
  font-size: 15px; font-weight: 500; color: var(--text-dark);
  position: relative; padding: 6px 0;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--orange); transition: var(--transition);
}
.header-nav a:hover::after, .header-nav a.active::after { width: 100%; }
.header-nav a:hover { color: var(--orange); }

.header-right { display: flex; align-items: center; gap: 20px; z-index: 1001; }
.btn-orange {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 32px;
  background: var(--orange); color: var(--white);
  font-size: 15px; font-weight: 600;
  transition: var(--transition);
}
.btn-orange:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(236,102,8,0.35); }

.btn-black {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 38px;
  background: var(--black); color: var(--white);
  font-size: 15px; font-weight: 500;
  transition: var(--transition);
}
.btn-black:hover { background: #000; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--black); transition: .3s; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================
  HERO
============================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--light);
  overflow: hidden;
  padding-top: var(--header-h);
}
/* 背景丝绸纹理 */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 40%, rgba(255,255,255,0.7), transparent 70%),
    radial-gradient(ellipse 50% 80% at 90% 80%, rgba(200,200,200,0.25), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center;
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 40px 30px;
}
.hero-content { max-width: 520px; }
.hero-title {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--black);
  letter-spacing: -1px;
  margin-bottom: 36px;
}
.hero-title .line2 { position: relative; display: inline-block; }
.hero-title .line2::after {
  content: ''; position: absolute; left: 0; bottom: 8px;
  width: 100%; height: 14px; background: var(--orange); z-index: -1;
}
.hero-desc {
  font-size: 16px; line-height: 1.9; color: var(--text-gray);
  margin-bottom: 44px; max-width: 420px;
}
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual img { width: 100%; max-width: 620px; }

/* ============================================
  联系表单（浮动卡片，横跨浅/黑交界）
============================================ */
.contact-band {
  position: relative;
  background: linear-gradient(to bottom, var(--light) 0%, var(--light) 35%, var(--black) 35%, var(--black) 100%);
  padding-bottom: 80px;
}
.contact-card {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto;
  background: var(--white);
  padding: 48px 56px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}
.contact-card-head { margin-bottom: 32px; }
.contact-card-head h3 { font-size: 26px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.contact-card-head p { font-size: 14px; color: var(--text-gray); }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 24px;
  align-items: center;
}
.contact-field {
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}
.contact-field input {
  flex: 1; border: none; outline: none; background: none;
  font-size: 14px; color: var(--black); font-family: inherit;
}
.contact-field input::placeholder { color: var(--text-gray); }
.contact-field .f-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  order: 2;
}
.contact-field .f-icon svg { width: 18px; height: 18px; }
.contact-form .btn-black { padding: 16px 44px; white-space: nowrap; }

/* ============================================
  SECTION 通用
============================================ */
.section { padding: 110px 0; position: relative; }
.section-dark { background: var(--black); color: var(--white); }
.section-light { background: var(--light); }

.sec-label {
  display: inline-block; font-size: 14px; font-weight: 600;
  color: var(--orange); letter-spacing: 2px; margin-bottom: 18px;
}
.sec-title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; }
.sec-desc { font-size: 15px; line-height: 1.8; color: var(--text-gray); margin-top: 18px; max-width: 340px; }
.section-dark .sec-title { color: var(--white); }
.section-dark .sec-desc { color: var(--text-muted-dark); }

/* ============================================
  我们的服务 (黑底 + 卡片轮播)
============================================ */
.services { background: var(--black); padding: 100px 0 110px; }
.services-head { margin-bottom: 56px; }
.services-head .sec-title { color: var(--white); }
.services-head .sec-desc { color: var(--text-muted-dark); }

.services-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.service-card {
  background: var(--card-dark);
  padding: 40px 32px;
  min-height: 260px;
  display: flex; flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.service-card:hover { background: var(--card-dark-active); transform: translateY(-6px); }
.service-card .s-icon {
  width: 72px; height: 56px; margin-bottom: 28px;
  color: var(--white);
}
.service-card .s-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.service-card p { font-size: 14px; line-height: 1.8; color: var(--text-gray-light); }
.service-card .s-arrow {
  margin-top: auto; align-self: flex-end;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); transition: var(--transition);
}
.service-card:hover .s-arrow { background: var(--orange); border-color: var(--orange); transform: rotate(-45deg); }

.services-dots { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.services-dots span { width: 28px; height: 4px; background: rgba(255,255,255,0.2); transition: var(--transition); }
.services-dots span.active { background: var(--orange); }

/* ============================================
  以数字展示我们的影响力 (浅灰底)
============================================ */
.stats { background: var(--light); padding: 110px 0; }
.stats-grid {
  display: grid; grid-template-columns: 0.9fr 1fr 1fr; gap: 50px 60px;
  align-items: start;
}
.stats-intro { grid-row: span 2; padding-right: 20px; }
.stats-intro .sec-title { margin-bottom: 18px; }
.stats-intro .sec-title .u-mark::after { height: 14px; bottom: 4px; }
.stats-intro .sec-desc { margin-bottom: 40px; max-width: 300px; }
.stat-cell { }
.stat-num { font-size: clamp(42px, 4.5vw, 58px); font-weight: 800; color: var(--black); line-height: 1; margin-bottom: 16px; }
.stat-name { font-size: 19px; font-weight: 700; color: var(--black); margin-bottom: 12px; }
.stat-text { font-size: 14px; line-height: 1.7; color: var(--text-gray); max-width: 280px; }

/* ============================================
  浏览我们的新闻 (黑底 + 列表)
============================================ */
.news { background: var(--black); padding: 100px 0 110px; text-align: center; }
.news-head { margin-bottom: 56px; }
.news-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; color: var(--white); margin-bottom: 18px; }
.news-head p { font-size: 15px; color: var(--text-muted-dark); max-width: 560px; margin: 0 auto; }

.news-list { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.news-row {
  display: flex; align-items: center; gap: 24px;
  background: var(--card-dark);
  padding: 28px 36px;
  transition: var(--transition);
}
.news-row:hover, .news-row.active {
  background: var(--white);
  transform: scale(1.01);
}
.news-row .nr-main { flex: 1; min-width: 0; }
.news-row .nr-title {
  font-size: 20px; font-weight: 600; color: var(--white);
  margin-bottom: 8px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-row:hover .nr-title, .news-row.active .nr-title { color: var(--black); font-weight: 700; }
.news-row .nr-sub { font-size: 13px; color: var(--text-gray); }
.news-row:hover .nr-sub, .news-row.active .nr-sub { color: var(--text-gray); }
.news-row .nr-date { font-size: 14px; color: var(--text-gray); white-space: nowrap; }
.news-row .nr-arrow {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); transition: var(--transition);
}
.news-row:hover .nr-arrow, .news-row.active .nr-arrow { color: var(--orange); transform: rotate(-45deg); }
.news-more { display: flex; justify-content: center; margin-top: 48px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 44px;
  border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  font-size: 15px; font-weight: 500; transition: var(--transition);
}
.btn-outline:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }

/* ============================================
  我们的最新作品展示 (浅灰底 + 作品卡片)
============================================ */
.works { background: var(--light); padding: 110px 0; }
.works-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px;
  align-items: center; margin-bottom: 64px;
}
.works-head .sec-title { white-space: nowrap; }
.works-head .wh-desc { font-size: 15px; line-height: 1.8; color: var(--text-gray); max-width: 320px; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.work-card { cursor: pointer; }
.work-thumb {
  height: 340px; overflow: hidden;
  background: linear-gradient(135deg, #e0e0e0, #d4d4d4);
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-meta { font-size: 13px; color: var(--text-gray); margin-bottom: 12px; }
.work-title { font-size: 22px; font-weight: 700; color: var(--black); margin-bottom: 16px; }
.work-readmore { font-size: 14px; color: var(--text-gray); display: inline-flex; align-items: center; gap: 6px; }
.work-card:hover .work-readmore { color: var(--orange); }
.work-card:hover .work-title { color: var(--orange); }

/* ============================================
  FOOTER (黑底)
============================================ */
.footer { background: var(--black); color: var(--white); padding: 70px 0 40px; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 50px;
}
.footer-logo img { height: 44px; }
.footer-cta { display: flex; align-items: center; gap: 20px; }
.footer-cta span { font-size: 15px; color: var(--text-gray-light); }
.footer-cta .btn-orange { padding: 13px 30px; }
.footer-main {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px;
  padding: 50px 0;
  border-top: 1px solid var(--border-dark);
}
.footer-col h4 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 24px; }
.footer-col ul li { margin-bottom: 14px; }
.footer-col ul li a { font-size: 14px; color: var(--text-gray); }
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }
.footer-bottom {
  padding-top: 30px; border-top: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-gray);
}
.footer-bottom a { color: var(--text-gray); }
.footer-bottom a:hover { color: var(--orange); }

/* ============================================
  BACK TO TOP
============================================ */
.back-to-top {
  position: fixed; bottom: 36px; right: 36px;
  width: 48px; height: 48px;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 99; font-size: 20px;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(236,102,8,0.35);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--orange-hover); transform: translateY(-4px); }

/* ============================================
  REVEAL 动画
============================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light-2); }
::-webkit-scrollbar-thumb { background: rgba(236,102,8,0.4); }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ============================================
  RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 420px; }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .services-track { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-intro { grid-row: auto; grid-column: span 2; }
  .works-head { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .works-head .sec-title { white-space: normal; }
  .works-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .header { padding: 0; }
  .header-inner { padding: 0 20px; }
  .header-nav {
    position: fixed; top: 0; right: -100%;
    width: 78%; max-width: 300px; height: 100vh;
    background: rgba(26,26,26,0.97); backdrop-filter: blur(16px);
    flex-direction: column; justify-content: center; gap: 28px;
    padding: 80px 40px; transition: right .4s var(--ease); z-index: 999;
  }
  .header-nav.open { right: 0; }
  .header-nav a { color: var(--white); font-size: 20px; }
  .header-nav a:hover { color: var(--orange); }
  .menu-toggle { display: flex; }
  .header-right .btn-orange { padding: 9px 20px; font-size: 13px; }
  .header-logo img { height: 32px; }

  .hero { min-height: auto; padding: 90px 0 50px; }
  .hero-title { font-size: 38px; }
  .hero-visual img { max-width: 320px; }

  .contact-band { background: linear-gradient(to bottom, var(--light) 0%, var(--light) 20%, var(--black) 20%, var(--black) 100%); }
  .contact-card { padding: 32px 24px; }
  .contact-form { grid-template-columns: 1fr; gap: 20px; }
  .contact-form .btn-black { width: 100%; }

  .section { padding: 64px 0; }
  .services { padding: 64px 0; }
  .services-track { grid-template-columns: 1fr; }
  .stats { padding: 64px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 30px; }
  .stats-intro { grid-column: span 2; padding-right: 0; }
  .news { padding: 64px 0; }
  .news-row { flex-wrap: wrap; padding: 20px 24px; gap: 8px 16px; }
  .news-row .nr-title { white-space: normal; font-size: 16px; }
  .news-row .nr-date { width: 100%; order: 3; }
  .works { padding: 64px 0; }
  .works-grid { grid-template-columns: 1fr; gap: 30px; }
  .works-head .btn-black { justify-self: start; }

  .footer-top { flex-direction: column; gap: 24px; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-intro { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; }
}
