/* ─────────────────────────────────────────────────────────────────
   QuickClaw — Marketing Landing (Light Theme)
   Inspired by Twitter: clean, light, trustworthy.
   This stylesheet is only used by landing.html.
   ───────────────────────────────────────────────────────────────── */

:root {
  --bg: #f5f8fa;
  --bg-alt: #ffffff;
  --bg-muted: #e6ecf0;
  --border-subtle: #e1e8ed;
  --border-strong: #ccd6dd;
  --text-main: #0f1419;
  --text-muted: #536471;
  --text-soft: #8899a6;
  --primary: #1d9bf0;
  --primary-soft: rgba(29, 155, 240, 0.08);
  --accent: #ffad1f;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 999px;
  --shadow-soft: 0 20px 40px rgba(15, 20, 25, 0.08);
}

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

.hidden {
  display: none !important;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #ffffff 0, #f5f8fa 55%, #e6ecf0 100%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ───────── Nav ───────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(245, 248, 250, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-main);
}

.logo-icon {
  font-size: 1.4rem;
}

.logo-text {
  font-size: 1.1rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-contact {
  text-decoration: none;
}

.nav-contact:hover {
  text-decoration: none;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--text-main);
  text-decoration: none;
}

/* ───────── Buttons ───────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: var(--text-main);
  transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.08s ease,
    border-color 0.16s ease, color 0.16s ease;
}

.btn:disabled {
  cursor: default;
  opacity: 0.6;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(29, 155, 240, 0.35);
}

.btn-primary:hover:not(:disabled) {
  background: #1a8cd8;
  border-color: #1a8cd8;
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(29, 155, 240, 0.4);
}

.btn-outline {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-muted);
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--text-main);
}

.btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: rgba(15, 20, 25, 0.03);
  color: var(--text-main);
}

.btn-lg {
  padding: 12px 22px;
  font-size: 0.95rem;
  border-radius: 999px;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  font-size: 0.9rem;
}

/* ───────── Hero ───────── */

.hero {
  padding: 40px 20px 32px;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 40px;
  row-gap: 14px;
  align-items: start;
}

.hero-headline {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}

.hero-panel {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: start;
}

.hero-rest {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
  padding-top: 0;
}

.hero-rest .hero-subtitle {
  margin-top: 0;
  margin-bottom: 2px;
}

.hero-headline h1,
.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 12px 0 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(29, 155, 240, 0.25);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 4px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 20px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}

.hero-metrics > div {
  min-width: 120px;
}

.metric-value {
  font-weight: 700;
  font-size: 1.1rem;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.4;
}

/* ───────── Hero Panel (Preview UI) ───────── */

.hero-panel {
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 50%, #f1f7fc 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(15, 20, 25, 0.06), 0 12px 40px rgba(29, 155, 240, 0.08);
  border: 1px solid rgba(207, 217, 222, 0.8);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: #f7f9f9;
}

.panel-dots {
  display: flex;
  gap: 4px;
}

.panel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e1e8ed;
}

.panel-title {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.panel-body {
  padding: 20px 18px 22px;
}

.stepper {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.step {
  flex: 1;
  display: flex;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #f7f9f9;
}

.step.active {
  border-color: var(--primary-soft);
  background: rgba(29, 155, 240, 0.04);
}

.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #e1e8ed;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  flex-shrink: 0;
}

.step.active .step-dot {
  background: var(--primary);
  color: white;
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.step-title {
  font-size: 0.8rem;
  font-weight: 600;
}

.step-subtitle {
  font-size: 0.75rem;
  color: var(--text-soft);
  line-height: 1.35;
}

/* Landing mini‑wizard steps */

.lp-step {
  display: none;
}

.lp-step.lp-step-active {
  display: block;
}

.token-card {
  margin-top: 6px;
  margin-bottom: 12px;
  width: 100%;
  min-width: 0;
  position: relative;
  padding: 14px;
  border-radius: 12px;
  outline: 2px solid transparent;
  outline-offset: 4px;
  transition: outline-color 0.3s ease, box-shadow 0.3s ease;
}

/* "Start here" hint — shown when user clicks a deploy CTA */
.lp-start-here {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: var(--primary-soft);
  border-radius: 10px;
  border: 1px solid rgba(29, 155, 240, 0.25);
}
.lp-start-here-arrow {
  font-size: 1.1rem;
  color: var(--primary);
  animation: lp-arrow-bounce 1.2s ease-in-out infinite;
}
.lp-start-here-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
}
@keyframes lp-arrow-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(4px); opacity: 0.8; }
}

