/* ========== Reset & Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #FF6B35;
  --primary-dark: #e55a28;
  --meituan-yellow: #FFD100;
  --meituan-bg: #FFF8E1;
  --eleme-blue: #0097FF;
  --eleme-bg: #E3F2FD;
  --jd-red: #E4393C;
  --jd-bg: #FFEBEE;
  --text-dark: #1a1a2e;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-gray: #f8f9fa;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-dark);
  background: linear-gradient(180deg, #e8f4fd 0%, #f0f7fc 15%, #ffffff 40%);
  min-height: 100vh;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}



/* ========== Header - Liquid Glass ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 101;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
}

/* ========== Platform Tabs - Liquid Glass ========== */
.platform-tabs {
  display: flex;
  gap: 20px;
  margin-left: 16px;
  align-items: center;
}

.tab-btn {
  padding: 0;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  color: #888;
  line-height: 1;
  white-space: nowrap;
}

.tab-btn:hover {
  color: #555;
}

.tab-btn.active {
  background: #e8f0fe;
  color: #1a73e8;
  border-radius: 20px;
  padding: 7px 20px;
  font-weight: 500;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), #ff8a5c);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255,107,53,0.3);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.icon-main {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.icon-sub {
  color: #FFE082;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-domain {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.5px;
}

.brand-slogan {
  font-size: 12px;
  color: var(--text-light);
  margin-top: -2px;
}



/* ========== Feature Card ========== */
.cards {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 24px 60px;
  flex: 1;
}

.feature-card {
  display: block;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e0e4f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.card-top-line {
  height: 3px;
  background: linear-gradient(90deg, #FFD080, #FF8A50, #FFB347);
}

.card-body {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  gap: 20px;
}

/* 左侧图标 */
.card-icon {
  flex-shrink: 0;
}

.card-icon-inner {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #1E90FF, #0066CC);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon-char {
  color: #FFD100;
  font-size: 24px;
  font-weight: 700;
}

/* 中间文字 */
.card-info {
  flex: 1;
  min-width: 0;
}

.card-brand-tag {
  font-size: 12px;
  color: #888;
  font-weight: 700;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 2px 0 4px;
}

.card-desc {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
  line-height: 1.5;
}

.card-label {
  display: inline-block;
  font-size: 12px;
  color: #1a73e8;
  background: #e8f0fe;
  padding: 3px 10px;
  border-radius: 12px;
}

/* 右侧按钮 */
.card-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.card-action:hover {
  gap: 8px;
}

.card-action-text {
  font-size: 15px;
  font-weight: 500;
  color: #1a73e8;
}

.card-arrow {
  font-size: 16px;
  color: #1a73e8;
}

/* ========== Coupon Page ========== */
.page-content {
  text-align: center;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.page-desc {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.search-box {
  display: flex;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.search-input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: #1a73e8;
}

.search-btn {
  padding: 12px 28px;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.search-btn:hover {
  background: #1557b0;
}

.result-area {
  margin-top: 24px;
}

/* ========== How Section ========== */
.how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 24px;
  margin-bottom: 40px;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.step {
  text-align: center;
  padding: 24px 20px;
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  position: relative;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.step-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.step-arrow {
  font-size: 24px;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}

/* ========== FAQ ========== */
.faq {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.faq-item {
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.35);
  overflow: hidden;
  transition: all 0.2s;
}

.faq-item:hover {
  background: rgba(255,255,255,0.35);
}

.faq-item[open] {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: rgba(255,255,255,0.6);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}

/* ========== Footer ========== */
.footer {
  background: transparent;
  color: var(--text-gray);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-domain {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
}

.footer-slogan {
  font-size: 13px;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-gray);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.8;
}

.footer-icp {
  font-size: 11px;
  color: #bbb;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    height: 60px;
  }

  .tab-btn {
    font-size: 15px;
  }

  .tab-btn.active {
    padding: 6px 16px;
    font-size: 15px;
  }

  .brand-domain {
    font-size: 17px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .icon-main { font-size: 11px; }
  .icon-sub { font-size: 9px; }

  .platform-tabs {
    gap: 16px;
    margin-left: 16px;
  }

  .tab-btn {
    font-size: 14px;
  }

  .tab-btn.active {
    padding: 6px 14px;
    border-radius: 16px;
  }

  .cards {
    padding: 24px 16px 48px;
  }

  .card-body {
    padding: 16px 18px;
    gap: 14px;
  }

  .card-icon-inner {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .card-icon-char {
    font-size: 20px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-desc {
    font-size: 12px;
  }

  .card-action-text {
    font-size: 14px;
  }

  .steps {
    flex-direction: column;
    gap: 0;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }

  .step {
    min-width: unset;
    max-width: unset;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* 小屏手机 */
@media (max-width: 400px) {
  .header-inner {
    padding: 0 12px;
    height: 56px;
  }

  .tab-btn {
    font-size: 14px;
  }

  .tab-btn.active {
    padding: 5px 14px;
    font-size: 14px;
  }

  .platform-tabs {
    gap: 12px;
    margin-left: 12px;
  }

  .tab-btn {
    font-size: 13px;
  }

  .tab-btn.active {
    padding: 5px 12px;
    border-radius: 14px;
  }

  .card-body {
    padding: 14px 14px;
    gap: 12px;
  }

  .card-icon-inner {
    width: 42px;
    height: 42px;
    border-radius: 9px;
  }

  .card-icon-char {
    font-size: 18px;
  }

  .card-title {
    font-size: 15px;
  }

  .card-desc {
    font-size: 11px;
  }

  .card-action-text {
    font-size: 13px;
  }

  .step {
    padding: 16px 12px;
  }

  .step-icon {
    font-size: 30px;
  }
}