/* ============================================================
   Troolift — Landing page styles
   Dark glassmorphism · orange primary · emerald accent
   ============================================================ */

:root {
  /* Brand */
  --primary: #F97316;
  --primary-light: #FB923C;
  --primary-dark: #EA580C;
  --accent: #10B981;
  --cyan: #06B6D4;

  /* Backgrounds (layered) */
  --bg: #0A0A14;
  --bg-card: #14141F;
  --surface: #1E1E2D;
  --surface-light: #2A2A3D;

  /* Text */
  --text: #FAFAFF;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;

  /* Borders / glass */
  --border: #27273A;
  --border-light: #3F3F5A;
  --glass-bg: rgba(20, 20, 31, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --gutter: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 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; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.grad-text {
  background: linear-gradient(120deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  color: #1a0d00;
  background: linear-gradient(120deg, var(--primary-light), var(--primary));
  box-shadow: 0 8px 26px rgba(249, 115, 22, 0.32);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(249, 115, 22, 0.45); }
.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-light);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }

/* ---------- Eyebrow / lead ---------- */
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary-light); margin-bottom: 16px;
}
.lead { font-size: 18px; color: var(--text-secondary); margin-top: 14px; }
.center-lead { max-width: 660px; margin-left: auto; margin-right: auto; }

/* ---------- Coming-soon launch badge ---------- */
.launch-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--primary-light);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.launch-badge__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(249, 115, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

/* ---------- Waitlist form ---------- */
.waitlist {
  display: flex; gap: 12px; margin-top: 30px; max-width: 500px; flex-wrap: wrap;
}
.waitlist--center { margin-left: auto; margin-right: auto; justify-content: center; }
.waitlist__input {
  flex: 1; min-width: 220px; font-family: inherit; font-size: 16px; color: var(--text);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-light);
  border-radius: 999px; padding: 15px 22px; outline: none;
  transition: border-color .18s ease, background .18s ease;
}
.waitlist__input::placeholder { color: var(--text-muted); }
.waitlist__input:focus { border-color: var(--primary); background: rgba(255, 255, 255, 0.06); }
.waitlist .btn { flex-shrink: 0; }
.waitlist__note { margin-top: 14px; font-size: 13.5px; color: var(--text-muted); }
.waitlist__note.is-error { color: var(--error); }
.waitlist__note.is-success { color: var(--accent); font-weight: 600; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 20, 0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(10, 10, 20, 0.9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-size: 18px; font-weight: 900; color: #1a0d00;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
}
.brand__name { letter-spacing: -0.03em; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 15px; color: var(--text-secondary); transition: color .18s ease; }
.nav__links a:hover { color: var(--text); }
.nav__cta { color: #1a0d00 !important; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero__glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.22), transparent 62%);
  filter: blur(30px);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 50px; align-items: center;
}
.hero__title { font-size: clamp(38px, 5.4vw, 62px); font-weight: 900; }
.hero__sub { font-size: 19px; color: var(--text-secondary); margin-top: 22px; max-width: 540px; }
.hero__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.center-cta { justify-content: center; }
.hero__trust { margin-top: 26px; font-size: 14px; color: var(--text-muted); }

/* ---------- Phone mockup ---------- */
.hero__visual { display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; height: 610px;
  background: linear-gradient(160deg, #1b1b28, #101019);
  border: 1px solid var(--border-light); border-radius: 42px;
  padding: 14px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.02);
}
.phone--sm { width: 270px; height: 550px; }
.phone__notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #0a0a12; border-radius: 0 0 16px 16px; z-index: 2;
}
.phone__screen {
  height: 100%; background: var(--bg); border-radius: 30px; padding: 40px 16px 20px;
  display: flex; flex-direction: column; gap: 14px; overflow: hidden;
}
.mock-header { display: flex; align-items: center; gap: 12px; }
.mock-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); flex-shrink: 0; }
.mock-lines { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.mock-line { height: 9px; border-radius: 6px; background: var(--surface-light); display: block; }
.mock-line.dim { background: var(--surface); }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; }
.w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.mock-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 9px;
}
.glow-card { border-color: rgba(249, 115, 22, 0.35); box-shadow: 0 0 26px rgba(249, 115, 22, 0.14); }
.mock-badge, .mock-row .mock-tile ~ span { }
.mock-badge {
  align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--primary-light); background: rgba(249, 115, 22, 0.14);
  border: 1px solid rgba(249, 115, 22, 0.3); padding: 4px 8px; border-radius: 6px;
}
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 60px; margin-top: 6px; }
.mock-bars span {
  flex: 1; border-radius: 5px 5px 0 0;
  background: linear-gradient(to top, var(--primary), var(--primary-light));
  opacity: 0.85;
}
.mock-row { display: flex; gap: 12px; }
.mock-tile { flex: 1; height: 64px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border); }
.mock-ring {
  width: 110px; height: 110px; border-radius: 50%; margin: 8px auto;
  background:
    radial-gradient(closest-side, var(--bg) 72%, transparent 73%),
    conic-gradient(var(--primary) 0 68%, var(--surface) 68% 100%);
}

