@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

html {
  color-scheme: dark;
  background: #07090f;
}

:root {
  --lp-bg: #0a0c10;
  --lp-bg2: #12151c;
  --lp-surface: #181c24;
  --lp-surface2: #222830;
  --lp-border: rgba(148, 163, 184, 0.16);
  --lp-text: #f1f5f9;
  --lp-muted: #9ca3af;
  --lp-grey: #6b7280;
  --lp-blue: #3b82f6;
  --lp-teal: #14b8a6;
  --lp-orange: #f97316;
  --lp-green: #22c55e;
  --lp-red: #ef4444;
  --lp-radius: 14px;
  --lp-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lp-gradient: linear-gradient(135deg, #3b82f6 0%, #14b8a6 100%);
  --lp-header-bg: rgba(10, 12, 16, 0.92);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body.landing {
  font-family: var(--lp-font);
  background: var(--lp-bg);
  color: var(--lp-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.landing-v2.auth-page,
.landing-v2.checkout-page,
.landing-v2.account-page {
  position: relative;
  overflow-x: hidden;
}

.landing-v2.auth-page .landing-header,
.landing-v2.auth-page .auth-main,
.landing-v2.auth-page .landing-footer,
.landing-v2.checkout-page .landing-header,
.landing-v2.checkout-page .checkout-main,
.landing-v2.checkout-page .checkout-status,
.landing-v2.checkout-page .landing-footer,
.landing-v2.account-page .landing-header,
.landing-v2.account-page .account-main,
.landing-v2.account-page .landing-footer {
  position: relative;
  z-index: 1;
}

.landing-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.2);
  background: var(--lp-header-bg);
  border-bottom: 1px solid var(--lp-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--lp-text);
  font-weight: 600;
  font-size: 1rem;
}

.landing-logo {
  width: auto;
  height: 46px;
  max-width: min(300px, 78vw);
  border-radius: 0;
  object-fit: contain;
  display: block;
}

.landing-brand-wordmark {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.landing-brand-main {
  color: #f8fafc;
}

.landing-brand-accent {
  background: linear-gradient(135deg, #60a5fa 0%, #2dd4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-brand--logo .landing-brand-text {
  display: none;
}

.landing-footer-logo {
  height: 40px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}

.landing-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lp-blue), var(--lp-teal));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.landing-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lp-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s, box-shadow 0.15s;
}

.landing-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  flex-shrink: 0;
}

.landing-nav-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.landing-nav-icon--blue {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.16);
}

.landing-nav-icon--amber {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.16);
}

.landing-nav-icon--teal {
  color: #5eead4;
  background: rgba(20, 184, 166, 0.16);
}

.landing-nav-link:hover .landing-nav-icon--blue,
.landing-nav-link.active .landing-nav-icon--blue {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.28);
}

.landing-nav-link:hover .landing-nav-icon--amber,
.landing-nav-link.active .landing-nav-icon--amber {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.28);
}

.landing-nav-link:hover .landing-nav-icon--teal,
.landing-nav-link.active .landing-nav-icon--teal {
  color: #99f6e4;
  background: rgba(20, 184, 166, 0.28);
}

.landing-nav-link:hover {
  color: var(--lp-text);
  background: rgba(59, 130, 246, 0.1);
}

.landing-nav-link.active {
  color: #fff;
  background: rgba(99, 102, 241, 0.25);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.35);
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--lp-border);
}

.landing-brand-text {
  font-weight: 600;
  font-size: 1rem;
}

.landing-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  background: var(--lp-surface);
  cursor: pointer;
}

.landing-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--lp-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.landing-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.landing-nav-toggle.open span:nth-child(2) { opacity: 0; }
.landing-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.landing-btn.outline {
  background: transparent;
  border: 1px solid var(--lp-border);
  color: var(--lp-text);
}

.landing-btn.outline:hover {
  border-color: var(--lp-blue);
  color: var(--lp-blue);
  background: rgba(77,156,246,0.08);
}

