
/* /src/styles/free-pentest-apply.css */
/* Free Pentest Apply — scoped to .fpa-page (preview 16) */

.fpa-page {
  --fpa-cyan: #00d9ff;
  --fpa-blue: #3aa7ff;
  --fpa-red: #ff2b3d;
  --fpa-red2: #ff6472;
  --fpa-green: #35ff91;
  --fpa-yellow: #ffe66d;
  --fpa-white: #f4f8ff;
  --fpa-muted: #a4b9cb;
  --fpa-line: rgba(142, 193, 230, 0.2);
  --fpa-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fpa-mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;

  font-family: var(--fpa-font);
  color: var(--fpa-white);
  background:
    radial-gradient(circle at 78% 17%, rgba(0, 217, 255, 0.16), transparent 24%),
    radial-gradient(circle at 66% 54%, rgba(255, 43, 61, 0.12), transparent 28%),
    radial-gradient(circle at 28% 40%, rgba(53, 255, 145, 0.08), transparent 26%),
    linear-gradient(135deg, #02070d, #07111d 54%, #02070d);
  position: relative;
  overflow-x: clip;
}

.fpa-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.42;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 217, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 82%, transparent);
}

.fpa-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fpa-main {
  position: relative;
  z-index: 1;
}

.fpa-hero {
  min-height: calc(100vh - 96px);
  padding: 56px clamp(20px, 5vw, 84px) 70px;
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(620px, 1.18fr);
  gap: 54px;
  align-items: start;
}

.fpa-hero-copy {
  position: sticky;
  top: 128px;
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 40px;
}

.fpa-badge {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 217, 255, 0.32);
  border-radius: 999px;
  background: rgba(0, 217, 255, 0.08);
  color: #c9f6ff;
  box-shadow: 0 0 22px rgba(0, 217, 255, 0.1);
  font: 900 12px var(--fpa-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.fpa-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fpa-green);
  box-shadow: 0 0 14px var(--fpa-green);
}

.fpa-hero-copy .fpa-h1 {
  margin: 0;
  font-size: clamp(56px, 5vw, 106px);
  line-height: 0.98;
  letter-spacing: -0.067em;
  font-weight: 950;
  text-transform: uppercase;
}

.fpa-hero-copy .fpa-h1 .fpa-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 43, 61, 0.92);
  text-shadow: 0 0 24px rgba(255, 43, 61, 0.22);
}

.fpa-lead {
  margin: 30px 0 18px;
  color: var(--fpa-cyan);
  font-size: clamp(22px, 1.45vw, 30px);
  line-height: 1.34;
  font-weight: 850;
}

.fpa-copy {
  margin: 0 0 32px;
  color: #c2d0de;
  font-size: 18px;
  line-height: 1.7;
  max-width: 690px;
}

.fpa-fun-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 4px 0 30px;
  max-width: 650px;
}

.fpa-fun-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(8, 20, 34, 0.82), rgba(5, 12, 22, 0.74));
  border: 1px solid rgba(148, 196, 230, 0.18);
}

.fpa-fun-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -50px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(0, 217, 255, 0.22);
}

.fpa-fun-card b {
  display: block;
  margin-bottom: 8px;
  font: 900 13px var(--fpa-mono);
  color: var(--fpa-cyan);
  text-transform: uppercase;
}

.fpa-fun-card span {
  display: block;
  color: #b9c8d7;
  font-size: 14px;
  line-height: 1.45;
}

.fpa-micro-steps {
  display: grid;
  gap: 12px;
  max-width: 650px;
}

.fpa-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 15px;
  background: rgba(4, 12, 21, 0.48);
  border: 1px solid rgba(148, 196, 230, 0.14);
}

.fpa-step-no {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--fpa-cyan);
  border: 1px solid rgba(0, 217, 255, 0.5);
  box-shadow: 0 0 14px rgba(0, 217, 255, 0.16);
  font: 900 12px var(--fpa-mono);
}

