/* ─── Landing page styles ─────────────────────────────────────────────────── */
/* Imported by index.html and zh/index.html; scoped to .lp-* classes so        */
/* existing pages (pricing, terms, etc.) are unaffected.                        */

:root {
  --lp-accent: #2dd4bf;
  --lp-accent-dim: rgba(45, 212, 191, 0.12);
  --lp-accent-glow: rgba(45, 212, 191, 0.06);
}

/* Prevent any element from causing horizontal scroll */
html, body { overflow-x: hidden; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.lp-hero {
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.lp-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  height: 600px;
  background: radial-gradient(
    ellipse at 50% 30%,
    var(--lp-accent-glow) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}

.lp-hero > * { position: relative; z-index: 1; }

.lp-kicker {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin: 0 0 1.25rem;
}

.lp-h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.4rem;
  max-width: 860px;
}

.lp-h1 em {
  font-style: normal;
  color: var(--lp-accent);
}

.lp-lead {
  font-size: 1.08rem;
  color: #9ca3af;
  max-width: 620px;
  line-height: 1.75;
  margin: 0 0 2.25rem;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

/* ── Hero inline CTA form ───────────────────────────────────────────────────── */
.hero-form {
  display: flex;
  gap: 0.6rem;
  max-width: 520px;
  margin: 2rem 0 1rem;
}

.hero-success {
  max-width: 520px;
  margin: 2rem 0 1rem;
  padding: 1.25rem 1.4rem;
  background: rgba(45, 212, 191, 0.07);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 0.75rem;
}

.hero-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f4f4f5;
  margin: 0 0 0.4rem;
}

.hero-success p {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0 0 1rem;
}

.hero-success .hero-founder-btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  background: var(--lp-accent);
  color: #0a0f0f;
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 120ms ease, transform 120ms ease;
}

.hero-success .hero-founder-btn:hover {
  background: #5eead4;
  transform: translateY(-1px);
}

.hero-form .hero-form-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(9, 9, 11, 0.7);
  border: 1px solid #27272a;
  border-radius: 0.5rem;
  color: #f4f4f5;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 150ms ease;
  backdrop-filter: blur(4px);
}

.hero-form .hero-form-input:focus {
  border-color: var(--lp-accent);
}

.hero-form .hero-form-input::placeholder {
  color: #3f3f46;
}

.hero-form .hero-form-btn {
  padding: 0.75rem 1.4rem;
  background: var(--lp-accent);
  color: #0a0f0f;
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 120ms ease, transform 120ms ease;
}

.hero-form .hero-form-btn:hover {
  background: #5eead4;
  transform: translateY(-1px);
}

.hero-form .hero-form-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.hero-form-note {
  font-size: 0.8rem;
  color: #52525b;
  margin-top: 0.5rem;
}

@media (max-width: 560px) {
  .hero-form {
    flex-direction: column;
  }
  .hero-form .hero-form-btn {
    width: 100%;
  }
}

.btn-accent {
  background: var(--lp-accent);
  color: #0a0f0f;
  border-color: transparent;
  font-weight: 700;
}

.btn-accent:hover {
  background: #5eead4;
  transform: translateY(-1px);
}

.lp-social-proof {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.87rem;
  color: #6b7280;
}

.lp-social-proof .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lp-accent);
  flex-shrink: 0;
  animation: lp-pulse 2.4s ease-in-out infinite;
}

@keyframes lp-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ── Language bar (inside nav-links) ───────────────────────────────────────── */
.lp-lang {
  font-size: 0.82rem;
  color: #52525b;
  padding: 0.3rem 0.6rem;
  border: 1px solid #27272a;
  border-radius: 6px;
  transition: color 120ms ease, border-color 120ms ease;
}

.lp-lang:hover {
  color: var(--fg);
  border-color: #3f3f46;
}

/* ── Pain section ──────────────────────────────────────────────────────────── */
.lp-pain {
  padding: 5rem 0;
  background: #0d0d10;
  border-top: 1px solid #1c1c1f;
  border-bottom: 1px solid #1c1c1f;
}

.lp-pain-title {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 700;
  text-align: center;
  color: #e4e4e7;
  margin: 0 0 3rem;
}

.lp-contrast-table {
  max-width: 700px;
  margin: 0 auto 3.5rem;
  border: 1px solid #27272a;
  border-radius: 0.75rem;
  overflow: hidden;
}

.lp-contrast-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #27272a;
}

.lp-contrast-row:last-child {
  border-bottom: none;
}

.lp-contrast-a,
.lp-contrast-b {
  padding: 1.1rem 1.4rem;
  font-size: 0.93rem;
  line-height: 1.6;
}

.lp-contrast-a {
  color: #52525b;
  border-right: 1px solid #27272a;
}

.lp-contrast-b {
  color: #9ca3af;
}

.lp-pain-callout {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fafafa;
  max-width: 560px;
  margin: 0 auto;
  letter-spacing: -0.02em;
}

