/* Better Call Haider — shared styles for inner pages (homepage keeps its own inline CSS) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-glow: rgba(37,99,235,0.5);
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --red: #ef4444;
  --green: #22c55e;
  --bg: #020817;
  --bg2: #0a1628;
  --card: rgba(15,30,60,0.72);
  --border: rgba(59,130,246,0.2);
  --text: #f1f5f9;
  --soft: #cbd5e1;
  --muted: #8193ab;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, footer, .crumbs { position: relative; z-index: 1; }

/* ---------- NAV ---------- */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 70px;
  background: rgba(2,8,23,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
@keyframes logoShimmer { 0% { background-position: 200% center; } 100% { background-position: -200% center; } }
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(245,158,11,0.35)); }
  50% { filter: drop-shadow(0 0 14px rgba(245,158,11,0.75)); }
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; animation: logoPulse 3s ease-in-out infinite; }
.logo-divider { width: 1px; height: 32px; background: linear-gradient(to bottom, transparent, rgba(245,158,11,0.5), transparent); }
.logo-text { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.logo-tagline { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.28em; color: #94a3b8; text-transform: uppercase; }
.logo-name {
  font-size: 1.15rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 38%, #fde68a 50%, #fbbf24 62%, #f59e0b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: logoShimmer 3s linear infinite;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: #94a3b8; text-decoration: none; font-size: 0.88rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-links a[aria-current="page"] { color: var(--gold-light); background: rgba(245,158,11,0.08); }
.nav-links a.nav-cta {
  background: var(--blue); color: #fff; font-weight: 700; margin-left: 6px;
  box-shadow: 0 0 20px var(--blue-glow); display: inline-flex; align-items: center; gap: 8px;
}
.nav-links a.nav-cta:hover { background: var(--blue-light); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer; }

/* ---------- BREADCRUMBS ---------- */
.crumbs { padding: 92px 6% 0; font-size: 0.8rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; max-width: 1200px; margin: 0 auto; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #475569; }
.crumbs a { text-decoration: none; color: #94a3b8; }
.crumbs a:hover { color: var(--gold-light); }

/* ---------- LAYOUT ---------- */
.wrap { max-width: 1200px; margin: 0 auto; }
section { padding: 90px 6%; position: relative; }
section.tint { background: rgba(10,22,40,0.6); border-top: 1px solid rgba(59,130,246,0.08); border-bottom: 1px solid rgba(59,130,246,0.08); }

.tag {
  display: inline-block; background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.3);
  color: var(--blue-light); font-size: 0.72rem; font-weight: 700; padding: 6px 16px;
  border-radius: 50px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
}
.tag.gold-tag { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.35); color: var(--gold-light); }
h2.title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 900; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sub { color: var(--muted); font-size: 1.02rem; line-height: 1.8; max-width: 640px; }
.head { margin-bottom: 52px; }
.head.center { text-align: center; }
.head.center .sub { margin: 0 auto; }

/* ---------- HERO ---------- */
.page-hero { padding: 40px 6% 70px; }
.page-hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light);
  background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.3);
  padding: 7px 16px; border-radius: 50px; margin-bottom: 22px;
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.08; margin-bottom: 22px; }
.page-hero .lead { color: var(--soft); font-size: 1.1rem; line-height: 1.75; max-width: 600px; margin-bottom: 32px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 15px 32px; border-radius: 12px;
  text-decoration: none; font-weight: 700; font-size: 1rem; transition: all 0.3s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 0 30px var(--blue-glow), 0 4px 20px rgba(0,0,0,0.3); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-3px); }
