/* ============================================
   RESOLUTIONFLOW LANDING PAGE
   Self-contained styles. No dependency on theme
   variables that may resolve incorrectly.
   ============================================ */

/* ---- LANDING COLOR PALETTE ---- */
.landing-page {
  --lp-bg: #14161d;
  --lp-bg-alt: #181a22;
  --lp-card: #1e2028;
  --lp-elevated: #262830;
  --lp-border: #2a2e3a;
  --lp-border-hover: #3a3f4e;
  --lp-text-heading: #f0f2f5;
  --lp-text-body: #d0d4dc;
  --lp-text-secondary: #9198a8;
  --lp-text-dim: #636b7e;
  --lp-accent: #60a5fa;
  --lp-accent-soft: rgba(96, 165, 250, 0.10);
  --lp-accent-text: #93bbfc;
  --lp-btn: #60a5fa;
  --lp-success: #34d399;
  --lp-danger: #f87171;
  --lp-warning: #fbbf24;
}

/* ---- BASE ---- */
.landing-page {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--lp-bg);
  color: var(--lp-text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.landing-main {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

/* ---- SKIP LINK ---- */
.landing-skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--lp-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}

.landing-skip-link:focus {
  top: 0;
}

/* ---- NAVIGATION ---- */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.landing-nav.scrolled {
  background: #0d0f15;
  border-bottom: 1px solid var(--lp-border);
}

.landing-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.landing-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.landing-nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--lp-btn);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-nav-logo-icon svg {
  width: 20px;
  height: 20px;
}

.landing-nav-wordmark {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lp-text-heading);
  letter-spacing: -0.02em;
}

.landing-nav-wordmark span {
  color: var(--lp-accent-text);
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lp-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
  padding: 0.75rem 0.5rem;
}

.landing-nav-links a:hover {
  color: var(--lp-text-heading);
}

.landing-nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing-btn-ghost {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lp-text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.landing-btn-ghost:hover {
  color: var(--lp-text-heading);
  background: rgba(255, 255, 255, 0.06);
}

.landing-btn-primary {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  background: var(--lp-btn);
  transition: opacity 0.25s, transform 0.25s;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
}

.landing-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ---- SECTIONS ---- */
.landing-section {
  padding: 5rem 2rem;
}

.landing-section-alt {
  background: var(--lp-bg-alt);
}

.landing-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.landing-section-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--lp-accent-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.landing-section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--lp-text-heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 1rem;
}

.landing-section-desc {
  font-size: 1.05rem;
  color: var(--lp-text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 0;
}

/* ---- HERO ---- */
.landing-hero {
  padding: 10rem 2rem 8rem;
  position: relative;
  overflow: hidden;
  min-height: 580px;
}

/* Full-bleed image layer — positioned lower so terrain fills, hub upper-right */
.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/hero_001.jpg') 58% 38% / cover no-repeat;
  opacity: 0.72;
  z-index: 0;
}

/* Left-to-right bleed: solid dark where text lives, dissolves into raw image on the right */
.landing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #14161d 22%, rgba(20, 22, 29, 0.80) 38%, rgba(20, 22, 29, 0.20) 58%, transparent 78%),
    linear-gradient(to top, #14161d 0%, rgba(20, 22, 29, 0) 16%);
  z-index: 1;
}

.landing-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.landing-hero-content {
  max-width: 520px;
  animation: landingFadeInUp 0.8s ease-out;
}

.landing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--lp-accent-text);
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.landing-hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-accent);
  animation: landingPulse 2s ease-in-out infinite;
}

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

.landing-hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--lp-text-heading);
  margin-bottom: 1.25rem;
}

.landing-hero-accent {
  color: var(--lp-accent);
}

.landing-hero-sub {
  font-size: 1.1rem;
  color: var(--lp-text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.landing-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.landing-btn-hero-primary {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  background: var(--lp-btn);
  transition: opacity 0.3s, transform 0.3s;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.landing-btn-hero-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.landing-btn-hero-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.landing-btn-hero-secondary {
  font-size: 1rem;
  font-weight: 500;
  color: var(--lp-text-secondary);
  text-decoration: none;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--lp-border);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.landing-btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--lp-border-hover);
  color: var(--lp-text-heading);
}

.landing-hero-credibility {
  font-size: 0.8rem;
  color: var(--lp-text-dim);
  font-style: italic;
  margin: 0;
}

/* Hero visual */
.landing-hero-visual {
  animation: landingPreviewEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

/* ---- TICKET COMPARISON (hero visual) ---- */
.landing-ticket-comparison {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.landing-tc-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.landing-tc-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 0.25rem;
}

.landing-tc-label.before-label {
  color: var(--lp-text-dim);
}

.landing-tc-label.after-label {
  color: var(--lp-accent);
}

.landing-tc-card {
  border-radius: 8px;
  border: 1px solid var(--lp-border);
  background: var(--lp-card);
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.landing-tc-card.before-card {
  opacity: 0.55;
}

.landing-tc-card.after-card {
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow: 0 0 36px rgba(96, 165, 250, 0.10), 0 16px 48px rgba(0, 0, 0, 0.55);
}

.landing-tc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--lp-border);
}

.tc-ticket-id {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--lp-text-secondary);
  font-family: 'IBM Plex Sans', sans-serif;
}

