/* Peach Up — marketing landing page (peachup.ai). Coherent with the quiz funnel theme. */

:root {
  --bg: #ffffff;
  --ink: #1c1418;
  --ink-soft: #75666d;
  --accent: #ff5e57;
  --accent-soft: #ffe9e4;
  --card-border: rgba(28, 20, 24, 0.08);
  --shadow: 0 10px 30px rgba(28, 20, 24, 0.07);
  --shadow-strong: 0 14px 40px rgba(255, 94, 87, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; }
a { color: inherit; text-decoration: none; }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--card-border); }
.nav-inner { max-width: 1020px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; }
.brand { font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 9px; }
.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
  box-shadow: 0 6px 16px rgba(255, 94, 87, 0.18);
}
.nav-actions { display: inline-flex; align-items: center; gap: 10px; }
.login-btn {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--card-border);
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.nav-cta { background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 99px; box-shadow: var(--shadow-strong); }

.hero { text-align: center; padding: 9vh 22px 40px; max-width: 860px; margin: 0 auto; }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 7px 14px; border-radius: 99px; margin-bottom: 20px; }
.display { font-family: 'Anton', sans-serif; font-weight: 400; font-size: clamp(56px, 13vw, 130px); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.5px; }
.display em { font-style: normal; color: var(--accent); }
.sub { color: var(--ink-soft); font-size: 17.5px; max-width: 520px; margin: 22px auto 0; }
.hero-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 800; font-size: 17px; letter-spacing: 0.3px; padding: 17px 44px; border-radius: 99px; box-shadow: var(--shadow-strong); transition: transform 0.15s; }
.btn:active { transform: scale(0.97); }
.note { font-size: 13px; color: var(--ink-soft); }
.stats { display: flex; justify-content: center; gap: 34px; margin-top: 36px; }
.stats b { display: block; font-size: 24px; font-weight: 800; }
.stats span { font-size: 12.5px; color: var(--ink-soft); }

.features { max-width: 1020px; margin: 30px auto 0; padding: 0 22px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature { background: #fff; border: 1px solid var(--card-border); border-radius: 20px; box-shadow: var(--shadow); padding: 26px 22px; }
.f-icon { font-size: 34px; margin-bottom: 12px; }
.feature-logo { width: 42px; height: 42px; border-radius: 11px; display: block; margin-bottom: 12px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); }

.how { text-align: center; max-width: 680px; margin: 70px auto 0; padding: 0 22px; }
.h2 { font-size: clamp(26px, 5vw, 34px); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 22px; }
.steps { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; text-align: left; }
.steps li { background: #fff; border: 1px solid var(--card-border); border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px; }
.steps b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.steps span { font-size: 14px; color: var(--ink-soft); }

.support { text-align: center; max-width: 560px; margin: 70px auto; padding: 0 22px; }
.support p { color: var(--ink-soft); font-size: 15px; }
.support a { color: var(--accent); font-weight: 700; }

.footer { text-align: center; font-size: 13px; color: var(--ink-soft); padding: 26px 22px 40px; border-top: 1px solid var(--card-border); }
.footer a { text-decoration: underline; }

.login-modal[hidden] { display: none; }
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  padding: 16px;
}
.login-shade {
  position: absolute;
  inset: 0;
  background: rgba(28, 20, 24, 0.44);
  backdrop-filter: blur(8px);
}
.login-dialog {
  position: relative;
  width: min(100%, 430px);
  padding: 26px 22px 22px;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(28, 20, 24, 0.22);
}
.login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 25px;
  cursor: pointer;
}
.login-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(255, 94, 87, 0.18);
}
.login-dialog h2 {
  margin: 14px 0 8px;
  font-size: 28px;
  line-height: 1.05;
}
.login-dialog p {
  color: var(--ink-soft);
  font-size: 15px;
}
.login-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.login-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.login-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
}
.login-form input:focus {
  border-color: rgba(255, 94, 87, 0.52);
  box-shadow: 0 0 0 4px rgba(255, 94, 87, 0.12);
}
.login-submit {
  border: 0;
  cursor: pointer;
}
.login-submit[disabled] {
  cursor: wait;
  opacity: 0.72;
}
.login-message {
  min-height: 22px;
  margin-top: 12px;
  font-size: 13px !important;
  font-weight: 800;
}
.login-message.ok { color: #087a61; }
.login-message.bad { color: #c63d33; }

@media (min-width: 620px) {
  .login-modal { place-items: center; }
}

@media (max-width: 430px) {
  .nav-inner { padding-left: 14px; padding-right: 14px; }
  .nav-actions { gap: 7px; }
  .login-btn { padding: 0 11px; font-size: 13px; }
  .nav-cta { padding: 10px 13px; font-size: 13px; }
}
