/* ========================================
   DISCLOSED — Midnight Sanctuary v3
   Matching reference design exactly
   ======================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0D0D0F;
  --surface: #151518;
  --elevated: #1C1C21;
  --border: #26262B;
  --input-bg: #121214;
  --pink: #FF4D6D;
  --pink-dark: #e0435f;
  --pink-soft: #FF8FA3;
  --plum: #7A1E3A;
  --green: #4ADE80;
  --text: #F5F5F7;
  --text-secondary: #A1A1AA;
  --text-muted: #6B6B73;
  --font: 'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; z-index: -1; pointer-events: none; }
.highlight { color: var(--pink); }
.heart { color: var(--pink); }

/* ========================================
   TOPBAR
   ======================================== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,13,15,0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1120px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar-brand { text-decoration: none; display: flex; align-items: center; }
.topbar-logo { height: 26px; width: auto; }
.topbar-cta {
  padding: 10px 24px; background: var(--pink); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-decoration: none; border-radius: 24px; transition: background 0.2s;
}
.topbar-cta:hover { background: var(--pink-dark); }

/* ========================================
   HERO — Big dramatic glow
   ======================================== */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(255,77,109,0.25) 0%, rgba(122,30,58,0.1) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}

.hero-text { max-width: 520px; flex: 1; }
.hero-text-full { max-width: 680px; text-align: center; margin: 0 auto; }

.hero-headline {
  font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800;
  line-height: 1.05; color: var(--text); margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.05rem; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto;
}

.hero-actions {
  display: flex; gap: 20px; align-items: center; justify-content: center; margin-bottom: 40px; flex-wrap: wrap;
}

.btn-primary {
  display: inline-block; padding: 16px 32px; background: var(--pink); color: #fff;
  font-family: var(--font); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-decoration: none; border-radius: 24px;
  border: none; cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(255,77,109,0.3);
}
.btn-primary:hover { background: var(--pink-dark); box-shadow: 0 4px 32px rgba(255,77,109,0.4); }

.btn-secondary {
  font-size: 0.8rem; font-weight: 600; color: var(--text);
  text-decoration: none; letter-spacing: 0.04em; opacity: 0.7; transition: opacity 0.2s;
}
.btn-secondary:hover { opacity: 1; }

.hero-badges {
  display: flex; gap: 32px; flex-wrap: wrap; justify-content: center;
}

.badge {
  font-size: 0.72rem; color: var(--text-muted); line-height: 1.5;
}
.badge strong { color: var(--text-secondary); display: block; margin-bottom: 1px; font-size: 0.75rem; }

.hero-mockup { flex: 0 0 auto; position: relative; z-index: 1; }
.mockup-img {
  width: 460px; height: auto; border-radius: 16px;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.5));
}

/* ========================================
   BUILT FOR
   ======================================== */
.built-for {
  padding: 56px 0; background: var(--surface);
}
.built-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.25em;
  color: var(--pink); text-transform: uppercase; text-align: center; margin-bottom: 32px;
}
.built-icons-img {
  display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto 24px;
}
.built-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
  max-width: 700px; margin: 0 auto;
}
.built-item { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }

/* ========================================
   TOO LATE
   ======================================== */
