/* ══════════════════════════════════════════
   Center-alfa — Landing Page Styles
   ══════════════════════════════════════════ */

.page { position: relative; z-index: 3; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 48px 40px; }

/* ── Header CTA ── */
.header-cta { display: inline-block; background: transparent; color: var(--accent); border: 1px solid var(--accent); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 20px; border-radius: 100px; transition: background 0.2s, color 0.2s; white-space: nowrap; }
.header-cta:hover { background: var(--accent-dim); }

/* ── Hero ── */
.hero { text-align: center; max-width: 900px; margin-bottom: 100px; }
.hero h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 7.5vw, 5.5rem); line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 28px; animation: fadeIn 1s 0.4s ease both; }
.hero p { font-size: 1.05rem; line-height: 1.75; color: var(--text-muted); font-weight: 300; max-width: 520px; margin: 0 auto; animation: fadeIn 1s 0.6s ease both; }

/* ── Stat block ── */
.stat-block { display: flex; align-items: flex-start; justify-content: center; gap: 80px; max-width: 900px; width: 100%; margin-bottom: 100px; animation: fadeIn 1s 0.8s ease both; }
.stat-item { text-align: left; }
.stat-number { font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 8vw, 5.5rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--text); }
.stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 400; max-width: 160px; line-height: 1.5; margin-top: 12px; }
.stat-divider { display: none; }

/* ── Editorial line ── */
.editorial-line { font-family: var(--font-display); font-weight: 900; font-size: clamp(0.85rem, 2vw, 1rem); line-height: 1.5; letter-spacing: 0.01em; color: var(--text-dim); text-align: center; max-width: 900px; width: 100%; margin-bottom: 100px; animation: fadeIn 1s 1s ease both; }
.editorial-line em { font-style: normal; display: block; font-size: clamp(2.4rem, 6.5vw, 4.5rem); line-height: 1; color: var(--text); letter-spacing: -0.03em; margin-top: 12px; }

/* ── What you unlock ── */
.unlock-section { max-width: 900px; width: 100%; margin-bottom: 100px; animation: fadeIn 1s 0.9s ease both; }
.unlock-section h3 { font-family: var(--font-display); font-weight: 700; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; text-align: center; }
.unlock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-top: none; border-radius: 0 0 12px 12px; overflow: hidden; }
.unlock-card { background: var(--surface); padding: 32px 28px; }
.unlock-role { font-family: var(--font-display); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); cursor: pointer; user-select: none; }
.unlock-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.unlock-list li { font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); padding-left: 16px; position: relative; }
.unlock-list li:first-child { color: var(--text); }
.unlock-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--text-dim); flex-shrink: 0; }

/* ── Role tabs (desktop: tab bar; mobile: pills) ── */
.role-tabs-wrapper { width: 100%; }
.role-tabs { display: flex; gap: 0; background: var(--surface); border: 1px solid var(--line); border-bottom: none; border-radius: 12px 12px 0 0; overflow: hidden; margin-bottom: 0; }
.role-tab { flex: 1; text-align: center; background: transparent; border: none; border-bottom: 2px solid transparent; border-radius: 0; padding: 16px 12px; font-family: var(--font-display); font-weight: 700; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); cursor: pointer; transition: color 0.2s, border-bottom-color 0.2s, background 0.2s; white-space: nowrap; }
.role-tab:hover { background: rgba(255, 255, 255, 0.03); }
.role-tab--active { border-bottom-color: var(--text); color: var(--text); }

/* ── Role-aware card: one at a time ── */
.unlock-grid.has-selection { grid-template-columns: 1fr; }
.unlock-grid.has-selection .unlock-card { display: none; }
.unlock-grid.has-selection .unlock-card--active { display: block; }
.unlock-grid.has-selection .unlock-card--active .unlock-role { display: none; }

/* ── Social proof ── */
.social-proof { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 520px; width: 100%; margin-bottom: 60px; animation: fadeIn 1s 1.05s ease both; }
.social-proof-count { font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 8vw, 5.5rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--text); margin-bottom: 16px; }
.social-proof-text { font-size: 0.88rem; color: var(--text-muted); font-weight: 300; line-height: 1.6; max-width: 320px; }

/* ── CTA section ── */
.cta-section { text-align: center; max-width: 520px; width: 100%; animation: fadeIn 1s 1s ease both; }
.cta-section h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 12px; letter-spacing: 0.01em; }
.cta-section > p { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 24px; font-weight: 300; }

