/* ========================================
   海科融通流量卡POS - 深酒红秒免风格
   ======================================== */

/* CSS Variables */
:root {
  /* 主色系 */
  --hkrt-wine: #3D1F1F;
  --hkrt-wine-light: #4D2F2F;
  --hkrt-wine-dark: #2D1515;
  
  /* 强调色 */
  --instant-cyan: #06B6D4;
  --instant-cyan-light: #22D3EE;
  --instant-cyan-dark: #0891B2;
  
  --gift-green: #10B981;
  --gift-green-light: #34D399;
  --gift-green-dark: #059669;
  
  /* 背景色 */
  --bg-page: #F7F0F0;
  --bg-section: #FFFFFF;
  --bg-card: #FFFFFF;
  
  /* 文字色 */
  --text-dark: #1A0F0F;
  --text-body: #334155;
  --text-light: #64748B;
  --text-muted: #94A3B8;
  
  /* 其他 */
  --shadow-sm: 0 1px 2px rgba(61, 31, 31, 0.05);
  --shadow-md: 0 4px 6px rgba(61, 31, 31, 0.07);
  --shadow-lg: 0 10px 15px rgba(61, 31, 31, 0.1);
  --shadow-wine: 0 4px 20px rgba(61, 31, 31, 0.15);
  
  /* 间距 */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* 圆角 */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* 过渡 */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 数字英文使用 DM Sans */
.font-dm {
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FFFFFF;
  transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-wine);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--hkrt-wine);
  font-weight: 700;
  font-size: 1.25rem;
}

.navbar-logo svg {
  width: 36px;
  height: 36px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.navbar-nav a {
  text-decoration: none;
  color: var(--text-body);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--hkrt-wine);
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--instant-cyan);
  transition: width var(--transition-base);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-cta {
  background: linear-gradient(135deg, var(--instant-cyan), var(--instant-cyan-dark));
  color: #FFFFFF !important;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.navbar-cta::after {
  display: none !important;
}

/* 汉堡菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--hkrt-wine);
  transition: var(--transition-base);
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px var(--space-lg) var(--space-3xl);
  background: linear-gradient(135deg, var(--hkrt-wine) 0%, var(--hkrt-wine-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--space-xs) var(--space-md);
  border-radius: 100px;
  font-size: 0.875rem;
  margin-bottom: var(--space-lg);
}

.hero-tag .highlight {
  color: var(--instant-cyan);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  position: relative;
  z-index: 1;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Hero 秒青背景变体 */
.hero-instant {
  background: linear-gradient(135deg, var(--instant-cyan-dark) 0%, var(--instant-cyan) 100%);
  min-height: 400px;
}

.hero-instant .hero-tag {
  background: rgba(255, 255, 255, 0.2);
}

.hero-instant .hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

/* Hero 免绿背景变体 */
.hero-gift {
  background: linear-gradient(135deg, var(--gift-green-dark) 0%, var(--gift-green) 100%);
  min-height: 400px;
}

.hero-gift .hero-tag {
  background: rgba(255, 255, 255, 0.2);
}

.hero-gift .hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

/* Hero 深酒红渐变变体 */
.hero-wine {
  background: linear-gradient(135deg, var(--hkrt-wine) 0%, var(--hkrt-wine-light) 50%, var(--hkrt-wine) 100%);
  min-height: 400px;
}

/* ========================================
   按钮样式
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
}

.btn-primary {
  background: linear-gradient(135deg, var(--instant-cyan), var(--instant-cyan-dark));
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

.btn-gift {
  background: linear-gradient(135deg, var(--gift-green), var(--gift-green-dark));
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-gift:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-wine {
  background: linear-gradient(135deg, var(--hkrt-wine), var(--hkrt-wine-light));
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(61, 31, 31, 0.4);
}

.btn-wine:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 31, 31, 0.5);
}

/* ========================================
   内容区块
   ======================================== */
.section {
  padding: var(--space-3xl) var(--space-lg);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.section-title .highlight {
  color: var(--instant-cyan);
}

.section-title .highlight-green {
  color: var(--gift-green);
}

/* ========================================
   秒免板块（左图右文）
   ======================================== */
.featured-block {
  background: var(--bg-section);
  padding: var(--space-3xl) var(--space-lg);
}

.featured-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.featured-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--hkrt-wine), var(--hkrt-wine-light));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.25rem;
}

.featured-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

.featured-content p {
  color: var(--text-body);
  margin-bottom: var(--space-lg);
  font-size: 1.125rem;
}

.featured-content .highlight {
  color: var(--instant-cyan);
  font-weight: 700;
}

/* ========================================
   卡片区域（错落布局）
   ======================================== */
.cards-section {
  background: var(--bg-page);
  padding: var(--space-3xl) var(--space-lg);
}

