/* ── Landing page ─────────────────────────────────────────── */

body {
  background: var(--bg-subtle);
  min-height: 100vh;
}

/* ── Header ──────────────────────────────────────────────── */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-8);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(8px);
}

.lp-logo {
  font-size: var(--text-xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ── Main / Grid ─────────────────────────────────────────── */
.lp-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 65px);
  padding: var(--space-10) var(--space-4);
}

.lp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  max-width: 1080px;
  width: 100%;
  align-items: center;
}

/* ── Left card: Product mockup ───────────────────────────── */
.mockup-card {
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 32px 80px rgba(67, 56, 202, 0.4);
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow */
.mockup-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(139,92,246,0.35) 0%, transparent 70%);
  pointer-events: none;
}

/* Inner chrome (simulated app header) */
.mockup-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.mockup-chrome-logo {
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}

.mockup-chrome-progress {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.mockup-track {
  width: 110px;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.mockup-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.9));
  border-radius: var(--radius-full);
}

.mockup-track-label {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
}

/* Simulated question card */
.mockup-body {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.mockup-q-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(165,180,252,0.85);
  margin-bottom: var(--space-2);
}

.mockup-q-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
  margin-bottom: var(--space-4);
  min-height: 52px;
}

.mockup-answer-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  height: 72px;
  padding: var(--space-3);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

.mockup-placeholder {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.28);
}

/* Blinking cursor */
.mockup-cursor {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.5);
  margin-top: 1px;
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.mockup-actions {
  display: flex;
  justify-content: space-between;
}

/* Footer pip */
.mockup-footer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mockup-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mockup-pip-green {
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pip-pulse 2s ease-in-out infinite;
}

@keyframes pip-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.mockup-pip-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

/* ── Right card: Benefits ────────────────────────────────── */
.benefits-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--card-shadow-lg);
}

.benefits-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-primary);
  margin-bottom: var(--space-3);
}

.benefits-heading {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.benefits-sub {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Staggered entrance animation */
@keyframes benefit-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  opacity: 0;
  animation: benefit-in 0.35s ease forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.05s; }
.benefit-item:nth-child(2) { animation-delay: 0.12s; }
.benefit-item:nth-child(3) { animation-delay: 0.19s; }
.benefit-item:nth-child(4) { animation-delay: 0.26s; }
.benefit-item:nth-child(5) { animation-delay: 0.33s; }

.benefit-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.benefit-title {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.benefit-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.55;
}

/* CTA */
.benefits-cta {
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
}

.benefits-cta-note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-2);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .lp-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .lp-header {
    padding: var(--space-3) var(--space-4);
  }
  .lp-nav .btn-ghost {
    display: none; /* hide "Sign in" on very small screens — CTA stays */
  }
  .benefits-heading {
    font-size: var(--text-2xl);
  }
  .benefits-card {
    padding: var(--space-6);
  }
  .lp-main {
    padding: var(--space-6) var(--space-3);
  }
}