.landing-cta-register {
  margin-top: 36px;
  text-align: center;
  padding: 28px;
  border: 1px dashed var(--lp-border);
  border-radius: var(--lp-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.landing-cta-register p {
  color: var(--lp-muted);
  font-size: 0.92rem;
}

/* Auth pages */
.auth-page .auth-main,
.account-page .account-main {
  padding: 48px 0 64px;
  min-height: calc(100vh - 140px);
}

.auth-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 20px;
  padding: 32px 28px;
}

.auth-card h1 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.auth-sub {
  color: var(--lp-muted);
  font-size: 0.88rem;
  margin-bottom: 22px;
  line-height: 1.5;
}

.auth-form label,
.auth-form .checkout-form label {
  display: block;
  color: var(--lp-muted);
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.auth-form input {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg2);
  color: var(--lp-text);
  font-family: inherit;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--lp-blue);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.auth-error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #fca5a5;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 0.85rem;
}

.auth-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--lp-muted);
}

.auth-foot a {
  color: var(--lp-blue);
  text-decoration: none;
  font-weight: 600;
}

/* Account page */
.account-welcome {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: var(--lp-green);
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.account-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 24px;
}

.account-card h2 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.account-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.account-dl dt {
  color: var(--lp-muted);
}

.account-dl dd {
  margin: 0;
}

.account-muted {
  color: var(--lp-muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.account-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.account-badge.ok {
  background: rgba(74, 222, 128, 0.15);
  color: var(--lp-green);
}

.account-badge.pending {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.account-badge.err {
  background: rgba(248, 113, 113, 0.15);
  color: #fca5a5;
}

.account-subnav {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.account-subnav a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--lp-border);
  color: var(--lp-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

.account-subnav a.active,
.account-subnav a:hover {
  color: var(--lp-text);
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.08);
}

.account-notice {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.account-notice.ok {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: var(--lp-green);
}

.account-notice.err {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}

.account-usage-meters {
  display: grid;
  gap: 12px;
  margin: 14px 0 16px;
}

.usage-meter-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--lp-muted);
  margin-bottom: 6px;
}

.usage-meter-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.usage-meter-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lp-blue), var(--lp-teal));
  transition: width 0.25s ease;
}

.usage-meter.warn .usage-meter-fill {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.usage-meter.danger .usage-meter-fill {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.account-devices {
  margin-bottom: 28px;
}

.account-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.account-section-head h2 {
  margin: 0;
}

.account-device-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.account-device-item {
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
}

.account-device-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.account-device-id {
  font-size: 0.75rem;
  color: var(--lp-muted);
  font-family: ui-monospace, monospace;
}

.account-device-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--lp-muted);
}

.account-pair-form {
  margin-top: 8px;
}

.account-pair-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.account-pair-hint {
  margin-bottom: 10px !important;
}

.account-pair-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.account-pair-input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg2);
  color: var(--lp-text);
  font-family: ui-monospace, monospace;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-pair-input:focus {
  outline: none;
  border-color: var(--lp-blue);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.account-payments-table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}

.account-payments-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.account-payments-table th,
.account-payments-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--lp-border);
  text-align: left;
}

.account-payments-table th {
  color: var(--lp-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-order-id {
  font-size: 0.72rem;
  color: var(--lp-muted);
}

.account-payments-foot {
  margin-top: 8px;
}

.account-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.account-voice-prefs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.account-voice-prefs-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--lp-muted);
}

.account-voice-prefs-grid select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg2);
  color: var(--lp-text);
  font-family: inherit;
}

.account-voice-hue-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-voice-hue-row input[type="range"] {
  flex: 1;
}

.account-voice-hue-preview {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: hsl(var(--orb-preview-hue, 220), 72%, 58%);
  border: 1px solid var(--lp-border);
  flex-shrink: 0;
}

.account-voice-prefs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-logout {
  margin-top: 8px;
}

.account-packages {
  padding-top: 12px;
}

.landing-hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(77, 156, 246, 0.18), transparent),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(20, 184, 166, 0.12), transparent);
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.landing-eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(77, 156, 246, 0.12);
  color: var(--lp-blue);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.landing-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 16px;
}

