/* assessment-lp.css — Free Security Assessment Landing Page */

/* ===== Promo Bar ===== */
.lp-promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--gold);
  text-align: center;
  padding: 0.55rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.3s forwards;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.lp-promo-bar .countdown {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
}

.lp-promo-bar .dismiss {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(192,178,131,0.5);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s;
}

.lp-promo-bar .dismiss:hover { color: var(--gold); }

.lp-promo-bar.dismissed {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

body.has-promo-bar nav { top: 38px; }

/* ===== Hero ===== */
.lp-hero {
  position: relative;
  z-index: 1;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.lp-hero h1 {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.lp-hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Stat counters row */
.lp-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.lp-stat {
  text-align: center;
}

.lp-stat-value {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-text);
}

.lp-stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

/* Primary CTA */
.lp-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--gold-text);
  border: 1.5px solid var(--gold);
  padding: 0.85rem 2.25rem;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(.16,1,.3,1);
}

.lp-cta-primary:hover {
  background: rgba(192,178,131,0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,178,131,0.15);
}

.lp-cta-primary svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
}

.lp-urgency {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* Trust badges row */
.lp-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.lp-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lp-trust-badge svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

/* ===== Dark Section ===== */
.lp-dark {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 1.5rem;
}

.lp-dark .section-label { color: var(--gold); }
.lp-dark h2 { color: var(--white); }
.lp-dark p { color: rgba(255,255,255,0.65); }

/* ===== Light Section ===== */
.lp-light {
  padding: 5rem 1.5rem;
}

/* ===== Section Inner ===== */
.lp-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== Section Heading ===== */
.lp-heading {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.lp-subheading {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.lp-dark .lp-subheading { color: rgba(255,255,255,0.6); }

/* ===== Testimonials (Section 3) ===== */
.lp-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lp-testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lp-testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.lp-testimonial-author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
}

.lp-testimonial-role {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

/* ===== Benefit Grid (Section 4) ===== */
.lp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.lp-benefit-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.75rem;
}

.lp-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192,178,131,0.06);
  border: 1px solid var(--gold-border);
  margin-bottom: 1rem;
}

.lp-benefit-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
}

.lp-benefit-card h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.lp-benefit-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Dashboard mockup */
.lp-dashboard {
  background: var(--navy);
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.08);
}

.lp-dash-topbar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.lp-dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.lp-dash-dot:nth-child(1) { background: #ef4444; }
.lp-dash-dot:nth-child(2) { background: #fbbf24; }
.lp-dash-dot:nth-child(3) { background: #22c55e; }

.lp-dash-title {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.lp-dash-progress {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.lp-dash-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--steel));
  border-radius: 4px;
  width: 0%;
  transition: width 0.1s ease-out;
}

.lp-dash-stats {
  display: flex;
  justify-content: space-between;
}

.lp-dash-stat-value {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

.lp-dash-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== Metrics (Section 5) ===== */
.lp-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.lp-metric {
  text-align: center;
  padding: 1.5rem;
}

.lp-metric-number {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-text);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.lp-metric-label {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.lp-metric-underline {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0.75rem auto 0.5rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(.16,1,.3,1);
}

.lp-metric.visible .lp-metric-underline {
  transform: scaleX(1);
}

.lp-metric-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-text);
  background: rgba(192,178,131,0.08);
  border: 1px solid var(--gold-border);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

/* ===== Steps (Section 6) ===== */
.lp-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.lp-step {
  display: flex;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2.5rem;
}

.lp-step:last-child { padding-bottom: 0; }

.lp-step-line {
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1s cubic-bezier(.16,1,.3,1);
}

.lp-steps.visible .lp-step-line {
  transform: scaleY(1);
}

.lp-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  background: var(--navy);
  position: relative;
  z-index: 1;
}

.lp-step-content h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
  margin-top: 0.2rem;
}

.lp-step-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ===== For You / Not For You (Section 7) ===== */
.lp-qualify {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.lp-qualify-col {
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(.16,1,.3,1);
}

.lp-qualify-col.from-left {
  transform: translateX(-30px);
}

.lp-qualify-col.from-right {
  transform: translateX(30px);
}

.lp-qualify-col.visible {
  opacity: 1;
  transform: translateX(0);
}

.lp-qualify-col h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lp-qualify-list {
  list-style: none;
  padding: 0;
}

.lp-qualify-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.lp-qualify-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.lp-qualify-yes svg { color: #22c55e; }
.lp-qualify-no svg { color: #ef4444; }

/* ===== Assessment Form (Section 8) ===== */
.lp-form-section {
  max-width: 700px;
  margin: 0 auto;
}

.lp-form-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
}

.lp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.lp-form-group {
  margin-bottom: 1.25rem;
}

.lp-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.lp-form-group input,
.lp-form-group select,
.lp-form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(10,22,40,0.03);
  border: 1px solid rgba(10,22,40,0.12);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.lp-form-group input:focus,
.lp-form-group select:focus,
.lp-form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--input-focus);
}

.lp-form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%238A8A9E' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.lp-form-group select option {
  background: #F8F7F4;
  color: #1A1A2E;
}