/* ---------- Stats ---------- */
.stats { padding: 20px 0 10px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 30px 24px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stat { text-align: center; }
.stat__num { font-size: 40px; font-weight: 900; display: block; }
.stat__label { font-size: 14px; color: var(--text-secondary); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015), transparent); }
.section__head { margin-bottom: 46px; }
.section__head h2, .cta h2 { font-size: clamp(28px, 3.6vw, 42px); }
.problem__title { font-size: clamp(36px, 5.4vw, 60px); font-weight: 900; }
.problem .lead { margin-top: 20px; }

/* Problem → solution cards */
.problems { margin-top: 12px; }
.prob {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 28px 26px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.prob:hover { transform: translateY(-4px); border-color: rgba(249, 115, 22, 0.3); box-shadow: 0 20px 44px rgba(0,0,0,0.4); }
.prob__tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--error);
  background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.prob h3 { font-size: 20px; margin-bottom: 14px; }
.prob__fix {
  font-size: 15px; color: var(--text-secondary);
  padding-top: 14px; border-top: 1px solid var(--border);
}
.prob__arrow { color: var(--accent); font-weight: 800; margin-right: 4px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--features { grid-template-columns: repeat(4, 1fr); }
.grid--4 { grid-template-columns: repeat(3, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---------- Cards ---------- */
.card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 26px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(249, 115, 22, 0.3); box-shadow: 0 20px 44px rgba(0,0,0,0.4); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 16px;
  background: rgba(249, 115, 22, 0.1); border: 1px solid rgba(249, 115, 22, 0.22);
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text-secondary); }
.card--hero {
  grid-column: span 2; grid-row: span 1;
  background: linear-gradient(150deg, rgba(249,115,22,0.1), var(--glass-bg));
  border-color: rgba(249, 115, 22, 0.3);
}
.card--hero h3 { font-size: 24px; }
.card--hero p { font-size: 16px; }
/* Capability chips (One platform) */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.chips span {
  font-size: 15px; font-weight: 600; color: var(--text-secondary);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  padding: 10px 20px; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: color .18s ease, border-color .18s ease;
}
.chips span:hover { color: var(--text); border-color: rgba(249, 115, 22, 0.35); }

/* Full-width feature banner (Smart Notifications) */
.card--banner {
  grid-column: 1 / -1; margin-top: 20px;
  display: flex; align-items: center; gap: 30px;
  background: linear-gradient(120deg, rgba(249,115,22,0.12), var(--glass-bg) 60%);
  border-color: rgba(249, 115, 22, 0.3);
  padding: 30px 34px;
}
.card--banner .card__icon { margin-bottom: 0; flex-shrink: 0; }
.card__icon--lg { width: 68px; height: 68px; font-size: 34px; border-radius: 18px; }
.card--banner__body h3 { font-size: 24px; margin: 10px 0 8px; }
.card--banner__body p { font-size: 16px; max-width: 900px; }

.pill {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--primary-light); background: rgba(249, 115, 22, 0.16);
  border: 1px solid rgba(249, 115, 22, 0.3); padding: 3px 10px; border-radius: 999px;
  margin-bottom: 10px;
}

