/* ═══════════════════════════════════════════════════════════════════════════
   Debt Zen — Shared Styles
   Used by: index.html, about.html, faq.html
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root {
  --navy-900: #05091a;
  --navy-800: #08112a;
  --navy-700: #0d1b3e;
  --navy-600: #142254;
  --navy-card: rgba(13, 27, 62, 0.7);
  --purple-700: #5b21b6;
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --purple-300: #c4b5fd;
  --gold-700: #92400e;
  --gold-600: #b45309;
  --gold-500: #d97706;
  --gold-400: #f59e0b;
  --gold-300: #fbbf24;
  --gold-200: #fde68a;
  --text-primary: #eef2ff;
  --text-secondary: #a5b4d8;
  --text-muted: #6272a0;
  --border-subtle: rgba(139, 92, 246, 0.18);
  --border-hover: rgba(139, 92, 246, 0.5);
  --border-gold: rgba(251, 191, 36, 0.3);
  --green: #22c55e;
  --red-soft: rgba(239, 68, 68, 0.15);
  --red-border: rgba(239, 68, 68, 0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy-900);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ═══════════════════════════════ NAV ═══════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(5, 9, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
  transition: all 0.3s ease;
}
nav.scrolled { padding: 0.9rem 2.5rem; box-shadow: 0 4px 30px rgba(0,0,0,0.4); }

.logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem; font-weight: 800;
  background: linear-gradient(135deg, #fff 40%, var(--gold-300));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  font-size: 0.9rem; color: var(--text-secondary);
  text-decoration: none; transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-cta {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff; border: none;
  padding: 0.6rem 1.4rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: all 0.3s ease; text-decoration: none; display: inline-block;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(139, 92, 246, 0.45); }

/* ═══════════════════════════════ BUTTONS ═══════════════════════════════════ */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-900); border: none;
  padding: 0.95rem 2rem; border-radius: 50px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: all 0.3s ease; white-space: nowrap;
  font-family: 'Inter', sans-serif; letter-spacing: 0.2px;
  position: relative; overflow: hidden;
}
.btn-gold::after {
  content: ''; position: absolute;
  top: -50%; left: -60%; width: 40%; height: 200%;
  background: rgba(255,255,255,0.25);
  transform: skewX(-20deg);
  animation: shimmer-btn 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer-btn {
  0%   { left: -60%; opacity: 0; }
  30%  { opacity: 1; }
  100% { left: 140%; opacity: 0; }
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(245, 158, 11, 0.45); }
.btn-loading { opacity: 0.65 !important; cursor: not-allowed !important; pointer-events: none !important; }

/* ═══════════════════════════════ EMAIL FORM ════════════════════════════════ */
.email-form-wrap { max-width: 520px; margin: 0 auto; }
.email-form {
  display: flex; gap: 0.7rem; flex-wrap: wrap;
  justify-content: center; margin-bottom: 1.25rem;
}
.email-input {
  flex: 1; min-width: 260px;
  background: rgba(13, 27, 62, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px; padding: 0.95rem 1.6rem;
  color: var(--text-primary); font-size: 1rem;
  outline: none; transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.email-input:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
.email-input::placeholder { color: var(--text-muted); }

/* ═══════════════════════════════ SUCCESS CARD ══════════════════════════════ */
.success-card {
  display: none; flex-direction: column; align-items: center;
  text-align: center;
  background: linear-gradient(145deg, rgba(10,20,50,0.97), rgba(18,10,45,0.95));
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 24px; padding: 2.4rem 2rem;
  max-width: 460px; margin: 0 auto;
  box-shadow: 0 0 0 1px rgba(34,197,94,0.07), 0 22px 60px rgba(0,0,0,0.45);
  position: relative; overflow: hidden;
}
.success-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(34,197,94,0.55) 35%, rgba(245,158,11,0.45) 65%, transparent 100%);
}
.success-card.visible {
  display: flex;
  animation: successIn 0.55s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes successIn {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.sc-zen {
  font-size: 2.6rem; margin-bottom: 0.6rem;
  animation: zenFloat 3.5s ease-in-out infinite;
  display: block;
}
@keyframes zenFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.sc-check {
  width: 44px; height: 44px;
  background: rgba(34,197,94,0.13); border: 1px solid rgba(34,197,94,0.38);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #86efac; font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.sc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 0.55rem;
}
.sc-body { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.sc-email {
  background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.28);
  border-radius: 50px; padding: 0.45rem 1.1rem;
  font-size: 0.9rem; color: var(--purple-300); font-weight: 500;
  margin-bottom: 1.1rem; max-width: 100%; word-break: break-all;
}
.sc-sub {
  font-size: 0.94rem; color: var(--text-secondary);
  line-height: 1.65; margin-bottom: 1.2rem;
}
.sc-rule { width: 100%; height: 1px; background: rgba(139,92,246,0.12); margin-bottom: 1rem; }
.sc-note { font-size: 0.8rem; color: var(--text-muted); }

/* ═══════════════════════════════ WAITLIST COUNT ════════════════════════════ */
.waitlist-count {
  font-size: 0.88rem; color: var(--text-muted);
  text-align: center;
}
.waitlist-count .count-num { color: var(--gold-300); font-weight: 600; }

/* ═══════════════════════════════ FOOTER ════════════════════════════════════ */
footer {
  padding: 5rem 2rem 3rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}
.footer-inner {
  max-width: 680px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 2rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem; font-weight: 700;
  background: linear-gradient(135deg, #fff 40%, var(--gold-300));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: -1rem;
}

/* Nav links */
.footer-nav-label {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--text-muted);
  margin-bottom: 0.65rem;
}
.footer-nav-links {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 0.3rem 0.55rem; font-size: 0.9rem;
}
.footer-link {
  color: var(--gold-400); text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--gold-300); text-decoration: underline; }
.footer-dot { color: var(--text-muted); opacity: 0.4; }
.footer-legal-links {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 0.3rem 0.55rem; font-size: 0.75rem;
  margin-top: 0.5rem;
}
.footer-legal-link {
  color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-link:hover, .footer-legal-link.active { color: var(--text-secondary); text-decoration: underline; }

/* App promo */
.footer-app-promo {
  background: rgba(13, 27, 62, 0.6);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
  width: 100%;
}
.footer-app-text {
  font-size: 0.88rem; color: var(--text-secondary);
  margin-bottom: 0.7rem; line-height: 1.6;
}
.footer-app-link {
  font-size: 0.88rem; font-weight: 600;
  color: var(--gold-400); text-decoration: none;
  transition: color 0.2s;
}
.footer-app-link:hover { color: var(--gold-300); }

/* Social */
.social-row { display: flex; gap: 0.75rem; }
.social-btn {
  width: 42px; height: 42px;
  background: rgba(13,27,62,0.8);
  border: 1px solid var(--border-subtle); border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  cursor: pointer; transition: all 0.3s ease;
  text-decoration: none;
}
.social-btn:hover {
  border-color: var(--purple-500); color: var(--purple-300);
  transform: translateY(-2px);
}

/* Address + copyright */
.footer-meta {
  font-size: 0.78rem; color: var(--text-muted);
  line-height: 1.85;
}

/* Legal disclaimer */
.footer-disclaimer {
  font-size: 0.72rem; color: var(--text-muted);
  opacity: 0.65; line-height: 1.7;
}

/* ═══════════════════════════════ CONTENT SECTIONS ══════════════════════════ */
.content-section {
  padding: 6rem 2rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}
.content-container { max-width: 720px; margin: 0 auto; }
.content-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.2; margin-bottom: 2rem;
  color: var(--text-primary);
}
.content-title .grad-zen,
.philosophy-text .grad-zen,
.secondary-statement-text .grad-zen {
  background: linear-gradient(135deg, #fff 40%, var(--gold-300));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.content-body { color: var(--text-secondary); line-height: 1.7; font-size: 0.975rem; }
.content-body p { margin-bottom: 1.25rem; }
.content-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-primary);
  padding-top: 1rem; margin-top: 1rem; margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.icon-gold { color: var(--gold-400); width: 20px; height: 20px; flex-shrink: 0; }
.philosophy-block {
  margin: 3rem 0; padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}
.philosophy-label {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 1rem;
}
.philosophy-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700; line-height: 1.35; color: var(--text-primary);
}
.secondary-statement {
  margin: 2rem 0; padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}
.secondary-statement-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700; line-height: 1.4; color: var(--text-primary);
}
.contact-block { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border-subtle); }
.content-link {
  color: var(--gold-400); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.content-link:hover { text-decoration: underline; }

/* ═══════════════════════════════ PAGE SIGNUP BLOCK ═════════════════════════ */
.page-signup {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(245,158,11,0.04) 50%, transparent 100%);
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}
.page-signup-inner { max-width: 720px; margin: 0 auto; }
.page-signup-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700; margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff 30%, var(--gold-300));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-signup-sub {
  font-size: 1rem; color: var(--text-secondary);
  margin-bottom: 2.2rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

/* ═══════════════════════════════ HAMBURGER MENU ════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.28s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile dropdown panel */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99;
  padding-top: 62px;
}
.nav-mobile.open {
  display: block;
  animation: mobileNavIn 0.22s ease-out forwards;
}
@keyframes mobileNavIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-mobile-inner {
  background: rgba(8, 17, 42, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav-mobile-link {
  font-size: 1rem; font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.75rem 0.75rem;
  border-radius: 10px;
  transition: all 0.18s ease;
  display: block;
  border-bottom: 1px solid transparent;
}
.nav-mobile-link:hover, .nav-mobile-link.active {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.09);
}
.nav-mobile-link.active {
  color: var(--gold-300);
}
.nav-mobile-cta {
  margin-top: 0.65rem;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff; text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  display: block;
}
.nav-mobile-cta:hover { box-shadow: 0 6px 22px rgba(139, 92, 246, 0.45); }

/* ═══════════════════════════════ SHARED RESPONSIVE ═════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .email-form { flex-direction: column; }
  .email-input, .btn-gold { width: 100%; min-width: unset; }
  .content-section { padding: 4rem 1.25rem; }
  .page-signup { padding: 4rem 1.25rem; }
}
