/* ================================================================
   EGWU.AFRICA — pages.css
   Sub-page shared styles: legal, about, help, pricing, auth.
   Load order: style.css → responsive.css → pages.css
   ================================================================ */


/* ── PAGE HEADER BANNER ─────────────────────────────────────────── */
.page-header {
  background: var(--bg2);
  border-bottom: 1px solid var(--b);
  padding: calc(var(--nav-h) + 56px) var(--px) 56px;
  position: relative;
  overflow: hidden;
}
.ph-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
  width: min(80vw, 520px);
  height: min(80vw, 520px);
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 65%);
  top: -40%; right: -10%;
}
.ph-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.ph-tag {
  display: inline-flex;
  align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.ph-tag::before {
  content: '';
  display: block; width: 16px; height: 2px;
  background: var(--accent); border-radius: 99px; flex-shrink: 0;
}
.page-header h1 {
  font-size: clamp(30px, 6vw, 60px);
  font-weight: 900; letter-spacing: 0;
  line-height: 1.03; color: #fff; margin-bottom: 18px;
}
.ph-updated {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--muted);
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 100px; padding: 5px 14px;
}


/* ── PAGE BODY ──────────────────────────────────────────────────── */
.page-body { background: var(--bg); padding: 56px 0 96px; }
.page-content { max-width: 800px; margin: 0 auto; padding: 0 var(--px); }