/* ── CTA Form Group (unified card) ── */
.cta-form-group {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cta-form-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.cta-form-group .role-select {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  margin-bottom: 0;
}
.cta-form-group .role-select:focus {
  box-shadow: none;
  border-color: var(--line);
}
.cta-form-group .email-form {
  border: none;
  border-radius: 0;
  background: transparent;
  transition: none;
  box-shadow: none;
}
.cta-form-group .email-form:focus-within {
  border-color: transparent;
  box-shadow: none;
}

/* ── Role select ── */
.role-select { width: 100%; appearance: none; background: var(--surface); border: 1px solid var(--accent); border-radius: 12px; padding: 13px 40px 13px 18px; font-family: var(--font-body); font-size: 0.9rem; color: var(--accent); cursor: pointer; margin-bottom: 10px; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2300e676' stroke-opacity='0.6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; transition: border-color 0.2s, background 0.2s; }
.role-select:hover { background-color: var(--accent-dim); }
.role-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.role-select option { background: var(--surface); color: var(--text); }

/* ── Email form ── */
.email-form { display: flex; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); transition: border-color 0.3s ease; }
.email-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.email-form input { flex: 1; background: transparent; border: none; outline: none; padding: 16px 20px; font-family: var(--font-body); font-size: 0.95rem; color: var(--text); min-width: 0; }
.email-form input::placeholder { color: var(--text-dim); }
.email-form button { background: var(--accent); color: var(--bg); border: none; padding: 16px 28px; font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; }
.email-form button:hover { background: #33eb91; padding-left: 32px; padding-right: 32px; }
.form-note { font-size: 0.72rem; color: var(--text-dim); margin-top: 14px; font-weight: 300; }
.success-msg { display: none; padding: 18px 24px; background: var(--accent-dim); border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-size: 0.9rem; font-weight: 500; text-align: center; animation: fadeIn 0.4s ease; }
.success-msg.show { display: block; }

/* ── Scarcity tag ── */
.scarcity-tag { display: inline-block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--line); padding: 6px 16px; border-radius: 100px; margin-bottom: 20px; }

/* ── FAQ section ── */
.faq-section { max-width: 760px; width: 100%; margin-top: 100px; margin-bottom: 24px; animation: fadeIn 1s 1.2s ease both; }
.faq-section h3 { font-family: var(--font-display); font-weight: 700; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 32px; text-align: center; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { padding: 24px 0; font-size: 0.95rem; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; color: var(--accent); transition: color 0.2s; }
.faq-item summary:hover { color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.1rem; color: var(--text-dim); font-family: var(--font-display); font-weight: 700; line-height: 1; flex-shrink: 0; margin-left: 16px; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item > p { padding: 0 0 24px; font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; font-weight: 300; }

@media (max-width: 760px) {
  .unlock-grid { grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-radius: 12px; }
  .role-tabs-wrapper { position: relative; overflow: hidden; margin-bottom: 16px; }
  .role-tabs-wrapper::after { content: ""; position: absolute; top: 0; right: 0; width: 56px; height: 100%; background: linear-gradient(to right, transparent, var(--bg)); pointer-events: none; z-index: 1; }
  .role-tabs { flex-wrap: nowrap; gap: 8px; justify-content: flex-start; background: transparent; border: none; border-radius: 0; margin-bottom: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-right: 56px; }
  .role-tabs::-webkit-scrollbar { display: none; }
  .role-tab { flex: 0 0 auto; border-radius: 100px; border: 1px solid var(--accent); border-bottom: 1px solid var(--accent); padding: 7px 18px; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.03em; white-space: nowrap; color: var(--accent); }
  .role-tab:hover { background: var(--accent-dim); }
  .role-tab--active { border-color: var(--text-dim); border-bottom-color: var(--text-dim); background: rgba(255,255,255,0.05); color: var(--text); }
}

@media (max-width: 600px) {
  .page { padding: 32px 20px; }
  .email-form { flex-direction: column; }
  .email-form button { padding: 16px; }
  .hero { margin-bottom: 56px; }
  .stat-block { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 56px; }
  .stat-divider { display: none; }
  .stat-item { text-align: center; }
  .stat-number { font-size: clamp(1.6rem, 8vw, 2.8rem); }
  .stat-label { font-size: 0.75rem; max-width: none; }
  .editorial-line { margin-bottom: 56px; }
  .unlock-grid { grid-template-columns: 1fr 1fr; }
  .unlock-section { margin-bottom: 56px; }
  .faq-section { margin-top: 56px; }
}

@media (max-width: 380px) {
  .unlock-grid { grid-template-columns: 1fr; }
}