/* Hint shown when deploy CTAs scroll to panel */
.lp-choose-hint {
  display: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 8px 12px;
  background: rgba(29, 155, 240, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(29, 155, 240, 0.25);
  text-align: center;
  line-height: 1.35;
}
.hero-panel.lp-preview-highlight .lp-choose-hint {
  display: block;
}

/* Panel + strong box highlight when deploy CTA is clicked */
.hero-panel.lp-preview-highlight {
  animation: lp-panel-glow 2.5s ease-in-out;
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(29, 155, 240, 0.15), 0 8px 32px rgba(15, 20, 25, 0.1), 0 0 48px rgba(29, 155, 240, 0.12);
}
.hero-panel.lp-preview-highlight .token-card {
  outline-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.12);
}
.hero-panel.lp-preview-highlight .token-input {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(29, 155, 240, 0.12);
}
.hero-panel.lp-preview-highlight .lp-start-here {
  display: flex;
}
@keyframes lp-panel-glow {
  0% { box-shadow: 0 8px 32px rgba(15, 20, 25, 0.1); }
  30% { box-shadow: 0 0 0 4px rgba(29, 155, 240, 0.22), 0 8px 32px rgba(15, 20, 25, 0.1), 0 0 56px rgba(29, 155, 240, 0.18); }
  70% { box-shadow: 0 0 0 4px rgba(29, 155, 240, 0.18), 0 8px 32px rgba(15, 20, 25, 0.1), 0 0 48px rgba(29, 155, 240, 0.14); }
  100% { box-shadow: 0 0 0 4px rgba(29, 155, 240, 0.15), 0 8px 32px rgba(15, 20, 25, 0.1), 0 0 48px rgba(29, 155, 240, 0.12); }
}

