/* ═══════════════════════════════════════════
   TsSingleDate.com  lp16 – 2-step flow
   Based on lp15 · MS Ads compliant
   ═══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --red:        #e02424;
  --red-dark:   #b91c1c;
  --white:      #ffffff;
  --text:       #1a1a1a;
  --text-mid:   #4b5563;
  --text-light: #9ca3af;
  --grey-bar:   #3a3a3a;
  --grey-dark:  #2a2a2a;
  --overlay:    rgba(0,0,0,.42);
  --radius:     6px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #111;
  overflow-x: hidden;
}
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
img { display: block; }


/* ══════════════════════════════════════
   HERO  –  full-screen, photo background
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;  /* clips parallax bg overflow */
}

.hero-bg {
  position: absolute;
  top: -18%;
  left: 0;
  right: 0;
  height: 136%;          /* taller than hero so parallax has room */
  background: url('../img/bg.jpg') center center / cover no-repeat;
  z-index: 0;
  will-change: transform;
}

/* left-to-right dark gradient for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.58) 0%,
    rgba(0,0,0,.32) 50%,
    rgba(0,0,0,.08) 100%
  );
  z-index: 1;
}

/* ── TOPBAR: logo left, login right ── */
.hero-topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
}

.brand-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.01em;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

.btn-login {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 14px;
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.40),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background .22s, border-color .22s, box-shadow .22s;
}
.btn-login:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.18);
}

/* ── CENTER: headline + form ── */
.hero-center {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 60px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

/* ── STEP 1: liquid glass card (same material as step2) ── */
#step1 {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 28px 32px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  animation: fadeIn .4s ease;
}

/* ── H1 / HOOK / SUB inside glass card ── */
h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.97);
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow:
    0 1px 0 rgba(255,255,255,.2),
    0 3px 14px rgba(0,0,0,.35);
}

.form-sub {
  font-size: clamp(.88rem, 1.8vw, 1rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ── FORM: email + button ── */
.hero-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* glass input */
.form-email {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  outline: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10),
    0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background .22s, border-color .22s, box-shadow .22s;
  text-align: center;
}
.form-email:focus {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 4px 18px rgba(0, 0, 0, 0.18);
}
.form-email::placeholder { color: rgba(255, 255, 255, 0.48); }

/* glass CTA — red tint */
.btn-cta {
  width: 100%;
  padding: 15px 20px;
  background: rgba(224, 36, 36, 0.72);
  border: 1px solid rgba(255, 120, 120, 0.42);
  border-radius: 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.97);
  text-align: center;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 4px 22px rgba(224, 36, 36, 0.40),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transition: background .22s ease, box-shadow .22s ease, transform .18s ease;
  animation: ctaPulse 2.6s ease-out infinite;
}
.btn-cta:hover {
  background: rgba(224, 36, 36, 0.90);
  border-color: rgba(255, 140, 140, 0.55);
  box-shadow:
    0 8px 34px rgba(224, 36, 36, 0.50),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

@keyframes ctaPulse {
  0%   { box-shadow: 0 4px 22px rgba(224,36,36,.40), inset 0 1.5px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.15), 0 0 0 0 rgba(224,36,36,.5); }
  65%  { box-shadow: 0 4px 22px rgba(224,36,36,.40), inset 0 1.5px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.15), 0 0 0 14px rgba(224,36,36,0); }
  100% { box-shadow: 0 4px 22px rgba(224,36,36,.40), inset 0 1.5px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.15), 0 0 0 0 rgba(224,36,36,0); }
}

.form-legal-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.form-legal-check input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--red, #cc001c);
  cursor: pointer;
}
.form-legal-check span {
  font-size: .67rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.5;
}
.form-legal-check a { color: rgba(255, 255, 255, 0.78); text-decoration: underline; }

.response-msg {
  font-size: .88rem;
  min-height: 18px;
  text-align: center;
}
.status-success { color: #86efac; }
.status-error   { color: #fca5a5; }


/* ══════════════════════════════════════
   STEP 2  –  choice buttons
══════════════════════════════════════ */
/* step2 shown via JS — display handled by removing [hidden] */
.step2-wrap {
  width: 100%;
  max-width: 420px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  animation: fadeIn .4s ease;
}
/* JS removes [hidden]; we need flex then */
.step2-wrap:not([hidden]) {
  display: flex;
}

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

.step2-heading {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  letter-spacing: -.01em;
  text-shadow:
    0 1px 0 rgba(255,255,255,.25),
    0 2px 16px rgba(0, 0, 0, 0.35);
  margin-bottom: 4px;
}

.choice-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-choice {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 18px;
  font-family: 'Poppins', sans-serif;
  font-size: .97rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.96);
  text-align: center;
  letter-spacing: .01em;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.14),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.40),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  transition: background .22s ease, border-color .22s ease,
              box-shadow .22s ease, transform .18s ease;
}
.btn-choice:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.20),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
  transform: translateY(-2px) scale(1.01);
}
.btn-choice:active:not(:disabled) {
  transform: translateY(0) scale(.99);
  background: rgba(255, 255, 255, 0.22);
}
.btn-choice:disabled {
  opacity: .45;
  cursor: not-allowed;
}