.btn-ghost { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: #e2e8f0; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

.hero-panel {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(12px); position: relative; overflow: hidden;
}
.hero-panel::before {
  content: ""; position: absolute; inset: -1px; border-radius: 20px; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(245,158,11,0.55), transparent 40%, transparent 60%, rgba(59,130,246,0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.stat { background: rgba(10,22,40,0.88); padding: 26px 18px; text-align: center; }
.stat-num { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; color: var(--gold-light); line-height: 1.1; }
.stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 6px; font-weight: 600; letter-spacing: 0.04em; }

/* ---------- CARDS ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 30px 26px;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.35s, box-shadow 0.35s;
  position: relative;
}
.card:hover { transform: translateY(-6px); border-color: rgba(245,158,11,0.45); box-shadow: 0 18px 50px rgba(0,0,0,0.4), 0 0 30px rgba(245,158,11,0.08); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(245,158,11,0.12)); border: 1px solid var(--border);
}
.card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.2px; }
.card p { color: var(--muted); font-size: 0.94rem; line-height: 1.7; }
.card ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.card li { color: var(--soft); font-size: 0.88rem; padding-left: 22px; position: relative; line-height: 1.5; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

/* ---------- PROSE (long-form SEO copy) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; letter-spacing: -0.5px; margin: 0 0 16px; line-height: 1.2; }
.prose h3 { font-size: 1.15rem; font-weight: 800; margin: 30px 0 10px; color: var(--gold-light); }
.prose p { color: var(--soft); font-size: 1.02rem; line-height: 1.85; margin-bottom: 16px; }
.prose strong { color: #fff; }
.prose ul { margin: 0 0 18px 0; list-style: none; display: grid; gap: 10px; }
.prose li { color: var(--soft); padding-left: 26px; position: relative; line-height: 1.7; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.prose a { color: var(--gold-light); text-underline-offset: 3px; }

/* ---------- PROCESS STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px 22px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 2.2rem; font-weight: 900; line-height: 1; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.step h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

/* ---------- PROOF SCREENSHOTS ---------- */
.proof { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform 0.35s, border-color 0.35s; }
.proof:hover { transform: translateY(-5px); border-color: rgba(245,158,11,0.45); }
.proof-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(2,8,23,0.8); border-bottom: 1px solid var(--border); }
.proof-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; }
.proof-bar i:nth-child(2) { background: #f59e0b; }
.proof-bar i:nth-child(3) { background: #22c55e; }
.proof-bar span { margin-left: 8px; font-size: 0.7rem; color: var(--muted); background: rgba(255,255,255,0.04); padding: 3px 10px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proof-shot { overflow: hidden; aspect-ratio: 2 / 1; }
.proof-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.proof:hover .proof-shot img { transform: scale(1.05); }
.proof-cap { padding: 14px 18px; font-size: 0.88rem; color: var(--soft); }
.proof-cap b { color: var(--gold-light); }

/* ---------- REVIEWS ---------- */
.review { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.review .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }
.review p { color: var(--soft); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.review .who { font-size: 0.82rem; color: var(--muted); }
.review .who b { color: var(--text); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(245,158,11,0.45); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold); transition: transform 0.3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 22px 20px; color: var(--soft); line-height: 1.8; font-size: 0.96rem; }

/* ---------- CTA ---------- */
.cta-box {
  max-width: 900px; margin: 0 auto; text-align: center; padding: 60px 40px; border-radius: 24px;
  background: radial-gradient(ellipse at top, rgba(37,99,235,0.22), transparent 65%), var(--card);
  border: 1px solid rgba(245,158,11,0.3);
}
.cta-box h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 900; letter-spacing: -0.8px; line-height: 1.2; margin-bottom: 14px; }
.cta-box p { color: var(--soft); margin: 0 auto 30px; max-width: 580px; line-height: 1.75; }
.cta-box .btns { justify-content: center; }

/* ---------- RELATED PAGES ---------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related a {
  display: block; text-decoration: none; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px;
  transition: all 0.3s;
}
.related a:hover { border-color: rgba(245,158,11,0.5); transform: translateY(-4px); }
.related b { display: block; font-size: 1rem; margin-bottom: 6px; }
.related span { color: var(--muted); font-size: 0.86rem; line-height: 1.6; }
.related em { display: inline-block; margin-top: 10px; color: var(--gold-light); font-style: normal; font-weight: 700; font-size: 0.85rem; }

/* ---------- FOOTER ---------- */
footer { background: rgba(10,22,40,0.85); border-top: 1px solid var(--border); padding: 44px 6% 28px; color: var(--muted); font-size: 0.86rem; }
.foot { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.foot h4 { color: var(--text); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.foot a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; }
.foot a:hover { color: var(--gold-light); }
.foot p { line-height: 1.7; }
.copy { text-align: center; border-top: 1px solid rgba(59,130,246,0.1); padding-top: 22px; }
.copy strong { color: var(--text); }

/* ---------- REVEAL + MOTION ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(2,8,23,0.97); border-bottom: 1px solid var(--border); padding: 12px 6% 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 0.98rem; }
  .nav-links a.nav-cta { margin: 8px 0 0; justify-content: center; }
  .page-hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  section { padding: 64px 16px; }
  .page-hero { padding: 26px 16px 50px; }
  .crumbs { padding: 86px 16px 0; }
  nav.top { padding: 0 16px; }
  .grid-3, .grid-2, .steps, .related { grid-template-columns: 1fr; }
  .btns a { flex: 1 1 100%; justify-content: center; }
  .cta-box { padding: 44px 22px; }
  .hero-panel { padding: 20px; }
}