.toolate-section {
  padding: 100px 0; background: var(--bg);
}
.toolate-content {
  max-width: 640px;
}
.toolate-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  line-height: 1.1; color: var(--text); margin-bottom: 28px; letter-spacing: -0.02em;
}
.toolate-list { list-style: none; padding: 0; margin-bottom: 28px; }
.toolate-list li {
  font-size: 0.92rem; color: var(--text-secondary); margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.dot.pink { color: var(--pink); font-size: 0.5rem; }
.toolate-but { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 36px; }

.therapist-quote {
  border-left: 3px solid var(--pink);
  padding: 20px 24px;
  background: var(--surface);
  border-radius: 0 12px 12px 0;
}
.therapist-quote p {
  font-size: 1rem; font-style: italic; color: var(--text);
  line-height: 1.6; margin-bottom: 10px;
}
.therapist-quote cite {
  font-size: 0.75rem; color: var(--text-muted); font-style: normal;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-section {
  padding: 80px 0; background: var(--bg);
  border-top: 1px solid var(--border);
}
.how-headline {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800;
  color: var(--text); text-align: center; margin-bottom: 48px; line-height: 1.2;
  letter-spacing: -0.02em;
}
.how-icons-img {
  display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto 24px;
  padding: 0 24px;
}
.how-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
  max-width: 700px; margin: 0 auto;
}
.step-num {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--pink); text-transform: uppercase; margin-bottom: 8px;
}
.step-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
  padding: 80px 0; background: var(--surface);
}
.testi-headline {
  font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800;
  color: var(--text); text-align: center; margin-bottom: 48px;
}
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--bg); border-radius: 16px; padding: 32px 28px;
  border-left: 3px solid var(--pink);
  transition: transform 0.3s ease;
}
.testi-card:hover { transform: translateY(-4px); }
.testi-mark { font-size: 3rem; font-weight: 800; color: var(--pink); line-height: 0.8; margin-bottom: 12px; }
.testi-text { font-size: 0.95rem; color: var(--text); line-height: 1.55; margin-bottom: 16px; font-style: italic; }
.testi-author { font-size: 0.72rem; color: var(--text-muted); }

/* ========================================
   NOT JUST DATING
   ======================================== */
.notjust-section {
  padding: 100px 0; background: var(--bg);
}
.notjust-header { margin-bottom: 48px; }
.notjust-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  color: var(--text); margin-bottom: 10px; letter-spacing: -0.02em;
}
.notjust-header h2 em { font-style: italic; color: var(--pink); }
.notjust-header p { font-size: 0.95rem; color: var(--text-secondary); }

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

.notjust-item { text-align: center; padding: 0 8px; }
.notjust-icon-img {
  width: 72px; height: 72px; object-fit: contain;
  margin: 0 auto 16px; display: block;
}
.notjust-item h4 { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.notjust-item p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; }

/* ========================================
   DISCLOSED+
   ======================================== */