.lp-form-group textarea {
  resize: none;
  min-height: 100px;
}

.lp-privacy-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.5;
}

.lp-privacy-note a {
  color: var(--gold-text);
  text-decoration: none;
}

.lp-privacy-note a:hover { text-decoration: underline; }

/* Submit button */
.lp-submit {
  width: 100%;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--gold-text);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(.16,1,.3,1);
}

.lp-submit:hover {
  background: rgba(192,178,131,0.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(192,178,131,0.15);
}

.lp-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.lp-submit .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(192,178,131,0.3);
  border-top-color: var(--gold-text);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Error states */
.lp-field-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231,76,60,0.15);
}

.lp-error-msg {
  display: block;
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

/* Honeypot */
.u-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

/* ===== Success Modal ===== */
.lp-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.lp-modal-overlay.visible { display: flex; }

.lp-modal-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 420px;
  margin: 1rem;
  text-align: center;
}

.lp-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(192,178,131,0.08);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.lp-modal-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
}

.lp-modal-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.lp-modal-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.lp-modal-close {
  background: transparent;
  color: var(--gold-text);
  border: 1px solid rgba(192,178,131,0.4);
  padding: 0.6rem 2rem;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.lp-modal-close:hover {
  background: rgba(192,178,131,0.12);
  border-color: var(--gold);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .lp-testimonials { grid-template-columns: 1fr 1fr; }
  .lp-benefits-grid { grid-template-columns: 1fr 1fr; }
  .lp-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .lp-hero { padding: 4rem 1.5rem 3rem; }
  .lp-hero h1 { font-size: 2.2rem; }
  .lp-stats { gap: 2rem; }
  .lp-testimonials { grid-template-columns: 1fr; }
  .lp-benefits-grid { grid-template-columns: 1fr; }
  .lp-qualify { grid-template-columns: 1fr; gap: 2rem; }
  .lp-qualify-col.from-left,
  .lp-qualify-col.from-right { transform: translateY(20px); }
  .lp-form-row { grid-template-columns: 1fr; }
  .lp-form-card { padding: 1.5rem; }
  .lp-dark, .lp-light { padding: 3.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .lp-hero h1 { font-size: 1.8rem; }
  .lp-heading { font-size: 1.75rem; }
  .lp-stats { flex-direction: column; gap: 1rem; }
  .lp-metrics { grid-template-columns: 1fr; }
  .lp-trust-row { flex-direction: column; gap: 0.75rem; }
  .lp-promo-bar { font-size: 0.72rem; padding: 0.5rem 2.5rem 0.5rem 1rem; }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .lp-promo-bar { animation: none; opacity: 1; }
  .lp-promo-bar.dismissed { display: none; }
  .lp-qualify-col { opacity: 1; transform: none; transition: none; }
  .lp-metric-underline { transform: scaleX(1); transition: none; }
  .lp-step-line { transform: scaleY(1); transition: none; }
}
