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

:root {
  --bg: #0d0d0f;
  --bg-alt: #141416;
  --surface: #1a1a1e;
  --surface-raised: #222228;
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f2;
  --text-muted: #888896;
  --accent: #e0531a;
  --accent-light: #f46b33;
  --green: #3ecf7a;
  --orange: #f5a623;
  --red: #e05353;
  --radius: 12px;
  --radius-sm: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

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

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

h1,h2,h3,h4 { line-height: 1.25; font-weight: 700; }

/* ============================
   Layout
   ============================ */
.container { max-width: 860px; margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

/* ============================
   Header
   ============================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 22px; }
.logo-text { font-size: 20px; font-weight: 800; letter-spacing: 0.04em; color: var(--text); }

nav { display: flex; gap: 28px; }
nav a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.15s; }
nav a:hover { color: var(--text); text-decoration: none; }

/* ============================
   Hero
   ============================ */
.hero {
  text-align: center;
  padding: 88px 24px 72px;
  background: radial-gradient(ellipse at 50% 0%, rgba(224,83,26,0.14) 0%, transparent 65%);
}

.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.hero .subtitle { font-size: 1.15rem; color: var(--text-muted); max-width: 480px; margin: 0 auto; }

/* ============================
   Quick-link Cards
   ============================ */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: -36px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-color 0.15s, transform 0.15s;
  color: var(--text);
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.card-icon { font-size: 26px; }
.card h3 { font-size: 1rem; font-weight: 700; }
.card p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ============================
   Section Headings
   ============================ */
.section h2, .section-alt .container h2 {
  font-size: 1.75rem;
  margin-bottom: 40px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* ============================
   Steps (Getting Started)
   ============================ */
.step-list { display: flex; flex-direction: column; gap: 28px; }

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step-body p { color: var(--text-muted); font-size: 0.95rem; }

/* ============================
   Feature Blocks
   ============================ */
.feature-block {
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.feature-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.feature-block h3 { font-size: 1.35rem; margin-bottom: 14px; }
.feature-block h4 { font-size: 1rem; font-weight: 600; margin-top: 24px; margin-bottom: 8px; color: var(--text); }
.feature-block p { color: var(--text-muted); margin-bottom: 12px; }
.feature-block ul { color: var(--text-muted); padding-left: 22px; margin-bottom: 12px; }
.feature-block ul li { margin-bottom: 6px; }
.feature-block strong { color: var(--text); }
.feature-block em { color: var(--text); font-style: italic; }

/* Tier Grid */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.tier {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.tier-like  { border-left: 3px solid var(--green);  background: rgba(62,207,122,0.07); }
.tier-ok    { border-left: 3px solid var(--orange); background: rgba(245,166,35,0.07); }
.tier-dislike { border-left: 3px solid var(--red);  background: rgba(224,83,83,0.07); }

.tier-label { font-weight: 600; font-size: 0.95rem; }
.tier-range { font-size: 0.8rem; color: var(--text-muted); }

/* Tip Box */
.tip {
  background: var(--surface-raised);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
}
.tip strong { color: var(--accent-light); }

/* ============================
   FAQ
   ============================ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item[open] { border-color: rgba(224,83,26,0.4); }

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

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

.faq-item p {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* Color pills inside FAQ */
.pill {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.pill.green  { background: rgba(62,207,122,0.15); color: var(--green); }
.pill.orange { background: rgba(245,166,35,0.15); color: var(--orange); }
.pill.red    { background: rgba(224,83,83,0.15);  color: var(--red); }

/* ============================
   Contact
   ============================ */
.contact-block {
  text-align: center;
}
.contact-block h2 { border-bottom: none; margin-bottom: 12px; }
.contact-block p  { color: var(--text-muted); margin-bottom: 28px; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 12px 32px;
  border-radius: 999px;
  transition: background 0.15s, transform 0.1s;
}
.btn:hover { background: var(--accent-light); text-decoration: none; transform: translateY(-1px); }

/* Issue Steps */
.issue-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px auto;
  max-width: 480px;
  text-align: left;
}

.issue-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.issue-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.issue-step strong { color: var(--text); }

/* ============================
   Footer
   ============================ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); }

/* ============================
   Responsive
   ============================ */
@media (max-width: 600px) {
  nav { display: none; }

  .hero { padding: 64px 20px 52px; }

  .quick-links {
    grid-template-columns: 1fr 1fr;
    margin-top: -24px;
  }

  .step { flex-direction: column; gap: 10px; }
  .step-num { width: 30px; height: 30px; font-size: 0.8rem; }

  .tier-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
