/* ============================================================
   NEXT LEVEL AI — Application Page Styles
   Standalone. No dependency on any other program CSS.
   Uses site design tokens from style.css only.
   ============================================================ */

/* --- PAGE WRAPPER --- */
.nla-page {
  padding-top: 100px;
  min-height: 100vh;
  background: var(--black);
}

/* --- GRAPHIC BANNER --- */
.nla-banner {
  width: 100%;
  margin: 0 0 clamp(28px, 4vw, 44px);
  aspect-ratio: 1916 / 616;      /* three-quarters of the image's natural height */
  overflow: hidden;
}
.nla-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom; /* the cut comes off the TOP, not the bottom */
}

/* --- PAGE HEADER --- */
.nla-header {
  text-align: center;
  padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.nla-eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
/* The page headline — kept at its original size on purpose. */
.nla-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.nla-subtitle {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.9vw, 20px);
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto;
}

/* --- FORM CONTAINER --- */
.nla-form-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: clamp(64px, 8vw, 120px);
}

/* --- STEP INDICATOR --- */
.nla-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}
.nla-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: default;
}
.nla-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}
.nla-step-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
  white-space: nowrap;
}
.nla-step-line {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 0 16px;
  flex-shrink: 0;
}
.nla-step-item--active .nla-step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}
.nla-step-item--active .nla-step-label {
  color: var(--accent);
}
.nla-step-item--done .nla-step-num {
  background: rgba(212,168,83,0.15);
  border-color: var(--accent);
  color: var(--accent);
}
.nla-step-item--done .nla-step-label {
  color: rgba(255,255,255,0.6);
}

/* --- FORM CARD --- */
.nla-card {
  background: #0d0d0d;
  border: 1px solid rgba(212,168,83,0.18);
  border-radius: 4px;
  padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 48px);
}

/* --- STEP PANELS --- */
.nla-panel { display: none; }
.nla-panel--active { display: block; }

/* --- SECTION DIVIDER --- */
.nla-divider {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212,168,83,0.2);
  margin: 32px 0 24px;
}
.nla-divider:first-child { margin-top: 0; }

/* --- QUESTION NUMBER --- */
.nla-q-num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

/* --- FIELD ROWS --- */
.nla-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
.nla-row-1 { display: block; }

/* --- FIELD --- */
.nla-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.nla-field:last-child { margin-bottom: 0; }

/* --- LABELS (short field labels: First Name, Email, Cell Number…) --- */
.nla-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}
.nla-label .nla-req {
  color: var(--accent);
  margin-left: 2px;
}
/* QUESTIONS (panel 2): prominent, white, readable sentence case. */
#nla-panel-2 .nla-label {
  text-transform: none;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 2px;
}
/* Sub-text under a question stays soft/gray. */
.nla-hint {
  font-size: 14.5px;
  color: rgba(255,255,255,0.42);
  font-style: italic;
  margin-top: 2px;
  line-height: 1.55;
}