.landing-hero h1 span {
  background: linear-gradient(135deg, var(--lp-blue), var(--lp-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-hero-copy p {
  color: var(--lp-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 28px;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, opacity 0.12s;
}

.landing-btn:hover { opacity: 0.95; transform: translateY(-1px); }
.landing-btn.primary {
  background: var(--lp-gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.28);
}
.landing-btn.ghost {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.22);
  color: var(--lp-text);
}
.landing-btn.full { width: 100%; }

.landing-orbit {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}

.landing-orbit-core {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--lp-blue), var(--lp-teal));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 0 60px rgba(77, 156, 246, 0.35);
}

.landing-orbit-item {
  position: absolute;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.landing-orbit-item.o1 { top: 8%; left: 10%; }
.landing-orbit-item.o2 { top: 18%; right: 0; }
.landing-orbit-item.o3 { bottom: 12%; left: 18%; }

.landing-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.landing-features {
  padding: 56px 0;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.landing-feature-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.landing-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0.9;
}
.f-blue::before { background: var(--lp-blue); }
.f-purple::before { background: var(--lp-teal); }
.f-teal::before { background: var(--lp-teal); }
.f-orange::before { background: var(--lp-orange); }

.landing-feature-icon { font-size: 1.5rem; margin-bottom: 10px; }
.landing-feature-card h3 { font-size: 0.95rem; margin-bottom: 6px; }
.landing-feature-card p { color: var(--lp-muted); font-size: 0.82rem; line-height: 1.55; }

.landing-pricing {
  padding: 56px 0 72px;
}

.landing-pricing-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}
.landing-pricing-head p { color: var(--lp-muted); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--lp-border);
  border-radius: 20px;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.pricing-card.featured {
  border-color: rgba(20, 184, 166, 0.45);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.2), 0 16px 40px rgba(59, 130, 246, 0.12);
  transform: scale(1.02);
}
.pricing-card.featured:hover { transform: scale(1.02) translateY(-4px); }

.pricing-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--lp-teal), var(--lp-blue));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-discount {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(248, 113, 113, 0.15);
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
}

.pricing-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.pricing-icon svg { width: 26px; height: 26px; }
.pricing-icon.sm { width: 40px; height: 40px; margin-bottom: 0; }
.pricing-icon.sm svg { width: 20px; height: 20px; }

.pkg-blue .pricing-icon { background: rgba(77, 156, 246, 0.15); color: var(--lp-blue); }
.pkg-purple .pricing-icon { background: rgba(20, 184, 166, 0.15); color: var(--lp-teal); }
.pkg-teal .pricing-icon { background: rgba(45, 212, 191, 0.15); color: var(--lp-teal); }
.pkg-orange .pricing-icon { background: rgba(251, 146, 60, 0.15); color: var(--lp-orange); }
.pkg-green .pricing-icon { background: rgba(74, 222, 128, 0.15); color: var(--lp-green); }
.pkg-red .pricing-icon { background: rgba(248, 113, 113, 0.15); color: var(--lp-red); }