.card-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.token-input {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: #f7f9f9;
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.78rem;
  color: var(--text-main);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.token-input.disabled {
  opacity: 0.9;
}

.card-hint {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 8px;
  line-height: 1.5;
}

.lp-plan-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.lp-plan-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.lp-plan-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: 14px;
  border: 2px solid var(--border-subtle);
  background: #f7f9f9;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lp-plan-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.12);
}
.lp-plan-card.lp-plan-featured {
  border-color: rgba(29, 155, 240, 0.4);
  background: rgba(29, 155, 240, 0.04);
}
.lp-plan-price {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.lp-plan-amount {
  color: var(--primary);
}
.lp-plan-credits {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.45;
}
/* Configure & Deploy single step */
.lp-configure-deploy {
  padding-top: 4px;
}
.lp-configure-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.3;
}
.lp-configure-section {
  margin-bottom: 16px;
}
.lp-configure-section.lp-configure-server {
  margin-bottom: 14px;
  text-align: center;
}
.lp-server-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(29, 155, 240, 0.08);
  border: 1px solid rgba(29, 155, 240, 0.25);
  border-radius: 12px;
}
.lp-server-wrap .card-label {
  margin-bottom: 0;
  font-size: 0.68rem;
  color: var(--text-soft);
}
.lp-server-spec {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
  line-height: 1.3;
}
.lp-configure-section .card-label {
  margin-bottom: 10px;
}
.lp-configure-server .lp-server-wrap .card-label {
  margin-bottom: 0;
}
.lp-plan-options-inline {
  flex-direction: row;
  gap: 10px;
  margin-top: 0;
}
.lp-plan-select {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
}
.lp-plan-select.lp-plan-selected {
  border-color: var(--primary);
  border-width: 2px;
  background: rgba(29, 155, 240, 0.12);
  box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.25), 0 4px 14px rgba(29, 155, 240, 0.2);
}
.lp-plan-select:not(.lp-plan-selected) {
  opacity: 0.85;
}
.lp-plan-select:not(.lp-plan-selected):hover {
  opacity: 1;
}
.lp-plan-credits-line {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}
.lp-plan-price-line {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.lp-plan-tag {
  position: absolute;
  top: 2px;
  right: 6px;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: rgba(29, 155, 240, 0.15);
  padding: 2px 5px;
  border-radius: 4px;
}
.lp-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.lp-channel {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-muted);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  position: relative;
}
.lp-channel-active {
  background: rgba(29, 155, 240, 0.1);
  border-color: rgba(29, 155, 240, 0.3);
  color: var(--primary);
  font-weight: 600;
}
.lp-channel-soon {
  color: var(--text-soft);
  padding-right: 32px;
}
.lp-channel-soon-tag {
  position: absolute;
  top: 3px;
  right: 6px;
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.lp-deploy-now {
  margin-top: 4px;
  margin-bottom: 10px;
}
.lp-servers-left {
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
  margin: 0;
  line-height: 1.4;
}
.lp-servers-left .lp-fomo-count {
  font-weight: 700;
  color: var(--primary);
}

.lp-plan-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
}

.lp-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.lp-btn-small {
  font-size: 0.8rem;
}

.models-row {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.models-row-stack {
  flex-direction: column;
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  border: 1px solid var(--border-subtle);
  color: var(--text-soft);
  background: #f7f9f9;
  line-height: 1.4;
}

.chip-selected {
  border-color: rgba(29, 155, 240, 0.4);
  background: rgba(29, 155, 240, 0.06);
  color: var(--primary);
}

.chip-selectable {
  justify-content: space-between;
  width: 100%;
  text-align: left;
}

.chip-note {
  font-size: 0.7rem;
  color: var(--text-soft);
  margin-left: 6px;
}

.lock-note {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.lp-pricing {
  margin-top: 4px;
  padding: 10px 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: #f7f9f9;
}

.lp-price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.lp-price-amount {
  font-size: 1.4rem;
  font-weight: 800;
}

.lp-price-term {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.lp-price-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.55;
}

.lp-fomo {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 6px;
}

.lp-price-footnote {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.inline-code {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  background: rgba(15, 20, 25, 0.04);
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.8rem;
}

/* ───────── Modals ───────── */

.lp-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.lp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 25, 0.35);
}

.lp-modal-dialog {
  position: relative;
  max-width: 420px;
  width: calc(100% - 32px);
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 22px 22px;
  box-shadow: 0 24px 48px rgba(15, 20, 25, 0.12);
  z-index: 41;
}

.lp-modal-dialog h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.35;
}

.lp-modal-dialog p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.lp-modal-dialog ol {
  margin: 4px 0 16px 20px;
  padding-left: 4px;
}

.lp-modal-dialog li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.55;
}

.lp-modal-dialog li:last-child {
  margin-bottom: 0;
}

/* Affiliate modal */
.lp-modal-affiliate-dialog .card-label {
  margin-top: 14px;
}
.lp-modal-affiliate-dialog .card-label:first-of-type {
  margin-top: 0;
}
.lp-affiliate-intro,
.lp-affiliate-success-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.55;
}
.lp-affiliate-link-wrap {
  display: flex;
  gap: 10px;
  margin: 14px 0;
}
.lp-affiliate-link-wrap .token-input {
  flex: 1;
  min-width: 0;
}
.lp-affiliate-link-wrap .btn {
  flex-shrink: 0;
}
.card-hint.success {
  color: #16a34a;
}