/* ── Section labels & headings ─────────────────────────────────────────────── */
.lp-section-label {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin: 0 0 1rem;
}

.lp-h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 1.2rem;
  max-width: 720px;
}

.lp-h2 em {
  font-style: normal;
  color: var(--lp-accent);
}

.lp-body {
  color: #9ca3af;
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.75;
  margin: 0 0 3rem;
}

/* ── Solution / features ───────────────────────────────────────────────────── */
.lp-solution {
  padding: 5.5rem 0 5rem;
}

.lp-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #27272a;
  border: 1px solid #27272a;
  border-radius: 1rem;
  overflow: hidden;
}

.lp-feature {
  background: #09090b;
  padding: 2rem 2rem 2.25rem;
  transition: background 150ms ease;
}

.lp-feature:hover {
  background: #0e0e12;
}

.lp-feature-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lp-accent);
  margin: 0 0 0.85rem;
}

.lp-feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: #f4f4f5;
  letter-spacing: -0.01em;
}

.lp-feature p {
  color: #6b7280;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.7;
}

/* ── Steps ─────────────────────────────────────────────────────────────────── */
.lp-steps {
  padding: 5rem 0;
  background: #0d0d10;
  border-top: 1px solid #1c1c1f;
  border-bottom: 1px solid #1c1c1f;
}

.lp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.lp-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lp-accent-dim);
  border: 1px solid rgba(45, 212, 191, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lp-accent);
  margin-bottom: 1.1rem;
}

.lp-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
  color: #f4f4f5;
}

.lp-step p {
  color: #6b7280;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.7;
}

/* ── Founder card ──────────────────────────────────────────────────────────── */
.lp-founder {
  padding: 5.5rem 0;
}

.lp-founder-card {
  background: #0c0f14;
  border: 1px solid #1e2534;
  border-radius: 1.25rem;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lp-founder-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse min(600px, 100%) 300px at 50% 0%,
    rgba(45, 212, 191, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.lp-founder-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin: 0 0 1.5rem;
}

.lp-founder-price {
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #fafafa;
  line-height: 1;
  margin: 0 0 0.3rem;
}

.lp-founder-price-sub {
  font-size: 1rem;
  color: #52525b;
  margin: 0 0 0.25rem;
}

.lp-founder-urgency {
  font-size: 0.85rem;
  color: var(--lp-accent);
  margin: 0 0 2rem;
  font-weight: 600;
}

.lp-founder-desc {
  font-size: 0.97rem;
  color: #6b7280;
  max-width: 480px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
}

.lp-founder-counter {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: #3f3f46;
}

/* ── Language switcher ─────────────────────────────────────────────────────── */
.lp-lang {
  font-size: 0.8rem;
  color: #52525b;
  padding: 0.28rem 0.55rem;
  border: 1px solid #27272a;
  border-radius: 6px;
  transition: color 120ms, border-color 120ms;
  outline: none;
}
.lp-lang:hover { color: #a1a1aa; border-color: #3f3f46; }

/* ── Pain scenarios ─────────────────────────────────────────────────────────── */
.lp-pain-scenarios {
  max-width: 700px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #27272a;
  border: 1px solid #27272a;
  border-radius: 0.75rem;
  overflow: hidden;
}
.lp-pain-scenario {
  background: #0d0d10;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.lp-pain-scenario-week {
  font-size: 0.75rem;
  font-weight: 700;
  color: #3f3f46;
  min-width: 2.5rem;
  padding-top: 0.15rem;
  flex-shrink: 0;
}
.lp-pain-scenario-text {
  font-size: 0.93rem;
  color: #6b7280;
  line-height: 1.55;
}
.lp-pain-scenario-text strong {
  color: #a1a1aa;
  font-weight: 600;
}
.lp-pain-scenario-result {
  margin-left: auto;
  font-size: 0.78rem;
  color: #3f3f46;
  padding-left: 1rem;
  flex-shrink: 0;
  padding-top: 0.2rem;
}

/* ── Terminal / activity feed ───────────────────────────────────────────────── */
.lp-visual-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

.lp-terminal {
  background: #0c0e14;
  border: 1px solid #1e2534;
  border-radius: 0.85rem;
  overflow: hidden;
}
.lp-terminal-bar {
  background: #111520;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid #1e2534;
}
.lp-terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.lp-terminal-dot.red    { background: #ff5f57; }
.lp-terminal-dot.yellow { background: #ffbd2e; }
.lp-terminal-dot.green  { background: #28c840; }
.lp-terminal-title {
  font-size: 0.72rem;
  color: #3f3f46;
  margin-left: 0.4rem;
}
.lp-terminal-body {
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lp-log-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #151820;
}
.lp-log-row:last-child { border-bottom: none; }
.lp-log-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27272a;
  flex-shrink: 0;
  margin-top: 0.35rem;
}
.lp-log-indicator.active {
  background: var(--lp-accent);
  box-shadow: 0 0 6px var(--lp-accent);
  animation: lp-pulse 2s ease-in-out infinite;
}
.lp-log-text {
  font-size: 0.83rem;
  color: #9ca3af;
  flex: 1;
  line-height: 1.5;
}
.lp-log-text em {
  font-style: normal;
  color: var(--lp-accent);
}
.lp-log-time {
  font-size: 0.72rem;
  color: #3f3f46;
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.lp-stat-card {
  background: #0c0e14;
  border: 1px solid #1e2534;
  border-radius: 0.65rem;
  padding: 1rem 0.75rem;
  text-align: center;
}
.lp-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lp-accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.lp-stat-label {
  font-size: 0.72rem;
  color: #52525b;
  line-height: 1.3;
}

/* ── How it works — richer steps ───────────────────────────────────────────── */
.lp-steps-rich {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #1c1c1f;
  border: 1px solid #1c1c1f;
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 3rem;
}
.lp-step-rich {
  background: #0d0d10;
  padding: 2rem 1.75rem 2.25rem;
}
.lp-step-rich-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lp-accent);
  margin: 0 0 1.25rem;
}
.lp-step-rich h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: #f4f4f5;
}
.lp-step-rich p {
  color: #6b7280;
  font-size: 0.88rem;
  margin: 0 0 1rem;
  line-height: 1.7;
}
.lp-step-rich-example {
  background: #111520;
  border: 1px solid #1e2534;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  color: #52525b;
  line-height: 1.6;
}
.lp-step-rich-example strong {
  color: #9ca3af;
  font-weight: 600;
}

/* ── Waitlist page ─────────────────────────────────────────────────────────── */
.wl-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wl-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.wl-card {
  background: #0f1014;
  border: 1px solid #1e2028;
  border-radius: 1.25rem;
  padding: 3rem 2.75rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  overflow: hidden;
}

.wl-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 400px 200px at 50% 0%,
    rgba(45, 212, 191, 0.06) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.wl-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin: 0 0 0.9rem;
}

.wl-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 0.65rem;
  color: #fafafa;
}