.pricing-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-desc {
  color: var(--lp-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 14px;
  min-height: 2.5em;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.pricing-old {
  color: var(--lp-muted);
  text-decoration: line-through;
  font-size: 0.88rem;
}

.pricing-price {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-period {
  color: var(--lp-muted);
  font-size: 0.78rem;
}

.pricing-features {
  list-style: none;
  margin: 0 0 18px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--lp-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  padding: 5px 0;
}

.pricing-check {
  color: var(--lp-green);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-cta {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: opacity 0.12s, transform 0.12s;
}

.pkg-blue .pricing-cta { background: rgba(77, 156, 246, 0.18); color: var(--lp-blue); border: 1px solid rgba(77, 156, 246, 0.35); }
.pkg-purple .pricing-cta { background: rgba(20, 184, 166, 0.15); color: var(--lp-teal); border: 1px solid rgba(20, 184, 166, 0.35); }
.pkg-teal .pricing-cta { background: rgba(45, 212, 191, 0.18); color: var(--lp-teal); border: 1px solid rgba(45, 212, 191, 0.35); }
.pkg-orange .pricing-cta { background: rgba(251, 146, 60, 0.18); color: var(--lp-orange); border: 1px solid rgba(251, 146, 60, 0.35); }
.pkg-green .pricing-cta { background: rgba(74, 222, 128, 0.18); color: var(--lp-green); border: 1px solid rgba(74, 222, 128, 0.35); }
.pkg-red .pricing-cta { background: rgba(248, 113, 113, 0.18); color: var(--lp-red); border: 1px solid rgba(248, 113, 113, 0.35); }

.pricing-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.landing-empty {
  text-align: center;
  color: var(--lp-muted);
  padding: 40px;
  border: 1px dashed var(--lp-border);
  border-radius: var(--lp-radius);
}

.landing-chat-section {
  padding: 40px 0 56px;
}

.landing-chat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.landing-chat-usage {
  font-size: 0.82rem;
  color: var(--lp-muted);
  margin: 0;
}

.landing-chat-panel {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 20px;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}

.landing-chat-messages {
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(0, 0, 0, 0.15);
}

.landing-chat-msg.user {
  align-self: flex-end;
  max-width: 88%;
}

.landing-chat-msg.ai {
  align-self: flex-start;
  max-width: 88%;
}

.landing-chat-meta {
  display: block;
  font-size: 0.68rem;
  color: var(--lp-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.landing-chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.landing-chat-msg.user .landing-chat-bubble {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-bottom-right-radius: 4px;
}

.landing-chat-msg.ai .landing-chat-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lp-border);
  border-bottom-left-radius: 4px;
}

.landing-chat-bar {
  padding: 12px 14px;
  border-top: 1px solid var(--lp-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-chat-bar textarea {
  width: 100%;
  resize: vertical;
  min-height: 52px;
  max-height: 140px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg2);
  color: var(--lp-text);
  font-family: inherit;
  font-size: 0.92rem;
}

.landing-chat-bar textarea:focus {
  outline: none;
  border-color: var(--lp-blue);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.landing-chat-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.landing-chat-status {
  padding: 0 14px 12px;
  font-size: 0.78rem;
  color: var(--lp-muted);
  min-height: 1.2em;
  margin: 0;
}

.landing-chat-status.is-err {
  color: #fca5a5;
}

.landing-chat-status.is-busy {
  color: var(--lp-blue);
}

.landing-chat-locked {
  text-align: center;
  padding: 32px 20px;
  background: var(--lp-surface);
  border: 1px dashed var(--lp-border);
  border-radius: 20px;
  max-width: 520px;
  margin: 0 auto;
}

.landing-chat-locked p {
  color: var(--lp-muted);
  margin-bottom: 16px;
  line-height: 1.55;
}

.landing-chat-locked .landing-btn {
  margin: 4px;
}

.landing-footer {
  border-top: 1px solid var(--lp-border);
  padding: 48px 0 24px;
  margin-top: 24px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.25));
}

.landing-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.landing-footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 8px;
}

.landing-footer-brand p,
.landing-footer-col span {
  color: var(--lp-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.landing-footer-note {
  margin-top: 8px;
  font-size: 0.82rem !important;
}

.landing-footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lp-text);
  margin-bottom: 12px;
}

.landing-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-footer-col a {
  color: var(--lp-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}

.landing-footer-col a:hover { color: var(--lp-blue); }

.landing-footer-muted {
  font-size: 0.82rem;
  color: var(--lp-muted);
  opacity: 0.85;
}

.landing-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--lp-border);
  color: var(--lp-muted);
  font-size: 0.78rem;
}

.landing-btn.sm {
  padding: 8px 16px !important;
  font-size: 0.82rem !important;
}

.checkout-page .checkout-main { padding: 40px 0 64px; }

.checkout-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.checkout-form-panel {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 24px;
}

.checkout-form-panel h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.checkout-note, .checkout-form label {
  color: var(--lp-muted);
  font-size: 0.78rem;
  margin-bottom: 4px;
  display: block;
}

.checkout-form input {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg2);
  color: var(--lp-text);
  font-family: inherit;
}

.checkout-form input:focus {
  outline: none;
  border-color: var(--lp-blue);
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  margin: 8px 0 16px;
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

.checkout-total strong { font-size: 1.2rem; }

.checkout-error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #fca5a5;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 0.85rem;
}

.checkout-status {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.checkout-status-card {
  max-width: 460px;
  width: 100%;
  text-align: center;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 20px;
  padding: 36px 28px;
}

.checkout-status-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  font-weight: 700;
}

.checkout-status-card.ok .checkout-status-icon {
  background: rgba(74, 222, 128, 0.15);
  color: var(--lp-green);
}

.checkout-status-card.pending .checkout-status-icon {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.checkout-status-card.err .checkout-status-icon {
  background: rgba(248, 113, 113, 0.15);
  color: var(--lp-red);
}

.checkout-status-card h1 { font-size: 1.4rem; margin-bottom: 8px; }
.checkout-status-card p { color: var(--lp-muted); line-height: 1.55; margin-bottom: 18px; }
.checkout-status-meta { font-size: 0.78rem !important; }
.checkout-status-card .landing-btn { margin-top: 8px; }
.checkout-status-card .landing-btn.ghost { margin-left: 8px; }

@media (max-width: 900px) {
  .landing-hero-grid,
  .checkout-grid,
  .landing-feature-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 640px) {
  .landing-hero-grid,
  .checkout-grid,
  .landing-feature-grid { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .landing-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .landing-nav-toggle { display: flex; }
  .landing-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    background: rgba(7, 9, 15, 0.96);
    border-bottom: 1px solid var(--lp-border);
    backdrop-filter: blur(12px);
  }
  .landing-nav.open { display: flex; }
  .landing-header-inner { position: relative; }
  .landing-nav-actions {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    flex-direction: column;
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--lp-border);
  }
  .landing-nav-actions .landing-btn { width: 100%; text-align: center; }
  .steps-row { grid-template-columns: 1fr !important; }
  .landing-hero-stats { flex-direction: column; }
  .pricing-grid-compact { grid-template-columns: 1fr 1fr !important; }
}

/* —— Landing v2: robot & compact —— */
.landing-v2 { position: relative; overflow-x: hidden; }

.landing-bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% -10%, rgba(77, 156, 246, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(20, 184, 166, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(251, 146, 60, 0.08), transparent 50%);
}

.landing-v2 .landing-header,
.landing-v2 .landing-hero,
.landing-v2 .landing-steps,
.landing-v2 .landing-features,
.landing-v2 .landing-pricing,
.landing-v2 .landing-footer {
  position: relative;
  z-index: 1;
}

.landing-hero-v2 { padding: 56px 0 40px; }

.landing-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-stat {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lp-border);
  min-width: 90px;
}