.fpa-step b {
  display: block;
  margin-bottom: 4px;
  color: #f3f8ff;
}

.fpa-step p {
  margin: 0;
  color: #aebfd0;
  line-height: 1.5;
  font-size: 14px;
}

.fpa-scanner-wrap {
  position: relative;
  min-height: 270px;
  margin: 30px 0 0;
  max-width: 650px;
}

.fpa-scanner {
  position: relative;
  height: 250px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 40%, rgba(0, 217, 255, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(8, 20, 34, 0.86), rgba(3, 10, 18, 0.95));
  border: 1px solid rgba(0, 217, 255, 0.24);
  box-shadow: 0 0 34px rgba(0, 217, 255, 0.09);
}

.fpa-scanner::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fpa-scanner-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(0, 217, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.fpa-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--fpa-green), var(--fpa-cyan), transparent);
  top: 24px;
  box-shadow: 0 0 18px var(--fpa-cyan);
  animation: fpa-scan 4s ease-in-out infinite;
}

@keyframes fpa-scan {
  0%,
  100% {
    top: 24px;
    opacity: 0.25;
  }
  50% {
    top: 218px;
    opacity: 1;
  }
}

.fpa-target {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(0, 217, 255, 0.55);
  box-shadow:
    0 0 20px rgba(0, 217, 255, 0.14),
    inset 0 0 20px rgba(0, 217, 255, 0.08);
}

.fpa-target::before,
.fpa-target::after {
  content: "";
  position: absolute;
  background: rgba(0, 217, 255, 0.65);
}

.fpa-target::before {
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 1px;
}

.fpa-target::after {
  top: 50%;
  left: 8px;
  right: 8px;
  height: 1px;
}

.fpa-t1 {
  left: 68px;
  top: 58px;
}

.fpa-t2 {
  right: 120px;
  top: 42px;
  border-color: rgba(255, 43, 61, 0.55);
  box-shadow: 0 0 20px rgba(255, 43, 61, 0.16);
}

.fpa-t3 {
  left: 50%;
  bottom: 42px;
  border-color: rgba(53, 255, 145, 0.55);
  box-shadow: 0 0 20px rgba(53, 255, 145, 0.16);
}

.fpa-terminal {
  position: absolute;
  left: 22px;
  bottom: 20px;
  width: min(270px, calc(100% - 44px));
  border-radius: 12px;
  padding: 14px;
  background: rgba(2, 8, 15, 0.76);
  border: 1px solid rgba(148, 196, 230, 0.16);
  font: 12px var(--fpa-mono);
  color: #d8e9f6;
}

.fpa-terminal span {
  color: var(--fpa-green);
}

.fpa-form-shell {
  position: relative;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.55), rgba(255, 43, 61, 0.45), rgba(53, 255, 145, 0.32));
  box-shadow:
    0 0 50px rgba(0, 217, 255, 0.12),
    0 0 60px rgba(255, 43, 61, 0.08);
}

.fpa-form-panel {
  border-radius: 27px;
  padding: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(0, 217, 255, 0.1), transparent 24%),
    linear-gradient(145deg, rgba(8, 20, 34, 0.95), rgba(3, 10, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fpa-form-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.fpa-form-head h2 {
  margin: 0;
  font-size: 31px;
  letter-spacing: -0.04em;
}

.fpa-form-head p {
  margin: 10px 0 0;
  color: #b8c8d6;
  line-height: 1.55;
}

.fpa-secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(53, 255, 145, 0.08);
  border: 1px solid rgba(53, 255, 145, 0.28);
  color: #d8ffe9;
  font: 900 11px var(--fpa-mono);
  text-transform: uppercase;
}

.fpa-secure-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fpa-green);
  box-shadow: 0 0 12px var(--fpa-green);
}

