/* ============================================================
   about.css  — About, Privacy & Terms pages
   ============================================================ */

/* ── Shared page shell ────────────────────────────────────── */
.page-about {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
}

/* ─────────────────────────────────────────────────────────────
   ABOUT PAGE
   ───────────────────────────────────────────────────────────── */

/* Hero */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem clamp(1.5rem, 7vw, 5rem) 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 80% at 50% -10%,
    rgba(59,130,246,0.10) 0%,
    transparent 68%);
  pointer-events: none;
}

.about-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg2);
  border: 1px solid var(--border-hi);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.4s var(--ease) 0.05s both;
  box-shadow: 0 0 0 1px var(--border), 0 8px 32px rgba(0,0,0,0.4);
}

.about-hero__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.about-hero__title {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 1rem;
  animation: fadeUp 0.45s var(--ease) 0.1s both;
}

.about-hero__sub {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.65;
  animation: fadeUp 0.45s var(--ease) 0.15s both;
}

/* Content wrapper */
.about-content {
  flex: 1;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding: 4rem clamp(1.5rem, 5vw, 2.5rem) 5rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* Section */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeUp 0.5s var(--ease) 0.2s both;
}

.about-section + .about-section {
  animation-delay: 0.25s;
}

.about-section:last-child {
  animation-delay: 0.3s;
}

.about-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.about-section__eyebrow-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
}

.about-section__title {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
}

.about-section__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-section__body p {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.8;
}

.about-section__body p strong {
  color: var(--text);
  font-weight: 600;
}

/* Divider */
.about-section__divider {
  width: 40px;
  height: 1px;
  background: var(--border-hi);
  margin: 0.5rem 0;
}

/* Disclaimer pill */
.about-disclaimer {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 0.25rem;
}

.about-disclaimer svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--muted2);
  margin-top: 0.2rem;
}

.about-disclaimer p {
  font-size: 0.8rem !important;
  color: var(--muted2) !important;
  line-height: 1.6 !important;
  margin: 0;
}

/* Legal links row */
.about-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.about-legal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--fast), gap var(--fast);
}

.about-legal-link svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity var(--fast), transform var(--fast);
}

.about-legal-link:hover {
  color: var(--text);
  gap: 0.5rem;
}

.about-legal-link:hover svg {
  opacity: 1;
  transform: translateX(2px);
}

/* ── Security section ─────────────────────────────────────── */

/* VirusTotal score — centrepiece */
.about-vt-score {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--radius);
  margin: 0.25rem 0;
}

.about-vt-score__number {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.about-vt-score__big {
  font-size: 2.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.04em;
  color: var(--success);
  line-height: 1;
}

.about-vt-score__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(34,197,94,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
  white-space: nowrap;
}

.about-vt-score__divider {
  width: 1px;
  height: 48px;
  background: rgba(34,197,94,0.15);
  flex-shrink: 0;
}

.about-vt-score__text {
  flex: 1;
  min-width: 0;
}

.about-vt-score__text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.about-vt-score__text p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.about-vt-score__text a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--fast);
}

.about-vt-score__text a:hover { color: var(--accent-hi); }

/* How-to steps */
.about-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.about-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-step__num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.1rem;
}

.about-step__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  padding-top: 0.05rem;
}

.about-step__text strong {
  color: var(--text);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────
   LEGAL PAGES  (Privacy Policy / Terms of Use)
   ───────────────────────────────────────────────────────────── */
.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem clamp(1.5rem, 7vw, 5rem) 3.5rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 80% at 50% -10%,
    rgba(59,130,246,0.08) 0%,
    transparent 68%);
  pointer-events: none;
}

.legal-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.75rem;
  background: var(--bg2);
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 1.25rem;
  animation: fadeUp 0.4s var(--ease) 0.05s both;
}

.legal-hero__title {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1rem;
  animation: fadeUp 0.45s var(--ease) 0.1s both;
}

.legal-hero__meta {
  font-size: 0.8rem;
  color: var(--muted2);
  font-family: var(--font-mono);
  animation: fadeUp 0.45s var(--ease) 0.15s both;
}

/* Big statement banner (Privacy) */
.legal-statement {
  padding: 0 clamp(1.5rem, 5vw, 2.5rem);
  margin: 0 auto;
  max-width: 760px;
  width: 100%;
}

.legal-statement__inner {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.14);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: fadeUp 0.45s var(--ease) 0.2s both;
}

.legal-statement__inner--blue {
  background: rgba(59,130,246,0.05);
  border-color: rgba(59,130,246,0.14);
}

.legal-statement__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,197,94,0.1);
  color: var(--success);
}

.legal-statement__icon--blue {
  background: rgba(59,130,246,0.1);
  color: var(--accent);
}

.legal-statement__icon svg {
  width: 20px;
  height: 20px;
}

.legal-statement__text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.legal-statement__text p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Content */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(1.5rem, 5vw, 2.5rem) 6rem;
}

.legal-sections {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.5s var(--ease) 0.25s both;
}

.legal-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 2.25fr;
  gap: 2rem;
  align-items: baseline;
}

.legal-item__num {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--muted2);
  letter-spacing: 0.06em;
  padding-top: 0.15rem;
}

.legal-item__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.legal-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.legal-item__body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
}

.legal-item__body a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--fast);
}

.legal-item__body a:hover { color: var(--accent-hi); }

/* ── Shared footer ────────────────────────────────────────── */
.about-footer {
  padding: 1.75rem clamp(1.5rem, 6vw, 3rem);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-footer__copy {
  font-size: 0.8rem;
  color: var(--muted2);
}

.about-footer__links {
  display: flex;
  gap: 1.5rem;
}

.about-footer__link {
  font-size: 0.8rem;
  color: var(--muted2);
  text-decoration: none;
  transition: color var(--fast);
}

.about-footer__link:hover { color: var(--muted); }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .about-vt-score {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .about-vt-score__divider { display: none; }

  .legal-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .legal-item__num {
    font-size: 0.68rem;
    color: var(--accent);
  }
}

/* ── Inline external links (e.g. VirusTotal) ──────────────── */
.about-ext-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(59,130,246,0.35);
  padding-bottom: 1px;
  transition: color var(--fast), border-color var(--fast);
}

.about-ext-link:hover {
  color: var(--accent-hi);
  border-color: var(--accent-hi);
}