/* ───────── Sections ───────── */

.section {
  padding: 48px 20px 44px;
}

.section-alt {
  background: #ffffff;
}

.section-header {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 22px 20px 24px;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  background: #f7f9f9;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bullet-list {
  list-style: none;
  margin-top: 8px;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.55;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--primary);
}

/* ───────── Comparison ───────── */

.comparison-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
}

.card-outline {
  background: var(--bg-alt);
}

.card-highlight {
  background: linear-gradient(135deg, #1d9bf0, #1a8cd8);
  color: #ffffff;
  border: none;
  box-shadow: var(--shadow-soft);
}

.card-highlight .card-badge {
  color: #1d9bf0;
  background: rgba(255, 255, 255, 0.95);
}

.card-highlight h3 {
  color: #ffffff;
}

.card-highlight .bullet-list li {
  color: rgba(255, 255, 255, 0.95);
}

.card-highlight .bullet-list li::before {
  color: rgba(255, 255, 255, 0.9);
}

.comparison-title {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-soft);
  line-height: 1.4;
}

.card-highlight .comparison-title {
  color: rgba(255, 255, 255, 0.8);
}

.list {
  list-style: none;
  margin-top: 4px;
}

.list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-subtle);
  line-height: 1.5;
}

.list li span:last-child {
  color: var(--text-soft);
  font-weight: 500;
}

.list li:last-child {
  border-bottom: none;
}

.list-total span:last-child {
  font-weight: 600;
}

.list-footnote {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.card-highlight .list,
.card-highlight .list li,
.card-highlight .list-footnote {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.26);
}

.highlight-time {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 4px;
}

.highlight-copy {
  margin: 8px 0 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

.check-list {
  margin: 8px 0 16px;
}

.check-list li {
  border-bottom: none;
  padding: 6px 0;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓ ";
}

.highlight-fomo {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 10px 0 14px;
  line-height: 1.4;
}

.card-highlight .btn-primary {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 20, 25, 0.2);
}

.card-highlight .btn-primary:hover {
  background: #f5f8fa;
}

/* ───────── Tweets Grid ───────── */

.tweets-grid {
  max-width: 1080px;
  margin: 0 auto;
  columns: 3;
  column-gap: 20px;
}

.tweets-grid > blockquote {
  break-inside: avoid;
  margin: 0 0 20px !important;
}

/* ───────── Capabilities Grid ───────── */

.cap-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cap-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.cap-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.cap-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.cap-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}

.cap-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ───────── Stats Row ───────── */

.stats-row {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 28px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
}

.stat-value {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.4;
}

/* ───────── Transformation (Before/After) ───────── */

.transform-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.transform-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border-subtle);
}

.transform-card.before {
  background: rgba(185, 28, 28, 0.03);
  border-color: rgba(185, 28, 28, 0.12);
}

.transform-card.after {
  background: rgba(22, 163, 74, 0.03);
  border-color: rgba(22, 163, 74, 0.12);
}

.transform-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.before .transform-badge {
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
}

.after .transform-badge {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
}

.transform-list {
  list-style: none;
}

.transform-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.55;
}

.transform-list li:last-child {
  margin-bottom: 0;
}

.transform-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  margin-top: 2px;
}

.before .transform-icon {
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
}

.after .transform-icon {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
}

/* ───────── Everything Included ───────── */

.stack-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stack-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.stack-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.stack-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.stack-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.stack-text p {
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ───────── Plan Highlight ───────── */

.plan-highlight {
  background: var(--primary-soft);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--primary);
}

.card-highlight .plan-highlight {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* ───────── Pricing Anchor ───────── */

.pricing-anchor {
  max-width: 600px;
  margin: 0 auto 24px;
  text-align: center;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(185, 28, 28, 0.04);
  border: 1px solid rgba(185, 28, 28, 0.1);
}

.pricing-anchor p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pricing-anchor strong {
  color: var(--primary);
}

.pricing-anchor del {
  color: var(--text-soft);
}

/* ───────── Pricing Toggle ───────── */
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 24px 0 32px;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
}

