:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --bg: #f7f9fc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-sub: #64748b;
  --border: #e5e7eb;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 22px 56px rgba(15, 23, 42, 0.14);
  --transition: all 0.25s ease;
  
  /* 按钮相关变量 */
  --btn-bg: #ffffff;
  --btn-text: var(--primary);
  --btn-border: #e5e7eb;
  --btn-hover-bg: #eff6ff;
  --btn-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  --btn-hover-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
  
  /* Icon 背景 */
  --icon-bg: linear-gradient(135deg, #eff6ff, #dbeafe);
  --icon-color: var(--primary-dark);
  
  /* Tip 背景 */
  --tip-bg: linear-gradient(135deg, #f8fafc, #eef2ff);
  --tip-border: #e0e7ff;
  --tip-text: #334155;
}

/* Dark Mode 适配 */
body.dark-open .tiny-contact-page,
[data-bs-theme="dark"] .tiny-contact-page {
  --bg: #0f172a;
  --card-bg: #1e293b;
  --text-main: #f1f5f9;
  --text-sub: #94a3b8;
  --border: #334155;
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 22px 56px rgba(0, 0, 0, 0.3);
  
  --btn-bg: #334155;
  --btn-text: #60a5fa;
  --btn-border: #475569;
  --btn-hover-bg: #1e293b;
  --btn-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  --btn-hover-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);

  --icon-bg: linear-gradient(135deg, #334155, #1e293b);
  --icon-color: #60a5fa;
  
  --tip-bg: linear-gradient(135deg, #1e293b, #0f172a);
  --tip-border: #334155;
  --tip-text: #cbd5e1;
}

.tiny-contact-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
}

.tiny-contact-page * {
  box-sizing: border-box;
}

.tiny-contact-page a {
  text-decoration: none;
  color: inherit;
}

/* ================= Page Wrapper ================= */
.support-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

/* ================= Header Area ================= */
.support-header {
  text-align: center;
  margin-bottom: 56px;
}

.support-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 14px;
}

.support-desc {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ================= Main Cards ================= */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.support-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 42px 36px 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.support-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--icon-bg);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--icon-color);
  margin-bottom: 6px;
}

.support-card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.support-card-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
  max-width: 260px;
}

.support-meta {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-top: 2px;
}

.support-action {
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-border);
  box-shadow: var(--btn-shadow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--btn-hover-bg);
  box-shadow: var(--btn-hover-shadow);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: #c7d2fe;
}

.btn-outline:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

/* ================= Bottom Tip ================= */
.support-tip {
  margin-top: 72px;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background: var(--tip-bg);
  border: 1px solid var(--tip-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.support-tip-text {
  font-size: 14px;
  color: var(--tip-text);
  line-height: 1.7;
}

.support-tip-action {
  flex-shrink: 0;
}

/* ================= Footer Override ================= */
.site-footer.py-md-4.py-2.mt-2.mt-md-4 {
  margin-top: 0 !important;
  
}

/* ================= Responsive ================= */
@media (max-width: 900px) {
  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-header {
    margin-bottom: 42px;
  }

  .support-title {
    font-size: 28px;
  }
}
