/* Public home page (logged-out "/"). Uses the app's tokens from style.css. */
.landing { padding-bottom: 0; }
.landing main { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Nav ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 1.5rem;
  max-width: 1160px; margin: 0 auto; padding: 0.9rem 1.25rem;
  background: rgba(15, 23, 42, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.lp-brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text-main); }
.lp-brand img { width: 34px; height: 34px; border-radius: 10px; }
.lp-brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.lp-nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.lp-nav-links a, .lp-link { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.lp-nav-links a:hover, .lp-link:hover { color: var(--text-main); }
.lp-nav-cta { display: flex; align-items: center; gap: 1rem; }
.lp-nav-cta a { white-space: nowrap; }

/* ---------- Buttons ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 1.4rem; border-radius: 14px; font-weight: 700; font-size: 0.98rem; text-decoration: none;
  color: #fff; background: linear-gradient(135deg, var(--primary), #a855f7);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.4); transition: transform 0.15s, box-shadow 0.15s;
}
.lp-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(99, 102, 241, 0.55); }
.lp-btn.small { padding: 0.55rem 1rem; font-size: 0.88rem; border-radius: 12px; box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35); }
.lp-btn.ghost { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); box-shadow: none; }
.lp-btn.ghost:hover { background: rgba(255, 255, 255, 0.09); }

/* ---------- Hero ---------- */
.lp-hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center;
  padding: 4.5rem 0 3.5rem;
}
.lp-eyebrow {
  display: inline-block; padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  color: #c4b5fd; background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.3);
}
.lp-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.04;
  letter-spacing: -0.03em; margin: 1.1rem 0 1.1rem;
}
.lp-gradient {
  background: linear-gradient(120deg, #818cf8, #c084fc 45%, #f472b6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-lead { font-size: 1.12rem; line-height: 1.6; color: var(--text-secondary); max-width: 34rem; margin: 0 0 1.8rem; }
.lp-hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.lp-note { margin: 1.1rem 0 0; font-size: 0.82rem; color: var(--text-dim); }

/* Dashboard preview */
.lp-preview { position: relative; min-height: 430px; }
.pv-card {
  background: rgba(30, 41, 59, 0.78); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pv-main { position: absolute; inset: 0 2.5rem 2.5rem 0; padding: 1.3rem 1.3rem 1rem; }
.pv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.pv-head strong { font-family: var(--font-display); font-size: 1.25rem; }
.pv-head span { font-size: 0.78rem; color: var(--text-dim); }
.pv-quick {
  display: flex; justify-content: space-between; align-items: center; margin: 1rem 0 1.1rem;
  padding: 0.55rem 0.55rem 0.55rem 0.9rem; border-radius: 14px; font-size: 0.82rem; color: var(--text-dim);
  background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.35);
}
.pv-quick b { padding: 0.35rem 0.8rem; border-radius: 10px; background: var(--primary); color: #fff; font-size: 0.78rem; }
.pv-label { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.5rem; }
.pv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.pv-list li {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.75rem; border-radius: 13px; font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
}
.pv-list i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #64748b; }
.pv-list li.done { color: var(--text-dim); }
.pv-list li.done i { background: var(--success); border-color: var(--success); box-shadow: inset 0 0 0 3px rgba(15, 23, 42, 0.6); }
.pv-list li.now { border-color: rgba(99, 102, 241, 0.5); background: rgba(99, 102, 241, 0.12); }
.pv-list em {
  margin-left: auto; font-style: normal; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--primary); color: #fff;
}
.pv-time { font-size: 0.7rem; font-weight: 700; color: #a5b4fc; background: rgba(99, 102, 241, 0.16); padding: 0.12rem 0.45rem; border-radius: 7px; }
.pv-float { position: absolute; display: flex; align-items: center; gap: 0.7rem; padding: 0.75rem 0.95rem; border-radius: 18px; }
.pv-float strong { display: block; font-size: 0.88rem; }
.pv-float small { font-size: 0.74rem; color: var(--text-dim); font-weight: 600; }
.pv-emoji {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.07);
}
.pv-reminder { top: -1.2rem; right: 0; animation: lp-float 6s ease-in-out infinite; }
.pv-celebrate {
  bottom: 0.2rem; right: 0; border-color: rgba(244, 114, 182, 0.4);
  background: linear-gradient(135deg, rgba(80, 30, 70, 0.92), rgba(55, 35, 95, 0.92)); animation: lp-float 7s ease-in-out 1s infinite;
}
.pv-celebrate small { color: #f9a8d4; }
.pv-gift { padding: 0.4rem 0.75rem; border-radius: 999px; font-size: 0.74rem; background: linear-gradient(135deg, #f472b6, #a855f7); white-space: nowrap; }
.pv-score { bottom: 0.4rem; left: -1.6rem; animation: lp-float 8s ease-in-out 0.5s infinite; }
.pv-ring {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: conic-gradient(var(--success) 0 86%, rgba(255, 255, 255, 0.1) 86% 100%);
}
.pv-ring span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1e293b; font-size: 0.68rem; font-weight: 800; }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .pv-float { animation: none; } }

/* ---------- AI demo strip ---------- */
.lp-demo {
  text-align: center; padding: 1.6rem 1.25rem; margin: 0 0 1rem; border-radius: 24px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border);
}
.lp-demo-in { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.lp-demo-say { font-size: 1.05rem; font-style: italic; color: var(--text-secondary); }
.lp-demo-arrow { font-size: 1.4rem; color: var(--primary-light); }
.lp-demo-got {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.3rem 0.6rem;
  padding: 0.55rem 0.95rem; border-radius: 14px; font-weight: 700; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3);
}
.lp-demo-got small { font-weight: 600; color: #86efac; font-size: 0.78rem; }
.lp-demo p { margin: 0.9rem 0 0; color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Sections ---------- */
.lp-section { padding: 4rem 0 1rem; scroll-margin-top: 4.5rem; }
.lp-section h2, .lp-final h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: -0.02em;
  text-align: center; margin: 0 0 0.6rem;
}
.lp-sub { text-align: center; color: var(--text-dim); margin: 0 auto 2.2rem; max-width: 36rem; line-height: 1.55; }

.lp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lp-feature {
  padding: 1.4rem 1.3rem; border-radius: 20px; background: var(--card-bg); border: 1px solid var(--glass-border);
  transition: transform 0.2s, border-color 0.2s;
}
.lp-feature:hover { transform: translateY(-3px); border-color: rgba(129, 140, 248, 0.35); }
.lp-feature-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 1.35rem;
  background: rgba(99, 102, 241, 0.14); border: 1px solid rgba(99, 102, 241, 0.25);
}
.lp-feature h3 { margin: 0.95rem 0 0.4rem; font-size: 1.05rem; }
.lp-feature p { margin: 0; color: var(--text-dim); font-size: 0.9rem; line-height: 1.55; }

.lp-templates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lp-template {
  display: flex; flex-direction: column; gap: 0.5rem; padding: 1.4rem 1.3rem; border-radius: 20px; text-decoration: none;
  color: var(--text-main); background: linear-gradient(160deg, rgba(99, 102, 241, 0.1), rgba(255, 255, 255, 0.03) 55%);
  border: 1px solid var(--glass-border); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.lp-template:hover { transform: translateY(-3px); border-color: rgba(168, 85, 247, 0.5); box-shadow: 0 14px 36px rgba(99, 102, 241, 0.2); }
.lp-template-icon { font-size: 2rem; line-height: 1; }
.lp-template strong { font-family: var(--font-display); font-size: 1.2rem; }
.lp-template p { margin: 0; color: var(--text-dim); font-size: 0.9rem; line-height: 1.55; flex: 1; }
.lp-template-go { margin-top: 0.4rem; font-size: 0.85rem; font-weight: 700; color: var(--primary-light); }

.lp-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lp-steps li { padding: 1.4rem 1.3rem; border-radius: 20px; background: var(--card-bg); border: 1px solid var(--glass-border); }
.lp-steps span {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #a855f7);
}
.lp-steps h3 { margin: 0.9rem 0 0.35rem; font-size: 1.05rem; }
.lp-steps p { margin: 0; color: var(--text-dim); font-size: 0.9rem; line-height: 1.55; }

.lp-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.7rem; }
.lp-faq-item {
  border-radius: 16px; background: var(--card-bg); border: 1px solid var(--glass-border); padding: 0 1.2rem;
}
.lp-faq-item summary {
  cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after { content: "+"; color: var(--primary-light); font-size: 1.2rem; line-height: 1; }
.lp-faq-item[open] summary::after { content: "–"; }
.lp-faq-item p { margin: 0 0 1.1rem; color: var(--text-dim); line-height: 1.6; font-size: 0.93rem; }

.lp-final {
  text-align: center; margin: 4.5rem 0 3rem; padding: 3rem 1.5rem; border-radius: 28px;
  background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.25), transparent 60%), rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.lp-final > p { color: var(--text-dim); margin: 0 0 1.6rem; }
.lp-final .lp-final-login { margin: 1.1rem 0 0; font-size: 0.88rem; }

.lp-footer {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: 1160px; margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem; border-top: 1px solid var(--glass-border); font-size: 0.85rem; color: var(--text-dim);
}
.lp-footer a { color: var(--text-dim); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .lp-hero { grid-template-columns: 1fr; padding-top: 3rem; gap: 3.5rem; }
  .lp-preview { max-width: 520px; width: 100%; margin: 0 auto; }
  .lp-features, .lp-templates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .lp-nav-links { display: none; }
  .lp-nav-cta { margin-left: auto; }
  .lp-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lp-nav { gap: 0.75rem; }
  .lp-brand span { font-size: 0.98rem; }
}
@media (max-width: 400px) {
  .lp-brand span { display: none; }
  .lp-features, .lp-templates { grid-template-columns: 1fr; }
  .lp-preview { min-height: 400px; }
  .pv-main { inset: 0 0 3.6rem 0; }
  .pv-score, .pv-reminder { display: none; }
  .pv-celebrate { right: -0.4rem; bottom: 0; }
  .lp-preview { min-height: 450px; }
  .lp-hero-cta .lp-btn { flex: 1 1 100%; }
  .lp-nav-cta { gap: 0.7rem; }
  .lp-demo-arrow { transform: rotate(90deg); }
}
