
/* 新版头部导航 */
.header-fix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #165DFF;
}

.header-actions .btn-primary {
    padding: 8px 20px;
    background: #165DFF;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
}

/* 让 section-full 真正撑满 */
.section-full {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 多多田官网主样式文件 */
/* 创建时间: 2026年4月13日 */

/* 基础变量 */
:root {
  --primary-color: #165DFF;
  --primary-dark: #0F389E;
  --primary-light: #6AA1FF;
  --secondary-color: #FF6B9D;
  --accent-color: #8B4513;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e8e8e8;
  --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-heavy: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 页面英雄区域 */
.page-hero {
  margin-top: 70px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(22, 93, 255, 0.3) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content .tagline {
  font-size: 1.3rem;
  color: #a8c7ff;
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 40px;
}

/* 品牌区域 */
.brands-section {
  background: var(--bg-white);
  padding: 80px 0;
}

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

.section-title h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* 品牌卡片 */
.brand-card {
  background: var(--bg-light);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.brand-header {
  padding: 30px;
}

.brand-card.siplucky .brand-header {
  background: linear-gradient(135deg, #FFA5C3 0%, #FF6B9D 100%);
}

.brand-card.niuzhanshi .brand-header {
  background: linear-gradient(135deg, #D4A574 0%, #8B4513 100%);
}

.brand-card h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.brand-card.siplucky h3,
.brand-card.niuzhanshi h3 {
  color: white;
}

.brand-card .slogan {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 300;
}

.brand-card.siplucky .slogan {
  color: #ffe8f0;
}

.brand-card.niuzhanshi .slogan {
  color: #f8f5f1;
}

.brand-content {
  padding: 25px;
}

.brand-content p {
  color: var(--text-medium);
  margin-bottom: 20px;
  line-height: 1.7;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.brand-tag {
  background: rgba(22, 93, 255, 0.1);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.brand-card.siplucky .brand-tag {
  background: rgba(255, 107, 157, 0.1);
  color: var(--secondary-color);
}

.brand-card.niuzhanshi .brand-tag {
  background: rgba(139, 69, 19, 0.1);
  color: var(--accent-color);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: rgba(22, 93, 255, 0.1);
}

.btn-view {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-view:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* 关于我们区域 */
.about-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text-medium);
  line-height: 1.8;
}

/* 联系方式区域 */
.contact-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-light);
}

.contact-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.contact-item p {
  color: var(--text-medium);
  line-height: 1.6;
}

/* 页脚 */
.footer {
  background: #1a1a2e;
  color: white;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #a8c7ff;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999999;
  font-size: 0.9rem;
}

/* 动画效果 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content .tagline {
    font-size: 1.1rem;
  }
  
  .brands-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .page-hero {
    padding: 60px 0;
  }
  
  .brands-section,
  .about-section,
  .contact-section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .brand-card h3 {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
/* 多多田版面修复 - 2026年4月13日 */

/* 1. 品牌展示部分修复 */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.brand-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.brand-header {
  padding: 25px 25px 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
}

.brand-header h3 {
  font-size: 1.5rem;
  margin: 0 0 5px 0;
}

.brand-header .slogan {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0;
}

.brand-content {
  padding: 20px 25px 25px;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.tag {
  background: #f0f7ff;
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
}

.btn-view {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-view:hover {
  background: var(--primary-dark);
}

/* 2. 响应式修复 */
@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .brand-header {
    padding: 20px 20px 12px;
  }
  
  .brand-content {
    padding: 15px 20px 20px;
  }
  
  .brand-header h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .brands-grid {
    gap: 15px;
  }
  
  .brand-card {
    border-radius: 12px;
  }
}

/* 3. 通用布局修复 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

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

.section-title h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-medium);
  font-size: 1.1rem;
}

/* 4. 页脚修复 */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

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

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}
/* 针对性修复 - 解决图片中显示的问题 */

/* 1. 统一品牌卡片高度 */
.brand-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px;
}

.brand-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.brand-content p {
  flex: 1;
  margin-bottom: 15px;
}

/* 2. 统一按钮样式 */
.btn-view {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 10px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: auto;
  align-self: flex-start;
}

.btn-view:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 3. 统一标签样式 */
.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.tag {
  display: inline-block;
  background: #f0f7ff;
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(22, 93, 255, 0.1);
}

/* 4. 为牛哥哥品牌添加特定样式 */
.brand-card.newgege .brand-header {
  background: linear-gradient(135deg, #6AA1FF 0%, #165DFF 100%);
}

.brand-card.newgege h3,
.brand-card.newgege .slogan {
  color: white;
}

.brand-card.newgege .tag {
  background: rgba(22, 93, 255, 0.1);
  color: #165DFF;
  border-color: rgba(22, 93, 255, 0.2);
}

/* 5. 修复网格布局 */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* 6. 移动端优化 */
@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .brand-card {
    min-height: 350px;
  }
}

@media (max-width: 480px) {
  .brand-card {
    min-height: 320px;
  }
  
  .btn-view {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}

/* 7. 确保所有品牌卡片视觉一致 */
.brand-card.siplucky .btn-view {
  background: #FF6B9D;
}

.brand-card.siplucky .btn-view:hover {
  background: #E85384;
}

.brand-card.niuzhanshi .btn-view {
  background: #8B4513;
}

.brand-card.niuzhanshi .btn-view:hover {
  background: #6B3410;
}

.brand-card.newgege .btn-view {
  background: #165DFF;
}

.brand-card.newgege .btn-view:hover {
  background: #0F389E;
}
/* ============================================
   多多田官网CSS综合修复
   修复时间: 2026年4月14日
   修复问题: 布局、响应式、间距、导航等
   ============================================ */

/* 1. 全局布局修复 */
body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-wrapper {
    flex: 1;
    width: 100%;
}

/* 2. 导航栏修复 - 防止遮盖内容 */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* 为固定导航栏留出空间 */
body {
    padding-top: 80px !important;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px !important;
    }
    
    .navbar {
        padding: 10px 0 !important;
    }
}

/* 3. 容器和间距修复 */
.container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.section {
    margin: 40px 0 !important;
    padding: 30px 0 !important;
}

.section:first-of-type {
    margin-top: 20px !important;
}

/* 4. 品牌展示区域修复 */
.brand-showcase {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 30px !important;
    margin: 40px 0 !important;
}

.brand-item {
    flex: 1 1 300px !important;
    max-width: 350px !important;
    min-width: 280px !important;
    background: white !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-light) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.brand-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-medium) !important;
}

.brand-item img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
}

.brand-content {
    padding: 20px !important;
}

/* 5. 响应式设计修复 */
@media (max-width: 1200px) {
    .container {
        max-width: 100% !important;
        padding: 0 30px !important;
    }
}

@media (max-width: 992px) {
    .brand-showcase {
        gap: 20px !important;
    }
    
    .brand-item {
        flex: 1 1 calc(50% - 20px) !important;
        max-width: calc(50% - 20px) !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px !important;
    }
    
    .brand-showcase {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .brand-item {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .section {
        margin: 30px 0 !important;
        padding: 20px 0 !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px !important;
    }
    
    .brand-item {
        margin: 0 0 15px 0 !important;
    }
}

/* 6. 图片和媒体修复 */
img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

.video-container, .media-container {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 56.25% !important; /* 16:9 比例 */
    height: 0 !important;
    overflow: hidden !important;
}

.video-container iframe,
.video-container video,
.media-container iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* 7. 按钮和交互元素修复 */
.btn, button {
    display: inline-block !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.btn-primary {
    background: var(--primary-color) !important;
    color: white !important;
}

.btn-primary:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3) !important;
}

/* 8. 文字和排版修复 */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

h1 {
    font-size: 2.5rem !important;
}

h2 {
    font-size: 2rem !important;
}

h3 {
    font-size: 1.5rem !important;
}

p {
    margin-bottom: 15px !important;
    line-height: 1.7 !important;
}

/* 9. 表单元素修复 */
input, textarea, select {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    transition: border-color 0.3s ease !important;
}

input:focus, textarea:focus, select:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1) !important;
}