/* ---------- Steps ---------- */
.step {
  position: relative; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 34px 26px 28px;
}
.step__num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  font-size: 20px; font-weight: 900; color: #1a0d00; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 15px; }

/* ---------- Split (member app) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.split__copy h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 4px; }
.split__visual { display: flex; justify-content: center; }
.ticks { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 13px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text-secondary); font-size: 15.5px; }
.ticks li b { color: var(--text); }
.ticks li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 900; color: #04120c;
  background: var(--accent);
}
.pullquote {
  margin-top: 28px; padding-left: 18px; border-left: 3px solid var(--primary);
  font-size: 17px; font-style: italic; color: var(--text);
}

/* ---------- Why AI ---------- */
.why { margin-top: 38px; text-align: left; }
.why__item { display: flex; gap: 14px; align-items: flex-start; }
.why__dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.5); }
.why__item p { color: var(--text-secondary); font-size: 16px; }
.why__item b { color: var(--text); }

/* ---------- Pricing ---------- */
.card--price { display: flex; flex-direction: column; position: relative; }
.card--price h3 { font-size: 22px; }
.price__for { font-size: 14px; color: var(--text-muted); margin: 6px 0 18px; min-height: 40px; }
.card--price .ticks { margin-top: 0; margin-bottom: 24px; flex: 1; }
.card--price .ticks li { font-size: 14.5px; }
.card--featured {
  border-color: rgba(249, 115, 22, 0.45);
  background: linear-gradient(160deg, rgba(249,115,22,0.12), var(--glass-bg));
  box-shadow: 0 20px 50px rgba(249, 115, 22, 0.12);
}
.ribbon {
  position: absolute; top: -12px; right: 22px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; color: #1a0d00;
  background: linear-gradient(120deg, var(--primary-light), var(--primary));
  padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 18px rgba(249,115,22,0.4);
}
.note { margin-top: 28px; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 4px 20px; transition: border-color .2s ease;
}
.faq__item[open] { border-color: rgba(249, 115, 22, 0.3); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; font-size: 22px; font-weight: 400; color: var(--primary-light);
  transition: transform .25s ease; line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--text-secondary); font-size: 15px; padding: 0 0 18px; max-width: 640px; }

/* ---------- Final CTA ---------- */
.cta { position: relative; padding: 100px 0; overflow: hidden; text-align: center; }
.cta__glow {
  position: absolute; inset: 0; margin: auto; width: 700px; height: 400px; pointer-events: none;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.2), transparent 60%);
  filter: blur(30px);
}
.cta h2 { font-size: clamp(30px, 4.4vw, 48px); }
.cta .lead { max-width: 560px; margin: 16px auto 30px; }
.cta .muted { margin-top: 18px; }
.cta .muted a { color: var(--primary-light); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; background: rgba(0,0,0,0.25); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer__brand .muted { margin-top: 12px; font-size: 14px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.footer__col a { display: block; color: var(--text-secondary); font-size: 15px; margin-bottom: 10px; transition: color .18s ease; }
.footer__col a:hover { color: var(--primary-light); }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .grid--features, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card--hero { grid-column: span 2; }
  .split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .ticks { text-align: left; max-width: 460px; margin-left: auto; margin-right: auto; }
  .pullquote { text-align: left; max-width: 460px; margin-left: auto; margin-right: auto; }
  .why { text-align: left; max-width: 620px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 4px; align-items: stretch;
    background: rgba(10, 10, 20, 0.97); backdrop-filter: blur(16px);
    padding: 16px 24px 26px; border-bottom: 1px solid var(--border);
    transform: translateY(-140%); transition: transform .3s ease; z-index: 40;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 12px 4px; font-size: 16px; }
  .nav__cta { margin-top: 8px; text-align: center; }
  .nav__toggle { display: flex; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .grid--features, .grid--4, .grid--3, .grid--2, .grid--steps { grid-template-columns: 1fr; }
  .card--hero { grid-column: span 1; }
  .card--banner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