.cards-section .section-title {
  max-width: 1200px;
  margin: 0 auto var(--space-2xl);
}

.cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-lg);
}

/* 错落卡片 - 秒到账 */
.cards-staggered {
  grid-template-columns: 55% 1fr;
}

.cards-staggered .card {
  padding: var(--space-xl);
}

/* 不等宽卡片 */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.card-icon.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: var(--instant-cyan);
}

.card-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--gift-green);
}

.card-icon.wine {
  background: rgba(61, 31, 31, 0.1);
  color: var(--hkrt-wine);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--text-body);
  font-size: 0.9375rem;
}

.card .big-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--instant-cyan);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.card .big-number.green {
  color: var(--gift-green);
}

/* 三列布局 */
.cards-three {
  grid-template-columns: repeat(3, 1fr);
}

.cards-three .card {
  text-align: center;
}

/* 背景色块卡片 */
.card-bg {
  background: linear-gradient(135deg, var(--hkrt-wine), var(--hkrt-wine-light));
  color: #FFFFFF;
}

.card-bg h3 {
  color: #FFFFFF;
}

.card-bg p {
  color: rgba(255, 255, 255, 0.85);
}

.card-bg .big-number {
  color: var(--instant-cyan);
}

/* ========================================
   免费送板块（居左）
   ======================================== */
.free-section {
  background: var(--bg-section);
  padding: var(--space-3xl) var(--space-lg);
}

.free-content {
  max-width: 1200px;
  margin: 0 auto;
}

.free-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-xl);
  text-align: left;
}

.free-title .highlight {
  color: var(--gift-green);
  font-weight: 800;
}

.free-promises {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.promise-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.promise-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--gift-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.promise-text h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.promise-text p {
  color: var(--text-body);
  font-size: 0.9375rem;
}

/* ========================================
   对比表格
   ======================================== */
.compare-section {
  background: var(--bg-page);
  padding: var(--space-3xl) var(--space-lg);
}

.compare-table-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.compare-table th,
.compare-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.compare-table th {
  background: linear-gradient(135deg, var(--hkrt-wine), var(--hkrt-wine-light));
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
}

.compare-table th:first-child {
  font-size: 1.125rem;
}

.compare-table tbody tr:hover {
  background: rgba(61, 31, 31, 0.02);
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--text-dark);
}

.compare-table .check {
  color: var(--gift-green);
  font-size: 1.25rem;
}

.compare-table .cross {
  color: var(--text-muted);
  font-size: 1.25rem;
}

.compare-table .highlight-col {
  background: rgba(6, 182, 212, 0.05);
}

/* ========================================
   FAQ 手风琴
   ======================================== */
.faq-section {
  background: var(--bg-section);
  padding: var(--space-3xl) var(--space-lg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: inherit;
}

.faq-question:hover {
  color: var(--hkrt-wine);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
  color: var(--hkrt-wine);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding-bottom: var(--space-lg);
  color: var(--text-body);
  line-height: 1.7;
}

/* ========================================
   底部申请区
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--hkrt-wine) 0%, var(--hkrt-wine-light) 100%);
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
}

.cta-section h2 .highlight {
  color: var(--instant-cyan);
}

.cta-section h2 .highlight-green {
  color: var(--gift-green);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
  font-size: 1.0625rem;
}

/* ========================================
   页脚
   ======================================== */
.footer {
  background: linear-gradient(135deg, var(--hkrt-wine) 0%, var(--hkrt-wine-light) 100%);
  color: #FFFFFF;
  padding: var(--space-2xl) var(--space-lg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.9);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-sm);
}

.footer-section ul a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-section ul a:hover {
  color: var(--instant-cyan);
}

.footer-bottom {
  max-width: 1200px;
  margin: var(--space-xl) auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ========================================
   申请表单
   ======================================== */
.form-section {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--instant-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-submit {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
}

.form-success {
  text-align: center;
  padding: var(--space-xl);
}

.form-success .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--gift-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2rem;
}

.form-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--text-body);
}

/* ========================================
   移动端响应式
   ======================================== */
@media (max-width: 768px) {
  .navbar-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
  }

  .navbar-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: auto;
    padding: 120px var(--space-md) var(--space-2xl);
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .featured-image {
    order: -1;
  }

  .cards-staggered {
    grid-template-columns: 1fr;
  }

  .cards-three {
    grid-template-columns: 1fr;
  }

  .promise-item {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: var(--space-2xl) var(--space-md);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .compare-table th,
  .compare-table td {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
  }
}

/* ========================================
   动画效果
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.hero-content {
  animation: fadeInUp 0.6s ease-out;
}

/* 仅 Hero 使用动画 */
@media (prefers-reduced-motion: no-preference) {
  .hero-content {
    animation: fadeInUp 0.8s ease-out;
  }
}
