/* ============================================================
   about.css — LoanChecker.in
   Page-specific styles for /about
   Loaded alongside global.css (which handles nav, footer, alert-bar, body reset).
   ============================================================ */

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 40%, rgba(255,184,0,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(77,143,255,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 90%, rgba(0,214,143,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: ps 2.5s ease-in-out infinite;
}
@keyframes ps { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 16px;
  color: var(--text3);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}
@media (max-width: 520px) {
  .hero-eyebrow { margin-bottom: 20px; }
}

/* ── ABOUT BODY ── */
.about-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 100px;
}
.about-body p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-body p strong {
  color: var(--text);
  font-weight: 600;
}
.about-body h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 48px 0 20px;
}

/* ── TRUST CARDS (about variant) ── */
.trust-grid-ab {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
@media (max-width: 640px) {
  .trust-grid-ab { grid-template-columns: 1fr; }
}
.trust-card-ab {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.trust-card-ab:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}
.trust-icon {
  font-size: 26px;
  margin-bottom: 10px;
}
.trust-card-ab h4 {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.trust-card-ab p {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── TOOLS GRID ── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
@media (max-width: 520px) {
  .tools-grid { grid-template-columns: 1fr; }
}
.tool-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.tool-link:hover {
  border-color: var(--border2);
  background: var(--card2);
  transform: translateY(-1px);
}
.tool-link-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}
.tool-link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tool-link-text strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
}
.tool-link-text span {
  font-size: 11px;
  color: var(--text3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

/* ── CONTACT BOX ── */
.contact-box {
  margin-top: 48px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  padding: 28px 28px;
  position: relative;
  overflow: hidden;
}
.contact-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(255,184,0,0.2));
  opacity: 0.7;
}
.contact-box h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.contact-box p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 0;
}
.contact-box a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,184,0,0.3);
  transition: border-color 0.15s;
}
.contact-box a:hover {
  border-color: var(--gold);
}

@media (max-width: 520px) {
  .about-body { padding: 40px 18px 80px; }
  .about-body h2 { font-size: 22px; margin: 36px 0 16px; }
  .contact-box { padding: 22px 18px; }
}