/* ══════════════════════════════════════
   TRUST BAR  –  3 columns, grey
══════════════════════════════════════ */
.trust-bar {
  display: flex;
  background: #f5f5f7;
  color: var(--red);
}

.trust-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,.08);
}
.trust-bar-item:last-child { border-right: none; }

.bar-icon {
  width: 32px;
  height: 32px;
  stroke: var(--red);
  margin-bottom: 4px;
  flex-shrink: 0;
}

.trust-bar-item strong {
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1.3;
}

.trust-bar-item span {
  font-size: .75rem;
  color: var(--red);
  line-height: 1.4;
  opacity: .7;
}


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--grey-dark);
  color: rgba(255,255,255,.4);
  text-align: center;
  padding: 28px 24px;
  font-size: .78rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin-bottom: 12px;
  font-size: .82rem;
}
.footer-links a {
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

.brand-footer {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: rgba(255,255,255,.25);
  margin: 10px 0 14px;
  letter-spacing: -.01em;
}

/* Rule 4 – clickable logo */
.brand-link {
  text-decoration: none;
}

/* Rule 5 – paid services notice */
.paid-notice {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  max-width: 480px;
  margin: 0 auto 12px;
  line-height: 1.5;
}
.paid-notice a {
  color: rgba(255,255,255,.6);
  text-decoration: underline;
}

.compliance {
  max-width: 640px;
  margin: 0 auto;
  font-size: .7rem;
}
.compliance a {
  color: rgba(255,255,255,.5);
  text-decoration: underline;
}


/* ══════════════════════════════════════
   RESPONSIVE  –  DESKTOP (form card right)
══════════════════════════════════════ */
@media (min-width: 641px) {
  .hero-center {
    margin: 0 8% 0 auto;  /* auto on left pushes card to right; 8% right breathing room */
  }
}

/* ══════════════════════════════════════
   RESPONSIVE  –  MOBILE
══════════════════════════════════════ */
@media (max-width: 640px) {

  .hero-topbar { padding: 16px 20px; }
  .brand-name  { font-size: 1.1rem; }

  .hero {
    min-height: 0;
    display: block;
    background: var(--white);
  }

  .hero-bg {
    position: absolute;
    height: 52svh;
    top: 0; left: 0; right: 0;
    z-index: 0;
  }
  .hero-overlay {
    position: absolute;
    height: 52svh;
    top: 0; left: 0; right: 0;
    z-index: 1;
  }

  .hero-topbar {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    padding: 14px 18px;
    height: 52svh;
  }

  .hero-center {
    position: relative;
    z-index: 10;
    background: var(--white);
    padding: 32px 24px 40px;
    text-align: center;
    flex: none;
    max-width: 100%;
    margin: 0;
  }

  /* Step 1 mobile – white surface, invert glass to light */
  #step1 {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.80),
      inset 0 -1px 0 rgba(0, 0, 0, 0.04);
    padding: 28px 20px 24px;
  }

  h1 {
    color: var(--text);
    text-shadow: none;
    font-size: 1.85rem;
    margin-bottom: 8px;
  }

  .form-sub {
    color: var(--text-mid);
  }

  .form-email {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(0, 0, 0, 0.14);
    color: var(--text);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow:
      inset 0 1.5px 0 rgba(255, 255, 255, 0.90),
      inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  }
  .form-email::placeholder { color: var(--text-light); }
  .form-email:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.25);
  }

  .btn-cta {
    background: var(--red);
    border-color: var(--red-dark);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .form-legal-check span { color: var(--text-light); }
  .form-legal-check a { color: var(--text-mid); }

  /* Step 2 mobile – light surface, adjust glass accordingly */
  .step2-wrap {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.80),
      inset 0 -1px 0 rgba(0, 0, 0, 0.04);
  }
  .step2-heading {
    color: var(--text);
    text-shadow: none;
  }
  .btn-choice {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(0, 0, 0, 0.14);
    color: var(--text);
    box-shadow:
      0 2px 10px rgba(0, 0, 0, 0.08),
      inset 0 1.5px 0 rgba(255, 255, 255, 0.90),
      inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  }
  .btn-choice:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.22);
    color: var(--text);
  }

  .trust-bar { flex-direction: column; }
  .trust-bar-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 20px;
  }
  .trust-bar-item:last-child { border-bottom: none; }
}

/* ── CONTENT SECTION ────────────────────────────────────────────────────── */
.content-section {
  background: #f8f8fa;
  padding: 64px 24px;
}
.content-inner {
  max-width: 780px;
  margin: 0 auto;
}
.content-inner h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 24px;
}
.content-inner p {
  font-size: .96rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 16px;
}
.content-inner p:last-child { margin-bottom: 0; }