.tc-status {
  font-size: 0.58rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.tc-status.open {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.tc-status.resolved {
  background: rgba(52, 211, 153, 0.1);
  color: var(--lp-success);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.landing-tc-subject {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--lp-text-heading);
  line-height: 1.4;
}

.landing-tc-notes-heading {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--lp-text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-tc-notes {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.landing-tc-notes.before-notes {
  padding: 0.6rem 0.75rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 0.65rem;
  color: var(--lp-text-dim);
  font-style: italic;
  min-height: 80px;
  align-items: flex-start;
  justify-content: flex-start;
}

.tc-note {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 0.62rem;
  color: var(--lp-text-secondary);
  line-height: 1.5;
  animation: tcNoteIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(1.2s + var(--note-i, 0) * 0.55s);
  opacity: 0;
}

@keyframes tcNoteIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tc-note.resolution-note {
  margin-top: 0.15rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--lp-border);
}

.tc-time {
  font-size: 0.55rem;
  color: var(--lp-text-dim);
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
  min-width: 28px;
}

.tc-check {
  color: var(--lp-success);
  flex-shrink: 0;
  font-size: 0.6rem;
}

.tc-resolution-tag {
  font-size: 0.52rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(96, 165, 250, 0.12);
  color: var(--lp-accent-text);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.landing-tc-footer {
  font-size: 0.58rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--lp-border);
  line-height: 1.4;
}

.landing-tc-footer.before-footer {
  color: var(--lp-text-dim);
}

.landing-tc-footer.after-footer {
  color: var(--lp-accent-text);
  font-weight: 500;
}

.landing-tc-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  padding-top: 1.4rem;
  color: var(--lp-text-dim);
}

.landing-tc-divider svg {
  width: 14px;
  height: 14px;
}

/* ---- MOCK ELEMENTS ---- */
.landing-mock-session {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.landing-mock-session.compact {
  gap: 0.35rem;
}

.landing-mock-chat-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.65rem;
  font-family: 'IBM Plex Sans', sans-serif;
  padding: 6px 10px;
  border-radius: 6px;
}

.landing-mock-chat-line.user {
  background: rgba(255, 255, 255, 0.03);
}

.landing-mock-chat-line.ai {
  background: var(--lp-accent-soft);
}

.landing-mock-chat-line.doc {
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.1);
}

.landing-mock-chat-line .label {
  font-weight: 700;
  min-width: 52px;
  flex-shrink: 0;
  color: var(--lp-text-dim);
}

.landing-mock-chat-line.ai .label {
  color: var(--lp-accent);
}

.landing-mock-chat-line.doc .label {
  color: var(--lp-success);
}

.landing-mock-chat-line .text {
  color: var(--lp-text-secondary);
  overflow-wrap: anywhere;
  min-width: 0;
}

.landing-mock-chat-line code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--lp-accent-text);
}

/* Mock input */
.landing-mock-input {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  font-size: 0.7rem;
  color: var(--lp-text-secondary);
  line-height: 1.5;
  width: 100%;
}

.landing-mock-input-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: -1px;
}

/* Mock ticket */
.landing-mock-ticket {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.landing-mock-ticket-header {
  font-size: 0.65rem;
  color: var(--lp-accent-text);
  font-weight: 700;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--lp-border);
  margin-bottom: 0.15rem;
}

.landing-mock-ticket-line {
  font-size: 0.6rem;
  color: var(--lp-text-secondary);
  display: flex;
  gap: 6px;
}

.landing-mock-ticket-line .time {
  color: var(--lp-text-dim);
  min-width: 30px;
}

.landing-mock-ticket-line .check {
  color: var(--lp-success);
}

/* ---- PROBLEM SECTION (asymmetric) ---- */
.landing-problem-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: start;
}

