/* ══════════════════════════════════════════
   WHISPR — Light Pink Theme
   ══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=Nunito:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --bg:       #fff5f8;
  --surface:  #fff0f5;
  --card:     #ffffff;
  --border:   rgba(236, 72, 153, 0.12);
  --border-soft: rgba(0,0,0,0.06);

  --accent:   #e8397d;
  --accent2:  #f472b6;
  --accent3:  #fb7bb8;
  --accent-light: rgba(232, 57, 125, 0.1);

  --text:     #1a0a12;
  --text-sec: #4a2535;
  --muted:    #9e6880;

  --shadow-sm:  0 2px 12px rgba(232,57,125,0.08);
  --shadow-md:  0 8px 32px rgba(232,57,125,0.12);
  --shadow-lg:  0 20px 60px rgba(232,57,125,0.15);

  --radius:   20px;
  --font-display: 'Syne', sans-serif;
  --font-body:    'Nunito', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(232,57,125,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.bg-blobs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.blob { position: absolute; border-radius: 50%; filter: blur(90px); animation: blobdrift 14s ease-in-out infinite alternate; }
.blob-1 { width: 550px; height: 450px; background: radial-gradient(circle, rgba(255,182,213,0.55) 0%, transparent 70%); top: -120px; left: -120px; animation-duration: 16s; }
.blob-2 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(251,207,232,0.5) 0%, transparent 70%); bottom: -80px; right: -80px; animation-duration: 12s; animation-delay: 2s; }
.blob-3 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(253,164,202,0.35) 0%, transparent 70%); top: 45%; left: 55%; animation-duration: 18s; animation-delay: 5s; }

@keyframes blobdrift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(35px,35px) scale(1.07); }
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(255, 245, 248, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 57, 125, 0.1);
  box-shadow: 0 1px 20px rgba(232,57,125,0.06);
}

.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  letter-spacing: -0.03em; text-decoration: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-links { display: flex; gap: 0.3rem; list-style: none; flex-wrap: wrap; }

.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.875rem; font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: 50px; transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--accent); background: var(--accent-light); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s; line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #f06292 100%);
  color: #fff; box-shadow: 0 4px 20px rgba(232, 57, 125, 0.35);
}

.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 35px rgba(232, 57, 125, 0.45); }

.btn-ghost {
  background: #fff; color: var(--accent);
  border: 1.5px solid rgba(232, 57, 125, 0.3); box-shadow: var(--shadow-sm);
}

.btn-ghost:hover { border-color: var(--accent); background: var(--accent-light); transform: translateY(-2px); }

/* SECTION LABELS */
.section-label {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-light); padding: 0.28rem 0.8rem; border-radius: 50px; margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; color: var(--text);
}

.section-title .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }

/* FOOTER */
footer {
  position: relative; z-index: 1;
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

footer .footer-left { color: var(--muted); font-size: 0.85rem; }
footer .footer-links { display: flex; gap: 1.5rem; }
footer .footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
footer .footer-links a:hover { color: var(--accent); }

/* DOC PAGES */
.page-hero { padding: 5rem 2rem 3rem; text-align: center; position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.6rem; color: var(--text); }
.page-hero p { color: var(--muted); font-size: 1rem; }

.doc-body { max-width: 760px; margin: 0 auto; padding: 0 2rem 6rem; position: relative; z-index: 1; }
.updated { color: var(--muted); font-size: 0.82rem; margin-bottom: 2rem; }

.doc-section { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 2rem 2.2rem; margin-bottom: 1.2rem; box-shadow: var(--shadow-sm); }
.doc-section h2 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--accent); margin-bottom: 0.9rem; }
.doc-section p, .doc-section li { color: var(--text-sec); line-height: 1.85; font-size: 0.93rem; }
.doc-section ul { padding-left: 1.2rem; }
.doc-section li { margin-bottom: 0.4rem; }
.doc-section a { color: var(--accent); text-decoration: none; font-weight: 600; }
.doc-section a:hover { text-decoration: underline; }

/* MODAL */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(26, 10, 18, 0.4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: #fff; border-radius: 28px; padding: 2.5rem;
  max-width: 520px; width: 100%;
  box-shadow: 0 30px 80px rgba(232,57,125,0.18);
  position: relative;
  transform: scale(0.93) translateY(16px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  background: var(--accent-light); border: none;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  font-size: 1rem; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.modal-close:hover { background: rgba(232,57,125,0.18); transform: rotate(90deg); }

.modal h2 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; color: var(--text); margin-bottom: 1.6rem; padding-right: 2.5rem; }

.modal-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.2rem;
  background: var(--bg); border: 1px solid var(--border-soft);
  border-radius: 14px; margin-bottom: 0.8rem;
}

.modal-item:last-child { margin-bottom: 0; }

.modal-icon { font-size: 1.35rem; flex-shrink: 0; margin-top: 2px; }

.modal-item-body h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.modal-item-body p { color: var(--muted); font-size: 0.85rem; line-height: 1.65; }
.modal-item-body a { color: var(--accent); text-decoration: none; font-weight: 600; }
.modal-item-body a:hover { text-decoration: underline; }

.modal-legal {
  background: rgba(232,57,125,0.05);
  border: 1px solid rgba(232,57,125,0.12);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  margin-bottom: 0.8rem;
}

.modal-legal h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; color: var(--text); margin-bottom: 0.4rem; }
.modal-legal p { color: var(--muted); font-size: 0.82rem; line-height: 1.6; }

/* FADE UP */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 680px) {
  nav { padding: 0.85rem 1rem; gap: 0.5rem; }
  .nav-links a { font-size: 0.78rem; padding: 0.3rem 0.55rem; }
  footer { flex-direction: column; text-align: center; }
  footer .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }
}

/* ══ LEGAL MODAL ITEMS ══ */
.legal-link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  margin-bottom: 0.7rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.legal-link-item:last-child { margin-bottom: 0; }
.legal-link-item:hover { border-color: rgba(232,57,125,0.25); background: rgba(232,57,125,0.04); transform: translateX(3px); }
.lli-text { flex: 1; }
.lli-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 0.2rem; }
.lli-url { font-size: 0.78rem; color: var(--muted); }
.lli-arr { color: var(--muted); font-size: 1.3rem; transition: transform 0.2s, color 0.2s; }
.legal-link-item:hover .lli-arr { transform: translateX(3px); color: var(--accent); }

/* Support highlight in nav */
.nav-support {
  background: var(--accent-light) !important;
  color: var(--accent) !important;
  font-weight: 700 !important;
}
.nav-support:hover { background: rgba(232,57,125,0.18) !important; }