.wl-sub {
  font-size: 0.92rem;
  color: #6b7280;
  margin: 0 0 2rem;
  line-height: 1.65;
}

.wl-input {
  width: 100%;
  background: #09090b;
  border: 1px solid #27272a;
  border-radius: 0.65rem;
  color: #fafafa;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 150ms ease;
}

.wl-input:focus {
  border-color: var(--lp-accent);
}

.wl-input::placeholder {
  color: #3f3f46;
}

.wl-btns {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.wl-btn-primary {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--lp-accent);
  color: #0a0f0f;
  border: none;
  border-radius: 0.65rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 120ms ease, transform 120ms ease;
}

.wl-btn-primary:hover {
  background: #5eead4;
  transform: translateY(-1px);
}

.wl-btn-secondary {
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  color: #9ca3af;
  border: 1px solid #27272a;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 120ms ease, color 120ms ease;
}

.wl-btn-secondary:hover {
  border-color: #3f3f46;
  color: #e4e4e7;
}

.wl-proof {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: #52525b;
  margin-bottom: 1.75rem;
}

.wl-proof .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lp-accent);
  flex-shrink: 0;
  animation: lp-pulse 2.4s ease-in-out infinite;
}

.wl-perks {
  background: #0d0d10;
  border: 1px solid #1c1c1f;
  border-radius: 0.75rem;
  padding: 1.25rem 1.4rem;
}

.wl-perks-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e4e4e7;
  margin: 0 0 0.75rem;
}

.wl-perks ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wl-perks li {
  font-size: 0.85rem;
  color: #6b7280;
  display: flex;
  gap: 0.5rem;
}

.wl-perks li::before {
  content: "✓";
  color: var(--lp-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.wl-success {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.wl-success-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.wl-success h3 {
  margin: 0 0 0.5rem;
  color: #f4f4f5;
  font-size: 1.2rem;
}

.wl-success p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.65;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .lp-hero { padding: 3.5rem 0 3rem; }

  .lp-cta-row { flex-direction: column; align-items: flex-start; }
  .lp-cta-row .btn { width: 100%; text-align: center; box-sizing: border-box; }

  .lp-features { grid-template-columns: 1fr; }
  .lp-steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lp-steps-rich { grid-template-columns: 1fr; }
  .lp-visual-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .lp-stats-grid { grid-template-columns: repeat(3, 1fr); }

  .lp-contrast-row { grid-template-columns: 1fr; }
  .lp-contrast-a {
    border-right: none;
    border-bottom: 1px solid #27272a;
    padding-bottom: 0.75rem;
  }

  .lp-pain-scenario { flex-wrap: wrap; }
  .lp-pain-scenario-result { margin-left: 0; padding-left: 3.5rem; }

  .lp-founder-card { padding: 2.5rem 1.75rem; }
  .wl-card { padding: 2.25rem 1.5rem; }

  .lp-h1 { font-size: clamp(2rem, 8vw, 3rem); }
}
