/* ============ FeelSafeHub marketing site ============ */
:root {
  --forest: #1a3d2b;
  --dark: #0f1f16;
  --sage: #4a7c5f;
  --mist: #a8d5b5;
  --lila: #6B5CE7;
  --lila-soft: #ede9fd;
  --lila-mid: #a99ef0;
  --neon: #4dd966;
  --cream: #f5f2eb;
  --warm: #eceae2;
  --muted: #6b8f7a;
  --border: rgba(26, 61, 43, 0.12);
  --red: #c04030;
  --orange: #d98a2b;
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--forest);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--lila); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lila); flex: none; }

h1, h2, h3 { font-family: 'DM Serif Display', serif; font-weight: 400; line-height: 1.1; color: var(--forest); }
h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.01em; }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
em, .italic { font-style: italic; color: var(--lila); }

.lead { font-size: 19px; color: var(--muted); max-width: 56ch; }

section { padding: 110px 0; border-top: 0.5px solid var(--border); position: relative; overflow: hidden; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 235, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: baseline; gap: 2px; font-family: 'DM Sans', sans-serif; font-size: 21px; }
.logo .hub { font-weight: 300; color: var(--lila); }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--sage); }
.nav-links a:hover { color: var(--forest); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--forest); }

@media (max-width: 860px) {
  .nav-links { position: fixed; top: 72px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 20px 24px; gap: 18px; border-bottom: 0.5px solid var(--border); transform: translateY(-130%); transition: transform 0.35s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  background: var(--forest); color: #fff; border: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26, 61, 43, 0.22); }
.btn-lila { background: var(--lila); }
.btn-lila:hover { box-shadow: 0 10px 24px rgba(107, 92, 231, 0.28); }
.btn-ghost { background: transparent; color: var(--forest); border: 1px solid var(--border); }
.btn-ghost:hover { box-shadow: none; background: var(--warm); }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 90px 0 130px; border-top: none; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-tag { font-size: clamp(38px, 6vw, 64px); margin: 18px 0 20px; }
.hero-tag .line { display: block; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 48ch; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.lang-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.lang-pill {
  font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.04em;
  background: var(--warm); border: 0.5px solid var(--border); border-radius: 100px;
  padding: 7px 14px; color: var(--sage);
}

.breath-wrap { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.5; }
.blob-1 { width: 260px; height: 260px; background: var(--lila-soft); top: 10%; left: 5%; animation: float1 9s ease-in-out infinite; }
.blob-2 { width: 180px; height: 180px; background: var(--mist); bottom: 6%; right: 8%; animation: float2 11s ease-in-out infinite; }
.breath-circle {
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, var(--lila-mid), var(--lila) 70%);
  box-shadow: 0 30px 60px rgba(107, 92, 231, 0.35);
  animation: breathe 5.2s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
}
@keyframes breathe { 0%, 100% { transform: scale(0.86); } 50% { transform: scale(1.08); } }
@keyframes float1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(18px, -22px); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-16px, 20px); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .breath-wrap { height: 260px; order: -1; }
}

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 0.5px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(26, 61, 43, 0.08); }
.card-dark { background: var(--dark); color: var(--mist); border: none; }
.card-dark h3, .card-dark .stat-num { color: #fff; }
.card-lila-soft { background: var(--lila-soft); border: none; }

/* ---------- stats ---------- */
.stat-num { font-family: 'DM Serif Display', serif; font-size: clamp(38px, 5vw, 54px); color: var(--lila); line-height: 1; }
.stat-label { margin-top: 10px; font-size: 15px; color: var(--forest); font-weight: 500; }
.stat-source { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* ---------- timeline ---------- */
.timeline { position: relative; margin-top: 50px; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-left: 60px; margin-bottom: 52px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute; left: 9px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--lila);
}
.tl-item.now .tl-dot { background: var(--neon); border-color: var(--neon); }
.tl-date { font-family: 'DM Mono', monospace; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lila); }
.tl-title { margin: 6px 0 10px; font-size: clamp(19px, 2.2vw, 24px); }
.tl-text { color: var(--muted); max-width: 62ch; }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } }
.avatar-circle {
  width: 160px; height: 160px; border-radius: 50%;
  background: linear-gradient(135deg, var(--lila), var(--lila-mid));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif; font-size: 44px; font-style: italic;
  box-shadow: 0 24px 50px rgba(107, 92, 231, 0.3);
}
.credential-list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.credential-list span { font-size: 14px; color: var(--sage); display: flex; align-items: center; gap: 8px; }
.credential-list span::before { content: "✓"; color: var(--neon); font-weight: 700; }

/* ---------- contact form ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--sage); margin-bottom: 6px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 0.5px solid var(--border);
  background: var(--warm); font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--forest);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lila); }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }

/* ---------- footer ---------- */
footer { background: var(--dark); color: var(--mist); padding: 60px 0 30px; border-top: none; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 0.5px solid rgba(168, 213, 181, 0.18); font-size: 13px; color: var(--sage); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- how it works steps ---------- */
.steps-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.step-chip {
  flex: 1 1 140px; background: #fff; border: 0.5px solid var(--border); border-radius: 16px;
  padding: 20px 16px; text-align: center;
}
.step-chip .step-num { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--lila); letter-spacing: 0.1em; }
.step-chip .step-name { margin: 8px 0 4px; font-weight: 500; }
.step-chip .step-time { font-size: 12.5px; color: var(--muted); }

@media (max-width: 760px) {
  section { padding: 70px 0; }
  .founder { text-align: left; }
}