.landing-problem-headline h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--lp-text-heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.landing-problem-headline > p {
  font-size: 1rem;
  color: var(--lp-text-secondary);
  line-height: 1.7;
}

.landing-problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.landing-problem-card {
  padding: 1.25rem;
  border-radius: 8px;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  transition: border-color 0.3s;
}

.landing-problem-card:hover {
  border-color: var(--lp-border-hover);
}

.landing-problem-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.landing-problem-icon.red {
  background: rgba(248, 113, 113, 0.1);
  color: var(--lp-danger);
}

.landing-problem-icon.amber {
  background: rgba(251, 191, 36, 0.1);
  color: var(--lp-warning);
}

.landing-problem-icon.slate {
  background: rgba(145, 152, 168, 0.1);
  color: var(--lp-text-secondary);
}

.landing-problem-icon.violet {
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
}

.landing-problem-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lp-text-heading);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.landing-problem-card p {
  font-size: 0.8rem;
  color: var(--lp-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ---- EQUATION ---- */
.landing-equation-section {
  text-align: center;
  padding: 4rem 2rem;
}

.landing-equation-inner {
  max-width: 900px;
  margin: 0 auto;
}

.landing-brand-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.25rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.landing-eq-item {
  padding: 0.4rem 1rem;
  border-radius: 8px;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  color: var(--lp-text-heading);
}

.landing-eq-operator {
  color: var(--lp-accent);
  font-size: 1.5em;
}

.landing-eq-result {
  color: var(--lp-accent-text);
}

.landing-equation-desc {
  font-size: 1.05rem;
  color: var(--lp-text-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- HOW IT WORKS (zigzag) ---- */
.landing-zigzag {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.landing-zigzag-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.landing-zigzag-step.reverse {
  direction: rtl;
}

.landing-zigzag-step.reverse > * {
  direction: ltr;
}

.landing-zigzag-number {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lp-accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.landing-zigzag-text h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lp-text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.landing-zigzag-text p {
  font-size: 0.95rem;
  color: var(--lp-text-secondary);
  line-height: 1.7;
  margin: 0;
}

.landing-zigzag-visual {
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
}

.landing-section-alt .landing-zigzag-visual {
  background: var(--lp-bg-alt);
}

/* ---- FEATURES ---- */
.landing-feature-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 8px;
  background: var(--lp-accent-soft);
  border: 1px solid rgba(96, 165, 250, 0.15);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.landing-feature-highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-accent);
  flex-shrink: 0;
}

.landing-feature-highlight-content h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lp-text-heading);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.landing-feature-highlight-content p {
  font-size: 0.95rem;
  color: var(--lp-text-secondary);
  line-height: 1.65;
  margin: 0;
}

.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.landing-feature-card {
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  transition: border-color 0.3s;
}

.landing-feature-card:hover {
  border-color: var(--lp-border-hover);
}

.landing-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--lp-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--lp-accent-text);
}

.landing-feature-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--lp-text-heading);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.landing-feature-card p {
  font-size: 0.85rem;
  color: var(--lp-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 5 cards: 3 + 2 bottom row centered */
.landing-features-grid .landing-feature-card:nth-child(4) {
  grid-column: 1 / 2;
}

.landing-features-grid .landing-feature-card:nth-child(5) {
  grid-column: 2 / 3;
}

/* ---- PRICING ---- */
.landing-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}

.landing-pricing-card {
  padding: 2rem 1.75rem;
  border-radius: 8px;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  transition: border-color 0.3s;
}

.landing-pricing-card:hover {
  border-color: var(--lp-border-hover);
}

.landing-pricing-card.featured {
  border-color: var(--lp-accent);
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 0 0 1px var(--lp-accent), 0 8px 32px rgba(96, 165, 250, 0.08);
}

.landing-pricing-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border-radius: 100px;
  background: var(--lp-accent);
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.landing-pricing-plan-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lp-text-heading);
  margin-bottom: 0.35rem;
}

.landing-pricing-target {
  font-size: 0.8rem;
  color: var(--lp-text-dim);
  margin-bottom: 1.25rem;
}

.landing-pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 0.2rem;
}

.landing-pricing-price .amount {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lp-text-heading);
  letter-spacing: -0.04em;
}

.landing-pricing-card.featured .landing-pricing-price .amount {
  color: var(--lp-accent-text);
}

.landing-pricing-price .period {
  font-size: 0.85rem;
  color: var(--lp-text-dim);
}

.landing-pricing-note {
  font-size: 0.75rem;
  color: var(--lp-text-dim);
  margin-bottom: 1.5rem;
}

