/* Hotspot Studio - SEO content pages (articles + FAQ) shared stylesheet */
:root {
  --bg: #0b1220;
  --bg2: #0f172a;
  --card: #111c31;
  --line: #1e2b45;
  --accent: #2dd4bf;
  --accent2: #38bdf8;
  --text: #e6edf7;
  --muted: #94a3b8;
  --radius: 16px;
}

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

body {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(45, 212, 191, 0.14), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(56, 189, 248, 0.12), transparent 55%),
    linear-gradient(160deg, var(--bg), var(--bg2));
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, "Cairo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- header ---------- */
.c-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 18, 32, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.c-head-in {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.c-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
}
.c-logo:hover { text-decoration: none; }
.c-nav { display: flex; gap: 14px; flex-wrap: wrap; }
.c-nav a { font-size: 13px; font-weight: 700; color: var(--muted); }
.c-nav a:hover { color: var(--accent); }

/* ---------- main ---------- */
.c-main { max-width: 820px; margin: 0 auto; padding: 34px 20px 60px; }

.c-article h1 {
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 14px;
}
.c-meta {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.c-meta b { color: var(--accent); font-weight: 800; }

.c-article h2 {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin: 30px 0 12px;
  letter-spacing: -0.3px;
  scroll-margin-top: 80px;
}
.c-article h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
  margin: 22px 0 8px;
}
.c-article p { margin-bottom: 14px; color: #d5deec; }
.c-article ul, .c-article ol { margin: 0 0 16px 22px; color: #d5deec; }
.c-article li { margin-bottom: 7px; }
.c-article strong { color: #fff; }

/* table of contents */
.c-toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 6px 0 26px;
}
.c-toc h4 { font-size: 13px; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
.c-toc ol { margin: 0 18px; color: var(--muted); }
.c-toc a { font-size: 14px; }

/* info / tip callouts */
.c-callout {
  border-radius: 12px;
  padding: 13px 16px;
  margin: 18px 0;
  font-size: 14.5px;
  line-height: 1.7;
  border: 1px solid;
}
.c-callout.tip { background: rgba(45, 212, 191, 0.08); border-color: rgba(45, 212, 191, 0.3); }
.c-callout.warn { background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.3); }
.c-callout b { display: block; margin-bottom: 4px; }

/* related tools cards */
.c-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.c-tool {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s;
}
.c-tool:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.c-tool b { display: block; color: #fff; font-size: 14px; margin-bottom: 4px; }
.c-tool span { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* FAQ accordion */
.c-faq { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.c-faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.c-faq summary {
  cursor: pointer;
  padding: 15px 18px;
  font-weight: 800;
  color: #fff;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.2s;
}
.c-faq details[open] summary::after { transform: rotate(45deg); }
.c-faq .a { padding: 0 18px 16px; color: #d5deec; font-size: 14.5px; }

/* footer */
.c-foot {
  border-top: 1px solid var(--line);
  background: rgba(11, 18, 32, 0.6);
  padding: 30px 20px 40px;
}
.c-foot-in { max-width: 820px; margin: 0 auto; text-align: center; }
.c-foot-in p { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.c-foot-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.c-foot-links a { font-size: 13px; font-weight: 700; color: var(--muted); }
.c-foot-links a:hover { color: var(--accent); }

.c-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  font-weight: 800;
  font-size: 14px;
}

@media (max-width: 640px) {
  .c-nav { gap: 10px; }
  .c-nav a { font-size: 12px; }
  .c-article h1 { font-size: 25px; }
}