/* ── LEGAL TYPOGRAPHY ───────────────────────────────────────────── */
.page-content h2 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800; color: #fff;
  margin: 52px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--b);
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 700; color: var(--accent);
  margin: 28px 0 10px;
}
.page-content p {
  font-size: 15px; line-height: 1.82; color: var(--dim); margin-bottom: 14px;
}
.page-content p:last-child { margin-bottom: 0; }
.page-content ul,
.page-content ol { list-style: none; margin: 4px 0 18px; padding: 0; }
.page-content li {
  font-size: 15px; line-height: 1.74; color: var(--dim);
  padding: 5px 0 5px 22px; position: relative;
}
.page-content li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--accent); font-weight: 600; font-size: 12px; top: 7px;
}
.page-content a { color: var(--accent); font-weight: 600; }
.page-content a:hover { color: #fff; }

.info-box {
  background: var(--glass);
  border: 1px solid var(--b);
  border-radius: 18px; padding: 22px 24px; margin-top: 16px;
}
.info-box p { font-size: 14px; color: var(--muted); margin-bottom: 6px; line-height: 1.65; }
.info-box p:last-child { margin-bottom: 0; }
.info-box p strong { color: var(--dim); font-weight: 600; }
.info-box a { color: var(--accent); font-weight: 600; }
.info-box a:hover { color: #fff; }

.note-box {
  background: rgba(37,99,235,0.07);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 20px;
}
.note-box p { font-size: 14px; color: var(--dim); margin: 0; line-height: 1.65; }


/* ── ABOUT PAGE ─────────────────────────────────────────────────── */
.about-mission {
  display: grid; grid-template-columns: 1fr;
  gap: 14px; margin-top: 32px;
}
.about-mission-card {
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 18px; padding: 22px 20px;
  position: relative; overflow: hidden;
}
.about-mission-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.about-mission-icon { font-size: 28px; margin-bottom: 12px; }
.about-mission-card h3 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.about-mission-card p  { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; }

.about-stat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px;
}
.about-stat {
  background: transparent; border: 1px solid var(--b);
  border-radius: 18px; padding: 22px 18px; text-align: center; letter-spacing: 0.02em;
}
.about-stat .as-num {
  font-size: clamp(28px,5vw,40px);
  font-weight: 900; color: var(--accent); line-height: 1;
}
.about-stat .as-lbl { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

.about-pillars { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.about-pillar {
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 14px; padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
}
.pillar-icon {
  width: 38px; height: 38px; min-width: 38px;
  background: rgba(37,99,235,0.16); border: 1px solid rgba(96,165,250,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.pillar-text h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.pillar-text p  { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; letter-spacing: 0.02em; }


/* ── HELP CENTER ────────────────────────────────────────────────── */
.help-intro {
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 18px; padding: 24px;
  margin-bottom: 40px; display: flex; align-items: center; gap: 16px;
}
.help-intro-icon { font-size: 32px; flex-shrink: 0; }
.help-intro p { font-size: 15px; color: var(--dim); line-height: 1.7; margin: 0; }

.faq-group-title {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin: 36px 0 14px;
}
.faq-group-title:first-of-type { margin-top: 0; }

.faq-item {
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 14px; margin-bottom: 10px;
  overflow: hidden; transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(96,165,250,0.28); }
.faq-item.open  { border-color: rgba(96,165,250,0.35); }

.faq-btn {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  padding: 18px 20px;
  font-size: 14px; font-weight: 700; color: #fff;
  letter-spacing: 0; text-align: left;
  cursor: pointer; background: transparent;
  transition: background 0.15s;
}
.faq-btn:hover { background: var(--glass2); }

.faq-plus {
  width: 22px; height: 22px; min-width: 22px;
  border-radius: 50%;
  background: rgba(37,99,235,0.16);
  border: 1px solid rgba(96,165,250,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; line-height: 1; color: var(--accent);
  transition: transform 0.22s; flex-shrink: 0;
}
.faq-item.open .faq-plus { transform: rotate(45deg); }

.faq-answer { height: 0; overflow: hidden; transition: height 0.25s ease; }
.faq-answer-inner { padding: 0 20px 18px; font-size: 14px; line-height: 1.75; color: var(--muted); }

/* Contact cards */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px;
}
.contact-card {
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 14px; padding: 18px 20px;
}
.contact-card h4 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.contact-card a { font-size: 15px; font-weight: 600; color: var(--accent); display: block; }
.contact-card a:hover { color: #fff; }


/* ── FOOTER ─────────────────────────────────────────────────────── */
.footer-top {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 36px;
}
.footer-brand-col { display: flex; flex-direction: column; gap: 10px; }
.footer-brand-col > p { font-size: 13px; color: var(--muted); max-width: 240px; line-height: 1.6; }

.footer-email-list { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.footer-email-list a { font-size: 13px; font-weight: 600; color: var(--accent); }
.footer-email-list a:hover { color: #fff; }

.footer-app-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.footer-app-btn { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 7px 12px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); text-decoration: none; transition: background 0.15s, color 0.15s; }
.footer-app-btn:hover { background: rgba(255,255,255,0.10); color: #fff; }
.footer-app-btn svg { flex-shrink: 0; opacity: 0.75; }

.footer-col h4 {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col li a { font-size: 14px; font-weight: 500; color: var(--dim); transition: color 0.15s; }
.footer-col li a:hover { color: #fff; }

.footer-divider {
  max-width: 1240px; margin: 28px auto 0;
  border: none; border-top: 1px solid var(--b);
}
.footer-bottom {
  max-width: 1240px; margin: 16px auto 0;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.footer-bottom-left { display: flex; flex-direction: column; gap: 4px; }
.footer-bottom-left p  { font-size: 12px; color: rgba(255,255,255,0.22); }
.footer-bottom-right { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-right a { font-size: 12px; color: rgba(255,255,255,0.32); transition: color 0.15s; }
.footer-bottom-right a:hover { color: var(--accent); }


/* ── CONTACT PAGE ───────────────────────────────────────────────── */
.contact-dept-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 32px;
}
.contact-dept {
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 16px; padding: 22px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.contact-dept:hover { border-color: rgba(96,165,250,0.3); transform: translateY(-3px); }
.contact-dept-type {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.contact-dept a { font-size: 15px; font-weight: 700; color: var(--accent); display: block; transition: color 0.15s; }
.contact-dept a:hover { color: #fff; }
.contact-dept-note { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

.contact-address-card {
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 18px; padding: 28px 26px; margin-top: 36px;
  display: flex; gap: 18px; align-items: flex-start;
}
.contact-address-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.contact-address-card h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.contact-address-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 4px; }

.response-banner {
  display: flex; align-items: center; gap: 12px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(96,165,250,0.18);
  border-radius: 12px; padding: 14px 18px; margin-top: 28px;
  font-size: 14px; color: var(--dim); line-height: 1.55;
}
.response-banner span { font-size: 20px; flex-shrink: 0; }


/* ── CAREERS PAGE ───────────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.value-card {
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 14px; padding: 18px 20px;
  display: flex; gap: 12px; align-items: flex-start;
}
.value-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.value-card h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.value-card p  { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; }

.no-jobs-box {
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 18px; padding: 36px; text-align: center; margin-top: 24px;
}
.no-jobs-box .nj-icon { font-size: 36px; margin-bottom: 14px; }
.no-jobs-box h3 { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.no-jobs-box p  { font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 480px; margin: 0 auto; }

.dept-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dept-tag {
  background: rgba(37,99,235,0.10); border: 1px solid rgba(96,165,250,0.2);
  border-radius: 100px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; color: var(--accent);
}

.careers-cta-card {
  background: linear-gradient(135deg, rgba(5,16,61,0.8), rgba(37,99,235,0.35));
  border: 1px solid rgba(96,165,250,0.18);
  border-radius: 20px; padding: 32px; margin-top: 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.careers-cta-card h3 { font-size: 20px; font-weight: 800; color: #fff; }
.careers-cta-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }


/* ── PRESS PAGE ─────────────────────────────────────────────────── */
.press-facts-card {
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 18px; padding: 28px; margin-top: 24px;
}
.press-fact-row {
  display: flex; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--b); align-items: baseline;
}
.press-fact-row:last-child { border-bottom: none; padding-bottom: 0; }
.pf-key {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); min-width: 130px; flex-shrink: 0;
}
.pf-val { font-size: 14px; font-weight: 600; color: var(--dim); }
.pf-val a { color: var(--accent); }
.pf-val a:hover { color: #fff; }

.press-logo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.press-logo-box {
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; min-height: 100px; cursor: pointer; transition: border-color 0.2s;
}
.press-logo-box:hover { border-color: rgba(96,165,250,0.3); }
.press-logo-box span { font-size: 22px; }
.press-logo-box p { font-size: 12px; color: var(--muted); text-align: center; }

.ms-card {
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 16px; padding: 22px 24px; margin-bottom: 12px;
}
.ms-card h4 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.ms-card p { font-size: 14px; color: var(--dim); line-height: 1.7; margin: 0; }


/* ── INVESTOR RELATIONS PAGE ────────────────────────────────────── */
.market-items-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
.market-item {
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 14px; padding: 16px 20px;
  display: flex; gap: 14px; align-items: center;
}
.market-item-icon {
  width: 36px; height: 36px; min-width: 36px;
  background: rgba(37,99,235,0.16); border: 1px solid rgba(96,165,250,0.2);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.market-item p { font-size: 14px; color: var(--dim); font-weight: 500; line-height: 1.5; margin: 0; }

.strategy-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.strategy-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 12px; padding: 14px 18px;
  font-size: 14px; font-weight: 600; color: var(--dim);
}
.strategy-item span { font-size: 18px; flex-shrink: 0; }


/* ── PRICING PAGE ───────────────────────────────────────────────── */
.pricing-hero {
  position: relative; text-align: center;
  padding: calc(var(--nav-h) + 60px) var(--px) 60px;
  background: #14181B; overflow: hidden;
}
.pricing-hero-orb {
  position: absolute;
  width: min(100vw,700px); height: min(100vw,700px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 65%);
  top: -30%; left: 50%; transform: translateX(-50%);
  pointer-events: none; filter: blur(70px);
}
.pricing-hero-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.pricing-hero h1 {
  font-size: clamp(32px,6vw,60px);
  font-weight: 900; line-height: 1.04; color: #fff; margin: 14px 0 16px;
}
.pricing-hero p { font-size: clamp(15px,1.8vw,18px); color: var(--muted); line-height: 1.68; }
.billing-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(37,99,235,0.10); border: 1px solid rgba(96,165,250,0.22);
  border-radius: 100px; padding: 6px 16px;
  font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 20px;
}

.pricing-section { padding: 0 var(--px) 80px; background: #14181B; }
.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.plan-card {
  background: transparent; border: 1px solid var(--b);
  border-radius: 26px; padding: clamp(26px,3vw,36px);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s;
}
.plan-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.03), transparent 55%);
  pointer-events: none;
}
.plan-card:hover { transform: translateY(-4px); }

.plan-card.featured {
  border: 2px solid #e85d04;
  box-shadow: 0 0 48px rgba(232,93,4,0.16);
  background: transparent;
}
.plan-card.featured::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232,93,4,0.05), transparent);
  pointer-events: none;
}

.plan-head {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.plan-name  { font-size: 22px; font-weight: 900; color: #fff; line-height: 1.1; }
.plan-cycle {
  display: inline-block;
  font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 100px; padding: 3px 10px; margin-top: 6px;
}
.plan-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(232,93,4,0.10); border: 1px solid rgba(232,93,4,0.35);
  color: #f97316; border-radius: 100px; padding: 5px 12px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
}
.plan-price-row { margin: 20px 0; position: relative; z-index: 1; }
.plan-price {
  font-size: clamp(38px,7vw,52px);
  font-weight: 900; color: #fff; line-height: 1;
}
.plan-price-per { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan-divider { height: 1px; background: var(--b); margin: 20px 0; }
.plan-features {
  list-style: none; display: flex; flex-direction: column; gap: 13px;
  flex: 1; position: relative; z-index: 1;
}
.plan-feature {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(14px,1.5vw,15px); font-weight: 500; color: var(--dim);
}
.plan-check {
  width: 22px; height: 22px; min-width: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0;
  background: rgba(37,99,235,0.16); border: 1px solid rgba(96,165,250,0.3);
  color: var(--accent);
}
.plan-card.featured .plan-check {
  background: rgba(232,93,4,0.10); border-color: rgba(249,115,22,0.35); color: #f97316;
}
.plan-cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 15px; margin-top: 26px;
  font-size: 15px; font-weight: 700; border-radius: 100px;
  transition: all 0.2s; cursor: pointer; text-decoration: none;
  border: none; font-family: 'Inter Tight', sans-serif;
  position: relative; z-index: 1;
}
.plan-cta.cta-default { background: var(--blue); color: #fff; }
.plan-cta.cta-default:hover { background: var(--blue-h); box-shadow: 0 6px 24px rgba(37,99,235,0.42); transform: translateY(-1px); }
.plan-cta.cta-featured { background: linear-gradient(135deg, #c2410c, #e85d04, #f97316); color: #fff; }
.plan-cta.cta-featured:hover { box-shadow: 0 8px 32px rgba(232,93,4,0.45); transform: translateY(-1px); }
.plan-cta.cta-premium { background: linear-gradient(135deg, var(--blue), var(--blue-l)); color: #fff; }
.plan-cta.cta-premium:hover { box-shadow: 0 8px 32px rgba(37,99,235,0.45); transform: translateY(-1px); }

.pricing-footer-note {
  padding: 0 var(--px) 80px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.secure-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  background: var(--glass); border: 1px solid var(--b);
  border-radius: 100px; padding: 8px 18px;
}
.pricing-legal-note { font-size: 13px; color: rgba(255,255,255,0.32); line-height: 1.65; max-width: 440px; }
.pricing-legal-note a { color: var(--accent); }
.pricing-legal-note a:hover { color: #fff; }


/* ── AUTH PAGE ──────────────────────────────────────────────────── */
.auth-page {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 48px) var(--px) 60px;
  background: var(--bg); position: relative; overflow: hidden;
}
.auth-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); }
.auth-orb-1 {
  width: min(90vw,600px); height: min(90vw,600px);
  background: radial-gradient(circle, rgba(37,99,235,0.20) 0%, transparent 65%);
  top: -20%; left: 50%; transform: translateX(-50%);
}
.auth-orb-2 {
  width: min(60vw,400px); height: min(60vw,400px);
  background: radial-gradient(circle, rgba(96,165,250,0.08) 0%, transparent 65%);
  bottom: -10%; right: -10%;
}
.auth-card {
  width: 100%; max-width: 440px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--b2);
  border-radius: 28px; padding: clamp(28px,5vw,44px) clamp(24px,5vw,40px);
  position: relative; z-index: 1;
}
.auth-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.03), transparent 55%);
  border-radius: inherit; pointer-events: none;
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo img { height: 30px; width: auto; display: inline-block; }
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(255,255,255,0.05); border-radius: 12px;
  padding: 4px; margin-bottom: 28px;
}
.auth-tab {
  font-family: 'Inter Tight', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--muted); background: transparent; border: none; border-radius: 9px;
  padding: 10px; cursor: pointer; transition: all 0.2s;
}
.auth-tab.active { background: var(--blue); color: #fff; box-shadow: 0 2px 12px rgba(37,99,235,0.35); }
.auth-tab:not(.active):hover { color: var(--dim); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form.hidden { display: none; }
.auth-field { display: flex; flex-direction: column; gap: 7px; }
.auth-label { font-size: 13px; font-weight: 600; color: var(--dim); }
.auth-input {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--b2); border-radius: 12px; padding: 13px 16px;
  font-family: 'Inter Tight', sans-serif; font-size: 15px; font-weight: 500;
  color: #fff; outline: none; transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none; appearance: none;
}
.auth-input::placeholder { color: var(--muted); font-weight: 400; }
.auth-input:focus { border-color: var(--blue); background: rgba(255,255,255,0.08); }
.auth-meta { display: flex; align-items: center; justify-content: flex-end; margin-top: -4px; }
.auth-meta a { font-size: 13px; font-weight: 600; color: var(--accent); transition: color 0.15s; }
.auth-meta a:hover { color: #fff; }
.auth-submit {
  width: 100%; padding: 14px; border-radius: 100px; border: none;
  background: var(--blue); color: #fff;
  font-family: 'Inter Tight', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; margin-top: 4px;
}
.auth-submit:hover { background: var(--blue-h); box-shadow: 0 6px 24px rgba(37,99,235,0.42); transform: translateY(-1px); }
.auth-divider {
  display: flex; align-items: center; gap: 12px; margin: 20px 0;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--b); }
.auth-divider span { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.auth-social-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 13px 20px; border-radius: 100px;
  border: 1.5px solid var(--b2); background: transparent; color: var(--dim);
  font-family: 'Inter Tight', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.auth-social-btn:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.05); color: #fff; }
.auth-social-icon { width: 18px; height: 18px; flex-shrink: 0; }
.auth-switch { text-align: center; font-size: 13px; color: var(--muted); margin-top: 20px; }
.auth-switch a { color: var(--accent); font-weight: 600; }
.auth-switch a:hover { color: #fff; }
.auth-terms { font-size: 11px; color: rgba(255,255,255,0.28); text-align: center; line-height: 1.6; margin-top: 12px; }
.auth-terms a { color: rgba(255,255,255,0.42); }
.auth-terms a:hover { color: var(--accent); }


/* ── RESPONSIVE BREAKPOINTS FOR PAGES ──────────────────────────── */
@media (min-width: 540px) {
  .about-mission     { grid-template-columns: 1fr 1fr; }
  .contact-grid      { grid-template-columns: 1fr 1fr; }
  .contact-dept-grid { grid-template-columns: 1fr 1fr; }
  .values-grid       { grid-template-columns: repeat(3, 1fr); }
  .market-items-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .about-mission     { grid-template-columns: repeat(3, 1fr); }
  .contact-grid      { grid-template-columns: repeat(3, 1fr); }
  .contact-dept-grid { grid-template-columns: repeat(3, 1fr); }
  .market-items-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer 5-column grid */
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 36px; align-items: start;
  }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 960px) {
  .page-header { padding: calc(var(--nav-h) + 68px) var(--px) 68px; }
  .page-body   { padding: 72px 0 128px; }
  .footer-top  { gap: 44px; }
  .contact-dept-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 1100px; }
  .plan-card.featured { transform: translateY(-8px); }
  .plan-card.featured:hover { transform: translateY(-14px); }
  .plan-card:not(.featured):hover { transform: translateY(-4px); }
}

@media (min-width: 1200px) {
  .footer-top   { gap: 52px; }
  .plan-price   { font-size: 36px; }
}