.fpa-progress {
  position: sticky;
  top: 108px;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: rgba(2, 8, 15, 0.62);
  border: 1px solid rgba(148, 196, 230, 0.12);
  backdrop-filter: blur(12px);
}

.fpa-progress button {
  border: 0;
  min-height: 42px;
  border-radius: 12px;
  color: #8ea5b9;
  background: transparent;
  font: 900 11px var(--fpa-mono);
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.22s;
}

.fpa-progress button.fpa-active {
  color: #07111d;
  background: linear-gradient(135deg, var(--fpa-cyan), #d7fbff);
  box-shadow: 0 0 18px rgba(0, 217, 255, 0.22);
}

.fpa-page fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 26px;
}

.fpa-page legend {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.fpa-page legend span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--fpa-cyan);
  border: 1px solid rgba(0, 217, 255, 0.48);
  font: 900 12px var(--fpa-mono);
}

.fpa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fpa-field {
  display: grid;
  gap: 8px;
}

.fpa-field.fpa-full {
  grid-column: 1 / -1;
}

.fpa-page label {
  color: #dce8f3;
  font-size: 13px;
  font-weight: 800;
}

.fpa-req {
  color: var(--fpa-red2);
}

.fpa-page input,
.fpa-page select,
.fpa-page textarea {
  width: 100%;
  border: 1px solid rgba(148, 196, 230, 0.18);
  border-radius: 12px;
  background: rgba(2, 10, 18, 0.72);
  color: #f3f8ff;
  min-height: 50px;
  padding: 0 14px;
  font: 15px var(--fpa-font);
  outline: none;
  transition: 0.2s;
}

.fpa-page textarea {
  min-height: 112px;
  resize: vertical;
  padding: 14px;
  line-height: 1.55;
}

.fpa-page input:focus,
.fpa-page select:focus,
.fpa-page textarea:focus {
  border-color: rgba(0, 217, 255, 0.62);
  box-shadow:
    0 0 0 3px rgba(0, 217, 255, 0.1),
    0 0 18px rgba(0, 217, 255, 0.1);
}

.fpa-help {
  color: #8fa5b8;
  font-size: 12px;
  line-height: 1.45;
}

.fpa-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fpa-check-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 58px;
  padding: 13px;
  border-radius: 13px;
  background: rgba(2, 10, 18, 0.54);
  border: 1px solid rgba(148, 196, 230, 0.13);
  cursor: pointer;
  transition: 0.22s;
}

.fpa-check-card:hover {
  border-color: rgba(0, 217, 255, 0.38);
}

.fpa-check-card input {
  width: 18px;
  min-height: auto;
  height: 18px;
  accent-color: #00d9ff;
  margin-top: 2px;
}

.fpa-check-card b {
  display: block;
  color: #edf7ff;
  font-size: 14px;
}

.fpa-check-card .fpa-check-sub {
  display: block;
  margin-top: 3px;
  color: #8fa5b8;
  font-size: 12px;
  line-height: 1.4;
}

.fpa-consent {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 43, 61, 0.05);
  border: 1px solid rgba(255, 43, 61, 0.18);
}

.fpa-consent label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
  color: #cbd9e6;
  font-weight: 600;
}

.fpa-consent input {
  width: 18px;
  min-height: auto;
  height: 18px;
  accent-color: #ff2b3d;
  margin-top: 3px;
}

.fpa-consent-item.fpa-invalid {
  padding: 8px;
  border-radius: 10px;
  outline: 1px solid rgba(255, 43, 61, 0.55);
  outline-offset: 2px;
}

.fpa-security-note {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  margin: 0 0 22px;
  border-radius: 15px;
  background: rgba(0, 217, 255, 0.06);
  border: 1px solid rgba(0, 217, 255, 0.18);
}

.fpa-security-note b {
  display: block;
  margin-bottom: 4px;
  color: #def9ff;
}

.fpa-security-note p {
  margin: 0;
  color: #aebfd0;
  line-height: 1.5;
  font-size: 13px;
}

