/* Khushappy — calm, warm, soft. Landing page. */

:root {
  --bg: #0f1424;
  --bg-soft: #161d33;
  --card: #1b2340;
  --ink: #eef1f8;
  --ink-soft: #b8c0d8;
  --accent: #8ea2ff;
  --accent-2: #f7a8c4;
  --accent-3: #9be6c9;
  --danger: #ff8a8a;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 700px at 70% -10%, #23305c 0%, var(--bg) 55%);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
}

/* Crisis banner */
.crisis-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #3a1c2b, #3a2130);
  border-bottom: 1px solid rgba(255, 138, 138, 0.35);
  padding: 10px 18px;
  font-size: 0.9rem;
  color: #ffdcdc;
  position: sticky;
  top: 0;
  z-index: 50;
}
.crisis-banner p { margin: 0; }
.crisis-banner strong { color: #fff; white-space: nowrap; }
.crisis-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--danger); flex: none;
  box-shadow: 0 0 0 0 rgba(255, 138, 138, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,138,138,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255,138,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,138,138,0); }
}

/* Nav */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 6vw; max-width: 1200px; margin: 0 auto;
}
.logo { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.3px; }
.nav-cta {
  color: var(--ink); text-decoration: none; font-weight: 600;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(142, 162, 255, 0.4);
  transition: all 0.25s ease;
}
.nav-cta:hover { background: rgba(142, 162, 255, 0.15); transform: translateY(-1px); }

/* Hero */
.hero { padding-bottom: 40px; }
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 30px 6vw 20px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; margin-bottom: 18px;
  background: linear-gradient(120deg, #fff, #c9d3ff 60%, #f7a8c4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; margin-bottom: 28px; }
.badge-human {
  display: inline-block; margin-bottom: 18px; padding: 7px 16px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; color: #ffe9a8;
  background: rgba(247, 208, 130, 0.12); border: 1px solid rgba(247, 208, 130, 0.35);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { color: var(--ink-soft); font-size: 0.92rem; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; padding: 13px 26px; border-radius: 999px;
  border: none; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), #6f86ff);
  color: #0d1020; box-shadow: 0 10px 30px rgba(111, 134, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(111, 134, 255, 0.5); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-block { width: 100%; margin-top: 8px; }

/* Hero art — floating orbs + breathing circle */
.hero-art { position: relative; height: 360px; }
.orb { position: absolute; border-radius: 50%; filter: blur(6px); opacity: 0.65; animation: float 9s ease-in-out infinite; }
.orb-1 { width: 130px; height: 130px; background: radial-gradient(circle at 30% 30%, #8ea2ff, transparent 70%); top: 20px; left: 30px; }
.orb-2 { width: 90px; height: 90px; background: radial-gradient(circle at 30% 30%, #f7a8c4, transparent 70%); bottom: 40px; right: 40px; animation-delay: 1.5s; }
.orb-3 { width: 70px; height: 70px; background: radial-gradient(circle at 30% 30%, #9be6c9, transparent 70%); top: 120px; right: 120px; animation-delay: 3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }

.breathe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(155,230,201,0.22), rgba(142,162,255,0.06));
  border: 1px solid rgba(255,255,255,0.15);
  display: grid; place-items: center; color: var(--ink-soft); letter-spacing: 2px;
  text-transform: uppercase; font-size: 0.75rem;
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%,-50%) scale(1.18); opacity: 1; }
}

/* Sections */
.section { max-width: 1000px; margin: 0 auto; padding: 60px 6vw; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; text-align: center; }
.section-sub { text-align: center; color: var(--ink-soft); margin-bottom: 30px; }
.section.soft { background: var(--bg-soft); border-radius: 28px; max-width: 900px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.step {
  background: var(--card); padding: 26px 22px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06); box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.step:hover { transform: translateY(-6px); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #101426; font-weight: 700; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); }
.step-emoji { font-size: 2rem; margin-bottom: 12px; }

/* People / listener personas */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.person {
  background: var(--card); padding: 30px 26px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06); box-shadow: var(--shadow); text-align: center;
  transition: transform 0.25s ease;
}
.person:hover { transform: translateY(-6px); }
.person-avatar {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-size: 1.8rem; font-weight: 700; color: #101426;
}
.person-avatar.sonu { background: linear-gradient(135deg, #8ea2ff, #6f86ff); }
.person-avatar.tuli { background: linear-gradient(135deg, #f7a8c4, #f78fb3); }
.person h3 { font-size: 1.3rem; margin-bottom: 2px; }
.person-role { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.person p { color: var(--ink-soft); }
.who-note { text-align: center; color: var(--ink-soft); margin-top: 24px; font-size: 0.95rem; font-style: italic; }

/* Promises */
.promises { list-style: none; display: grid; gap: 14px; max-width: 620px; margin: 20px auto 0; }
.promises li {
  background: var(--card); padding: 16px 20px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06); color: var(--ink-soft); font-size: 1.02rem;
}

/* Form */
.safety-note {
  background: rgba(255, 138, 138, 0.08); border: 1px solid rgba(255,138,138,0.3);
  color: #ffd6d6; padding: 16px 18px; border-radius: 14px; margin-bottom: 26px;
  font-size: 0.95rem; max-width: 640px; margin-left: auto; margin-right: auto;
}
.form { max-width: 560px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; }
.opt { color: var(--ink-soft); font-weight: 400; font-size: 0.85rem; }
.req { color: var(--accent-2); }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid rgba(255,255,255,0.1);
  color: var(--ink); font-size: 1rem; font-family: inherit; resize: vertical;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(142,162,255,0.2);
}
/* Make native date/time pickers readable on the dark theme */
.field input[type="date"], .field input[type="time"] { color-scheme: dark; }
.hint { display: block; color: var(--ink-soft); font-size: 0.82rem; margin-top: 6px; }

/* Chips (gender + mode) */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  cursor: pointer; background: var(--bg-soft); color: var(--ink-soft);
  border: 1px solid rgba(255,255,255,0.12); padding: 10px 16px; border-radius: 999px;
  font-size: 0.95rem; font-family: inherit; transition: all 0.2s ease;
}
.chip:hover { border-color: var(--accent); }
.chip.active {
  background: linear-gradient(120deg, var(--accent), #6f86ff);
  color: #0d1020; border-color: transparent; font-weight: 600;
}

.form-status { margin-top: 14px; text-align: center; min-height: 22px; font-weight: 600; }
.form-status.error { color: var(--danger); }
.form-status.ok { color: var(--accent-3); }

/* Footer */
.footer { text-align: center; padding: 50px 6vw 40px; color: var(--ink-soft); }
.footer-small { font-size: 0.82rem; max-width: 620px; margin: 12px auto 0; opacity: 0.8; }

/* Success overlay */
.overlay {
  position: fixed; inset: 0; background: rgba(8, 11, 22, 0.75);
  backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 100; padding: 20px;
}
.overlay[hidden] { display: none; }
.overlay-card {
  background: var(--card); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px; padding: 40px 34px; max-width: 420px; text-align: center;
  box-shadow: var(--shadow); animation: rise 0.4s ease;
}
@keyframes rise { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.overlay-icon { font-size: 3rem; margin-bottom: 10px; }
.overlay-card h3 { margin-bottom: 10px; }
.overlay-card p { color: var(--ink-soft); margin-bottom: 22px; }

/* Responsive */
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 240px; order: -1; }
  .steps { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .crisis-banner { font-size: 0.82rem; }
}
