/* ============================================
   酒便利官网 - 首页样式
   Design System: Obsidian & Warm Amber
   ============================================ */

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/one_1.png') center / cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 15, 15, 0.3) 0%,
    rgba(28, 28, 28, 0.15) 40%,
    rgba(45, 45, 45, 0.1) 60%,
    rgba(15, 15, 15, 0.25) 100%
  );
  z-index: 1;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 165, 116, 0.1) 0%,
    rgba(212, 165, 116, 0.03) 50%,
    rgba(212, 165, 116, 0.07) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  padding-top: var(--header-height);
  padding-bottom: 60px;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 12px;
  line-height: 1.3;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title span {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.hero-subtitle span {
  color: var(--color-accent-light);
  margin: 0 12px;
  opacity: 0.7;
}

.hero-disclaimer {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 16px;
}

/* ===== Feature Strip ===== */
.feature-strip {
  background: var(--color-white);
  padding: 0;
  margin: -300px auto 0;
  position: relative;
  z-index: 3;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  max-width: var(--container-max);
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.feature-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--color-border);
}

.feature-item:hover {
  background: var(--color-bg-warm);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}

.feature-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: 4px;
}

.feature-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 140px;
}

.feature-line {
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  margin: 8px auto 0;
  border-radius: 1px;
}

/* ===== Company Intro Section ===== */
.intro-section {
  padding: 80px 0 64px;
  background: var(--color-white);
}

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

.intro-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

.intro-text {
  padding: 20px 0;
}

.intro-tag {
  display: inline-block;
  font-size: 14px;
  color: var(--color-accent-dark);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid var(--color-accent-light);
  border-radius: var(--radius-full);
}

.intro-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.intro-subtitle {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* Stats */
.intro-stats {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.stat-item {}

.stat-number {
  font-size: 44px;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: var(--color-text-light);
  letter-spacing: 2px;
}

/* ===== Investment Section ===== */
.invest-section {
  padding: 80px 0;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.invest-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/three_1.png') center / cover no-repeat;
  opacity: 0.08;
}

.invest-content {
  position: relative;
  z-index: 1;
}

.invest-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.invest-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 165, 116, 0.15);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 48px 36px 40px;
  text-align: center;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.invest-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(212, 165, 116, 0.15);
  border-color: rgba(212, 165, 116, 0.3);
}

.invest-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
}

.invest-card-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.invest-card-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
}

.invest-cta {
  text-align: center;
  margin-top: 48px;
}

.invest-phone {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.invest-phone strong {
  color: var(--color-accent);
  font-size: 22px;
  font-family: var(--font-serif);
  letter-spacing: 1px;
}

/* ===== News Section ===== */
.news-section {
  padding: 80px 0;
  background: var(--color-bg-warm);
}

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.news-header-left .section-title {
  text-align: left;
}

.news-header-left .accent-line {
  margin: 20px 0 0;
}

.news-more {
  font-size: 15px;
  color: var(--color-accent-dark);
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.news-more:hover {
  color: var(--color-accent);
  gap: 10px;
}

.news-more::after {
  content: '';
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: width var(--transition-fast);
}

.news-more:hover::after {
  width: 24px;
}

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

.news-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

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

.news-card-img {
  height: 220px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 20px;
}

.news-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.news-card-date {
  font-size: 14px;
  color: var(--color-text-muted);
}

.news-card-desc {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.news-card-link {
  font-size: 14px;
  color: var(--color-accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.news-card-link:hover {
  color: var(--color-accent);
  gap: 10px;
}

.news-card-link::after {
  content: '\2192';
  transition: transform var(--transition-fast);
}

.news-card-link:hover::after {
  transform: translateX(4px);
}

/* ===== Help Section ===== */
.help-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.help-bg {
  position: absolute;
  inset: 0;
  background: url('../images/five_5.png') center / cover no-repeat;
  z-index: 0;
}

.help-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 15, 0.85) 0%,
    rgba(15, 15, 15, 0.75) 100%
  );
  z-index: 1;
}

.help-content {
  position: relative;
  z-index: 2;
}

.help-services {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
}

.help-service {
  text-align: center;
  transition: all var(--transition-normal);
}

.help-service:hover {
  transform: translateY(-8px);
}

.help-service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.help-service:hover .help-service-icon {
  background: rgba(212, 165, 116, 0.2);
  border-color: var(--color-accent);
}

.help-service-icon img {
  width: 36px;
  height: 36px;
}

.help-service-name {
  font-size: 17px;
  color: var(--color-white);
  letter-spacing: 4px;
}

.help-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== Right Floating Sidebar ===== */
.right-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.sidebar-item {
  width: 56px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-mid) 100%);
  cursor: pointer;
  position: relative;
  transition: background var(--transition-fast);
}

.sidebar-item:hover {
  background: var(--color-primary-soft);
}

.sidebar-item + .sidebar-item {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-icon {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
}

.sidebar-item:hover .sidebar-icon {
  color: var(--color-accent);
}

.sidebar-popup {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  pointer-events: none;
}

.sidebar-popup::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--color-white);
  box-shadow: 2px -2px 4px rgba(0,0,0,0.05);
}

.sidebar-item:hover .sidebar-popup {
  opacity: 1;
  visibility: visible;
  right: 62px;
  pointer-events: auto;
}

.sidebar-popup-text {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.sidebar-popup-qr {
  width: 140px;
  height: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.sidebar-popup-phone {
  font-size: 15px;
  color: var(--color-primary);
  font-weight: 600;
}

.sidebar-popup-phone strong {
  color: var(--color-accent-dark);
  font-size: 20px;
  font-family: var(--font-serif);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.back-to-top:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.back-to-top::before {
  content: '';
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--color-accent);
  border-left: 2px solid var(--color-accent);
  transform: rotate(45deg) translate(2px, 2px);
  transition: border-color var(--transition-fast);
}

.back-to-top:hover::before {
  border-color: var(--color-white);
}