/* --- INPUTS --- */
.nla-input,
.nla-textarea,
.nla-select {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.95);
  padding: 15px 18px;
  font-family: var(--font-body);
  font-size: 16.5px;
  border-radius: 3px;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  width: 100%;
}
.nla-input::placeholder,
.nla-textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.nla-input:focus,
.nla-textarea:focus,
.nla-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.1);
}
.nla-input--error,
.nla-textarea--error {
  border-color: #e05555 !important;
  box-shadow: 0 0 0 3px rgba(224,85,85,0.1) !important;
}
.nla-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}
.nla-select {
  appearance: none;
  cursor: pointer;
  color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.nla-select option {
  background: #1a1a1a;
  color: rgba(255,255,255,0.9);
}

/* --- RADIO GROUP --- */
.nla-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.nla-radio-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
}
.nla-radio-label:hover {
  border-color: rgba(212,168,83,0.3);
  background: rgba(212,168,83,0.03);
}
.nla-radio-label input[type="radio"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.nla-radio-label input[type="radio"]:checked + .nla-radio-text {
  color: var(--white);
}
.nla-radio-label:has(input:checked) {
  border-color: rgba(212,168,83,0.4);
  background: rgba(212,168,83,0.06);
}
.nla-radio-text {
  font-size: 16.5px;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}
.nla-field--error .nla-radio-group {
  outline: 1px solid #e05555;
  outline-offset: 2px;
  border-radius: 3px;
}

/* --- NAVIGATION --- */
.nla-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
/* Submit row: no back button, centered. */
.nla-nav--submit {
  justify-content: center;
}
.nla-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.nla-btn--next {
  background: var(--accent);
  color: #000;
  box-shadow: 0 4px 16px rgba(212,168,83,0.2);
}
.nla-btn--next:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212,168,83,0.3);
}
.nla-btn--back {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
}
.nla-btn--back:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.nla-btn--submit {
  background: var(--accent);
  color: #000;
  padding: 18px 54px;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(212,168,83,0.2);
  min-width: 240px;
}
.nla-btn--submit:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(212,168,83,0.3);
}
.nla-btn--submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.nla-submit-wrap {
  text-align: center;
}
.nla-submit-note {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 14px;
}
/* Subtle "previous page" breadcrumb under the form. */
.nla-back-link {
  display: inline-block;
  margin-top: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}
.nla-back-link:hover {
  color: var(--accent);
}

/* --- PROGRESS BAR --- */
.nla-progress-bar {
  height: 2px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 36px;
  border-radius: 1px;
  overflow: hidden;
}
.nla-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.4s ease;
  width: 50%;
}

/* --- CONFIRMATION --- */
.nla-confirm {
  text-align: center;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 48px);
}
.nla-confirm-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212,168,83,0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.nla-confirm-headline {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.nla-confirm-body {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 460px;
  margin: 0 auto;
}

/* --- TESTIMONIALS SECTION --- */
.nla-testi-section {
  background: #080808;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: clamp(48px, 6vw, 96px) 0;
}
.nla-testi-header {
  text-align: center;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
/* Big headline above the testimonials. */
.nla-testi-headline {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.18;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* Grid: single column on mobile by default */
.nla-testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Card: block layout — top row (photo + meta), quote below */
.nla-testi-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 20px;
}
.nla-testi-card--featured {
  background: linear-gradient(135deg, #161616 0%, #0f0f0f 100%);
  border-color: rgba(212,168,83,0.18);
}

/* Top row: photo + name/role side by side */
.nla-testi-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.nla-testi-photo {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212,168,83,0.3);
  flex-shrink: 0;
  display: block;
}
picture {
  display: contents;
}
.nla-testi-meta {
  flex: 1;
  min-width: 0;
}
.nla-testi-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}
.nla-testi-role {
  font-size: 12px;
  color: var(--accent);
  margin-top: 3px;
  line-height: 1.4;
}

/* Quote below the top row */
.nla-testi-quote {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  margin: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
  .nla-row-2 {
    grid-template-columns: 1fr;
  }
  .nla-steps { gap: 0; }
  .nla-step-line {
    width: 24px;
    margin: 0 8px;
  }
  .nla-step-label { display: none; }
  .nla-nav {
    flex-direction: column-reverse;
    gap: 12px;
  }
  .nla-btn--submit,
  .nla-btn--next,
  .nla-btn--back { width: 100%; }
  .nla-submit-wrap {
    text-align: center;
    width: 100%;
  }
  .nla-radio-label {
    padding: 14px 14px;
    min-height: 48px;
  }
  .nla-card { padding: 22px 18px; }
}

@media (min-width: 641px) {
  .nla-testi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .nla-testi-card--featured { grid-column: 1 / -1; }
  .nla-testi-card--wide { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .nla-testi-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .nla-testi-card { padding: 24px; }
  .nla-testi-card--featured {
    grid-column: 1 / -1;
    padding: 28px 32px;
  }
  .nla-testi-card--wide { grid-column: span 2; }
  .nla-testi-photo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
  }
  .nla-testi-quote { font-size: 17px; }
  .nla-testi-card--featured .nla-testi-quote { font-size: 18px; }
}
