/* ══════════════════════════════════════════════
   RAXAK — ANDROID HELP SECTION SHARED STYLES
   Derived from index.html base + sleek theme
══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue:      #0270c8;
  --blue-dark: #0259a3;
  --blue-50:   #f0f7ff;
  --blue-100:  #e0eefe;
  --orange:    #f97316;
  --orange-50: #fff7ed;
  --green:     #16a34a;
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-500:  #6b7280;
  --gray-600:  #4b5563;
  --gray-700:  #374151;
  --gray-900:  #111827;
  --grad:      linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --ink:       #0e1530;
  --violet:    #7C3AED;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(820px 460px at 88% -6%, rgba(124,58,237,.07), transparent 60%),
    radial-gradient(720px 460px at -8% 8%, rgba(37,99,235,.07), transparent 58%),
    #ffffff;
}
::selection { background: rgba(124,58,237,.18); }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(14,21,48,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 9px; }
.logo-img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.logo-text {
  font-size: 19px; font-weight: 800; letter-spacing: -.5px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.android-chip {
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  color: #15803d; background: var(--green-100);
  border: 1px solid rgba(22,163,74,.25);
  padding: 3px 10px; border-radius: 12px; white-space: nowrap;
}
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--gray-600); transition: color .15s; white-space: nowrap; }
.nav-link:hover { color: var(--blue); }
.nav-link.active { color: var(--violet); font-weight: 700; }
.btn-nav {
  background: var(--grad); color: #fff; padding: 8px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(99,102,241,.32); transition: filter .15s, transform .15s;
}
.btn-nav:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ── Page hero ── */
.help-hero { padding: 56px 0 40px; }
.breadcrumb { font-size: 13px; color: var(--gray-500); margin-bottom: 18px; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { margin: 0 7px; color: var(--gray-200); }
.help-hero h1 { font-size: 42px; font-weight: 900; letter-spacing: -1.6px; line-height: 1.1; margin-bottom: 14px; }
.help-hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.help-hero .lead { font-size: 17px; color: var(--gray-600); max-width: 640px; }

/* ── On-this-page chips ── */
.toc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.toc-chip {
  font-size: 13px; font-weight: 600; color: var(--gray-700);
  background: #fff; border: 1px solid var(--gray-200);
  padding: 7px 15px; border-radius: 18px; transition: border-color .15s, color .15s, box-shadow .15s;
}
.toc-chip:hover { border-color: var(--violet); color: var(--violet); box-shadow: 0 4px 14px rgba(124,58,237,.12); }

/* ── Sections ── */
.help-section { padding: 40px 0; }
.help-section.alt { background: linear-gradient(180deg, #fbfaff 0%, #f4f5fb 100%); }
.help-section, .faq-item[id] { scroll-margin-top: 76px; }
.help-section h2 { font-size: 28px; font-weight: 800; letter-spacing: -.8px; margin-bottom: 8px; scroll-margin-top: 84px; }
h2.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 10px; }
.help-section h3 { font-size: 19px; font-weight: 700; letter-spacing: -.3px; margin: 28px 0 8px; scroll-margin-top: 84px; }
.help-section p { font-size: 15px; color: var(--gray-600); margin-bottom: 12px; max-width: 760px; }
.help-section ul, .help-section ol { margin: 0 0 14px 22px; }
.help-section li { font-size: 15px; color: var(--gray-600); margin-bottom: 6px; }
.help-section li strong, .help-section p strong { color: var(--gray-900); }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 10px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ── Numbered steps ── */
.hsteps { list-style: none; margin: 18px 0 8px; counter-reset: hstep; }
.hsteps > li {
  position: relative; padding: 0 0 22px 52px; margin: 0;
  counter-increment: hstep;
}
.hsteps > li::before {
  content: counter(hstep);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #fff;
  font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.hsteps > li:not(:last-child)::after {
  content: ''; position: absolute; left: 16px; top: 40px; bottom: 4px;
  width: 2px; background: var(--gray-200);
}
.hsteps > li h4 { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; padding-top: 5px; }
.hsteps > li p { font-size: 14px; margin-bottom: 6px; }

/* ── Callouts ── */
.callout {
  border-radius: 14px; padding: 16px 20px; margin: 18px 0;
  font-size: 14px; line-height: 1.65; color: var(--gray-700); max-width: 760px;
  border: 1px solid;
}
.callout strong { color: var(--gray-900); }
.callout.info  { background: var(--blue-50);   border-color: var(--blue-100); }
.callout.warn  { background: var(--orange-50); border-color: #fed7aa; }
.callout.good  { background: var(--green-50);  border-color: var(--green-100); }

/* ── Badges ── */
.badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .8px; padding: 3px 10px; border-radius: 12px; vertical-align: middle; text-transform: uppercase; }
.badge.free    { background: var(--green-100); color: #15803d; }
.badge.premium { background: rgba(124,58,237,.12); color: var(--violet); }
.badge.required { background: #fee2e2; color: #b91c1c; }
.badge.optional { background: var(--gray-100); color: var(--gray-600); }

/* ── Tables ── */
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--gray-200); border-radius: 14px; background: #fff; }
table.help-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.help-table th {
  text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--gray-500);
  background: var(--gray-50); border-bottom: 1px solid var(--gray-200);
}
.help-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); color: var(--gray-600); vertical-align: top; }
.help-table tr:last-child td { border-bottom: none; }
.help-table td:first-child { font-weight: 600; color: var(--gray-900); white-space: nowrap; }

/* ── Hub cards ── */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.hub-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 18px;
  padding: 26px 24px; transition: transform .18s, box-shadow .18s, border-color .18s;
  display: block;
}
.hub-card:hover { transform: translateY(-4px); border-color: rgba(124,58,237,.35); box-shadow: 0 16px 40px rgba(99,102,241,.14); }
.hub-icon { font-size: 26px; margin-bottom: 12px; }
.hub-card h3 { font-size: 17px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 6px; color: var(--gray-900); }
.hub-card p { font-size: 13.5px; color: var(--gray-500); line-height: 1.55; }
.hub-card .hub-go { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--violet); }

