/* =======================================================
   Join the Mission — LBC/MDC Shared Page (v2.0)
   - mobile first
   - LBC home ambience
   - dashboard-style glow cards
   ======================================================= */

:root{
  --bg: #070708;
  --panel: rgba(17,17,20,.92);
  --panel2: rgba(21,21,26,.92);

  --text: #f4f4f5;
  --muted: #b7b7bf;

  --line: rgba(255,255,255,.09);
  --line2: rgba(255,255,255,.12);

  --red: #ff2222;
  --red2: #ff3b3b;

  --shadow: 0 12px 40px rgba(0,0,0,.55);
  --radius: 18px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);

  /* match LBC homepage ambient background */
  background:
    radial-gradient(1100px 680px at 70% 10%, rgba(255, 0, 0, 0.16), transparent 60%),
    radial-gradient(860px 520px at 16% 22%, rgba(255, 0, 0, 0.12), transparent 55%),
    radial-gradient(1000px 520px at 50% 100%, rgba(255,255,255,0.035), transparent 55%),
    linear-gradient(180deg, #040405 0%, #09090c 50%, #050506 100%);
}

a{ color: inherit; }
.page{ min-height:100vh; }

/* =======================================================
   HERO
   ======================================================= */

.hero{ padding: 52px 18px 28px; }

.hero-inner{
  max-width: var(--max);
  margin: 0 auto;

  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px;

  background:
    radial-gradient(900px 250px at 50% -15%, rgba(255,34,34,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 50%),
    var(--panel);

  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.badge{
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-size: .86rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.28);
  padding: 8px 12px;
  border-radius: 999px;
}

.hero h1{
  color: #ff0000;
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.lead{
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 66ch;
}

.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hero-note{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.20);
  color: var(--muted);
  font-size: .95rem;
}

.dot{
  width:10px;height:10px;border-radius:999px;
  background: var(--red);
  margin-top: 5px;
  box-shadow: 0 0 0 4px rgba(255,34,34,.14);
}

/* Back button */
.back-btn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.30);
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: .92rem;
  margin-bottom: 12px;
  transition: transform .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
}
.back-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,34,34,.55);
  color: rgba(255,255,255,.92);
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
}

/* =======================================================
   SECTIONS
   ======================================================= */

.section{ padding: 28px 18px; }

.section.dark{
  background:
    radial-gradient(900px 500px at 60% 10%, rgba(255,34,34,.10), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent 55%);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.section-inner{
  max-width: var(--max);
  margin: 0 auto;
}

.section-head h2{ margin: 0 0 6px; }
.section-head .muted{ margin: 0 0 18px; }

/* Layout */
.two-col{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 860px){
  .two-col{ grid-template-columns: 1.1fr .9fr; gap: 18px; }
}

/* Typography */
h2{
  color: #ff0000;
  margin: 0 0 10px;
  font-size: 1.55rem;
  letter-spacing:-0.01em;
}
h3{
  color: #ff0000;
  margin: 0 0 8px;
  font-size: 1.1rem;
}
p{ margin: 0 0 10px; }

.muted{ color: var(--muted); }
.small{ font-size: .92rem; color: var(--muted); }

/* Lists */
.ticks{
  padding-left: 18px;
  margin: 10px 0 0;
  color: var(--muted);
}
.ticks li{ margin: 8px 0; }

.steps{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.steps li{ margin: 10px 0; }

/* =======================================================
   CARDS
   ======================================================= */

.card{
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card.subtle{
  background:
    radial-gradient(700px 180px at 50% -15%, rgba(255,34,34,.10), transparent 60%),
    var(--panel);
}

/* Brand split */
.brand-split{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 860px){
  .brand-split{ grid-template-columns: 1fr 1fr; gap: 16px; }
}

.brand-card{
  border: 1px solid var(--line);
  background: var(--panel2);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.brand-card h2{
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.brand-card p{ color: var(--muted); margin: 0; }

/* =======================================================
   GRID (mission path cards)
   ======================================================= */

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px){
  .grid{ grid-template-columns: repeat(3, 1fr); }
}

.role{
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 300px at 50% -20%, rgba(255,34,34,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 45%),
    rgba(10,10,12,.92);

  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.60);

  display:flex;
  flex-direction: column;
  gap: 10px;

  min-height: 240px;
  position: relative;
  overflow: hidden;

  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.role::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  background: radial-gradient(520px 260px at 50% 0%, rgba(255,34,34,.22), transparent 60%);
  opacity: .0;
  transition: opacity .14s ease;
  pointer-events:none;
}

.role:hover{
  transform: translateY(-5px);
  border-color: rgba(255,34,34,.58);
  box-shadow:
    0 18px 55px rgba(0,0,0,.70),
    0 0 0 1px rgba(255,34,34,.10),
    0 0 45px rgba(255,34,34,.20);
}

.role:hover::after{ opacity: 1; }

.role h3{ margin: 0 0 4px; }
.role p{ color: rgba(255,255,255,.74); }

.meta{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.pill{
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .82rem;
  color: var(--muted);
  background: rgba(0,0,0,.18);
}

/* =======================================================
   BUTTONS
   ======================================================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  padding: 12px 14px;
  text-decoration:none;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.20);
  color: var(--text);
  cursor:pointer;
  transition: transform .06s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform: translateY(-1px); }

.btn.primary{
  border-color: rgba(255,34,34,.70);
  background: linear-gradient(180deg, rgba(255,34,34,.34), rgba(255,34,34,.14));
  box-shadow: 0 10px 28px rgba(0,0,0,.40);
}

.btn.primary:hover{
  border-color: rgba(255,34,34,.92);
  box-shadow:
    0 14px 42px rgba(0,0,0,.55),
    0 0 25px rgba(255,34,34,.18);
}

.btn.ghost{ background: rgba(0,0,0,.12); }

.btn.small{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: .92rem;
}

/* =======================================================
   FORMS
   ======================================================= */

.form{
  border: 1px solid var(--line2);
  background: var(--panel2);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

label{
  display:flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: .95rem;
}

input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline: none;
}

textarea{ resize: vertical; min-height: 120px; }

input:focus, select:focus, textarea:focus{
  border-color: rgba(255,34,34,.65);
  box-shadow: 0 0 0 4px rgba(255,34,34,.12);
}

.form-row{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (min-width: 860px){
  .form-row{ grid-template-columns: 1fr 1fr; }
}

.form-actions{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.closing{
  margin-top: 16px;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.18);
}

/* =======================================================
   FOOTER
   ======================================================= */

.footer{ padding: 22px 18px 40px; }

.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  color: var(--muted);
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  justify-content:center;
}

.footer a{
  color: var(--muted);
  text-decoration:none;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer a:hover{
  color: var(--text);
  border-bottom-color: rgba(255,34,34,.45);
}

.sep{ opacity:.6; }
