/* ============================================================
   United Fleet Lookup — About Page (Dark Glass + Bubbles)
   File: assets/styles-new.css
   ============================================================ */

/* ------------------------------------------------------------
   Design Tokens
------------------------------------------------------------ */
:root {
  --bg: #0b1220;
  --bg2: #0f1b2f;

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);

  --brand: #3aa0ff;

  /* Glass surfaces */
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.12);

  --shadow: 0 18px 55px rgba(0, 0, 0, 0.40);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.30);

  --radius: 18px;
  --radius-sm: 14px;

  --container: 1040px;
}

/* ------------------------------------------------------------
   Base / Reset
------------------------------------------------------------ */
* {
  box-sizing: border-box;
}

html,
body {
  height: auto;
}

body {
  margin: 0;

  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;

  display: flex;
  flex-direction: column;

  font-family: ui-sans-serif, system-ui, -apple-system, "Inter", "SF Pro Text",
    "Segoe UI", Roboto, Helvetica, Arial;
  line-height: 1.7;
  color: var(--text);

  background:
    radial-gradient(
      1200px 520px at 15% 0%,
      rgba(58, 160, 255, 0.16),
      transparent 62%
    ),
    radial-gradient(
      900px 520px at 92% 18%,
      rgba(43, 108, 176, 0.12),
      transparent 66%
    ),
    linear-gradient(180deg, var(--bg), var(--bg2));

  overflow-x: hidden;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------
   Layout
------------------------------------------------------------ */
main {
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
  padding: 22px 0 0px;

  display: flow-root;
  flex: 1 0 auto;
}

/* ------------------------------------------------------------
   Header
------------------------------------------------------------ */
.ufl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 18, 32, 0.56);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.ufl-header-inner {
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ufl-brand {
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.94);
}

/* ADD: header right-side container for Donate button */
.ufl-header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ufl-runway-bar {
  height: 2px;
  background: rgba(58, 160, 255, 0.20);
  opacity: 0.9;
}

.ufl-runway-bar.runway-active {
  background: linear-gradient(
    90deg,
    rgba(58, 160, 255, 0.10),
    rgba(58, 160, 255, 0.55),
    rgba(58, 160, 255, 0.10)
  );
}

/* ------------------------------------------------------------
   Hero / Intro Strip
------------------------------------------------------------ */
.ufl-hero-strip {
  margin: 6px 0 16px;
}

.ufl-about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(58, 160, 255, 0.09);
  border: 1px solid rgba(58, 160, 255, 0.20);
  color: rgba(255, 255, 255, 0.90);
  font-weight: 820;
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* ------------------------------------------------------------
   ADD: Donate CTA (standalone styling)
------------------------------------------------------------ */
.ufl-donate-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 18px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.02em;

  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;

  background: linear-gradient(
    180deg,
    rgba(58, 160, 255, 0.34),
    rgba(58, 160, 255, 0.16)
  );

  border: 1px solid rgba(58, 160, 255, 0.60);
  backdrop-filter: blur(10px);

  /* box-shadow:
    0 8px 22px rgba(58, 160, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.20); 
  */    

  transition:
    transform 0.12s ease,
    background 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease;
}

.ufl-donate-cta:hover {
  transform: translateY(-1px);
  text-decoration: none;

  background: linear-gradient(
    180deg,
    rgba(58, 160, 255, 0.46),
    rgba(58, 160, 255, 0.22)
  );

  border-color: rgba(58, 160, 255, 0.80);

  box-shadow:
    0 12px 28px rgba(58, 160, 255, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ufl-donate-cta:active {
  transform: translateY(0);
  box-shadow:
    0 8px 20px rgba(58, 160, 255, 0.30),
    inset 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* ------------------------------------------------------------
   CTA SEPARATOR
------------------------------------------------------------ */
.ufl-cta-band {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 20px;
}

/* ------------------------------------------------------------
   Primary CTA
------------------------------------------------------------ */
.ufl-primary-cta {
  width: fit-content;
  margin: 0 auto;

  padding: 10px 16px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(58, 160, 255, 0.20);
  border: 1px solid rgba(58, 160, 255, 0.35);
  color: rgba(255, 255, 255, 0.96);

  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.01em;

  backdrop-filter: blur(8px);
  transition:
    transform 0.12s ease,
    background 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease;
}

.ufl-primary-cta:hover {
  transform: translateY(-1px);
  background: rgba(58, 160, 255, 0.28);
  border-color: rgba(58, 160, 255, 0.50);
  box-shadow: 0 12px 30px rgba(58, 160, 255, 0.35);
  text-decoration: none;
}

/* ------------------------------------------------------------
   Sections + Bubbles
------------------------------------------------------------ */
.ufl-section {
  margin-bottom: 21px;
}

.ufl-section-inner.ufl-about-card {
  padding: 22px 24px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);

  overflow: hidden;
  isolation: isolate;
}

/* ------------------------------------------------------------
   Accent Lines
------------------------------------------------------------ */
.ufl-about--what .ufl-about-header::before {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(58, 160, 255, 0.32);
}

.ufl-about--why .ufl-about-header::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(58, 160, 255, 0.24);
}

/* ------------------------------------------------------------
   Typography
------------------------------------------------------------ */
.ufl-about-header h2 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.94);
}

.ufl-about-card p {
  max-width: 78ch;
  margin: 10px 0;
  font-size: 15.75px;

  /* CHANGE: apply WHAT styling to ALL body text */
  color: rgba(255, 255, 255, 0.72);
}

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */
footer {
  padding: 15px 0 15px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);

  background: rgba(11, 18, 32, 0.58);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ufl-footer-disclaimer {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.52);
  opacity: 0.85;
}

/* ------------------------------------------------------------
   Mobile
------------------------------------------------------------ */
@media (max-width: 720px) {
  .ufl-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* ADD: keep header nav aligned when stacked */
  .ufl-header-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .ufl-brand {
    font-size: 24px;
  }

  main {
    padding-top: 18px;
    padding-bottom: 8px;
  }

  .ufl-section-inner.ufl-about-card {
    padding: 18px 16px;
  }

  .ufl-cta-band {
    min-height: 150px;
    margin: 8px 0 8px;
    padding-bottom: 38px;
  }
}