:root {
  --bg: #0b0b0b;
  --card: #171717;
  --card-2: #111827;
  --text: #ffffff;
  --muted: #9ca3af;
  --line: rgba(255,255,255,.09);
  --blue: #2f6bff;
  --red: #ff3b30;
  --green: #22c55e;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { overflow: hidden; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.app-shell {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 10%, rgba(47,107,255,.22), transparent 34%),
    radial-gradient(circle at 10% 76%, rgba(255,59,48,.11), transparent 28%),
    #0b0b0b;
}

.screen {
  display: none;
  height: 100%;
  overflow-y: auto;
  padding: 18px 16px calc(92px + var(--safe-bottom));
  -webkit-overflow-scrolling: touch;
}
.screen.active { display: block; }

.hero {
  min-height: 270px;
  padding: 14px 0 8px;
}
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 34px; }
.brand { font-weight: 900; font-size: 22px; line-height: .9; letter-spacing: -.04em; }
.brand span { display: block; color: white; }
.brand b { display: block; color: var(--red); }
.club-badge { border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px; background: rgba(255,255,255,.04); color: #d1d5db; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.eyebrow { margin: 0 0 8px; color: var(--blue); text-transform: uppercase; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(43px, 12vw, 62px); line-height: .92; letter-spacing: -.07em; }
h2 { margin-bottom: 10px; font-size: 31px; line-height: 1; letter-spacing: -.05em; }
h3 { font-size: 16px; }
.subtitle, .screen-head p { color: #c7cbd4; line-height: 1.45; }
.screen-head { padding: 22px 0 12px; }
.screen-head.compact { padding-top: 8px; }

.compare-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 42px 1fr;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(23,23,23,.98), rgba(13,13,13,.98));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 24px 80px rgba(0,0,0,.36);
}
.compare-card h3 { margin-bottom: 10px; color: #d1d5db; }
.compare-card .after h3 { color: #9bb6ff; }
ul { list-style: none; margin: 0; padding: 0; }
li { position: relative; margin: 0 0 10px; padding-left: 18px; color: #c6cad3; font-size: 13px; line-height: 1.25; }
li::before { content: ''; position: absolute; left: 0; top: .45em; width: 7px; height: 7px; border-radius: 99px; background: #374151; }
.after li::before { background: var(--blue); }
.arrow-button { align-self: center; justify-self: center; width: 42px; height: 42px; border: none; border-radius: 50%; color: white; background: var(--blue); font-size: 24px; box-shadow: 0 0 32px rgba(47,107,255,.55); }

.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.metric { padding: 14px 10px; border-radius: 18px; border: 1px solid var(--line); background: rgba(23,23,23,.92); }
.metric b { display: block; font-size: 22px; letter-spacing: -.04em; }
.metric span { color: var(--muted); font-size: 12px; }

.primary-btn, .ghost-btn { width: 100%; border: 0; border-radius: 18px; padding: 16px 18px; font-weight: 900; color: white; }
.primary-btn { background: linear-gradient(135deg, var(--blue), #174aff); box-shadow: 0 18px 50px rgba(47,107,255,.34); }
.ghost-btn { margin: 8px 0 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: #dbe2f0; }

.case-list, .solution-list { display: grid; gap: 12px; }
.case-card, .solution-card, .detail-card, .project-card, .success-card { border: 1px solid var(--line); border-radius: 24px; background: rgba(23,23,23,.92); box-shadow: 0 20px 70px rgba(0,0,0,.25); }
.case-card, .solution-card { display: grid; grid-template-columns: 64px 1fr 24px; gap: 12px; align-items: center; width: 100%; padding: 12px; color: white; text-align: left; }
.case-art { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, rgba(47,107,255,.35), rgba(255,59,48,.18)); font-size: 28px; }
.case-card h3, .solution-card h3 { margin: 0 0 4px; }
.case-card p, .solution-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.case-card strong { display: inline-block; margin-top: 7px; color: #6ea0ff; font-size: 19px; }
.chevron { color: var(--muted); font-size: 24px; }
.solution-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: rgba(47,107,255,.14); color: #78a0ff; }

.detail-card { padding: 18px; }
.detail-card .label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.detail-card h2 { margin-top: 7px; }
.detail-grid { display: grid; gap: 10px; margin: 16px 0; }
.info-box { padding: 14px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.info-box b { display: block; margin-bottom: 6px; }
.info-box span { color: #c7cbd4; font-size: 14px; line-height: 1.4; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tool-tags span { padding: 8px 10px; border-radius: 999px; background: rgba(47,107,255,.12); color: #a8c0ff; border: 1px solid rgba(47,107,255,.26); font-size: 12px; font-weight: 700; }

.lead-form { display: grid; gap: 12px; }
.lead-form label { display: grid; gap: 7px; color: #d1d5db; font-size: 13px; font-weight: 700; }
.lead-form input, .lead-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 18px; padding: 15px 14px; background: rgba(23,23,23,.96); color: white; outline: none; }
.lead-form textarea { min-height: 118px; resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { border-color: rgba(47,107,255,.7); box-shadow: 0 0 0 4px rgba(47,107,255,.12); }

.success-card { display: grid; gap: 12px; place-items: center; text-align: center; margin-top: 80px; padding: 30px 18px; }
.success-icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--green); color: #07130b; font-size: 42px; font-weight: 900; }
.success-card p { color: #c7cbd4; line-height: 1.45; }

.project-card { padding: 18px; }
.project-top { display: grid; gap: 5px; margin-bottom: 18px; }
.project-top span { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.project-top b { font-size: 21px; }
.timeline { display: grid; gap: 12px; }
.step { position: relative; padding: 14px 14px 14px 42px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.step::before { content: ''; position: absolute; left: 16px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: #374151; }
.step.done::before { background: var(--green); }
.step.active { border-color: rgba(47,107,255,.55); background: rgba(47,107,255,.08); }
.step.active::before { background: var(--blue); box-shadow: 0 0 20px rgba(47,107,255,.7); }
.step b { display: block; margin-bottom: 4px; }
.step span { color: var(--muted); font-size: 13px; }

.bottom-nav { position: fixed; left: 12px; right: 12px; bottom: calc(10px + var(--safe-bottom)); z-index: 10; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 24px; background: rgba(16,16,16,.88); backdrop-filter: blur(18px); box-shadow: 0 20px 70px rgba(0,0,0,.45); }
.bottom-nav button { border: 0; border-radius: 16px; padding: 11px 4px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; }
.bottom-nav button.active { color: white; background: rgba(47,107,255,.18); }

@media (min-width: 560px) {
  .app-shell { max-width: 430px; left: 50%; transform: translateX(-50%); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .bottom-nav { max-width: 406px; left: 50%; right: auto; width: calc(100% - 24px); transform: translateX(-50%); }
}
