/* Locked-INN — landing site styles. Palette mirrors the app:
   bg #0D0D15, surface #1A1A2E, accent #E94560 (coral), purple #BB86FC. */
:root {
  --bg: #0D0D15;
  --bg-2: #12121d;
  --surface: #1A1A2E;
  --surface-2: #16213E;
  --border: #26263a;
  --accent: #E94560;
  --accent-2: #ff6b81;
  --purple: #BB86FC;
  --text: #F0F0F0;
  --muted: #A0A0B0;
  --radius: 18px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(13, 13, 21, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 0.95rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #fff; padding: 9px 18px; border-radius: 10px;
  font-weight: 700; font-size: 0.9rem; transition: transform .15s, background .2s;
}
.nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); }
@media (max-width: 720px){ .nav-links a:not(.nav-cta){ display:none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 72px; text-align: center; overflow: hidden; }
.hero::before {
  content:""; position:absolute; inset:-20% 0 auto 0; height: 620px;
  background:
    radial-gradient(620px 320px at 50% -8%, rgba(233,69,96,0.28), transparent 70%),
    radial-gradient(520px 320px at 12% 12%, rgba(187,134,252,0.16), transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items:center; gap:8px; font-size: 0.82rem; font-weight: 600;
  color: var(--purple); background: rgba(187,134,252,0.1); border: 1px solid rgba(187,134,252,0.25);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 800; margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent), var(--purple));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.sub { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 640px; margin: 0 auto 38px; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff;
  padding: 15px 30px; border-radius: 14px; font-weight: 700; font-size: 1.02rem;
  box-shadow: 0 12px 30px -10px rgba(233,69,96,0.6); transition: transform .15s, background .2s;
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost {
  display:inline-flex; align-items:center; gap:8px; padding: 15px 26px; border-radius: 14px;
  border: 1px solid var(--border); color: var(--text); font-weight: 600; transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--purple); background: rgba(187,134,252,0.06); }
.hero-note { margin-top: 20px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Sections ---------- */
section.block { padding: 78px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Feature grid */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .grid { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  transition: transform .18s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(233,69,96,0.4); }
.card .emoji { font-size: 1.9rem; display:block; margin-bottom: 14px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* Modes */
.modes { display: grid; gap: 18px; grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px){ .modes { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .modes { grid-template-columns: 1fr; } }
.mode {
  border-radius: var(--radius); padding: 26px; border: 1px solid var(--border);
  background: var(--surface); position: relative; overflow: hidden;
}
.mode::after { content:""; position:absolute; inset:auto -30% -40% auto; width: 160px; height: 160px; border-radius: 50%; opacity: .18; filter: blur(8px); }
.mode.monk::after { background: var(--accent); }
.mode.beast::after { background: #ff9f43; }
.mode.focus::after { background: var(--purple); }
.mode.freezer::after { background: #54a0ff; }
.mode .tag { font-size: 1.5rem; }
.mode h3 { margin: 12px 0 6px; font-size: 1.2rem; }
.mode p { color: var(--muted); font-size: 0.93rem; position: relative; z-index: 1; }

/* How it works */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(3,1fr); counter-reset: step; }
@media (max-width: 760px){ .steps { grid-template-columns: 1fr; } }
.step { padding: 26px; }
.step .num {
  width: 42px; height: 42px; border-radius: 12px; display:grid; place-items:center; font-weight: 800;
  background: rgba(233,69,96,0.12); color: var(--accent); border:1px solid rgba(233,69,96,0.3); margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* CTA banner */
.cta-banner {
  text-align: center; border: 1px solid var(--border); border-radius: 26px; padding: 56px 28px;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(233,69,96,0.18), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
}
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 14px; }
.cta-banner p { color: var(--muted); margin-bottom: 30px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 44px 0; margin-top: 24px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .brand { font-size: 1rem; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 0.92rem; transition: color .2s; }
.foot-links a:hover { color: var(--text); }
.copy { color: #6a6a7a; font-size: 0.85rem; margin-top: 18px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 60px 0 80px; }
.legal a.back { color: var(--purple); font-size: 0.9rem; }
.legal h1 { font-size: 2.2rem; margin: 18px 0 6px; letter-spacing: -0.02em; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal p, .legal li { color: #c7c7d4; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a.inline { color: var(--purple); }
