/* tuiqiqi.com GEO guides — aligned with main-site orange/blue theme */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --bg: #f4f6f9;
  --paper: #ffffff;
  --ink: #1a1f2c;
  --muted: #6b7385;
  --line: #e4e8ef;
  --orange: #ff8a00;
  --orange-deep: #ff7000;
  --orange-soft: #fff4e8;
  --blue: #2563eb;
  --blue-soft: #eef3ff;
  --shadow: 0 12px 40px rgba(26, 31, 44, 0.07);
  --radius: 14px;
  --max: 880px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Outfit", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.75;
  background:
    radial-gradient(1100px 420px at 8% -8%, rgba(255, 138, 0, 0.16) 0%, transparent 55%),
    radial-gradient(900px 380px at 100% 0%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 42%, #eef1f6 100%);
  min-height: 100vh;
}

a { color: var(--blue); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--orange-deep); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 20px 72px;
}

/* —— top bar —— */
.top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(26, 31, 44, 0.04);
  backdrop-filter: blur(10px);
  animation: rise 0.55s ease both;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--orange);
  letter-spacing: -0.02em;
  text-decoration: none !important;
}
.brand span {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78em;
  opacity: 0.72;
}
.brand:hover { color: var(--orange-deep); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.9rem;
}
.nav a {
  color: var(--muted);
  font-weight: 500;
  text-decoration: none !important;
}
.nav a:hover { color: var(--orange); }

/* —— hero (index + article head) —— */
.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  padding: clamp(28px, 5vw, 44px) clamp(22px, 4vw, 36px);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 244, 232, 0.9) 48%, rgba(238, 243, 255, 0.92) 100%);
  border: 1px solid rgba(255, 138, 0, 0.18);
  box-shadow: var(--shadow);
  animation: rise 0.65s 0.05s ease both;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 140%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 138, 0, 0.22), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(37, 99, 235, 0.16), transparent 42%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.brand-mark {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.85rem, 5vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--orange);
}
.brand-mark small {
  display: block;
  margin-top: 4px;
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.7;
}

.hero h1,
.card > h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero .support {
  margin: 0 0 20px;
  max-width: 36em;
  font-size: 1.02rem;
  color: var(--muted);
}

/* —— content card —— */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 32px);
  box-shadow: var(--shadow);
  animation: rise 0.7s 0.12s ease both;
}
.card > h1 { margin-top: 0; }

.lead {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: linear-gradient(90deg, var(--orange-soft), #fff);
  border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0;
  font-size: 1.04rem;
  color: var(--ink);
}

h2 {
  margin: 30px 0 12px;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h2:first-child { margin-top: 0; }
h3 { margin: 18px 0 8px; font-size: 1.05rem; font-weight: 700; }

.meta { font-size: 0.86rem; color: var(--muted); margin: 0 0 8px; }
.muted { color: var(--muted); }

.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.faq details:first-child { border-top: 0; }
.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.15em;
  margin-right: 0.15em;
  color: var(--orange);
  font-weight: 800;
}
.faq details[open] summary::before { content: "–"; }
.faq p { margin: 8px 0 0 1.35em; color: var(--muted); }

.cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.95rem;
  border: 0;
  box-shadow: 0 8px 18px rgba(255, 112, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 112, 0, 0.34);
  color: #fff !important;
}
.btn.secondary {
  background: #fff;
  color: var(--blue) !important;
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  box-shadow: none;
}
.btn.secondary:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue) !important;
}

.foot {
  margin-top: 28px;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}
.en {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.list { margin: 0; padding-left: 1.2em; }
.list li { margin: 0.35em 0; }

.grid {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
}
@media (min-width: 640px) {
  .grid { grid-template-columns: 1fr 1fr; }
}

.tile {
  display: block;
  padding: 16px 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
  color: var(--ink);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tile::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), var(--blue));
  opacity: 0.85;
}
.tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 138, 0, 0.35);
  box-shadow: 0 10px 24px rgba(26, 31, 44, 0.08);
  text-decoration: none !important;
}
.tile strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 700;
}
.tile span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.lang-pills a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid transparent;
}
.lang-pills a:hover {
  border-color: rgba(37, 99, 235, 0.25);
  background: #fff;
  color: var(--orange-deep);
}

.section-label {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 560px) {
  .top { border-radius: 16px; }
  .wrap { padding: 14px 14px 56px; }
}
