/* ============================================
   智宸昕创科技 - 企业官网主样式
   现代化、专业、科技感
   ============================================ */

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ===== Utility ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.bg-light {
  background: #f8fafc;
}

.text-center {
  text-align: center;
}

/* ===== Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-icon {
  font-size: 22px;
  font-weight: 900;
  color: #0052d9;
  letter-spacing: -1px;
}

.logo-icon span {
  color: #1890ff;
  font-weight: 400;
}

.main-nav ul {
  display: flex;
  gap: 4px;
}

.main-nav ul li a {
  display: block;
  padding: 8px 20px;
  font-size: 15px;
  color: #555;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: #0052d9;
  background: rgba(0, 82, 217, 0.06);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

.header-placeholder {
  height: 70px;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #0a1628 0%, #0d2137 30%, #102a4a 60%, #0052d9 100%);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 82, 217, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(24, 144, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(0, 82, 217, 0.15) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, transparent 0%, transparent 20%, rgba(255,255,255,0.03) 20.5%, transparent 21%),
    linear-gradient(90deg, transparent 0%, transparent 50%, rgba(255,255,255,0.03) 50.5%, transparent 51%),
    linear-gradient(90deg, transparent 0%, transparent 80%, rgba(255,255,255,0.03) 80.5%, transparent 81%);
  background-size: 100% 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: #0052d9;
  color: #fff;
  border-color: #0052d9;
}

.btn-primary:hover {
  background: #003da5;
  border-color: #003da5;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 82, 217, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 18px;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Stats Section ===== */
.stats-section {
  padding: 60px 0;
  background: #fff;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 36px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.stat-number {
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, #0052d9, #1890ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #888;
  font-weight: 500;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0052d9, #1890ff);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  margin-bottom: 20px;
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,82,217,0.08), rgba(24,144,255,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0052d9;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 16px;
}

.card-link {
  font-size: 14px;
  color: #0052d9;
  font-weight: 600;
  transition: all 0.3s;
}

.card-link:hover {
  color: #1890ff;
  margin-left: 4px;
}

/* ===== Intro Section ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.intro-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 16px;
}

.intro-visual {
  display: flex;
  justify-content: center;
}

.intro-image-placeholder svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,82,217,0.08), rgba(24,144,255,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0052d9;
}

.feature-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.feature-item p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

/* ===== Cases Grid ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.case-card-img {
  height: 180px;
  background: linear-gradient(135deg, #e8f4fd, #f0f5ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0052d9;
  opacity: 0.6;
}

.case-placeholder {
  opacity: 0.4;
}

.case-card-info {
  padding: 20px;
}

.case-category {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(0, 82, 217, 0.08);
  color: #0052d9;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.case-card-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.case-card-info p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a1628, #102a4a, #0052d9);
  color: #fff;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

/* ===== Page Banner ===== */
.page-banner {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f0f5ff, #e8f4fd);
  text-align: center;
}

.page-banner h1 {
  font-size: 40px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 16px;
  color: #666;
}

/* ===== About Page ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-top: 24px;
  margin-bottom: 12px;
}

.about-text h3:first-child {
  margin-top: 0;
}

.about-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-image-placeholder svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* ===== Values ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-item {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,82,217,0.06), rgba(24,144,255,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0052d9;
}

.value-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.value-item p {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #0052d9, rgba(24,144,255,0.2));
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  position: absolute;
  left: -65px;
  top: -2px;
  width: 50px;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: #0052d9;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0052d9;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #0052d9;
}

.timeline-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 14px;
  color: #888;
}

/* ===== Services Detail Page ===== */
.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  font-size: 16px;
  color: #555;
}

.services-detail-list {
  max-width: 900px;
  margin: 0 auto;
}

.service-detail {
  padding: 48px 0;
  border-bottom: 1px solid #f0f0f0;
}

.service-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-detail:first-child {
  padding-top: 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: start;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-icon-large {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,82,217,0.08), rgba(24,144,255,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0052d9;
}

.service-detail-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.service-summary {
  font-size: 15px;
  color: #666;
  margin-bottom: 16px;
}

.service-content {
  margin-bottom: 16px;
}

.service-content h4 {
  font-size: 16px;
  color: #333;
  margin: 16px 0 8px;
}

.service-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.service-content ul li {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 4px 12px;
  background: rgba(0, 82, 217, 0.06);
  color: #0052d9;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/* ===== Cases Detail Page ===== */
.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 20px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: #0052d9;
  color: #fff;
  border-color: #0052d9;
}

.cases-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-detail-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.case-detail-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.case-category-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(0, 82, 217, 0.08);
  color: #0052d9;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.case-detail-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.case-detail-summary {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.7;
}

.case-detail-content p {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
  margin-bottom: 8px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.contact-info-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

.contact-form-wrapper {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.contact-form-wrapper h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #555;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s;
  background: #fafbfc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #0052d9;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 82, 217, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ===== Footer ===== */
.site-footer {
  background: #0a1628;
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.8;
}

.footer-col ul li {
  font-size: 13px;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #1890ff;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .cases-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .hero-section { padding: 80px 0 60px; }
  .section-title { font-size: 28px; }
  .section-padding { padding: 48px 0; }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav ul li a {
    padding: 12px 16px;
    border-radius: 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .intro-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .service-detail-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-icon-large {
    margin: 0 auto;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .stats-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