/* 10. 页脚修复 */
.footer {
    margin-top: auto !important;
    background: #1a1a1a !important;
    color: white !important;
    padding: 40px 0 !important;
}

.footer .container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
}

.footer-section {
    flex: 1 1 250px !important;
    margin-bottom: 20px !important;
}

/* 11. 工具类 - 快速修复 */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.ml-0 { margin-left: 0 !important; }
.mr-0 { margin-right: 0 !important; }

.mt-10 { margin-top: 10px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.mb-30 { margin-bottom: 30px !important; }

.p-0 { padding: 0 !important; }
.p-10 { padding: 10px !important; }
.p-20 { padding: 20px !important; }
.p-30 { padding: 30px !important; }

.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-none { display: none !important; }

.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.justify-center { justify-content: center !important; }
.align-center { align-items: center !important; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

/* 12. 打印样式修复 */
@media print {
    .navbar, .footer, .no-print {
        display: none !important;
    }
    
    body {
        padding-top: 0 !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
}

/* ============================================
   修复完成标记
   ============================================ */
/* 最后更新: 2026年4月14日 00:30 */
/* 修复者: AI助手 */
/* 状态: 综合CSS修复已应用 */


/* AI客服悬浮按钮 */
.ai-chat-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-chat-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
}

.ai-chat-fab svg {
    width: 28px;
    height: 28px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .ai-chat-fab {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }
}