.pricing-toggle-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-toggle-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--border-strong);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
  outline: none;
}

.pricing-toggle-switch:hover {
  background: var(--border-strong);
  opacity: 0.8;
}

.pricing-toggle-switch.active {
  background: var(--primary);
}

.pricing-toggle-switch.active:hover {
  background: var(--primary);
  opacity: 0.9;
}

.pricing-toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pricing-toggle-switch.active .pricing-toggle-slider {
  transform: translateX(22px);
}

/* ───────── Final CTA ───────── */

.section-cta {
  padding: 44px 20px 64px;
}

.cta-card {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.cta-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.cta-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cta-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cta-note {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.45;
}

/* ───────── Footer ───────── */

.footer {
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.footer-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.footer-brand {
  font-weight: 600;
  color: var(--text-muted);
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-sep {
  color: var(--border-strong);
  user-select: none;
}

.footer-copy a {
  font-weight: 600;
}

.footer-flag {
  display: none; /* shown by JS when loaded */
  width: 20px;
  height: 14px;
  margin-left: 6px;
  vertical-align: middle;
  object-fit: cover;
}

.footer-flag[src] {
  display: inline-block;
}

/* ───────── Sticky badge (servers left) ───────── */

.trust-badge {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 30;
  opacity: 1;
  transition: opacity 0.25s ease;
  -webkit-transform: translateZ(0); /* promote to own layer on iOS */
}

.trust-badge.faded {
  opacity: 0.35;
}

.trust-badge.full-scroll {
  opacity: 0;
  pointer-events: none;
}

.trust-badge:hover {
  opacity: 1;
}

.servers-left-badge {
  padding: 10px 14px;
  min-width: 0;
  width: max-content;
  max-width: 120px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle, #e1e8ed);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
  text-align: center;
}

.servers-left-badge .lp-fomo-count {
  font-weight: 700;
  color: var(--primary);
}

/* ───────── Responsive ───────── */

@media (max-width: 900px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  .hero-headline {
    order: 1;
  }

  .hero-panel {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    order: 2;
    grid-column: auto;
    grid-row: auto;
  }

  .hero-rest {
    order: 3;
    grid-column: auto;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-link:nth-of-type(2),
  .nav-link:nth-of-type(3) {
    display: none;
  }

  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .transform-grid {
    grid-template-columns: 1fr;
  }

  .tweets-grid {
    columns: 2;
  }
}

@media (max-width: 640px) {
  .hero-panel {
    max-width: 100%;
    width: 100%;
  }
  .panel-body {
    padding: 18px 16px 20px;
  }
  .nav-inner {
    padding-inline: 14px;
  }

  .nav-actions .nav-link {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-inner {
    gap: 26px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-metrics {
    gap: 14px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .comparison-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cap-grid,
  .stats-row,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  .transform-grid {
    grid-template-columns: 1fr;
  }

  .tweets-grid {
    columns: 1;
  }

  .footer-inner {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .trust-badge {
    bottom: max(10px, env(safe-area-inset-bottom, 10px));
    left: max(10px, env(safe-area-inset-left, 10px));
    z-index: 9999;
  }

  .servers-left-badge {
    padding: 8px 12px;
    max-width: 100px;
    font-size: 0.75rem;
    min-height: 44px; /* touch target */
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .lp-configure-deploy {
    width: 100%;
    min-width: 0;
  }
  .lp-configure-server {
    width: 100%;
  }
  .lp-server-wrap {
    width: 100%;
    box-sizing: border-box;
  }
  .lp-plan-options-inline {
    flex-direction: column;
  }
  .lp-channels {
    flex-direction: column;
    align-items: stretch;
  }
  .lp-channel {
    text-align: center;
  }
  .lp-channel-soon {
    padding-right: 32px;
    padding-left: 12px;
  }
}

