/* ============================================================
   KriptoAdım — style.css
   品牌：深青绿 / 蓝绿 · 深蓝黑背景 · 米白内容区
   ============================================================ */

:root {
  /* 品牌色 */
  --teal-900: #0A1719;
  --teal-800: #0E2426;
  --teal-700: #0F766E;
  --teal-600: #0D9488;
  --teal-500: #14B8A6;
  --teal-400: #2DD4BF;
  --teal-100: #CCFBF1;
  --teal-50:  #F0FDFA;

  /* 中性 */
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --border: #E5E7EB;
  --text: #1B1F1E;
  --text-muted: #5B6361;

  /* 语义 */
  --warning: #EAB308;
  --warning-bg: #FEF9C3;
  --success: #16A34A;
  --danger: #DC2626;

  /* 布局 */
  --max-w: 1120px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(10, 23, 25, .05);
  --shadow: 0 1px 3px rgba(10, 23, 25, .06), 0 6px 18px rgba(10, 23, 25, .06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-600); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.site-header {
  background: var(--teal-900);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 66px;
  position: relative;
}
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; }
.logo:hover { color: #fff; }
.logo-text span { color: var(--teal-400); }

.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a {
  color: rgba(255, 255, 255, .82);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.main-nav a.active { color: #fff; background: rgba(45, 212, 191, .16); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 520px at 82% -10%, rgba(20, 184, 166, .24), transparent 60%),
    radial-gradient(900px 420px at -5% 0%, rgba(45, 212, 191, .10), transparent 55%),
    var(--teal-900);
  color: #fff;
  padding: 76px 0 68px;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 720px;
}
.hero h1 .accent { color: var(--teal-400); }
.hero .subtitle {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
  max-width: 660px;
}
.hero-buttons { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--teal-500); color: #04222A; }
.btn-primary:hover { background: var(--teal-400); color: #04222A; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* ===== Section ===== */
.section { padding: 56px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-title { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.section-lead { color: var(--text-muted); margin-top: 8px; max-width: 640px; }
.section-link { font-weight: 600; font-size: 15px; white-space: nowrap; }

/* ===== Card grid ===== */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--teal-700); }
.card p { color: var(--text-muted); font-size: 14.5px; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  margin-bottom: 14px;
}
.card-icon svg { width: 24px; height: 24px; }

/* Sorun Çözme 故障卡 —— 品牌差异核心，视觉强化 */
.problem-card {
  border-left: 4px solid var(--warning);
  border-top: 1px solid #FDE68A;
  background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 72%);
}
.problem-card h3 a::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: -3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B45309' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* 标签 */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--teal-700);
  margin-bottom: 10px;
}

/* ===== 编辑标准 ===== */
.editorial { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.editorial .card { background: var(--teal-50); border-color: var(--teal-100); box-shadow: none; }
.editorial .card:hover { transform: none; box-shadow: none; }
.editorial .card h3 { color: var(--teal-800); font-size: 15.5px; }
.editorial .card p { font-size: 13.5px; }

/* ===== 透明声明 ===== */
.note {
  background: var(--warning-bg);
  border: 1px solid var(--warning);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 14.5px;
  color: #6B5D0A;
}
.note strong { color: #4A3F06; }

/* ===== Footer ===== */
.site-footer { background: var(--teal-900); color: rgba(255, 255, 255, .72); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, .72); font-size: 14px; }
.site-footer a:hover { color: var(--teal-400); }
.footer-brand { font-size: 14px; color: rgba(255, 255, 255, .6); margin-top: 12px; max-width: 280px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
  color: rgba(255, 255, 255, .5);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .editorial { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--teal-900);
    padding: 12px 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .mobile-menu-btn { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .editorial { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero { padding: 52px 0 48px; }
}

/* ===== Hub 页（分类 / 专题） ===== */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 13.5px;
  color: var(--text-muted);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: "›"; margin: 0 6px; color: #B7BDBA; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--teal-700); }

.page-header {
  background:
    radial-gradient(900px 360px at 85% -20%, rgba(20, 184, 166, .22), transparent 60%),
    var(--teal-900);
  color: #fff;
  padding: 40px 0;
}
.page-header h1 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-header .lead {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  max-width: 720px;
}

.hub-group { margin-bottom: 34px; }
.hub-group:last-child { margin-bottom: 0; }
.hub-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.hub-group-title .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--teal-700);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}

/* 专题页快速入口 pill */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--teal-800);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--teal-100);
}
.quick-links a:hover {
  background: var(--teal-100);
  color: var(--teal-700);
}

/* ===== 政策 / 法律页 ===== */
.prose { max-width: 760px; }
.prose .updated {
  display: inline-block;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.prose h2 { font-size: 20px; font-weight: 700; margin: 30px 0 12px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { font-weight: 600; }

/* ===== Sorun Çözme Hub 专属 ===== */

/* 故障卡已配独立图标时，隐藏标题前的感叹号 */
.problem-card.has-icon h3 a::before { display: none; }

/* 故障卡图标走琥珀色系 */
.problem-card .card-icon {
  background: #FEF3C7;
  color: #B45309;
}

/* Hero 分类提示条 */
.hero-cats { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-cats .cat {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-100);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 5px 13px;
  border-radius: 999px;
}

/* 卡片内 CTA 链接 */
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--teal-700);
}
.card-cta:hover { color: var(--teal-600); }
.problem-card .card-cta { color: #B45309; }
.problem-card .card-cta:hover { color: #92400E; }

/* 故障卡内“İlgili içerikler”清单 */
.related { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #F1E3BB; font-size: 13.5px; }
.related-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #A16207;
  margin-bottom: 7px;
}
.related ul { list-style: none; margin: 0; }
.related li { margin-bottom: 5px; padding-left: 15px; position: relative; }
.related li::before { content: "→"; position: absolute; left: 0; color: #C9910F; font-size: 12px; }
.related a { color: var(--text-muted); font-weight: 500; }
.related a:hover { color: var(--teal-700); }

/* 快速检查清单 */
.checklist {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}
.checklist ol {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 34px;
  margin: 0;
}
.checklist li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.checklist li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -1px;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid var(--teal-100);
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

/* Sorun Nerede —— 定位卡 */
.loc-card ul { list-style: none; margin: 6px 0 0; }
.loc-card li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.loc-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 700; }

/* 高亮信息卡（TxID 区块） */
.info-card {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.info-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.info-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 14px; }
.info-card ul { list-style: none; margin: 0 0 16px; }
.info-card li { position: relative; padding-left: 22px; font-size: 15px; margin-bottom: 8px; color: var(--teal-800); }
.info-card li::before { content: "•"; position: absolute; left: 4px; color: var(--teal-500); font-weight: 700; }

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--teal-600); transition: transform .18s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 20px 18px; color: var(--text-muted); font-size: 15px; line-height: 1.65; }

/* 警示框 */
.alert { border-radius: var(--radius); padding: 20px 24px; font-size: 15px; line-height: 1.7; }
.alert-danger { background: #FEF2F2; border: 1px solid #FECACA; color: #7F1D1D; }
.alert-danger strong { color: #991B1B; }
.alert h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }

/* 支持信息双列 */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; }
.support-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.support-card ul { list-style: none; margin: 0; }
.support-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 9px;
}
.support-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); }

/* 页脚说明 */
.fine-print { font-size: 14px; color: var(--text-muted); max-width: 760px; line-height: 1.7; }
.fine-print p + p { margin-top: 10px; }

@media (max-width: 720px) {
  .checklist ol { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}