.hero-stat strong {
  display: block;
  font-size: 0.95rem;
  color: var(--lp-blue);
  margin-bottom: 2px;
}

.hero-stat span {
  font-size: 0.72rem;
  color: var(--lp-muted);
}

.landing-section-sub {
  text-align: center;
  color: var(--lp-muted);
  max-width: 520px;
  margin: -8px auto 28px;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Hero robot scene */
.hero-robot-scene {
  position: relative;
  width: min(340px, 100%);
  margin: 0 auto;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.hero-robot-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 156, 246, 0.35), transparent 70%);
  filter: blur(8px);
  animation: robot-pulse 3s ease-in-out infinite;
}

@keyframes robot-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-robot {
  position: relative;
  width: 140px;
  z-index: 2;
  animation: robot-float 4s ease-in-out infinite;
}

@keyframes robot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-robot-antenna {
  width: 4px;
  height: 18px;
  background: linear-gradient(var(--lp-orange), var(--lp-blue));
  margin: 0 auto;
  border-radius: 4px;
  position: relative;
}

.hero-robot-antenna::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lp-orange);
  box-shadow: 0 0 12px var(--lp-orange);
}

.hero-robot-head {
  width: 100px;
  height: 72px;
  margin: 0 auto;
  background: linear-gradient(145deg, #1e2838, #141a24);
  border: 2px solid rgba(77, 156, 246, 0.35);
  border-radius: 20px;
  position: relative;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.hero-robot-eye {
  position: absolute;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lp-blue);
  box-shadow: 0 0 10px var(--lp-blue);
  animation: robot-blink 4s step-end infinite;
}

.hero-robot-eye.left { left: 22px; }
.hero-robot-eye.right { right: 22px; }

@keyframes robot-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  94% { transform: scaleY(0.1); }
}

.hero-robot-smile {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 12px;
  border-bottom: 3px solid var(--lp-teal);
  border-radius: 0 0 14px 14px;
}

.hero-robot-body {
  width: 80px;
  height: 64px;
  margin: 8px auto 0;
  background: linear-gradient(180deg, #243044, #161a22);
  border: 2px solid var(--lp-border);
  border-radius: 14px;
  display: grid;
  place-items: center;
  position: relative;
}

.hero-robot-core {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--lp-teal);
  letter-spacing: 0.08em;
}

.hero-robot-arm {
  position: absolute;
  top: 88px;
  width: 12px;
  height: 40px;
  background: #243044;
  border-radius: 8px;
  border: 1px solid var(--lp-border);
}

