/* ============================================
   DOS PULSE · 迪诺斯家具 - 网站样式
   设计风格：极简高端 · 大量留白 · 现代办公
   ============================================ */

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans CN", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s;
  background: transparent;
}

.navbar.scrolled {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  transition: color 0.3s;
}

.navbar.scrolled .logo {
  color: #111;
}

.logo span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-left: 8px;
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  transition: color 0.3s;
  position: relative;
}

.navbar.scrolled .nav-menu a {
  color: #333;
}

.nav-menu a:hover {
  opacity: 1;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #fff;
  transition: color 0.3s;
}

.navbar.scrolled .nav-phone {
  color: #333;
}

.nav-phone svg {
  width: 16px;
  height: 16px;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

.navbar.scrolled .menu-toggle span {
  background: #333;
}

/* ===== Hero Banner ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 56px;
  font-weight: 300;
  letter-spacing: 4px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 3px;
  opacity: 0.9;
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dot.active {
  background: #fff;
}

/* ===== Section Common ===== */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 3px;
  color: #111;
  margin-bottom: 16px;
}

.section-title p {
  font-size: 16px;
  color: #888;
  letter-spacing: 1px;
}

/* ===== Product Categories ===== */
.product-categories {
  background: #fff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.category-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.category-card:hover .category-card-bg {
  transform: scale(1.05);
}

.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
}

.category-card h3 {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 2px;
}

.center-btn {
  text-align: center;
  margin-top: 50px;
}

.btn-outline {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid #ddd;
  color: #333;
  font-size: 14px;
  letter-spacing: 2px;
  transition: all 0.3s;
  background: transparent;
  cursor: pointer;
}

.btn-outline:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  opacity: 1;
}

/* ===== Space Solutions ===== */
.space-solutions {
  background: #fff;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.space-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.space-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.space-card:hover .space-card-bg {
  transform: scale(1.03);
}

.space-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.space-card h3 {
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 4px;
}

.space-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
}

/* ===== Stats ===== */
.stats {
  background: #f8f8f8;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 300;
  color: #111;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 14px;
  color: #888;
  letter-spacing: 1px;
}

/* ===== About Preview ===== */
.about-preview {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: #111;
}

.about-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  color: #111;
  border-bottom: 1px solid #111;
  padding-bottom: 4px;
  letter-spacing: 1px;
}

/* ===== Clients ===== */
.clients {
  background: #fff;
  padding: 80px 0;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.3s;
  font-size: 18px;
  font-weight: 600;
  color: #666;
  letter-spacing: 1px;
}

.client-logo:hover {
  opacity: 1;
}

/* ===== News / Insights ===== */
.insights {
  background: #f8f8f8;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.insight-card {
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.insight-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.insight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insight-body {
  padding: 24px;
}

.insight-tag {
  font-size: 12px;
  color: #999;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.insight-body h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #222;
}

/* ===== Contact CTA ===== */
.contact-cta {
  background: #111;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.contact-cta h2 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.contact-cta p {
  font-size: 16px;
  opacity: 0.7;
  margin-bottom: 30px;
}

.btn-white {
  display: inline-block;
  padding: 14px 40px;
  background: #fff;
  color: #111;
  font-size: 14px;
  letter-spacing: 2px;
  transition: all 0.3s;
}

.btn-white:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ===== Floating Sidebar ===== */
.floating-sidebar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-item {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 11px;
  color: #666;
}

.float-item:hover {
  background: #111;
  color: #fff;
}

.float-item svg {
  width: 20px;
  height: 20px;
  margin-bottom: 3px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  font-size: 11px;
  color: #666;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #111;
  color: #fff;
}

/* ===== Footer ===== */
.footer {
  background: #1a1a1a;
  color: #999;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 13px;
  color: #999;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #666;
}

/* ===== Page Banner (Inner Pages) ===== */
.page-banner {
  height: 50vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
}

.page-banner-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
}

.page-banner h1 {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 16px;
  opacity: 0.8;
  letter-spacing: 2px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 20px 0;
  font-size: 13px;
  color: #999;
}

.breadcrumb a {
  color: #666;
}

.breadcrumb span {
  margin: 0 8px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .space-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .client-logos {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .nav-menu a {
    color: #333 !important;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 26px;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .space-grid,
  .space-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .insight-grid {
    grid-template-columns: 1fr;
  }
  
  .client-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .floating-sidebar {
    display: none;
  }
}

/* ===== Service Advantages ===== */
.service-advantages {
  background-color: #f8f8f8;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.advantage-card {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #f0f4f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c5aa0;
}

.advantage-icon svg {
  width: 28px;
  height: 28px;
}

.advantage-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #222;
}

.advantage-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* ===== Service Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  font-size: 48px;
  font-weight: 700;
  color: #e0e0e0;
  margin-bottom: 15px;
  line-height: 1;
}

.process-step h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #222;
}

.process-step p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* ===== Quality Assurance ===== */
.quality-assurance {
  background-color: #f8f8f8;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.quality-item {
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid #2c5aa0;
}

.quality-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
}

.quality-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* ===== Category Card Desc ===== */
.category-desc {
  font-size: 12px;
  margin-top: 8px;
  opacity: 0.9;
  line-height: 1.5;
}

/* ===== Space Grid 4 Columns ===== */
.space-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.space-card p {
  font-size: 12px;
  margin-top: 6px;
  opacity: 0.9;
  line-height: 1.4;
}

/* ===== Mobile Responsive for New Sections ===== */
@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .quality-grid {
    grid-template-columns: 1fr;
  }
  
  .space-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
