:root{
  --bg:#0b1220;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.04);
  --border:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(226,232,240,.74);
  --accent:#22c55e;
  --accent2:#10b981;
  --danger:#ef4444;
  --shadow:0 30px 90px rgba(0,0,0,.45);
  --radius:22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
  background:var(--bg);
  color:var(--text);
}

.lp-body{min-height:100vh; overflow-x:hidden}

/* Fixed background */
.lp-bg{
  position:fixed;
  inset:0;
  background:
    url("../images/bg-analize.jpg") center/cover no-repeat fixed;
  filter:saturate(1.08) contrast(1.02);
  transform:translateZ(0);
  will-change:transform;
}

/* Mobile browsers often ignore/bug on background-attachment: fixed.
   Use scroll + adjust framing so the subject stays visible. */
@media (max-width: 768px){
  .lp-bg{
    background-image: url("../images/bg-analize-mobile.jpg");
    background-attachment: scroll;
    /* Keep the person visible on the left on narrow screens */
    background-position: 12% center;
    /* Make the image more visible on mobile */
    filter: brightness(1.18) saturate(1.12) contrast(1.05);
  }

  /* Reduce dark overlay on mobile so the background is visible */
  .lp-overlay{
    background:
      radial-gradient(900px 420px at 25% 0%, rgba(34,197,94,.14), rgba(34,197,94,0) 60%),
      radial-gradient(900px 420px at 80% 0%, rgba(16,185,129,.12), rgba(16,185,129,0) 60%),
      linear-gradient(180deg, rgba(2,6,23,.42) 0%, rgba(2,6,23,.58) 65%, rgba(2,6,23,.70) 100%);
  }
}

@media (max-width: 420px){
  .lp-bg{
    /* Extra framing for very small phones */
    background-position: 10% 42%;
  }
}

.lp-overlay{
  position:fixed;
  inset:0;
  background:
    radial-gradient(1200px 540px at 20% 0%, rgba(34,197,94,.18), rgba(34,197,94,0) 60%),
    radial-gradient(1200px 540px at 80% 0%, rgba(16,185,129,.16), rgba(16,185,129,0) 60%),
    linear-gradient(180deg, rgba(2,6,23,.70) 0%, rgba(2,6,23,.84) 65%, rgba(2,6,23,.92) 100%);
  pointer-events:none;
}

.lp-wrap{
  position:relative;
  z-index:1;
  min-height:calc(100vh - 64px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:46px 16px 70px;
}

.lp-card{
  width:min(940px, 100%);
  background:linear-gradient(180deg, var(--card) 0%, var(--card2) 100%);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px;
  /* No blur effect */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (min-width: 640px){
  .lp-card{padding:34px}
}

/* No blur on any screen size */

.lp-hidden{display:none !important}

.lp-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(34,197,94,.35);
  background:rgba(34,197,94,.10);
  color:rgba(134,239,172,1);
  font-weight:800;
  letter-spacing:.12em;
  font-size:11px;
}

.lp-badge-success{
  border-color:rgba(16,185,129,.38);
  background:rgba(16,185,129,.12);
  color:rgba(110,231,183,1);
}

.lp-title{
  margin:18px 0 10px;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height:1.08;
  font-weight:900;
}

.lp-subtitle{
  margin:0 0 10px;
  color:var(--muted);
  font-size: clamp(14px, 1.7vw, 17px);
  line-height:1.55;
}

.lp-subtitle-strong{
  color:rgba(255,255,255,.88);
  font-weight:800;
  margin-top:6px;
}

.lp-divider{
  height:1px;
  margin:26px 0;
  background:rgba(255,255,255,.10);
}

.lp-q-title{
  margin:0 0 6px;
  font-size:18px;
  font-weight:800;
}
.lp-q-subtitle{
  margin:0 0 14px;
  color:var(--muted);
}

.lp-answers{
  display:grid;
  gap:12px;
  margin-top:10px;
}
@media (min-width: 640px){
  .lp-answers{grid-template-columns:1fr 1fr}
}

.lp-answer{
  appearance:none;
  border:1px solid rgba(34,197,94,.35);
  background:rgba(34,197,94,.10);
  color:#eafff2;
  padding:14px 16px;
  border-radius:16px;
  font-weight:800;
  font-size:14px;
  cursor:pointer;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
}
.lp-answer:hover{transform:translateY(-1px); background:rgba(34,197,94,.14); border-color:rgba(34,197,94,.48)}
.lp-answer:active{transform:translateY(0)}

.lp-answer-secondary{
  border-color:rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.88);
}
.lp-answer-secondary:hover{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.20)}

.lp-fineprint{
  margin:14px 0 0;
  color:rgba(226,232,240,.62);
  font-size:12px;
}

.lp-alert{
  margin-top:14px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(15,23,42,.60);
  color:rgba(255,255,255,.92);
  font-weight:650;
  line-height:1.4;
}
.lp-alert.is-error{
  border-color:rgba(239,68,68,.30);
  background:rgba(239,68,68,.10);
}
.lp-alert.is-success{
  border-color:rgba(34,197,94,.30);
  background:rgba(34,197,94,.10);
}

.lp-form{margin-top:18px}
.lp-grid{
  display:grid;
  gap:14px;
}
@media (min-width: 860px){
  .lp-grid{grid-template-columns: 1fr 1fr}
}

.lp-field{display:flex; flex-direction:column; gap:8px}
.lp-field-actions{
  justify-content:flex-end;
  /* More breathing room around CTA area */
  gap:12px;
  padding-top:10px;
  padding-bottom:6px;
}

.lp-label{font-weight:800; font-size:13px; color:rgba(255,255,255,.88)}
.lp-input{
  width:100%;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(2,6,23,.35);
  color:rgba(255,255,255,.92);
  outline:none;
  transition:border-color .12s ease, box-shadow .12s ease, background .12s ease;
}
.lp-input:focus{
  border-color:rgba(34,197,94,.55);
  box-shadow:0 0 0 4px rgba(34,197,94,.12);
  background:rgba(2,6,23,.48);
}
.lp-input-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace; letter-spacing:.18em; text-align:center}

.lp-help{font-size:12px; color:rgba(226,232,240,.62)}

.lp-btn{
  width:100%;
  border:none;
  border-radius:16px;
  padding:14px 16px;
  font-weight:900;
  letter-spacing:.04em;
  color:white;
  background:linear-gradient(90deg, var(--accent), var(--accent2));
  cursor:pointer;
  transition:transform .12s ease, filter .12s ease;
}

/* Extra spacing for the main submit CTA (not quiz buttons) */
.lp-form .lp-btn{
  margin-top:6px;
}
.lp-btn:hover{transform:translateY(-1px); filter:brightness(1.05)}
.lp-btn:active{transform:translateY(0)}
.lp-btn:disabled{opacity:.60; cursor:not-allowed; transform:none}

.lp-btn-ghost{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.88);
}
.lp-btn-ghost:hover{filter:none; background:rgba(255,255,255,.06)}

.lp-footer{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:18px 16px 26px;
  color:rgba(226,232,240,.68);
  font-size:12px;
}
.lp-footer-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.lp-footer-18{
  margin-top:10px;
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:6px;
  opacity:.92;
}
.lp-footer-18-img{
  width:34px;
  height:auto;
  image-rendering:auto;
}
.lp-footer-18-text{
  font-size:12px;
  color:rgba(226,232,240,.72);
  letter-spacing:.02em;
}
.lp-footer-link{color:rgba(226,232,240,.78); text-decoration:none}
.lp-footer-link:hover{text-decoration:underline}
.lp-footer-sep{opacity:.6}