.plus-section {
  padding: 80px 0; background: var(--surface);
  position: relative; overflow: hidden;
}
.plus-section::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(135deg, rgba(255,77,109,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.plus-grid, .plus-content {
  max-width: 560px;
  position: relative; z-index: 1;
}
.plus-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
  color: var(--text); margin-bottom: 16px; line-height: 1.15; letter-spacing: -0.02em;
}
.plus-content p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.plus-upgrade { color: var(--pink); font-weight: 700; font-size: 0.88rem; margin-top: 16px; }

.plus-features { list-style: none; padding: 0; }
.plus-features li {
  font-size: 0.9rem; color: var(--text-secondary); padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.plus-features li:last-child { border-bottom: none; }

/* ========================================
   CTA / WAITLIST
   ======================================== */
.cta-section {
  padding: 100px 0;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.cta-bg {
  position: absolute; inset: 0; z-index: 0;
}
.cta-couple-img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.25;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(255,77,109,0.15) 0%, transparent 50%),
              linear-gradient(180deg, rgba(13,13,15,0.7) 0%, rgba(13,13,15,0.9) 100%);
  pointer-events: none; z-index: 1;
}
.cta-center {
  text-align: center; max-width: 560px; position: relative; z-index: 2;
}
.cta-headline {
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800;
  line-height: 1.08; color: var(--text); margin-bottom: 14px; letter-spacing: -0.02em;
}
.cta-headline em { font-style: italic; color: var(--pink); }
.cta-sub {
  font-size: 0.95rem; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 32px;
}

/* ========================================
   FORM
   ======================================== */
.waitlist-form { margin-bottom: 16px; }
.form-stack { display: flex; flex-direction: column; gap: 12px; }

.form-stack > input,
.form-stack > select {
  width: 100%; padding: 16px 18px;
  background: var(--input-bg); border: 1px solid var(--border);
  border-radius: 12px; color: var(--text); font-family: var(--font);
  font-size: 0.9rem; outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-stack > input:focus, .form-stack > select:focus { border-color: var(--pink-soft); }
.form-stack > input::placeholder { color: var(--text-muted); }

.form-row-pair {
  display: flex !important; flex-direction: row !important; gap: 12px;
}
.form-row-pair input, .form-row-pair select {
  flex: 1 1 0%; min-width: 0; padding: 16px 18px;
  background: var(--input-bg); border: 1px solid var(--border);
  border-radius: 12px; color: var(--text); font-family: var(--font);
  font-size: 0.9rem; outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-row-pair input:focus, .form-row-pair select:focus { border-color: var(--pink-soft); }
.form-row-pair input::placeholder { color: var(--text-muted); }

.form-stack select, .form-row-pair select {
  color: var(--text-muted);
  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='%236B6B73' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  background-color: var(--input-bg); padding-right: 40px;
}

.form-stack button {
  width: 100%; padding: 18px; background: var(--pink); color: #fff;
  border: none; border-radius: 24px; font-family: var(--font);
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(255,77,109,0.3);
}
.form-stack button:hover { background: var(--pink-dark); box-shadow: 0 4px 32px rgba(255,77,109,0.4); }
.form-stack button:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }

.form-message { margin: 12px 0 0; font-size: 0.82rem; min-height: 1.2em; text-align: center; }
.form-message.success { color: var(--green); }
.form-message.error { color: var(--pink); }
.form-message.success-big { margin: 0; min-height: auto; }

.success-banner {
  padding: 32px 24px; background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.15); border-radius: 16px;
  font-size: 1.4rem; font-weight: 700; color: var(--text);
  line-height: 1.5; text-align: center;
}
.success-banner span { display: block; font-size: 0.88rem; font-weight: 400; color: var(--text-secondary); margin-top: 8px; }

.microcopy { font-size: 0.68rem; color: var(--text-muted); margin-top: 16px; line-height: 1.7; text-align: center; }

/* ========================================
   BOOK
   ======================================== */
.book-section { padding: 64px 0; background: var(--surface); text-align: center; }
.section-label-sm { font-size: 0.6rem; letter-spacing: 0.25em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 14px; }
.section-title-sm { font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.section-desc-sm { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.6; }

/* ========================================
   FOOTER
   ======================================== */
.site-footer { padding: 48px 0 32px; background: var(--bg); text-align: center; border-top: 1px solid var(--border); }
.footer-brand { margin-bottom: 14px; }
.footer-logo { height: 22px; width: auto; }
.footer-ig {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-secondary); text-decoration: none;
  margin-bottom: 18px; transition: color 0.2s;
}
.footer-ig:hover { color: var(--text); }
.footer-links { display: flex; justify-content: center; gap: 28px; margin-bottom: 14px; }
.footer-links a { font-size: 0.7rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.68rem; color: var(--text-muted); margin-bottom: 8px; }
.footer-disclaimer { font-size: 0.6rem; color: rgba(245,245,247,0.15); max-width: 420px; margin: 0 auto; line-height: 1.5; }

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-text { animation: fadeInUp 0.9s cubic-bezier(0.16,1,0.3,1) both; }
.hero-mockup { animation: fadeInUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.15s both; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding: 110px 0 56px; }
  .hero-inner { flex-direction: column; gap: 36px; }
  .hero-headline { font-size: 2.2rem; }
  .hero-mockup { display: flex; justify-content: center; width: 100%; }
  .mockup-img { width: 100%; max-width: 400px; }
  .hero-badges { flex-direction: column; gap: 12px; }
  .built-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .how-steps { flex-direction: column; align-items: center; gap: 8px; }
  .step-arrow { transform: rotate(90deg); }
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }
  .notjust-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .topbar-inner { padding: 14px 20px; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 0 40px; }
  .hero-headline { font-size: 1.9rem; }
  .built-grid { grid-template-columns: 1fr; }
  .notjust-grid { grid-template-columns: 1fr; }
  .cta-headline { font-size: 1.7rem; }
}
