/* ========================================
   管家婆云创业版 - 新版首页样式
   ======================================== */

/* CSS变量定义 */
:root {
  --primary-blue: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --gradient-start: #3b82f6;
  --gradient-end: #1d4ed8;
  --text-primary: #485466;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-blue-light: #eff6ff;
  --border-color: #f0f1f5f1;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hirino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   导航栏 Header
   ======================================== */
.new-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

.new-header .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.new-header .logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.new-header .logo img {
  height: 30px;
  width: auto;
}

.new-header .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.new-header .btn {
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.new-header .btn-login {
  color: var(--primary-blue);
  background: transparent;
  border: 1px solid var(--primary-blue);
}

.new-header .btn-login:hover {
  background: var(--bg-blue-light);
}

.new-header .btn-register {
  color: var(--bg-white);
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.new-header .btn-register:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   Banner区域
   ======================================== */
.new-banner {
  position: relative;
  min-height: 500px;
  padding-top: 70px;
  background: url('../images1/banner-bg.png') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.new-banner .banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  width: 100%;
}

.new-banner .banner-text {
  flex: 1;
  max-width: 560px;
  color: #333;
}

.new-banner .banner-subtitle {
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 12px;
  opacity: 0.9;
}

.new-banner .banner-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.new-banner .banner-desc {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  opacity: 0.95;
}

.new-banner .banner-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.new-banner .tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;  
  backdrop-filter: blur(10px);
  font-size: 14px;
}

.new-banner .tag-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ========================================
   功能区域 Features
   ======================================== */
.new-features {
  padding: 80px 0;
  background: linear-gradient(210deg, var(--gradient-start) 0%, var(--bg-blue-light) 40%);
  position: relative;
}

.new-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.5;
}

.new-features .container {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 20px;
}

.feature-card {
  background: transparent;
  padding: 32px;
  transition: all 0.3s ease;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.feature-card:nth-child(3n) {
  border-right: none;
}

.feature-card:nth-last-child(-n+3) {
  border-bottom: none;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   为什么选择 Why Choose
   ======================================== */
.new-whychoose {
  padding: 80px 0;
  background: url('../images1/whychoice-bg.png') no-repeat center center;
  background-size: cover;
  position: relative;
}

.new-whychoose .container {
  position: relative;
  z-index: 1;
}

.whychoose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.whychoose-card {
  background: rgb(245,247,255);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}


.whychoose-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.whychoose-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.whychoose-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.whychoose-desc {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: left;
  line-height: 1.6;
}

/* ========================================
   行业区域 Industries
   ======================================== */
.new-industries {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #581c87 100%);
  position: relative;
}

.new-industries::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images1/industry-bg.png') no-repeat center center;
  background-size: cover;
  opacity: 0.3;
}

.new-industries .container {
  position: relative;
  z-index: 1;
}

.new-industries .section-title,
.new-industries .section-subtitle {
  color: var(--bg-white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.industry-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.industry-card:hover img {
  transform: scale(1.1);
}

.industry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--bg-white);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.industry-name {
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.industry-name-en {
  font-size: 12px;
  opacity: 0.8;
  display: block;
}

/* ========================================
   FAQ区域
   ======================================== */
.new-faq {
  padding: 80px 0;
  background: url('../images1/faq-bg.png') no-repeat center center;
  background-size: cover;
  position: relative;
}

.new-faq .container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-blue-light);
}

.faq-question-text {
  font-size: 20px;
  font-weight:bold;
  color: var(--text-primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer-content {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========================================
   CTA区域
   ======================================== */
.new-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.new-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.new-cta .container {
  position: relative;
  z-index: 1;
}

.cta-slogan {
  font-size: 32px;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 32px;
}

.cta-slogan img {
  max-width: 400px;
  height: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cta-btn {
  padding: 14px 60px;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.cta-btn-primary {
  color: var(--primary-blue);
  background: var(--bg-white);
}

.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-subtitle {
  font-size: 14px;
  color: var(--bg-white);
  opacity: 0.9;
  text-align: center;
}

/* ========================================
   悬浮按钮
   ======================================== */
.grasp-fixed_btn {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.grasp-fixed_btn .btn-icon {
  display: block;
  width: 48px;
  height: 48px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.grasp-fixed_btn .btn-icon:hover {
  transform: scale(1.1);
}

.grasp-fixed_btn .go-top {
  background: url('../images/goTop.png') no-repeat center center;
  background-size: contain;
}

.grasp-fixed_btn .go-top:hover {
  background: url('../images/goTop_hover.png') no-repeat center center;
  background-size: contain;
}

.grasp-fixed_btn .qq {
  background: url('../images/qq.png') no-repeat center center;
  background-size: contain;
}

.grasp-fixed_btn .qq:hover {
  background: url('../images/qq_hover.png') no-repeat center center;
  background-size: contain;
}

.grasp-fixed_btn .wechat {
  position: relative;
  background: url('../images/wechat.png') no-repeat center center;
  background-size: contain;
}

.grasp-fixed_btn .wechat .erCode {
  position: absolute;
  display: none;
  top: -30px;
  right: 60px;
  width: 120px;
  height: 120px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
}

.grasp-fixed_btn .wechat:hover {
  background: url('../images/wechat_hover.png') no-repeat center center;
  background-size: contain;
}

.grasp-fixed_btn .wechat:hover .erCode {
  display: block;
}

.grasp-fixed_btn .add-user {
  background: url('../images/user.png') no-repeat center center;
  background-size: contain;
}

.grasp-fixed_btn .add-user:hover {
  background: url('../images/user_hover.png') no-repeat center center;
  background-size: contain;
}

/* ========================================
   页脚 Footer
   ======================================== */
.new-footer {
  background: #1f2937;
  color: var(--bg-white);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  height: 32x;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.8;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--bg-white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--bg-white);
}

.footer-contact {
  text-align: right;
}

.footer-service-title {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 14px;
  color: var(--bg-white);
  margin-bottom: 8px;
}

.footer-service-title img {
  width: 16px;
  height: 16px;
}

.footer-phone {
  font-size: 28px;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 8px;
}

.footer-time {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.footer-qrcode-section {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.footer-qrcode {
  width: 80px;
  height: 80px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 6px;
}

.footer-qrcode img {
  width: 100%;
  height: 100%;
}

.footer-qrcode-text {
  text-align: left;
}

.footer-qrcode-text p {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 24px 0;
  text-align: center;
}

.footer-copyright {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.8;
}

.footer-copyright a {
  color: #6b7280;
  text-decoration: none;
}

.footer-copyright a:hover {
  color: #9ca3af;
}

/* ========================================
   响应式适配
   ======================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .whychoose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .new-header {
    height: 60px;
  }
  
  .new-header .logo img {
    height: 28px;
  }
  
  .new-header .btn {
    padding: 6px 16px;
    font-size: 13px;
  }
  
  .new-banner {
    min-height: auto;
    padding: 100px 0 60px;
  }
  
  .new-banner .banner-content {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  
  .new-banner .banner-text {
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .new-banner .banner-title {
    font-size: 32px;
  }
  
  .new-banner .banner-subtitle {
    font-size: 16px;
  }
  
  .new-banner .banner-desc {
    font-size: 14px;
  }
  
  .new-banner .banner-tags {
    justify-content: center;
  }
  
  .new-banner .banner-images {
    height: 250px;
    width: 100%;
  }
  
  .new-banner .banner-icon {
    width: 80px;
    height: 80px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .new-features,
  .new-whychoose,
  .new-industries,
  .new-faq,
  .new-cta {
    padding: 60px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 24px;
  }
  
  .whychoose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .whychoose-card {
    padding: 24px 16px;
  }
  
  .whychoose-icon {
    width: 48px;
    height: 48px;
  }
  
  .whychoose-title {
    font-size: 14px;
  }
  
  .whychoose-desc {
    font-size: 12px;
  }
  
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .industry-name {
    font-size: 14px;
  }
  
  .faq-question {
    padding: 16px 20px;
  }
  
  .faq-question-text {
    font-size: 14px;
  }
  
  .faq-answer-content {
    padding: 0 20px 16px;
    font-size: 13px;
  }
  
  .cta-slogan {
    font-size: 24px;
  }
  
  .cta-slogan img {
    max-width: 280px;
  }
  
  .cta-btn {
    padding: 12px 32px;
    font-size: 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-contact {
    text-align: center;
  }
  
  .footer-phone {
    justify-content: center;
  }
  
  .footer-qrcode {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .new-banner .banner-title {
    font-size: 26px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .whychoose-grid {
    grid-template-columns: 1fr;
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-slogan {
    font-size: 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 280px;
  }
  
  .grasp-fixed_btn {
    display: none !important;
  }
}
