/* TKMALL 自定义样式表 */

/* 全局变量 */
:root {
  --primary-color: #3a86ff;
  --secondary-color: #ff006e;
  --accent-color: #8338ec;
  --background-color: #f8f9fa;
  --card-background: #ffffff;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #888888;
  --card-radius: 12px;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --transition-speed: 0.3s;
}

/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--accent-color);
}

img, video {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* 布局工具类 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

/* 卡片基础样式 */
.card {
  background-color: var(--card-background);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 32px;
  margin-bottom: 40px;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  text-align: center;
}

.btn svg {
  margin-left: 8px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #2a75ed;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: #e0005f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 110, 0.3);
  color: white;
}

/* 导航栏样式 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  height: 80px;
}

.navbar-logo a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.navbar-logo span {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-link {
  font-weight: 500;
  font-size: 16px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.navbar-auth {
  display: flex;
  align-items: center;
  gap: 20px;
}

.login-link {
  font-weight: 600;
  color: var(--text-primary);
}

.login-link:hover {
  color: var(--primary-color);
}

.navbar-toggle {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

/* Hero Section 样式 */
.hero-section {
  padding-top: 150px;
  padding-bottom: 100px;
  background-color: var(--background-color);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-text {
  flex: 1;
  padding: 40px;
  z-index: 10;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-left: 5px solid var(--primary-color);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.hero-title .highlight {
  color: var(--primary-color);
  font-weight: 800;
}

.hero-btn {
  padding: 15px 30px;
  font-size: 18px;
}

.hero-media {
  flex: 1.5;
  position: relative;
  height: 500px;
}

.media-card {
  position: absolute;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.5s ease;
}

.media-card.middle {
  width: 60%;
  height: 70%;
  top: 15%;
  left: 20%;
  z-index: 3;
}

.media-card.left {
  width: 45%;
  height: 55%;
  top: 10%;
  left: 0;
  z-index: 2;
}

.media-card.right {
  width: 45%;
  height: 55%;
  top: 35%;
  right: 0;
  z-index: 2;
}

.media-card:hover {
  transform: scale(1.05);
  z-index: 4;
}

.hero-video, .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-cta {
  display: none;
  margin-top: 30px;
  text-align: center;
}

/* 特色内容区域样式 */
.features-section {
  background-color: #f0f5ff;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.features-content {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.features-video {
  flex: 1;
  overflow: hidden;
  padding: 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: var(--card-radius);
}

.feature-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
}

.feature-card:nth-child(odd) {
  border-left-color: var(--primary-color);
}

.feature-card:nth-child(even) {
  border-left-color: var(--secondary-color);
}

.feature-card:hover {
  transform: translateX(5px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* 商业解决方案区域样式 */
.solutions-section {
  background-color: white;
  position: relative;
}

.solutions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(131, 56, 236, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(58, 134, 255, 0.05) 0%, transparent 50%);
  z-index: -1;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: var(--card-radius);
  background: linear-gradient(to bottom, white, #f8f9fa);
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.solution-video-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
}

.solution-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-title {
  font-size: 20px;
  margin: 20px 20px 10px;
  color: var(--text-primary);
}

.solution-description {
  font-size: 16px;
  color: var(--text-secondary);
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* 用户类型区域样式 */
.user-types-section {
  background-color: #f0f8ff;
  padding: 100px 0;
}

.user-types-tabs {
  margin-top: 40px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.tab-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  padding: 12px 24px;
  background-color: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tabs-content {
  position: relative;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
  display: block;
}

.user-type-card {
  display: flex;
  gap: 40px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, #ffffff 0%, #f0f5ff 100%);
}

.user-type-info {
  flex: 1;
  padding: 40px;
}

.user-type-title {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.user-type-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.7;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.benefit-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.benefit-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.user-type-btn {
  font-size: 16px;
  padding: 14px 28px;
}

.user-type-image {
  flex: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  min-height: 500px;
}

/* 统计数据区域样式 */
.stats-section {
  background-color: #ffffff;
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI4MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGRlZnM+CiAgICA8cGF0dGVybiBpZD0ic21hbGwtZ3JpZCIgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KICAgICAgPHBhdGggZD0iTSAxMCAwIEwgMCAwIEwgMCAxMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDAsIDAsIDAsIDAuMDMpIiBzdHJva2Utd2lkdGg9IjEiPjwvcGF0aD4KICAgIDwvcGF0dGVybj4KICAgIDxwYXR0ZXJuIGlkPSJncmlkIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CiAgICAgIDxyZWN0IHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBmaWxsPSJ1cmwoI3NtYWxsLWdyaWQpIj48L3JlY3Q+CiAgICAgIDxwYXRoIGQ9Ik0gMTAwIDAgTCAwIDAgTCAwIDEwMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDAsIDAsIDAsIDAuMDUpIiBzdHJva2Utd2lkdGg9IjIiPjwvcGF0aD4KICAgIDwvcGF0dGVybj4KICA8L2RlZnM+CiAgCiAgPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmlkKSIgLz4KPC9zdmc+');
  opacity: 0.3;
  z-index: -1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-card {
  text-align: center;
  background: linear-gradient(145deg, #ffffff, #f0f5ff);
  padding: 0 0 30px;
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.stat-video-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.stat-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-content {
  padding: 0 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number span {
  font-size: 1.5rem;
  margin-left: 5px;
  color: var(--accent-color);
}

.stat-description {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.stats-disclaimer {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* 响应式布局 */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stat-number {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text, .hero-media {
    width: 100%;
  }
  
  .hero-media {
    height: 400px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .features-content {
    flex-direction: column;
  }
  
  .features-video, .features-grid {
    width: 100%;
  }
  
  .user-type-card {
    flex-direction: column;
  }
  
  .user-type-image {
    width: 100%;
    min-height: 300px;
    border-radius: 0 0 var(--card-radius) var(--card-radius);
  }
  
  .stats-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  .navbar-links, .navbar-auth {
    display: none;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .navbar.active .nav-menu {
    position: fixed;
    left: 0;
    top: 80px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .navbar.active .navbar-auth {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    background-color: white;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .mobile-cta {
    display: block;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-section {
    padding-top: 120px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-description {
    font-size: 16px;
  }
  
  .solutions-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .tabs-nav {
    flex-wrap: wrap;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .card {
    padding: 24px;
  }
  
  .media-card.middle, .media-card.left, .media-card.right {
    position: relative;
    width: 100%;
    height: 250px;
    top: auto;
    left: auto;
    right: auto;
    margin-bottom: 20px;
  }
  
  .hero-media {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  
  .user-type-info {
    padding: 30px 20px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
} 