.landing-pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  padding: 0;
}

.landing-pricing-features li {
  font-size: 0.85rem;
  color: var(--lp-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.landing-pricing-features li::before {
  content: '\2713';
  color: var(--lp-accent);
  font-weight: 700;
  font-size: 0.75rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.landing-pricing-btn {
  display: block;
  text-align: center;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
  width: 100%;
}

.landing-pricing-btn.outline {
  color: var(--lp-text-heading);
  border: 1px solid var(--lp-border);
  background: transparent;
}

.landing-pricing-btn.outline:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--lp-border-hover);
}

.landing-pricing-btn.filled {
  color: #fff;
  background: var(--lp-btn);
  border: none;
}

.landing-pricing-btn.filled:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.landing-pricing-session-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--lp-text-dim);
  font-style: italic;
}

.landing-pricing-enterprise {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--lp-text-dim);
}

.landing-pricing-enterprise a {
  color: var(--lp-accent-text);
  text-decoration: none;
}

.landing-pricing-enterprise a:hover {
  text-decoration: underline;
}

/* ---- FAQ ---- */
.landing-faq-list {
  max-width: 680px;
  margin-top: 2rem;
}

.landing-faq-item {
  border-bottom: 1px solid var(--lp-border);
}

.landing-faq-item:first-child {
  border-top: 1px solid var(--lp-border);
}

.landing-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--lp-text-heading);
  gap: 1rem;
  transition: color 0.2s;
}

.landing-faq-trigger:hover {
  color: var(--lp-accent-text);
}

.landing-faq-icon {
  font-size: 1.25rem;
  color: var(--lp-text-dim);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  transition: color 0.2s;
}

.landing-faq-item.open .landing-faq-icon {
  color: var(--lp-accent);
}

/* Smooth height animation via grid-template-rows */
.landing-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.landing-faq-item.open .landing-faq-answer {
  grid-template-rows: 1fr;
}

.landing-faq-answer > p {
  overflow: hidden;
  margin: 0;
  font-size: 0.9rem;
  color: var(--lp-text-secondary);
  line-height: 1.7;
  padding: 0 0 1.25rem;
}

/* ---- FOUNDER ---- */
.landing-founder-section {
  padding: 4rem 2rem;
}

.landing-founder-inner {
  max-width: 640px;
  margin: 0 auto;
}

.landing-founder-section blockquote {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--lp-text-body);
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--lp-accent);
}

.landing-founder-name {
  font-size: 0.85rem;
  color: var(--lp-text-dim);
  padding-left: 1.25rem;
}

/* ---- CTA ---- */
.landing-cta-section {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--lp-bg-alt);
}

.landing-cta-inner {
  max-width: 520px;
  margin: 0 auto;
}

