@charset "UTF-8";
/* ============================================
   合肥深维智界科技有限公司 - 官方网站样式
   主题：白色简洁 + 深蓝科技点缀
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:80px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: #1a1a2e;
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
img { max-width:100%; display:block; }
.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.section-padding { padding:100px 0; }
.bg-light { background:#f8fafc; }

/* ---------- BUTTONS ---------- */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 28px; border-radius:10px; font-size:15px; font-weight:600;
  transition: all 0.3s ease; cursor:pointer; border:none; gap:8px;
}
.btn-primary {
  background: #1e40af; color:#fff;
  box-shadow: 0 4px 14px rgba(30,64,175,0.3);
}
.btn-primary:hover { background:#1e3a8a; transform:translateY(-2px); box-shadow:0 8px 25px rgba(30,64,175,0.4); }
.btn-outline {
  background:transparent; color:#1e40af; border:1.5px solid #1e40af;
}
.btn-outline:hover { background:#1e40af; color:#fff; }
.btn-lg { padding:14px 36px; font-size:16px; }
.btn-block { width:100%; }

/* ---------- SECTION HEADER ---------- */
.section-header { text-align:center; margin-bottom:60px; }
.section-tag {
  display:inline-block; padding:6px 18px; background:#eef2ff; color:#1e40af;
  border-radius:20px; font-size:13px; font-weight:600; letter-spacing:1px;
  margin-bottom:16px; text-transform:uppercase;
}
.section-title {
  font-size:36px; font-weight:700; color:#0f172a; margin-bottom:12px; line-height:1.3;
}
.section-desc {
  font-size:16px; color:#64748b; max-width:600px; margin:0 auto;
}

/* ---------- HEADER / NAV ---------- */
.header {
  position:fixed; top:0; left:0; width:100%; z-index:1000;
  background:rgba(255,255,255,0.92); backdrop-filter:blur(12px);
  transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow:0 2px 20px rgba(0,0,0,0.06); }
.nav-inner {
  display:flex; align-items:center; justify-content:space-between; height:72px;
}
.logo { display:flex; align-items:center; gap:10px; font-size:20px; font-weight:700; color:#0f172a; }
.logo-icon { display:flex; align-items:center; }
.logo-icon img { width:36px; height:36px; object-fit:contain; border-radius:8px; }
.nav-list { display:flex; gap:4px; }
.nav-link {
  padding:8px 18px; border-radius:8px; font-size:14px; font-weight:500;
  color:#475569; transition: all 0.25s ease;
}
.nav-link:hover, .nav-link.active { color:#1e40af; background:#eef2ff; }

/* Mobile Menu */
.menu-toggle { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; }
.menu-toggle span { display:block; width:24px; height:2px; background:#0f172a; border-radius:2px; transition:0.3s; }

/* ---------- HERO ---------- */
.hero {
  position:relative; min-height:100vh; display:flex; align-items:center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1e40af 100%);
  overflow:hidden; padding-top:80px;
}
.hero-particles { position:absolute; inset:0; pointer-events:none; }
.hero-particles .particle {
  position:absolute; border-radius:50%; background:rgba(255,255,255,0.08);
  animation: float 8s infinite ease-in-out;
}
@keyframes float {
  0%,100% { transform:translateY(0) rotate(0deg); opacity:0.3; }
  50% { transform:translateY(-30px) rotate(180deg); opacity:0.6; }
}
.hero-content { position:relative; z-index:2; max-width:700px; }
.hero-subtitle { font-size:16px; color:rgba(255,255,255,0.7); margin-bottom:12px; letter-spacing:2px; }
.hero-title { font-size:52px; font-weight:800; color:#fff; line-height:1.2; margin-bottom:20px; }
.hero-title .highlight { background: linear-gradient(135deg, #60a5fa, #a78bfa); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-desc {
  font-size:17px; color:rgba(255,255,255,0.75); line-height:1.8; margin-bottom:32px; max-width:560px;
}
.hero-buttons { display:flex; gap:16px; flex-wrap:wrap; }
.hero .btn-outline { border-color:rgba(255,255,255,0.5); color:#fff; }
.hero .btn-outline:hover { background:rgba(255,255,255,0.15); border-color:#fff; }

.hero-scroll-indicator {
  position:absolute; bottom:40px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  color:rgba(255,255,255,0.5); font-size:12px; animation:bounceDown 2s infinite;
}
@keyframes bounceDown {
  0%,100% { transform:translateX(-50%) translateY(0); }
  50% { transform:translateX(-50%) translateY(8px); }
}

/* ---------- ABOUT ---------- */
.about-block {
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
  margin-bottom:80px;
}
.about-image { position:relative; }
.about-img-placeholder svg { width:100%; height:auto; border-radius:20px; }
.about-badge {
  position:absolute; bottom:20px; right:20px; background:#1e40af; color:#fff;
  padding:8px 20px; border-radius:20px; font-size:14px; font-weight:600;
  box-shadow:0 4px 14px rgba(30,64,175,0.3);
}
.about-item {
  display:flex; gap:16px; padding:16px 0; border-bottom:1px solid #f1f5f9;
}
.about-item:last-child { border-bottom:none; }
.about-item-icon { font-size:24px; flex-shrink:0; width:40px; text-align:center; }
.about-item h4 { font-size:16px; color:#0f172a; margin-bottom:4px; }
.about-item p { font-size:14px; color:#64748b; line-height:1.6; }

/* ---------- PHILOSOPHY ---------- */
.philosophy-section { padding-top:40px; }
.philosophy-grid {
  display:grid; grid-template-columns:repeat(3, 1fr); gap:28px;
}
.philosophy-card {
  text-align:center; padding:40px 28px; background:#fff;
  border-radius:16px; border:1px solid #e2e8f0;
  transition: all 0.3s ease;
}
.philosophy-card:hover {
  transform:translateY(-6px); box-shadow:0 12px 40px rgba(0,0,0,0.08);
  border-color:#93c5fd;
}
.philosophy-icon {
  width:72px; height:72px; margin:0 auto 20px; background:#eef2ff;
  border-radius:18px; display:flex; align-items:center; justify-content:center;
}
.philosophy-card h3 { font-size:20px; color:#0f172a; margin-bottom:12px; }
.philosophy-card p { font-size:14px; color:#64748b; line-height:1.7; }

/* ---------- TECH ---------- */
.tech-block {
  margin-bottom:48px; background:#fff; border-radius:16px;
  padding:36px 32px; border:1px solid #e2e8f0;
  transition: box-shadow 0.3s ease;
}
.tech-block:hover { box-shadow:0 4px 24px rgba(0,0,0,0.04); }
.tech-block-header {
  display:flex; align-items:center; gap:12px; margin-bottom:24px;
}
.tech-block-icon { font-size:32px; }
.tech-block-header h3 { font-size:24px; color:#0f172a; }
.tech-grid {
  display:grid; grid-template-columns:repeat(3, 1fr); gap:20px;
}
.tech-card {
  padding:24px; background:#f8fafc; border-radius:12px;
  transition: background 0.3s ease;
}
.tech-card:hover { background:#eef2ff; }
.tech-card h4 { font-size:15px; color:#1e40af; margin-bottom:8px; }
.tech-card p { font-size:13px; color:#64748b; line-height:1.7; }

/* ---------- CASES ---------- */
.case-tabs {
  display:flex; justify-content:center; gap:12px; margin-bottom:48px; flex-wrap:wrap;
}
.case-tab {
  display:flex; align-items:center; gap:8px;
  padding:12px 28px; border-radius:12px; border:1.5px solid #e2e8f0;
  background:#fff; color:#64748b; font-size:15px; font-weight:600;
  cursor:pointer; transition: all 0.3s ease;
}
.case-tab:hover { border-color:#93c5fd; color:#1e40af; }
.case-tab.active {
  background:#1e40af; color:#fff; border-color:#1e40af;
  box-shadow:0 4px 14px rgba(30,64,175,0.25);
}
.tab-icon { font-size:18px; }

.case-panel { display:none; }
.case-panel.active { display:block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

.cases-grid {
  display:grid; grid-template-columns:repeat(2, 1fr); gap:28px;
}

.case-card {
  background:#fff; border-radius:16px; overflow:hidden;
  border:1px solid #e2e8f0; transition: all 0.3s ease; cursor:pointer;
}
.case-card:hover {
  transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,0.1);
}
.case-thumb {
  position:relative; height:200px; overflow:hidden;
}
.case-thumb img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition: transform 0.5s ease;
}
.case-card:hover .case-thumb img { transform:scale(1.05); }
.case-body { padding:24px; }
.case-body h3 { font-size:18px; color:#0f172a; margin-bottom:10px; }
.case-body p { font-size:14px; color:#64748b; line-height:1.6; margin-bottom:16px; }
.case-tags { display:flex; gap:8px; flex-wrap:wrap; }
.case-tags span {
  padding:4px 12px; background:#f1f5f9; color:#475569;
  border-radius:6px; font-size:12px; font-weight:500;
}

/* ---------- MODAL ---------- */
.modal-overlay {
  position:fixed; inset:0; background:rgba(15,23,42,0.7); z-index:9999;
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; pointer-events:none; transition: opacity 0.3s ease;
  backdrop-filter:blur(4px);
}
.modal-overlay.open { opacity:1; pointer-events:auto; }
.modal-container {
  background:#fff; border-radius:20px; max-width:720px; width:100%; max-height:85vh;
  overflow-y:auto; padding:48px 36px; position:relative;
  box-shadow:0 24px 80px rgba(0,0,0,0.2);
}
.modal-close {
  position:absolute; top:16px; right:20px; background:none; border:none;
  font-size:28px; color:#94a3b8; cursor:pointer; transition:color 0.2s;
  line-height:1;
}
.modal-close:hover { color:#0f172a; }
.modal-content h2 { font-size:26px; color:#0f172a; margin-bottom:8px; }
.modal-content .modal-category {
  display:inline-block; padding:4px 14px; background:#eef2ff; color:#1e40af;
  border-radius:20px; font-size:12px; font-weight:600; margin-bottom:20px;
}
.modal-content p { font-size:15px; color:#475569; line-height:1.8; margin-bottom:16px; }
.modal-content ul { margin:12px 0 20px; padding-left:20px; }
.modal-content ul li { font-size:14px; color:#475569; line-height:2; position:relative; padding-left:12px; }
.modal-content ul li::before { content:'▸'; position:absolute; left:-8px; color:#1e40af; }

/* ---------- FOOTER ---------- */
.footer {
  background:#0f172a; color:#cbd5e1; padding:60px 0 30px;
}
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px;
}
.footer-logo {
  display:flex; align-items:center; gap:10px; font-size:20px; font-weight:700;
  color:#fff; margin-bottom:16px;
}
.footer-logo-img { width:32px; height:32px; object-fit:contain; border-radius:6px; }
.footer-brand p { font-size:13px; line-height:1.7; color:#94a3b8; }
.footer-contact { margin-top:12px !important; color:#60a5fa !important; font-size:16px !important; font-weight:600; }
.footer-contact a { color:#60a5fa; text-decoration:none; transition:color 0.2s; }
.footer-contact a:hover { color:#93c5fd; text-decoration:underline; }
.footer-links h4 { color:#fff; font-size:15px; margin-bottom:16px; }
.footer-links ul li { margin-bottom:10px; }
.footer-links ul li, .footer-links ul li a {
  font-size:13px; color:#94a3b8; transition:color 0.2s;
}
.footer-links ul li a:hover { color:#60a5fa; }
.footer-bottom {
  padding-top:30px; border-top:1px solid rgba(255,255,255,0.08);
  text-align:center; font-size:13px; color:#64748b;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position:fixed; bottom:30px; right:30px; z-index:999;
  width:44px; height:44px; border-radius:12px; background:#1e40af; color:#fff;
  border:none; font-size:20px; cursor:pointer; opacity:0; pointer-events:none;
  transition: all 0.3s ease; box-shadow:0 4px 14px rgba(30,64,175,0.3);
}
.back-to-top.visible { opacity:1; pointer-events:auto; }
.back-to-top:hover { transform:translateY(-3px); background:#1e3a8a; }

/* ---------- SCROLL ANIMATION ---------- */
.fade-up {
  opacity:0; transform:translateY(30px); transition: all 0.6s ease;
}
.fade-up.visible { opacity:1; transform:translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about-block { grid-template-columns:1fr; gap:40px; }
  .about-image { max-width:500px; margin:0 auto; }
  .philosophy-grid { grid-template-columns:1fr; max-width:400px; margin:0 auto; }
  .tech-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 768px) {
  .section-padding { padding:64px 0; }
  .section-title { font-size:28px; }
  .hero-title { font-size:36px; }
  .hero-desc { font-size:15px; }

  .menu-toggle { display:flex; }
  .nav { display:none; position:absolute; top:72px; left:0; width:100%; background:#fff; border-top:1px solid #e2e8f0; box-shadow:0 8px 24px rgba(0,0,0,0.06); }
  .nav.open { display:block; }
  .nav-list { flex-direction:column; padding:12px; }
  .nav-link { display:block; padding:12px 16px; }

  .cases-grid { grid-template-columns:1fr; }
  .case-thumb { height:180px; }
  .modal-container { padding:32px 20px; }
  .footer-grid { grid-template-columns:1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size:28px; }
  .hero-buttons { flex-direction:column; }
  .hero-buttons .btn { width:100%; }
  .case-tabs { gap:8px; }
  .case-tab { padding:10px 18px; font-size:13px; }
}