/* ── Accordions (FAQ / OEM guides) ── */
.faq-wrap { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-btn {
  width: 100%; background: none; border: none; display: flex; justify-content: space-between;
  align-items: center; padding: 18px 0; cursor: pointer; text-align: left; gap: 16px;
  font-family: inherit;
}
.faq-q-text { font-size: 16px; font-weight: 600; color: var(--gray-900); }
.faq-chevron { font-size: 14px; color: var(--violet); transition: transform .2s; flex-shrink: 0; }
.faq-btn.active .faq-chevron { transform: rotate(180deg); }
.faq-body { font-size: 15px; color: var(--gray-600); line-height: 1.7; padding-bottom: 18px; display: none; max-width: 700px; }
.faq-body.open { display: block; }
.faq-body ol, .faq-body ul { margin: 8px 0 8px 22px; }
.faq-body li { font-size: 14.5px; margin-bottom: 5px; }
.faq-cat { margin-top: 36px; }
.faq-cat:first-of-type { margin-top: 0; }

/* ── Feature blocks ── */
.feat-block {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 18px;
  padding: 26px 28px; margin-bottom: 18px; max-width: 820px;
}
.feat-block h3 { margin-top: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feat-block p:last-child, .feat-block ul:last-child { margin-bottom: 0; }

/* ── Screenshots ── */
.shot { margin: 18px 0; }
.shot img {
  width: 100%; max-width: 280px; height: auto; display: block;
  border: 1px solid var(--gray-200); border-radius: 16px;
  box-shadow: 0 10px 28px rgba(14,21,48,.10);
}
.shot.wide img { max-width: 460px; }
.shot figcaption { font-size: 12.5px; color: var(--gray-500); margin-top: 8px; max-width: 460px; line-height: 1.5; }
.shot-row { display: flex; flex-wrap: wrap; gap: 22px; margin: 22px 0; align-items: flex-start; }
.shot-row .shot { margin: 0; }

/* ── CTA band ── */
.help-cta {
  background: var(--grad); border-radius: 26px; padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  color: #fff; margin: 24px 0 12px;
  box-shadow: 0 30px 64px rgba(99,102,241,.30);
}
.help-cta h3 { font-size: 24px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 4px; }
.help-cta p { font-size: 14.5px; color: rgba(255,255,255,.8); max-width: 420px; }
.btn-cta {
  background: #fff; color: var(--blue); padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 800; white-space: nowrap; flex-shrink: 0; transition: box-shadow .15s;
}
.btn-cta:hover { box-shadow: 0 8px 20px rgba(0,0,0,.15); }

/* ── Footer ── */
footer { background: #0b1020; padding: 56px 0 32px; margin-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; margin-bottom: 36px; }
.footer-brand .logo-text { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.35); margin-top: 6px; max-width: 220px; line-height: 1.5; }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.25); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-inner { height: auto; flex-wrap: wrap; padding: 10px 0; row-gap: 6px; }
  .nav-right { width: 100%; order: 3; gap: 6px 16px; flex-wrap: wrap; justify-content: flex-start; }
  .nav-link { font-size: 13px; }
  .btn-nav { padding: 7px 14px; font-size: 13px; }
  .help-section, .faq-item[id] { scroll-margin-top: 118px; }
  .help-section h2, .help-section h3 { scroll-margin-top: 126px; }
  .help-hero h1 { font-size: 32px; letter-spacing: -1.2px; }
  .hub-grid { grid-template-columns: 1fr; }
  .help-cta { flex-direction: column; text-align: center; padding: 32px 24px; }
  .help-section h2 { font-size: 24px; }
}
@media (max-width: 400px) {
  .android-chip { display: none; }
}
