/* =========================================================
   Super page pilier FAI - SAFE CSS
   Scope : .fai-hub-v1
   ========================================================= */

.fai-hub-v1 {
  --hub-text: #111827;
  --hub-muted: #667085;
  --hub-blue: #2557ff;
  --hub-blue-2: #0ea5ff;
  --hub-green: #16c784;
  --hub-orange: #ffb020;
  --hub-border: rgba(15, 23, 42, 0.10);
  --hub-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  --hub-shadow-soft: 0 8px 18px rgba(15, 23, 42, 0.06);

  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  width: 100%;
  max-width: 100%;
  margin: 24px 0 0 0;
  padding: 0;
  color: var(--hub-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.fai-hub-v1,
.fai-hub-v1 * {
  box-sizing: border-box;
}

.fai-hub-v1 h2,
.fai-hub-v1 h3 {
  margin: 0;
  padding: 0;
  color: var(--hub-text);
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.fai-hub-v1 h2 {
  font-size: clamp(26px, 3.2vw, 42px);
}

.fai-hub-v1 h3 {
  font-size: 19px;
}

.fai-hub-v1 p {
  margin: 0;
  color: var(--hub-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.fai-hub-v1 a {
  color: var(--hub-blue);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Hero */

.fai-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(37, 87, 255, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 87, 255, 0.14), transparent 32%),
    radial-gradient(circle at 100% 8%, rgba(22, 199, 132, 0.12), transparent 30%),
    linear-gradient(135deg, #ffffff, #f3f7ff);
  box-shadow: var(--hub-shadow);
  overflow: hidden;
}

.fai-hub-hero__content {
  display: grid;
  gap: 14px;
}

.fai-hub-lead {
  color: #3d4658 !important;
  font-size: clamp(16.5px, 1.6vw, 20px) !important;
  line-height: 1.58 !important;
  font-weight: 500;
}

.fai-hub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 32px;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(37, 87, 255, 0.18);
  border-radius: 999px;
  background: rgba(37, 87, 255, 0.075);
  color: #2446c7;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fai-hub-kicker::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hub-blue), var(--hub-green));
  box-shadow: 0 0 0 5px rgba(37, 87, 255, 0.11);
}

.fai-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fai-hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none !important;
  transition: transform .22s ease, box-shadow .22s ease;
}

.fai-hub-btn:hover {
  transform: translateY(-2px);
}

.fai-hub-btn--primary {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--hub-blue), var(--hub-blue-2));
  box-shadow: 0 12px 26px rgba(37, 87, 255, 0.26);
}

.fai-hub-btn--secondary {
  color: var(--hub-text) !important;
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--hub-border);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.fai-hub-hero__card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(22, 199, 132, 0.24), transparent 34%),
    linear-gradient(135deg, #101828, #17233d);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.fai-hub-hero__card strong {
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.fai-hub-hero__card p {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Nav */

.fai-hub-nav {
  display: flex;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--hub-shadow-soft);
  overflow-x: auto;
}

.fai-hub-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: #2b3447 !important;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none !important;
}

.fai-hub-nav a:hover {
  color: #ffffff !important;
  background: var(--hub-blue);
}

/* Sections */

.fai-hub-section,
.fai-hub-final {
  display: grid;
  gap: 18px;
  width: 100%;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--hub-shadow-soft);
  overflow: hidden;
}

.fai-hub-section--soft {
  background:
    radial-gradient(circle at 100% 0%, rgba(22, 199, 132, 0.10), transparent 28%),
    linear-gradient(135deg, rgba(37, 87, 255, 0.06), rgba(255,255,255,.92));
}

.fai-hub-section__head {
  display: grid;
  gap: 11px;
  max-width: 900px;
}

/* Grids */

.fai-hub-pillar-grid,
.fai-hub-grid,
.fai-hub-tech-grid,
.fai-hub-profile-grid,
.fai-hub-steps,
.fai-hub-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.fai-hub-pillar-card,
.fai-hub-card,
.fai-hub-tech-grid article,
.fai-hub-profile-grid article,
.fai-hub-steps article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.065);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.fai-hub-pillar-card:hover,
.fai-hub-card:hover,
.fai-hub-tech-grid article:hover,
.fai-hub-profile-grid article:hover,
.fai-hub-steps article:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 87, 255, 0.24);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.11);
}

.fai-hub-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--hub-blue), var(--hub-blue-2));
  color: #ffffff;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(37, 87, 255, 0.22);
}

.fai-hub-pillar-card a {
  margin-top: 4px;
  font-weight: 900;
}

.fai-hub-steps article span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 87, 255, 0.08);
  color: var(--hub-blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .08em;
}

/* Highlight */

.fai-hub-highlight {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(37, 87, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(37, 87, 255, 0.07), rgba(22, 199, 132, 0.08)),
    #ffffff;
  color: #3d4658;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055);
}

.fai-hub-highlight strong {
  color: #111827;
  font-weight: 900;
}

/* Links */

.fai-hub-link-grid a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 16px;
  background: #ffffff;
  color: var(--hub-blue) !important;
  font-weight: 900;
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055);
}

/* FAQ */

.fai-hub-faq-list {
  display: grid;
  gap: 10px;
}

.fai-hub-faq details {
  border: 1px solid var(--hub-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.055);
  overflow: hidden;
}

.fai-hub-faq summary {
  position: relative;
  cursor: pointer;
  padding: 15px 46px 15px 16px;
  color: #111827;
  background: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  list-style: none;
}

.fai-hub-faq summary::-webkit-details-marker {
  display: none;
}

.fai-hub-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 14px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--hub-blue);
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.fai-hub-faq details[open] summary::after {
  content: "–";
}

.fai-hub-faq details p {
  padding: 0 16px 16px 16px;
  color: #667085 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* Final */

.fai-hub-final {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  background:
    radial-gradient(circle at 92% 0%, rgba(22, 199, 132, 0.24), transparent 28%),
    linear-gradient(135deg, #16234d, #2557ff);
  border-color: rgba(255, 255, 255, 0.13);
}

.fai-hub-final h2 {
  color: #ffffff;
}

.fai-hub-final p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.fai-hub-final .fai-hub-kicker {
  color: #dce8ff;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
}

/* Responsive */

@media (max-width: 760px) {
  .fai-hub-v1 {
    gap: 16px;
    margin: 18px 0 0 0;
  }

  .fai-hub-hero,
  .fai-hub-section,
  .fai-hub-final {
    padding: 18px;
    border-radius: 20px;
  }

  .fai-hub-pillar-grid,
  .fai-hub-grid,
  .fai-hub-tech-grid,
  .fai-hub-profile-grid,
  .fai-hub-steps,
  .fai-hub-link-grid {
    grid-template-columns: 1fr;
  }

  .fai-hub-actions {
    flex-direction: column;
  }

  .fai-hub-btn {
    width: 100%;
  }
}