.landing-cta-section h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--lp-text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.landing-cta-section h2 + p {
  font-size: 1rem;
  color: var(--lp-text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.landing-cta-email-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.landing-cta-input-wrap {
  display: flex;
  gap: 0.75rem;
}

.landing-cta-email-input {
  flex: 1;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--lp-border);
  background: var(--lp-card);
  color: var(--lp-text-heading);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.landing-cta-email-input::placeholder {
  color: var(--lp-text-dim);
}

.landing-cta-email-input:focus {
  border-color: var(--lp-accent);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.landing-cta-status {
  min-height: 1.5rem;
  margin-top: 0.5rem;
}

.landing-cta-success {
  font-size: 0.85rem;
  color: var(--lp-success);
  margin: 0;
}

.landing-cta-error {
  font-size: 0.85rem;
  color: var(--lp-danger);
  margin: 0;
}

.landing-cta-fine-print {
  font-size: 0.7rem;
  color: var(--lp-text-dim);
  margin-top: 0.75rem;
}

/* ---- FOOTER ---- */
.landing-footer {
  border-top: 1px solid var(--lp-border);
  padding: 2.5rem 2rem;
}

.landing-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.landing-footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.landing-footer-copy {
  font-size: 0.75rem;
  color: var(--lp-text-dim);
}

.landing-footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-footer-links a {
  font-size: 0.75rem;
  color: var(--lp-text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.landing-footer-links a:hover {
  color: var(--lp-text-secondary);
}

/* ---- ANIMATIONS ---- */
@keyframes landingFadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes landingPreviewEntrance {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}


/* ---- SCROLL REVEAL ---- */
.landing-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.landing-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Scroll-driven enhancements ---- */
@supports (animation-timeline: scroll()) {
  .landing-reveal {
    opacity: 0;
    transform: translateY(32px);
    animation: landingScrollReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
    transition: none;
  }

  .landing-reveal.visible {
    /* scroll-driven handles it */
  }

  @keyframes landingScrollReveal {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .landing-problem-card {
    opacity: 0;
    transform: translateY(16px);
    animation: landingScrollReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }

  .landing-problem-card:nth-child(1) { animation-range: entry 0% entry 35%; }
  .landing-problem-card:nth-child(2) { animation-range: entry 5% entry 40%; }
  .landing-problem-card:nth-child(3) { animation-range: entry 10% entry 45%; }
  .landing-problem-card:nth-child(4) { animation-range: entry 15% entry 50%; }

  .landing-feature-card {
    opacity: 0;
    transform: translateY(16px);
    animation: landingScrollReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }

  .landing-feature-card:nth-child(1) { animation-range: entry 0% entry 30%; }
  .landing-feature-card:nth-child(2) { animation-range: entry 3% entry 33%; }
  .landing-feature-card:nth-child(3) { animation-range: entry 6% entry 36%; }
  .landing-feature-card:nth-child(4) { animation-range: entry 9% entry 39%; }
  .landing-feature-card:nth-child(5) { animation-range: entry 12% entry 42%; }

  .landing-pricing-card {
    opacity: 0;
    transform: translateY(16px);
    animation: landingScrollReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }

  .landing-pricing-card:nth-child(1) { animation-range: entry 0% entry 30%; }
  .landing-pricing-card:nth-child(2) { animation-range: entry 5% entry 35%; }
  .landing-pricing-card:nth-child(3) { animation-range: entry 10% entry 40%; }

  .landing-zigzag-step {
    opacity: 0;
    transform: translateY(20px);
    animation: landingScrollReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

/* ---- HAMBURGER ---- */
.landing-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.landing-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--lp-text-secondary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.landing-hamburger:hover span {
  background: var(--lp-text-heading);
}

.landing-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.landing-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.landing-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- MOBILE MENU ---- */
.landing-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 1.5rem 1.5rem;
  background: rgba(20, 22, 29, 0.98);
  border-bottom: 1px solid var(--lp-border);
}

.landing-mobile-menu a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--lp-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.landing-mobile-menu a:hover {
  color: var(--lp-text-heading);
}

.landing-mobile-menu a:last-child {
  border-bottom: none;
}

.landing-mobile-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.5rem 0;
}

.landing-mobile-menu .landing-btn-primary {
  margin-top: 0.5rem;
  display: block;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .landing-section {
    padding: 3.5rem 1.25rem;
  }

  .landing-hero {
    padding: 7rem 1.25rem 3rem;
  }

  .landing-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .landing-hero h1 {
    font-size: 2.25rem;
  }

  .landing-hero-sub {
    max-width: 100%;
  }

  .landing-hero-actions {
    flex-wrap: wrap;
  }

  .landing-problem-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .landing-problem-grid {
    grid-template-columns: 1fr;
  }

  .landing-zigzag {
    padding: 0 1.25rem;
  }

  .landing-zigzag-step,
  .landing-zigzag-step.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 1.5rem;
  }

  .landing-zigzag-step.reverse > * {
    direction: ltr;
  }

  .landing-zigzag-visual {
    order: 2;
  }

  .landing-features-grid {
    grid-template-columns: 1fr;
  }

  .landing-features-grid .landing-feature-card:nth-child(4),
  .landing-features-grid .landing-feature-card:nth-child(5) {
    grid-column: auto;
  }

  .landing-feature-highlight {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  .landing-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .landing-pricing-card.featured {
    order: -1;
  }

  .landing-nav-links {
    display: none;
  }

  .landing-nav-cta {
    display: none;
  }

  .landing-hamburger {
    display: flex;
  }

  .landing-mobile-menu {
    display: flex;
  }

  .landing-equation-section {
    padding: 3rem 1.25rem;
  }

  .landing-brand-equation {
    font-size: 1.1rem;
    gap: 0.4rem;
  }

  .landing-eq-item {
    padding: 0.3rem 0.6rem;
  }

  .landing-founder-section {
    padding: 3rem 1.25rem;
  }

  .landing-cta-section {
    padding: 3.5rem 1.25rem;
  }

  .landing-cta-input-wrap {
    flex-direction: column;
  }

  .landing-faq-trigger {
    font-size: 0.9rem;
    padding: 1rem 0;
  }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  .landing-hero-visual,
  .landing-hero-content {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .tc-note {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .landing-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .landing-faq-answer {
    transition: none;
  }
}