.hero-robot-arm.left { left: -8px; transform: rotate(15deg); }
.hero-robot-arm.right { right: -8px; transform: rotate(-15deg); }

.hero-robot-base {
  width: 100px;
  height: 12px;
  margin: 6px auto 0;
  background: #1a2030;
  border-radius: 0 0 20px 20px;
  border: 1px solid var(--lp-border);
}

.hero-float-chip {
  position: absolute;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  animation: chip-float 5s ease-in-out infinite;
}

.hero-float-chip.c1 { top: 12%; left: 0; color: var(--lp-blue); animation-delay: 0s; }
.hero-float-chip.c2 { top: 40%; right: -4%; color: var(--lp-green); animation-delay: 1s; }
.hero-float-chip.c3 { bottom: 18%; left: 8%; color: var(--lp-green); animation-delay: 2s; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Steps */
.landing-steps {
  padding: 0 0 32px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step-card {
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--lp-border);
  text-align: center;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-blue), var(--lp-teal));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.78rem;
  color: var(--lp-muted);
  line-height: 1.45;
}

.landing-features-v2 { padding-top: 24px; }

.landing-pricing-v2 { padding-top: 16px; }

/* Compact pricing cards */
.pricing-grid-compact {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pricing-card.mini {
  padding: 16px 14px 14px;
  border-radius: 14px;
}

.pricing-card.mini .pricing-name {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.pricing-card.mini .pricing-desc-mini {
  font-size: 0.72rem;
  min-height: auto;
  margin-bottom: 10px;
  line-height: 1.4;
}

.pricing-card.mini .pricing-price {
  font-size: 1.35rem;
}

.pricing-card.mini .pricing-price-wrap {
  margin-bottom: 10px;
}

.pricing-card.mini .pricing-features {
  margin-bottom: 12px;
}

.pricing-card.mini .pricing-features li {
  font-size: 0.72rem;
  padding: 3px 0;
}

.pricing-card.mini .pricing-cta {
  padding: 9px 12px;
  font-size: 0.78rem;
  border-radius: 10px;
}

.pricing-card.mini.featured {
  transform: none;
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.25);
}

.pricing-card.mini.featured:hover {
  transform: translateY(-3px);
}

.pricing-card.mini .pricing-badge {
  font-size: 0.62rem;
  padding: 3px 10px;
  top: -9px;
}

.pricing-card.mini .pricing-discount {
  top: 10px;
  right: 10px;
  font-size: 0.65rem;
  padding: 3px 6px;
}

/* Auth captcha & package pill */
.auth-captcha {
  margin: 14px 0 16px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(251, 146, 60, 0.08);
  border: 1px solid rgba(251, 146, 60, 0.25);
}

.auth-captcha label {
  display: block;
  margin-bottom: 8px;
  color: var(--lp-text);
  font-size: 0.88rem;
}

.auth-captcha label strong {
  color: var(--lp-orange);
  font-size: 1rem;
}

.auth-captcha input {
  width: 100%;
  margin-bottom: 0;
}

.auth-captcha-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--lp-muted);
}

.auth-package-pill {
  padding: 10px 12px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: rgba(77, 156, 246, 0.1);
  border: 1px solid rgba(77, 156, 246, 0.25);
  font-size: 0.85rem;
  color: var(--lp-muted);
}

.auth-package-pill strong { color: var(--lp-blue); }

@media (max-width: 1024px) {
  .pricing-grid-compact { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .landing-hero-grid { grid-template-columns: 1fr; }
  .hero-robot-scene { margin-top: 20px; }
  .steps-row { grid-template-columns: 1fr; }
}

/* —— Header slider (fixed height) —— */
.landing-slider {
  position: relative;
  height: var(--slider-h, 280px);
  overflow: hidden;
  border-bottom: 1px solid var(--lp-border);
  z-index: 1;
}

.landing-slider-track {
  position: relative;
  height: 100%;
}

.landing-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.landing-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.landing-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.4s ease, opacity 0.6s ease;
}

.landing-slide.active .landing-slide-bg {
  filter: brightness(1.04);
}

.landing-slide-gradient {
  background: var(--lp-gradient);
  opacity: 0.85;
}

.landing-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 5, 10, 0.82) 0%, rgba(4, 5, 10, 0.35) 55%, rgba(4, 5, 10, 0.15) 100%);
}

