/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}
:root { 
  --brand-green: #83C44E; 
  --brand-primary: #1f6b57;
  --brand-bg: #f7f9f8;
  --brand-surface: #ffffff;
  --brand-border: rgba(0,0,0,0.08);
  --text-dark: #1a1a1a; 
  --text-muted: #666; 
  --card-bg: #fff; 
  --space-md: 24px; 
}
html { scroll-behavior: smooth; }
html {
  scroll-behavior: smooth;
}
html, body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* 头部和导航样式 */
header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 28px;
  height: auto;
  display: inline-block;
  margin-right: 10px;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2c3e50;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1f6b57;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #1f6b57;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* 汉堡菜单样式 - 用于移动端 */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px;
  transition: all 0.3s ease;
}
 
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.hamburger-lines {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 24px;
}

.hamburger-lines .bar {
  width: 24px;
  height: 2px;
  background-color: #1f6b57;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover .bar {
  background-color: #155847;
}

/* 主要内容样式 */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 140px);
}

/* 品牌页主题与通用卡片 */
.brand-page { background-color: #f7f9f8; }
.brand-page .services-header h1 { color: #1a1a1a; font-weight: 700; letter-spacing: -0.5px; }
.brand-page .cta-button { 
  background-color: #83C44E; 
  box-shadow: 0 4px 15px rgba(131, 196, 78, 0.3);
  border-radius: 24px;
}
.brand-page .cta-button:hover { 
  background-color: #72b040; 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(131, 196, 78, 0.4);
}

.chip { 
  display: inline-block; 
  padding: 0.35rem 0.85rem; 
  border-radius: 20px; 
  font-size: 0.9rem; 
  color: #fff; 
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.chip-blue { background: linear-gradient(135deg, #4e79ff 0%, #3a60e0 100%); }
.chip-orange { background: linear-gradient(135deg, #ff8a3d 0%, #ff6b1a 100%); }
.chip-green { background: linear-gradient(135deg, #83C44E 0%, #6ab335 100%); }

.pill { 
  display: inline-block; 
  padding: 0.3rem 0.8rem; 
  border-radius: 6px; 
  color: #555; 
  font-size: 0.85rem; 
  background: #f0f2f5;
  transition: all 0.3s ease;
}
.pill:hover {
  background: #e1e4e8;
  color: #333;
}
/* 特定颜色Pill仅保留文字颜色或微弱背景，这里改为统一柔和风格 */
.pill-blue { color: #4e79ff; background: rgba(78, 121, 255, 0.1); }
.pill-orange { color: #ff8a3d; background: rgba(255, 138, 61, 0.1); }
.pill-green { color: #83C44E; background: rgba(131, 196, 78, 0.1); }

.brand-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 0.8rem 0 1.5rem; justify-content: center; }
.brand-chip { 
  border: 1px solid rgba(0,0,0,0.08); 
  border-radius: 24px; 
  padding: 0.4rem 1rem; 
  background: #fff; 
  font-size: 0.95rem; 
  color: #444;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
.brand-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: #83C44E;
  color: #83C44E;
}
.sub { color: #666; margin-top: 0.5rem; font-size: 1rem; }

/* 锚点导航 */
.anchor-nav { 
  display: inline-flex; 
  justify-content: center; 
  gap: 0.5rem; 
  flex-wrap: wrap; 
  margin-top: 1rem; 
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  padding: 0.5rem;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.anchor-nav a { 
  color: #555; 
  text-decoration: none; 
  padding: 0.5rem 1.2rem; 
  border: 1px solid transparent; 
  border-radius: 20px; 
  font-size: 0.95rem; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  font-weight: 500;
}
.anchor-nav a:hover { 
  background-color: rgba(131, 196, 78, 0.1); 
  color: #83C44E; 
}

.section-block { margin: 4rem 0; position: relative; }
.section-block h2 { 
  text-align: center; 
  margin-bottom: 2rem; 
  font-size: 2rem; 
  color: #1a1a1a;
  position: relative;
  display: inline-block;
  width: 100%;
}
.section-block h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--brand-primary);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.module-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #1a1a1a;
  position: relative;
  display: inline-block;
  width: 100%;
}
.module-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--brand-primary);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.section-block .module-desc {
  text-align: center;
  color: #666;
  margin-top: 0.2rem;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.advantages-top { margin-top: 1rem; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.adv-card { background: var(--card-bg); border: 1px solid rgba(0,0,0,0.06); border-radius: 12px; padding: var(--space-md); text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.04); }
.adv-card .icon { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--brand-primary); }
.adv-card h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.adv-card p { font-size: 14px; line-height: 1.5; color: var(--text-muted); }

@media (max-width: 768px) {
  .advantages-grid { grid-template-columns: 1fr; }
}

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { 
  background-color: #fff; 
  border-radius: 12px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.04); 
  padding: 1.5rem; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  border: 1px solid rgba(0,0,0,0.02);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #83C44E, #a8e063);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
}
.card:hover::before { opacity: 1; }

.product-list { list-style: none; padding: 0; display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }

.flow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.flow-card { background: var(--card-bg); border: 1px solid rgba(0,0,0,0.06); border-radius: 12px; padding: 1rem; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.flow-card .step-number { width: 28px; height: 28px; margin: 0 auto 6px; border-radius: 50%; background: rgba(131,196,78,0.12); color: var(--brand-green); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.flow-card .step-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.flow-card .step-desc { font-size: 0.95rem; line-height: 1.5; color: var(--text-muted); margin-top: 0.35rem; }

@media (max-width: 768px) {
  .flow-grid { grid-template-columns: 1fr; }
}

/* 流程时间轴与二维码 */
.timeline { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); 
  gap: 1.5rem; 
  position: relative;
}
.timeline-item { 
  background-color: #fff; 
  border: none; 
  border-radius: 12px; 
  padding: 1.5rem 1rem; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  z-index: 1;
}
.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(131, 196, 78, 0.15);
}
.timeline-item span { 
  display: block;
  font-size: 1.5rem;
  font-weight: 800; 
  color: #83C44E; 
  margin-bottom: 0.5rem;
  opacity: 0.2;
  transition: opacity 0.3s ease;
}
.timeline-item:hover span { opacity: 1; }
.timeline-item p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
}

.qr-box { 
  display: flex; 
  align-items: center; 
  justify-content: center;
  gap: 1.5rem; 
  margin-top: 3rem; 
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.qr-placeholder { 
  width: 120px; 
  height: 120px; 
  border: none;
  border-radius: 8px; 
  background: linear-gradient(135deg, #f6f8f9 0%, #e5ebee 100%);
  position: relative;
}
.qr-placeholder::after {
  content: 'QR';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #ccc;
  font-weight: bold;
}
.qr-text { 
  color: #2c3e50; 
  font-weight: 700; 
  font-size: 1.2rem;
}

/* 购买方式三列 */
.purchase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.purchase-card { 
  background: linear-gradient(145deg, #2a2a2a, #1f1f1f); 
  color: #fff; 
  border-radius: 12px; 
  padding: 2rem; 
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}
.purchase-card:hover { transform: translateY(-5px); }
.purchase-card h3 { 
  color: #fff; 
  position: relative; 
  margin-bottom: 1.5rem; 
  font-size: 1.4rem;
}
.purchase-card .underline { 
  display: block; 
  width: 40px; 
  height: 4px; 
  background: #ff8a3d; 
  margin-top: 8px; 
  border-radius: 2px;
}
.purchase-card ul { padding-left: 1.2rem; color: #ccc; line-height: 1.8; }
.purchase-card .price { 
  color: #83C44E; 
  font-size: 0.95rem; 
  margin-top: 1.5rem; 
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* 交付内容（暗背景叠加描边卡片） */
.delivery-block { 
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('https://trae-api-sg.mchost.guru/api/ide/v1/text_to_image?prompt=modern%20minimalist%20living%20room%20photo%20with%20soft%20lighting%20and%20smart%20home%20devices%20on%20shelves%2C%20high%20quality%2C%20interior%20photography%2C%20clean%20composition&image_size=landscape_16_9'); 
  background-size: cover; 
  background-position: center; 
  border-radius: 16px; 
  padding: 3rem 2rem; 
  color: #fff; 
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.delivery-block h2 { color: #fff; }
.delivery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.delivery-col h3 { margin-bottom: 1rem; color: rgba(255,255,255,0.9); font-weight: 500; }
.stroke { 
  background: rgba(255,255,255,0.05); 
  border: 1px solid rgba(255,255,255,0.2); 
  backdrop-filter: blur(5px);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}
.stroke:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  transform: translateX(5px);
}
.stroke p { color: #fff; margin: 0; font-size: 0.95rem; }

/* 场景网格 */
.scene-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.scene-tile { 
  position: relative; 
  height: 140px; 
  border-radius: 12px; 
  background-image: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); 
  display: flex; 
  align-items: flex-end; 
  justify-content: flex-start; 
  padding: 1rem; 
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
/* 为不同场景添加微妙的渐变差异 */
.scene-tile:nth-child(2n) { background-image: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); }
.scene-tile:nth-child(3n) { background-image: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.scene-tile:nth-child(4n) { background-image: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

.scene-tile:hover { transform: scale(1.03); z-index: 1; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.scene-tile span { 
  color: #fff; 
  font-weight: 700; 
  font-size: 1.1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3); 
  position: relative;
  z-index: 2;
}
.scene-tile::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

/* 收费方式 */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.pricing-card { 
  background: #fff; 
  border-radius: 12px; 
  box-shadow: 0 4px 20px rgba(0,0,0,0.06); 
  padding: 2rem; 
  text-align: center;
  border: 1px solid rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}
.pricing-card:hover { transform: translateY(-5px); border-color: #83C44E; }
.pricing-card h3 { color: #2c3e50; margin-bottom: 1rem; font-size: 1.3rem; }
.pricing-card ul { 
  list-style: none; 
  padding: 0; 
  color: #666; 
  margin-bottom: 1.5rem; 
  line-height: 1.8; 
}
.pricing-card .price { 
  color: #83C44E; 
  font-weight: 800; 
  font-size: 1.4rem; 
  margin-top: auto;
}
.pricing-card .policy { 
  color: #999; 
  font-size: 0.85rem; 
  margin-top: 1rem;
}

/* 首页特定样式 */
.hero-section {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 10px;
  margin-bottom: 3rem;
}

.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #5a6c7d;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: #0066cc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #0052a3;
  transform: translateY(-3px);
}

.features-section {
  margin-bottom: 3rem;
}

.features-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #2c3e50;
  font-size: 1.8rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
  margin-bottom: 1rem;
  color: #0066cc;
}

/* 全屋智能页面特定样式 */
.smart-home-header {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 3rem;
}

.smart-home-header h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.smart-home-header p {
  font-size: 1.2rem;
  color: #5a6c7d;
}

.smart-home-solutions h2,
.smart-home-features h2 {
  margin-bottom: 2rem;
  color: #2c3e50;
  font-size: 1.8rem;
  text-align: center;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.solution-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.solution-item h3 {
  margin-bottom: 1rem;
  color: #0066cc;
}

.features-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.features-list li {
  padding: 1rem 1.5rem 1rem 2.5rem;
  margin-bottom: 1rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.features-list li:before {
  content: '✓';
  color: #0066cc;
  font-weight: bold;
  position: absolute;
  left: 1rem;
}

/* 关于我们页面特定样式 */
.services-header {
  text-align: center;
  padding: 2rem 1rem 1.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(31,107,87,0.06), rgba(131,196,78,0.06));
  border: 1px solid var(--brand-border);
  border-radius: 12px;
}
.services-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}
.anchor-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.anchor-nav a {
  color: var(--brand-primary);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--brand-primary);
  border-radius: 20px;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.anchor-nav a:hover {
  background-color: var(--brand-primary);
  color: #fff;
}
.section-block {
  margin: 2rem 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.card-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.card .note {
  color: #5a6c7d;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}
.cta-button.inline {
  margin-top: 0.75rem;
  display: inline-block;
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.adv-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 1rem;
}
.adv-item .meta {
  color: #5a6c7d;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}
.timeline-item {
  background-color: #f5f7f6;
  border: 1px dashed #1f6b57;
  border-radius: 8px;
  padding: 0.8rem;
}
.timeline-item span {
  font-weight: bold;
  color: #155847;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.step {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 1rem;
}
.step .meta {
  color: #5a6c7d;
  font-size: 0.9rem;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.case {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 1rem;
}
.case .meta {
  color: #5a6c7d;
  font-size: 0.9rem;
}
.faq-list {
  list-style: none;
  padding: 0;
}
.faq-list li {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 1rem;
  margin-bottom: 0.75rem;
}
.cta-row {
  text-align: center;
  margin-top: 1rem;
}
.about-header {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 3rem;
}

.about-header h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.about-header p {
  font-size: 1.2rem;
  color: #5a6c7d;
}

.about-company,
.our-mission,
.core-values,
.contact-info {
  margin-bottom: 3rem;
}

.about-company h2,
.our-mission h2,
.core-values h2,
.contact-info h2 {
  margin-bottom: 1.5rem;
  color: #2c3e50;
  font-size: 1.8rem;
}

.about-company p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.mission-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mission-item h3 {
  margin-bottom: 1rem;
  color: #0066cc;
}

.values-list {
  list-style: none;
  padding: 0;
}

.values-list li {
  padding: 1rem 1.5rem 1rem 2.5rem;
  margin-bottom: 1rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.values-list li:before {
  content: '•';
  color: #0066cc;
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 1rem;
  top: 0.8rem;
}

.contact-info p {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

/* 桌面端隐藏移动菜单与按钮 */
.mobile-menu {
  display: none;
}
.menu-toggle {
  display: none;
}

/* 媒体查询 - 响应式设计 */
@media (max-width: 768px) {
  header {
    padding: 1rem;
  }
  
  nav {
    position: relative;
  }
  
  /* 导航链接默认隐藏在移动端 */
  .nav-links {
    display: none;
  }
  
  .menu-toggle {
    display: inline-flex;
  }
  
  /* 当更多按钮点击后显示的菜单 */
  .mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    width: 200px;
    z-index: 1000;
    display: none;
    margin-top: 0.5rem;
    will-change: transform, opacity;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .mobile-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
  }
  
  .mobile-menu ul {
    list-style: none;
    padding: 0.5rem 0;
  }
  
  .mobile-menu li {
    margin: 0;
  }
  
  .mobile-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .mobile-menu a:hover,
  .mobile-menu a.active {
    background-color: #f5f5f5;
    color: #1f6b57;
  }
  
  main {
    padding: 1rem;
  }
  
  .hero-section {
    padding: 2rem 1rem;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .feature-grid,
  .solution-grid,
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  
  .logo {
    /* 保持左侧品牌区域紧凑 */
  }
  .brand-logo {
    width: 24px;
    margin-right: 8px;
  }
  .brand-name {
    font-size: 1.4rem;
  }
  .anchor-nav {
    gap: 0.5rem;
  }
  .anchor-nav a {
    font-size: 0.9rem;
    padding: 0.35rem 0.7rem;
  }
  
  footer {
    padding: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-logo,
  .footer-links,
  .footer-contact {
    margin-bottom: 1.5rem;
  }
  .anchor-nav { gap:0.5rem; }
  .anchor-nav a { font-size:0.9rem; padding:0.35rem 0.7rem; }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: 0.6rem 1.5rem;
  }
  
  .smart-home-header h1,
  .about-header h1 {
    font-size: 1.8rem;
  }
  
  .smart-home-header p,
  .about-header p {
    font-size: 1rem;
  }
  
  .feature-item,
  .solution-item,
  .mission-item {
    padding: 1rem;
  }
}

/* 页脚样式 */
footer {
  background-color: #155847;
  color: #fff;
  padding: calc(2rem + env(safe-area-inset-bottom)) 2rem;
  padding-left: calc(2rem + env(safe-area-inset-left));
  padding-right: calc(2rem + env(safe-area-inset-right));
  text-align: left;
  font-size: 0.95rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 36px;
  height: auto;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #e6f2ee;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.footer-bottom a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-bottom a:hover { color: #ffffff; text-decoration: none; }
.footer-bottom p { margin: 0; }

@media (max-width: 768px) {
  footer {
    font-size: 0.9rem;
    padding: calc(1.5rem + env(safe-area-inset-bottom)) 1.25rem;
    padding-left: calc(1.25rem + env(safe-area-inset-left));
    padding-right: calc(1.25rem + env(safe-area-inset-right));
  }
}

/* 移动端菜单项动画 */
@keyframes mobileMenuFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu.active ul li {
  animation: mobileMenuFade 0.3s ease forwards;
}

.mobile-menu.active ul li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active ul li:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu.active ul li:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu.active ul li:nth-child(4) { animation-delay: 0.25s; }

/* 服务流程卡片与连线 */
.flow-wrapper { position: relative; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.flow-card { 
  background-color: #fff; 
  border-radius: 14px; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.06); 
  padding: 1.25rem 1.4rem; 
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  gap: 0.8rem; 
  min-height: 104px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  animation: flowFade 0.4s ease forwards;
}
.flow-card:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 10px 25px rgba(31,107,87,0.12), 0 0 0 2px rgba(31,107,87,0.35) inset; 
  background-color: #f8fbfa;
}
.step-number { 
  color: #83C44E; 
  font-weight: 800; 
  font-size: 1.6rem; 
  line-height: 1; 
}
.step-title { font-weight: 400; font-size: 1.2rem; color: #2c3e50; }
.flow-card:hover .step-number { color: #1f6b57; }
.flow-card:hover .step-title { color: #155847; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow-line { stroke: #83C44E; stroke-width: 2; fill: none; }
@keyframes flowFade {
  to { opacity: 1; transform: translateY(0); }
}

#flow .sub { text-align: center; margin-top: 0.8rem; margin-bottom: 1.6rem; }

@media (max-width: 768px) {
  .flow-grid { grid-template-columns: repeat(3, 1fr); }
  .step-title { font-size: 1.25rem; }
  .flow-grid .flow-card:nth-child(1) { grid-row: 1; grid-column: 1; }
  .flow-grid .flow-card:nth-child(2) { grid-row: 1; grid-column: 2; }
  .flow-grid .flow-card:nth-child(3) { grid-row: 1; grid-column: 3; }
  .flow-grid .flow-card:nth-child(4) { grid-row: 2; grid-column: 3; }
  .flow-grid .flow-card:nth-child(5) { grid-row: 2; grid-column: 2; }
  .flow-grid .flow-card:nth-child(6) { grid-row: 2; grid-column: 1; }
  .flow-grid .flow-card:nth-child(7) { grid-row: 3; grid-column: 1; }
  .flow-grid .flow-card:nth-child(8) { grid-row: 3; grid-column: 2; }
  .flow-grid .flow-card:nth-child(9) { grid-row: 3; grid-column: 3; }
  .flow-grid .flow-card:nth-child(10) { grid-row: 4; grid-column: 3; }
  .flow-grid .flow-card:nth-child(11) { grid-row: 4; grid-column: 2; }
  .flow-grid .flow-card:nth-child(12) { grid-row: 4; grid-column: 1; }
}

@media (max-width: 480px) {
  .flow-grid { grid-template-columns: repeat(3, 1fr); }
  .flow-card { min-height: 84px; }
  .step-number { font-size: 1.4rem; }
  .step-title { font-size: 1.15rem; }
  .flow-grid .flow-card:nth-child(1) { grid-row: 1; grid-column: 1; }
  .flow-grid .flow-card:nth-child(2) { grid-row: 1; grid-column: 2; }
  .flow-grid .flow-card:nth-child(3) { grid-row: 1; grid-column: 3; }
  .flow-grid .flow-card:nth-child(4) { grid-row: 2; grid-column: 3; }
  .flow-grid .flow-card:nth-child(5) { grid-row: 2; grid-column: 2; }
  .flow-grid .flow-card:nth-child(6) { grid-row: 2; grid-column: 1; }
  .flow-grid .flow-card:nth-child(7) { grid-row: 3; grid-column: 1; }
  .flow-grid .flow-card:nth-child(8) { grid-row: 3; grid-column: 2; }
  .flow-grid .flow-card:nth-child(9) { grid-row: 3; grid-column: 3; }
  .flow-grid .flow-card:nth-child(10) { grid-row: 4; grid-column: 3; }
  .flow-grid .flow-card:nth-child(11) { grid-row: 4; grid-column: 2; }
  .flow-grid .flow-card:nth-child(12) { grid-row: 4; grid-column: 1; }
}

@media (min-width: 769px) {
  .flow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flow-grid .flow-card:nth-child(1) { grid-row: 1; grid-column: 1; }
  .flow-grid .flow-card:nth-child(2) { grid-row: 1; grid-column: 2; }
  .flow-grid .flow-card:nth-child(3) { grid-row: 1; grid-column: 3; }
  .flow-grid .flow-card:nth-child(4) { grid-row: 1; grid-column: 4; }
  .flow-grid .flow-card:nth-child(5) { grid-row: 2; grid-column: 4; }
  .flow-grid .flow-card:nth-child(6) { grid-row: 2; grid-column: 3; }
  .flow-grid .flow-card:nth-child(7) { grid-row: 2; grid-column: 2; }
  .flow-grid .flow-card:nth-child(8) { grid-row: 2; grid-column: 1; }
  .flow-grid .flow-card:nth-child(9) { grid-row: 3; grid-column: 1; }
  .flow-grid .flow-card:nth-child(10) { grid-row: 3; grid-column: 2; }
  .flow-grid .flow-card:nth-child(11) { grid-row: 3; grid-column: 3; }
  .flow-grid .flow-card:nth-child(12) { grid-row: 3; grid-column: 4; }
}

.deliverables-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.deliverable-type { background-color: #fff; border-radius: 14px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); padding: 1.25rem 1.4rem; }
.deliverable-type .type-title { text-align: center; font-weight: 600; color: #2c3e50; margin-bottom: 1rem; }
.deliverable-type .type-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.deliverable-type .type-items.cols-1 { grid-template-columns: 1fr; }
.deliverable-item { background-color: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 1rem 1.2rem; text-align: center; color: #2c3e50; }
.deliverable-type .type-icon { width: 48px; height: 48px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; color: var(--brand-green); }

@media (max-width: 768px) {
  .deliverables-grid { grid-template-columns: 1fr; }
  .deliverable-type .type-items { grid-template-columns: 1fr; }
}

.scene-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.scene-card { background-color: #fff; border-radius: 14px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); padding: 1.25rem 1.4rem; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid rgba(0,0,0,0.02); }
.scene-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.scene-icon { width: 48px; height: 48px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; color: var(--brand-green); }
.scene-title { font-size: 1.1rem; color: #2c3e50; margin-bottom: 0.4rem; }
.scene-desc { color: #5a6c7d; font-size: 0.95rem; }

/* 场景图标主题色 */
.scene-card.mode-away .scene-icon { color: #ff8a3d; }
.scene-card.mode-home .scene-icon { color: #6ab335; }
.scene-card.mode-night .scene-icon { color: #4e79ff; }
.scene-card.mode-morning .scene-icon { color: #ffc107; }
.scene-card.mode-dinner .scene-icon { color: #ff6b1a; }
.scene-card.mode-movie .scene-icon { color: #4facfe; }
.scene-card.mode-guest .scene-icon { color: #1f6b57; }
.scene-card.mode-motion .scene-icon { color: #a048e0; }
.scene-card.mode-custom .scene-icon { color: #999999; }

/* 场景横向滑动 Banner */
.scene-slider { position: relative; }
.scene-track { 
  display: flex; 
  gap: 1rem; 
  overflow-x: auto; 
  scroll-snap-type: x mandatory; 
  padding: 0.25rem 0.25rem 0.75rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.scene-track::-webkit-scrollbar { height: 8px; }
.scene-track::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 8px; }
.scene-track::-webkit-scrollbar-track { background: transparent; }
.scene-track .scene-card { 
  flex: 0 0 auto; 
  width: clamp(240px, 28vw, 380px); 
  aspect-ratio: 3 / 4; /* 高:宽=4:3 => 宽/高=3/4 */
  border-radius: 18px; 
  position: relative; 
  scroll-snap-align: start; 
  overflow: hidden;
  color: #fff;
  background-color: #0f1a1a;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-auto-rows: auto;
  align-content: end;
  column-gap: 0.8rem;
  row-gap: 0.35rem;
  padding: 0.75rem 1rem 1rem;
  text-align: left;
}
.scene-card::before { 
  content: ''; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.45) 35%, rgba(0,0,0,0.55) 70%); 
  pointer-events: none;
}
.scene-card .scene-icon, 
.scene-card .scene-title, 
.scene-card .scene-desc { position: relative; z-index: 1; }
.scene-card .scene-icon { 
  width: 48px; 
  height: 48px; 
  margin: 0; 
  grid-column: 1; 
  grid-row: 1 / span 2; 
  align-self: end; 
  justify-self: start;
}
.scene-card .scene-title { 
  grid-column: 2; 
  grid-row: 1; 
  font-size: 1.2rem; 
  font-weight: 700; 
  color: #fff; 
  align-self: end;
}
.scene-card .scene-desc { 
  grid-column: 2; 
  grid-row: 2; 
  color: #e6f2ee; 
  font-size: 0.95rem; 
  align-self: start;
}
.scene-nav { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 0.75rem; 
  margin-top: 0.5rem; 
}
.scene-arrow { 
  width: 40px; height: 40px; 
  border-radius: 999px; 
  border: 1px solid rgba(255,255,255,0.25); 
  background: rgba(255,255,255,0.12); 
  color: #fff; 
  display: inline-flex; align-items: center; justify-content: center; 
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.scene-arrow:hover { transform: translateY(-2px); background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); }
.scene-arrow:active { transform: translateY(0); }
.scene-dots { display: inline-flex; align-items: center; gap: 0.4rem; }
.scene-dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.35); transition: width 0.2s ease, background 0.2s ease; }
.scene-dot.active { width: 18px; background: #fff; border-radius: 6px; }

@media (max-width: 768px) {
  .scene-track .scene-card { width: clamp(200px, 55vw, 320px); }
}

.table-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  padding: 0.5rem 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(0,0,0,0.05);
  margin-bottom: 1rem;
  position: relative;
}
.table-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #83C44E, #a8e063);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.pricing-table thead th {
  background: var(--brand-bg);
  color: #2c3e50;
  font-weight: 600;
}
.pricing-table th,
.pricing-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  text-align: left;
  color: #2c3e50;
  vertical-align: middle;
}
.pricing-table tbody tr:nth-child(even) {
  background: #fcfcfc;
}
.pricing-table tbody tr:hover {
  background: rgba(131,196,78,0.06);
}
.pricing-table-main td:nth-child(2) {
  color: #1f6b57;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.pricing-table-item td:nth-child(2) {
  color: #1f6b57;
  font-weight: 400;
}
@media (max-width: 768px) {
  .pricing-table th,
  .pricing-table td {
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
  }
}