.fpa-lock {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--fpa-cyan);
  border: 1px solid rgba(0, 217, 255, 0.35);
  box-shadow: 0 0 16px rgba(0, 217, 255, 0.14);
}

.fpa-form-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 196, 230, 0.12);
}

.fpa-submit {
  border: 0;
  min-height: 62px;
  padding: 0 30px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff263d, #a50618);
  color: #fff;
  font-weight: 950;
  font-size: 16px;
  box-shadow: 0 0 24px rgba(255, 43, 61, 0.35);
  cursor: pointer;
  transition: 0.25s;
}

.fpa-submit:hover {
  transform: translateY(-2px);
}

.fpa-secondary {
  border: 1px solid rgba(0, 217, 255, 0.34);
  min-height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  background: rgba(0, 217, 255, 0.06);
  color: #d9f8ff;
  font-weight: 850;
  cursor: pointer;
}

.fpa-form-status {
  margin-top: 18px;
  padding: 16px;
  border-radius: 15px;
  background: rgba(53, 255, 145, 0.07);
  border: 1px solid rgba(53, 255, 145, 0.24);
  color: #dfffee;
  line-height: 1.55;
}

.fpa-form-status.fpa-warn {
  background: rgba(255, 43, 61, 0.08);
  border-color: rgba(255, 43, 61, 0.28);
  color: #ffd6dc;
}

.fpa-error {
  display: none;
  color: #ffb6be;
  font-size: 12px;
}

.fpa-field.fpa-invalid input,
.fpa-field.fpa-invalid select,
.fpa-field.fpa-invalid textarea {
  border-color: rgba(255, 43, 61, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 43, 61, 0.1);
}

.fpa-field.fpa-invalid .fpa-error {
  display: block;
}

.fpa-assessment-block.fpa-invalid {
  border-radius: 13px;
  outline: 2px solid rgba(255, 43, 61, 0.55);
  outline-offset: 4px;
}

.fpa-info-section {
  padding: 10px clamp(20px, 5vw, 84px) 80px;
}

.fpa-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.fpa-info-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 26px;
  background: linear-gradient(145deg, rgba(8, 19, 31, 0.82), rgba(5, 12, 22, 0.8));
  border: 1px solid rgba(152, 190, 220, 0.2);
}

.fpa-info-card::before {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(0, 217, 255, 0.3);
}

.fpa-info-card h3 {
  margin: 0 0 12px;
  font: 900 16px var(--fpa-mono);
  color: var(--fpa-cyan);
  text-transform: uppercase;
}

.fpa-info-card p {
  margin: 0;
  color: #b7c8d8;
  line-height: 1.6;
}

.fpa-info-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #b7c8d8;
}

.fpa-info-card li::before {
  content: "›";
  color: var(--fpa-cyan);
  font-weight: 900;
  margin-right: 9px;
}

@media (max-width: 1250px) {
  .fpa-hero {
    grid-template-columns: 1fr;
  }
  .fpa-hero-copy {
    position: relative;
    top: auto;
    min-height: auto;
    display: block;
  }
}

@media (max-width: 900px) {
  .fpa-hero {
    padding: 38px 20px 48px;
  }
  .fpa-hero-copy .fpa-h1 {
    font-size: 52px;
  }
  .fpa-lead {
    font-size: 22px;
  }
  .fpa-copy {
    font-size: 16px;
  }
  .fpa-fun-grid,
  .fpa-grid,
  .fpa-check-grid,
  .fpa-info-grid {
    grid-template-columns: 1fr;
  }
  .fpa-form-panel {
    padding: 22px;
  }
  .fpa-progress {
    grid-template-columns: repeat(2, 1fr);
  }
  .fpa-info-section {
    padding: 0 20px 60px;
  }
}

@media (max-width: 560px) {
  .fpa-form-head {
    display: block;
  }
  .fpa-secure-pill {
    margin-top: 14px;
  }
}