/* —— Slider shine sweep (left → right) —— */
.landing-slide-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.landing-slide-shine::before {
  content: '';
  position: absolute;
  top: -15%;
  bottom: -15%;
  left: -50%;
  width: 38%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 26%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.06) 74%,
    transparent 100%
  );
  transform: skewX(var(--shine-skew, -18deg));
  opacity: 0;
  will-change: left, opacity;
}

.landing-slide-shine.is-sweeping::before {
  animation: landingShineSweep var(--shine-duration, 0.55s) ease-in forwards;
}

@keyframes landingShineSweep {
  0% {
    left: -50%;
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  94% {
    opacity: 1;
  }
  100% {
    left: 110%;
    opacity: 0;
  }
}

.landing-slide-shine.is-sweeping ~ .landing-slide-overlay,
.landing-slide.active:has(.landing-slide-shine.is-sweeping) .landing-slide-overlay {
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.landing-slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  max-width: 560px;
}

.landing-slide-content h2 {
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  line-height: 1.2;
}

.landing-slide-content p {
  color: var(--lp-muted);
  font-size: 0.92rem;
  max-width: 480px;
}

.landing-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.landing-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.landing-slider-dot.active {
  background: #fff;
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .landing-slide-shine.is-sweeping::before {
    animation: none !important;
  }
}

/* —— Auth popup modals (compact) —— */
body.modal-open { overflow: hidden; }

.auth-modal-root {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 500;
}

.auth-modal-root.is-open {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.75);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.auth-modal {
  position: relative;
  z-index: 1;
  display: none;
  width: 100%;
  max-width: 400px;
  pointer-events: none;
}

.auth-modal:not([hidden]) {
  display: block;
  pointer-events: auto;
}

.auth-modal-panel-compact {
  width: 100%;
  max-height: none;
  overflow: visible;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  position: relative;
  animation: modalIn 0.18s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.auth-modal-panel-compact h2 {
  font-size: 1.15rem;
  margin-bottom: 2px;
  padding-right: 32px;
  color: var(--lp-text);
}

.auth-modal-sub {
  color: var(--lp-grey);
  font-size: 0.75rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.auth-form-compact .auth-field {
  margin-bottom: 8px;
}

.auth-form-compact label {
  font-size: 0.7rem;
  margin-bottom: 3px;
  color: var(--lp-grey);
}

.auth-form-compact input {
  margin-bottom: 0;
  padding: 8px 10px;
  font-size: 0.84rem;
  border-radius: 8px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg2);
}

.auth-form-compact input:focus {
  border-color: var(--lp-blue);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.18);
}

.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.auth-captcha-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.22);
}

.auth-captcha-compact label {
  margin: 0;
  font-size: 0.72rem;
  white-space: nowrap;
  color: var(--lp-muted);
}

.auth-captcha-compact label strong {
  color: var(--lp-orange);
  font-size: 0.85rem;
}

.auth-captcha-compact input {
  flex: 1;
  min-width: 0;
  max-width: 72px;
  text-align: center;
  padding: 6px 8px !important;
}

.auth-foot-compact {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--lp-grey);
}

.auth-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  background: var(--lp-bg2);
  color: var(--lp-grey);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.auth-modal-close:hover {
  color: var(--lp-text);
  border-color: var(--lp-blue);
  background: rgba(59, 130, 246, 0.08);
}

.auth-modal-error {
  padding: 8px 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  font-size: 0.78rem;
}

.auth-inline-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--lp-blue);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}

.auth-inline-link:hover { color: var(--lp-green); }

.auth-modal-panel-compact .auth-package-pill {
  margin-bottom: 10px;
  padding: 6px 10px;
  font-size: 0.75rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.auth-modal-panel-compact .auth-package-pill strong {
  color: var(--lp-blue);
}

.auth-modal-panel-compact .landing-btn.sm {
  padding: 9px 14px;
  font-size: 0.82rem;
  margin-top: 2px;
}

@media (max-width: 420px) {
  .auth-form-row { grid-template-columns: 1fr; }
  .auth-modal-root.is-open { padding: 10px; align-items: flex-end; }
  .auth-modal-panel-compact { border-radius: 16px 16px 0 0; }
}

.pricing-cta[type="button"] {
  width: 100%;
  font-family: inherit;
}
