/* =====================================================
   Solar Sight – Home (Pre-Qual Landing) Page Styles
   ANTIGRAVITY-001 | v0.1
   ===================================================== */

/* ─── Page setup ─── */
body { padding-top: 68px; } /* compensate for fixed header */

#app { width: 100%; max-width: 100%; margin: 0; border: none; min-height: auto; display: block; text-align: left; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
}

.hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.45;
}

.hero__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(17, 29, 53, 0.88) 0%,
    rgba(17, 29, 53, 0.65) 55%,
    rgba(17, 29, 53, 0.3) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

/* Left column */
.hero__col--left {
  display: flex;
  flex-direction: column;
}

/* Right column — form panel */
.hero__col--right {
  background: rgba(17, 29, 53, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  animation: fadeUp 0.7s 0.3s both;
}

.hero__form-eyebrow { color: var(--amber); opacity: 0.9; }

.hero__form-title {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.hero__form-sub {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Form box inside right col — use white card */
.hero__col--right .prequal__form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  border: none;
}

.hero .ss-eyebrow {
  animation: fadeUp 0.6s 0.1s both;
}

.hero__headline {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
  animation: fadeUp 0.7s 0.2s both;
}

.hero__dollar {
  background: none;
  color: var(--amber);
  font-style: normal;
}

.hero__per {
  font-size: 0.6em;
  font-weight: 600;
  vertical-align: super;
  letter-spacing: 0;
  opacity: 0.85;
}

.hero__sub {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 8px;
  line-height: 1.4;
  animation: fadeUp 0.7s 0.3s both;
}

.hero__sub2 {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 0;
  animation: fadeUp 0.7s 0.4s both;
}

.hero__cta {
  animation: fadeUp 0.7s 0.5s both;
}

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: fadeUp 0.7s 0.6s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.trust-icon { font-size: 18px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Form box (shared base) */
.prequal__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
}

/* Form fields */
.prequal-form { display: flex; flex-direction: column; gap: 14px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.form-group input {
  padding: 11px 14px;
  border: 1.5px solid var(--slate-100);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: var(--t);
  outline: none;
  width: 100%;
}

.form-group input::placeholder { color: var(--slate-400); }

.form-group input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,42,74,0.08);
}

.form-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
}

.prequal-submit-btn {
  width: 100%;
  margin-top: 2px;
  font-size: 15px;
}

.prequal-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.form-microcopy {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}

.form-privacy {
  font-size: 11.5px;
  color: var(--slate-400);
  text-align: center;
  line-height: 1.5;
}

.form-privacy a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Loading state */
.prequal-loading {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--slate-100);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.prequal-success {
  text-align: center;
  padding: 48px 24px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #059669;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid #D1FAE5;
}

.prequal-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.prequal-success p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.success-note {
  margin-top: 12px;
  font-size: 13px !important;
}

.success-note a { color: var(--amber); text-decoration: underline; }

/* ═══════════════════════════════════════════
   ACCREDITATION BAR
═══════════════════════════════════════════ */
.accred-bar {
  background: var(--white);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  padding: 32px 0;
}

.accred-bar__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--slate-400);
  text-align: center;
  margin-bottom: 24px;
}

.accred-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px 32px;
}

.accred-bar__logos img {
  height: 62px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.3s ease;
}

.accred-bar__logos img:hover {
  filter: grayscale(0%) opacity(1);
}

@media (max-width: 768px) {
  .accred-bar__logos { gap: 24px 32px; }
  .accred-bar__logos img { height: 48px; }
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.how-it-works {
  padding: var(--section-v) 0;
  background: var(--white);
}

.hiw__header {
  text-align: center;
  margin-bottom: 64px;
}

.hiw__header .ss-section-sub {
  margin: 14px auto 0;
  text-align: center;
}

.hiw__steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.hiw-step {
  flex: 1;
  padding: 32px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
}

.hiw-step__divider {
  font-size: 22px;
  color: var(--amber);
  font-weight: 700;
  padding: 48px 16px 0;
  flex-shrink: 0;
}

.hiw-step__num {
  font-size: 42px;
  font-weight: 800;
  color: var(--amber);
  opacity: 0.25;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.hiw-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.hiw-step p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.hiw__cta {
  text-align: center;
  margin-top: 52px;
}

/* ═══════════════════════════════════════════
   TRUST / DATA
═══════════════════════════════════════════ */
.trust-section {
  padding: var(--section-v) 0;
  background: var(--navy);
}

.trust-hdr {
  text-align: center;
  margin-bottom: 56px;
}

.trust-hdr .ss-section-title {
  color: var(--white);
  margin-top: 0;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-card {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: var(--t);
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,166,35,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.trust-card__icon {
  font-size: 32px;
  margin-bottom: 18px;
}

.trust-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.trust-card p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials {
  padding: var(--section-v) 0;
  background: var(--slate-50);
}

.testimonials__hdr {
  text-align: center;
  margin-bottom: 52px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.placeholder-badge {
  font-size: 11px;
  font-weight: 700;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  border-radius: 4px;
  padding: 4px 10px;
  display: inline-block;
}

.placeholder-content blockquote {
  font-size: 14.5px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.65;
  border-left: 3px solid var(--slate-100);
  padding-left: 16px;
}

.testimonial-card cite {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  font-style: normal;
}

/* ═══════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════ */
.cta-banner {
  padding: var(--section-v) 0;
  background: var(--amber);
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-banner__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.cta-banner__text p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.cta-banner .ss-btn--primary {
  background: var(--white);
  color: var(--amber-dark);
  border-color: var(--white);
  flex-shrink: 0;
}

.cta-banner .ss-btn--primary:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; gap: 40px; }
  .hero__col--right { padding: 28px; }
  .hiw__steps { flex-direction: column; }
  .hiw-step__divider { display: none; }
  .trust-cards { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 48px 0 40px; }
  .hero__content { gap: 32px; }
  .hero__headline { font-size: clamp(28px, 8vw, 42px); }
  .trust-bar { flex-direction: column; gap: 12px; }
  .hero__col--right .prequal__form-wrap { padding: 20px 16px; }
  .trust-cards { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
}
