/**
 * Astemari Landing: Premium SaaS redesign
 * Minimal · Professional · Handcrafted
 */

@import url('tokens.css');
@import url('light-polish.css');

/* Lucide icons — local bundle via assets/vendor/lucide/lucide.min.js */
.landing-page i[data-lucide] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 0;
}

.landing-page i[data-lucide] svg,
.landing-page svg.lucide {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

:root {
  --lp-primary: #f1a512;
  --lp-primary-hover: #d89410;
  --lp-primary-soft: #fef8eb;
  --lp-success: #10b981;
  --lp-success-soft: #ecfdf5;
  --lp-bg: #ffffff;
  --lp-bg-subtle: #f8fafc;
  --lp-bg-muted: #f1f5f9;
  --lp-text: #0f172a;
  --lp-text-secondary: #334155;
  --lp-text-muted: #475569;
  --lp-border: #e2e8f0;
  --lp-border-light: #f1f5f9;
  --lp-radius: 12px;
  --lp-radius-lg: 20px;
  --lp-radius-xl: 28px;
  --lp-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --lp-shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --lp-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.05);
  --lp-container: 1140px;
  --lp-nav-height: 72px;
  --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lp-font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body.landing-page {
  margin: 0;
  font-family: var(--lp-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--lp-text);
  background: var(--lp-bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--lp-primary); text-decoration: none; }
a:hover { color: var(--lp-primary-hover); }

.lp-container {
  width: min(100% - 2rem, var(--lp-container));
  margin-inline: auto;
}

/* ── Navigation ── */
.lp-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--lp-nav-height);
  transition: background 0.3s var(--lp-ease), box-shadow 0.3s var(--lp-ease), border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.lp-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--lp-border);
  box-shadow: var(--lp-shadow-sm);
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--lp-text);
}

.lp-brand img { border-radius: 10px; }

.lp-nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.lp-nav-desktop a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--lp-text-secondary);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.lp-nav-desktop a [data-lucide],
.lp-nav-desktop a svg {
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

.lp-nav-desktop a:hover,
.lp-nav-desktop a.active {
  color: var(--lp-text);
  background: var(--lp-bg-muted);
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lp-nav-auth-group {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lp-nav-auth-group .lp-btn {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.lp-nav-auth-group .lp-btn:hover {
  transform: none;
}

.lp-nav-auth-group .lp-btn + .lp-btn {
  border-left: 1px solid rgba(203, 213, 225, 0.85);
}

.lp-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  background: var(--lp-bg);
  color: var(--lp-text);
  cursor: pointer;
}

.lp-menu-toggle [data-lucide],
.lp-menu-toggle svg {
  width: 22px;
  height: 22px;
}

.lp-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  background: var(--lp-bg);
  border-top: 1px solid var(--lp-border);
  max-height: calc(100dvh - var(--lp-nav-height, 64px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.lp-mobile-menu.open { display: flex; }

.lp-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.5rem;
  font-weight: 500;
  color: var(--lp-text-secondary);
  border-bottom: 1px solid var(--lp-border-light);
}

.lp-mobile-menu a [data-lucide],
.lp-mobile-menu a svg {
  width: 18px;
  height: 18px;
  color: var(--lp-primary);
}

.lp-mobile-menu .lp-mobile-cta {
  margin-top: 0.5rem;
  text-align: center;
  background: var(--lp-primary);
  color: #fff !important;
  border-radius: 10px;
  border: none;
}

@media (min-width: 992px) {
  .lp-nav-desktop { display: flex; }
  .lp-menu-toggle { display: none; }
  .lp-mobile-menu { display: none !important; }
}

/* ── Buttons ── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--lp-ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:active { transform: translateY(0); }
.lp-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.lp-btn-primary {
  background: var(--lp-primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(var(--brand-primary-rgb, 241, 165, 18), 0.2);
}
.lp-btn-primary:hover { background: var(--lp-primary-hover); color: #fff; box-shadow: 0 8px 20px rgba(var(--brand-primary-rgb, 241, 165, 18), 0.25); }

.lp-btn-secondary {
  background: var(--lp-bg);
  color: var(--lp-text);
  border-color: var(--lp-border);
}
.lp-btn-secondary:hover { background: var(--lp-bg-subtle); color: var(--lp-text); }

.lp-btn-outline {
  background: transparent;
  color: var(--lp-text);
  border-color: var(--lp-border);
}
.lp-btn-outline:hover { background: var(--lp-bg-subtle); color: var(--lp-text); }

.lp-btn-ghost {
  background: transparent;
  color: var(--lp-text-secondary);
  border-color: transparent;
}
.lp-btn-ghost:hover { background: var(--lp-bg-muted); color: var(--lp-text); }

.lp-nav-login-btn {
  background: transparent;
  color: var(--lp-text);
}

.lp-nav-login-btn:hover {
  background: rgba(248, 250, 252, 0.95);
  color: var(--lp-text);
}

.lp-nav-register-btn {
  border-radius: 0;
}

.lp-btn-white {
  background: #fff;
  color: var(--lp-primary);
}
.lp-btn-white:hover { background: #f8fafc; color: var(--lp-primary-hover); }

.lp-btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.lp-btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.lp-btn-lg { padding: 0.85rem 1.35rem; font-size: 1rem; border-radius: 12px; }
.lp-btn-sm { padding: 0.5rem 0.85rem; font-size: 0.8125rem; }
.lp-btn-block { width: 100%; }

.lp-btn [data-lucide],
.lp-btn svg { width: 18px; height: 18px; }

/* ── Typography ── */
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #8f5f00;
  background: var(--lp-primary-soft);
  border: 1px solid color-mix(in srgb, var(--lp-primary) 22%, transparent);
  border-radius: 999px;
}

html[data-theme="dark"] .landing-page .lp-eyebrow {
  color: var(--lp-primary);
  background: color-mix(in srgb, var(--lp-primary) 14%, transparent);
  border-color: color-mix(in srgb, var(--lp-primary) 30%, transparent);
}

.lp-eyebrow [data-lucide] {
  width: 14px;
  height: 14px;
}

.lp-hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--lp-text);
}

.lp-hero-lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--lp-text-secondary);
}

.lp-section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--lp-text);
}

.lp-section-lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--lp-text-secondary);
}

.lp-section-head {
  margin-bottom: 3rem;
  text-align: center;
}

.lp-section-head .lp-section-lead { margin-inline: auto; }

.lp-section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
}

.lp-section-head--row .lp-section-lead { margin-inline: 0; }

/* ── Hero ── */
.lp-hero {
  padding: calc(var(--lp-nav-height) + 4rem) 0 5rem;
  background: linear-gradient(180deg, var(--lp-bg-subtle) 0%, var(--lp-bg) 100%);
}

.lp-hero--pro {
  position: relative;
  overflow: hidden;
  padding: calc(var(--lp-nav-height) + 3.5rem) 0 5.5rem;
  background: var(--lp-bg);
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lp-hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--brand-primary-rgb, 241, 165, 18), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-primary-rgb, 241, 165, 18), 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
}

.lp-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.lp-hero-orb--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: rgba(var(--brand-primary-rgb, 241, 165, 18), 0.18);
}

.lp-hero-orb--2 {
  width: 320px;
  height: 320px;
  bottom: -80px;
  left: -60px;
  background: rgba(16, 185, 129, 0.12);
}

.lp-hero--pro .lp-container {
  position: relative;
  z-index: 1;
}

.lp-hero-highlights {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem 0.9rem;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.lp-hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lp-text-secondary);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  box-shadow: var(--lp-shadow-sm);
  white-space: nowrap;
}

.lp-hero-highlight-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-success-soft);
  color: var(--lp-success);
  flex-shrink: 0;
}

.lp-hero-highlight-icon [data-lucide] {
  width: 14px;
  height: 14px;
}

@media (max-width: 767px) {
  .lp-hero-highlights {
    gap: 0.4rem 0.6rem;
  }

  .lp-hero-highlight {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
    min-width: 8rem;
  }

  .lp-hero-highlight-icon {
    width: 22px;
    height: 22px;
  }

  .lp-hero-highlight-icon [data-lucide] {
    width: 12px;
    height: 12px;
  }
}

.lp-hero--pro .lp-hero-title {
  max-width: 12ch;
}

.lp-hero--pro .lp-hero-lead {
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.lp-hero--pro .lp-hero-actions {
  margin-bottom: 1.75rem;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.lp-hero-mobile-auth {
  display: none;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .lp-hero-mobile-auth {
    display: flex;
  }
}

.lp-trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--lp-text-secondary);
}

.lp-trust-list [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--lp-success);
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .lp-hero-grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; }
  .lp-trust-list { grid-template-columns: repeat(2, auto); justify-content: start; }
}

/* ── Product mockup ── */
.lp-mockup {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}

.lp-mockup-glow {
  position: absolute;
  inset: 10% 5% auto;
  height: 60%;
  background: radial-gradient(ellipse, rgba(var(--brand-primary-rgb, 241, 165, 18), 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.lp-mockup-window {
  position: relative;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  background: var(--lp-bg);
  box-shadow: var(--lp-shadow-lg);
  overflow: hidden;
}

.lp-mockup-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  background: var(--lp-bg-subtle);
  border-bottom: 1px solid var(--lp-border);
}

.lp-mockup-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lp-border);
}

.lp-mockup-chrome span:first-child { background: #fca5a5; }
.lp-mockup-chrome span:nth-child(2) { background: #fde68a; }
.lp-mockup-chrome span:nth-child(3) { background: #86efac; }

.lp-mockup-chrome-title {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--lp-text-muted);
}

.lp-mockup-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 280px;
}

.lp-mockup-sidebar {
  padding: 1rem 0.75rem;
  background: var(--lp-bg-subtle);
  border-right: 1px solid var(--lp-border-light);
}

.lp-mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.55rem;
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--lp-text-muted);
  border-radius: 8px;
}

.lp-mockup-nav-item.is-active {
  background: var(--lp-primary-soft);
  color: var(--lp-primary);
}

.lp-mockup-nav-item [data-lucide] { width: 14px; height: 14px; }

.lp-mockup-main { padding: 1rem; }

.lp-mockup-profile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.lp-mockup-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--lp-primary-soft);
  color: var(--lp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-mockup-profile-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--lp-text);
}

.lp-mockup-profile-meta {
  font-size: 0.6875rem;
  color: var(--lp-text-muted);
}

.lp-mockup-badge {
  margin-left: auto;
  padding: 0.2rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 999px;
}

.lp-mockup-badge--success { background: var(--lp-success-soft); color: var(--lp-success); }
.lp-mockup-badge--info { background: var(--lp-primary-soft); color: var(--lp-primary); }

.lp-mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.lp-mockup-card {
  padding: 0.65rem;
  background: var(--lp-bg-subtle);
  border: 1px solid var(--lp-border-light);
  border-radius: 10px;
}

.lp-mockup-card-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.625rem;
  color: var(--lp-text-muted);
  margin-bottom: 0.25rem;
}

.lp-mockup-card-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--lp-text);
}

.lp-mockup-application {
  padding: 0.75rem;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  background: var(--lp-bg);
}

.lp-mockup-app-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.lp-mockup-app-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--lp-text);
}

.lp-mockup-app-school {
  font-size: 0.6875rem;
  color: var(--lp-text-muted);
}

.lp-mockup-progress {
  height: 6px;
  background: var(--lp-bg-muted);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.lp-mockup-progress-bar {
  height: 100%;
  background: var(--lp-primary);
  border-radius: 999px;
}

.lp-mockup-steps {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  font-size: 0.625rem;
  color: var(--lp-text-muted);
}

.lp-mockup-steps .done { color: var(--lp-success); font-weight: 600; }
.lp-mockup-steps .active { color: var(--lp-primary); font-weight: 700; }

.lp-mockup-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  box-shadow: var(--lp-shadow-md);
  font-size: 0.75rem;
  animation: lpFloat 5s ease-in-out infinite;
}

.lp-mockup-float strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--lp-text);
}

.lp-mockup-float span { color: var(--lp-text-muted); }

.lp-mockup-float [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--lp-primary);
  flex-shrink: 0;
}

.lp-mockup-float--invite {
  top: 8%;
  right: -4%;
  animation-delay: 0s;
}

.lp-mockup-float--match {
  bottom: 6%;
  left: -6%;
  animation-delay: 1.5s;
}

@keyframes lpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Auth section ── */
.lp-auth-section {
  padding: 4rem 0 5rem;
  background: var(--lp-bg);
}

.lp-auth-section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.lp-auth-wrap {
  max-width: 440px;
  margin-inline: auto;
}

.lp-auth-card {
  padding: 2rem;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  box-shadow: var(--lp-shadow-md);
}

.lp-auth-header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lp-auth-header p {
  margin: 0 0 1.5rem;
  color: var(--lp-text-secondary);
  font-size: 0.9375rem;
}

.lp-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.25rem;
  margin-bottom: 1.25rem;
  background: var(--lp-bg-muted);
  border-radius: 10px;
}

.lp-auth-tab {
  padding: 0.6rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lp-text-muted);
  cursor: pointer;
}

.lp-auth-tab.active {
  background: var(--lp-bg);
  color: var(--lp-text);
  box-shadow: var(--lp-shadow-sm);
}

.lp-role-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.lp-role-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  background: var(--lp-bg);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lp-text);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.lp-role-tab.active {
  border-color: var(--lp-primary);
  background: var(--lp-primary);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--lp-primary) 28%, transparent);
}

.lp-role-tab [data-lucide],
.lp-role-tab svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.lp-role-tab.active [data-lucide],
.lp-role-tab.active svg {
  color: currentColor;
}

.lp-tab-pane { display: none; }
.lp-tab-pane.active { display: block; }

.lp-form-group { margin-bottom: 1rem; }

.lp-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.lp-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lp-text);
}

.lp-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--lp-text);
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lp-input:focus {
  outline: none;
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb, 241, 165, 18), 0.12);
}

.lp-input.is-invalid { border-color: #ef4444; }

.lp-input-wrap { position: relative; }

.lp-input-wrap .lp-input { padding-right: 2.75rem; }

.lp-input-toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--lp-text-muted);
  cursor: pointer;
  border-radius: 8px;
}

.lp-input-toggle:hover { background: var(--lp-bg-muted); color: var(--lp-text); }

.lp-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.lp-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--lp-text-secondary);
  cursor: pointer;
}

.lp-field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--lp-text-muted);
}

.lp-auth-footer {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--lp-text-secondary);
}

.lp-alert {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.lp-alert p { margin: 0.35rem 0 0; font-size: 0.8125rem; }

.lp-alert-success { background: var(--lp-success-soft); color: #065f46; border: 1px solid #a7f3d0; }
.lp-alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.lp-alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

.lp-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lpSpin 0.7s linear infinite;
}

@keyframes lpSpin { to { transform: rotate(360deg); } }

/* ── Sections ── */
.lp-section {
  padding: 5rem 0;
}

.lp-section--muted {
  background: var(--lp-bg-subtle);
}

/* ── Statistics ── */
.lp-stats-section {
  padding: 5rem 0;
  background: var(--lp-text);
  color: #fff;
}

.lp-stats-section .lp-section-title,
.lp-stats-section .lp-section-lead {
  color: #fff;
}

.lp-stats-section .lp-section-lead {
  opacity: 0.8;
}

.lp-stats-head {
  text-align: center;
  margin-bottom: 3rem;
}

.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.lp-stat {
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--lp-radius);
  text-align: center;
  transition: transform 0.3s var(--lp-ease), background 0.3s;
}

.lp-stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
}

.lp-stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-primary-rgb, 241, 165, 18), 0.2);
  border-radius: 12px;
  color: #93c5fd;
}

.lp-stat-icon svg,
.lp-stat-icon .lucide,
.lp-stat-icon [data-lucide] {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  display: block;
}

.lp-stat-value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.lp-stat-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px) {
  .lp-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Features ── */
.lp-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.lp-feature-card {
  padding: 1.75rem;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  transition: transform 0.3s var(--lp-ease), box-shadow 0.3s, border-color 0.3s;
}

.lp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-md);
  border-color: #bfdbfe;
}

.lp-feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-primary-soft);
  color: var(--lp-primary);
  border-radius: 12px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.lp-feature-icon svg,
.lp-feature-icon .lucide,
.lp-feature-icon [data-lucide] {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  display: block;
  flex-shrink: 0;
}

.lp-feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--lp-text);
}

.lp-feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--lp-text-secondary);
}

@media (min-width: 640px) {
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .lp-features-grid { grid-template-columns: repeat(3, 1fr); }
  .lp-features-grid .lp-feature-card:last-child:nth-child(odd) {
    grid-column: span 1;
  }
}

/* ── Timeline / Journey ── */
.lp-journey-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.lp-journey {
  padding: 2rem;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
}

.lp-journey-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.lp-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-timeline li {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  position: relative;
}

.lp-timeline li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--lp-border);
}

.lp-timeline-step {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--lp-primary);
  background: var(--lp-primary-soft);
  border-radius: 50%;
}

.lp-timeline strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
  color: var(--lp-text);
}

.lp-timeline p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--lp-text-secondary);
  line-height: 1.55;
}

@media (min-width: 992px) {
  .lp-journey-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Jobs track ── */
.lp-jobs-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.lp-jobs-track::-webkit-scrollbar { height: 6px; }
.lp-jobs-track::-webkit-scrollbar-thumb { background: var(--lp-border); border-radius: 999px; }

.lp-job-card {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
  padding: 1.5rem;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  transition: box-shadow 0.3s, transform 0.3s;
}

.lp-job-card:hover {
  box-shadow: var(--lp-shadow-md);
  transform: translateY(-2px);
}

.lp-job-card-top {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.lp-job-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-primary-soft);
  color: var(--lp-primary);
  border-radius: 12px;
}

.lp-job-card-meta h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--lp-text);
}

.lp-job-card-meta p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--lp-text-secondary);
}

.lp-job-tags {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: var(--lp-text-secondary);
}

.lp-job-tags span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lp-job-tags [data-lucide] { width: 14px; height: 14px; color: var(--lp-text-muted); }

.lp-job-card-actions {
  display: flex;
  gap: 0.5rem;
}

.lp-job-card-actions .lp-btn-primary { flex: 1; }

/* ── Schools ── */
.lp-schools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.lp-school-card {
  padding: 1.75rem;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  transition: transform 0.3s, box-shadow 0.3s;
}

.lp-school-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lp-shadow-md);
}

.lp-school-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-success-soft);
  color: var(--lp-success);
  border-radius: 12px;
}

.lp-school-icon [data-lucide],
.lp-school-icon svg {
  width: 22px;
  height: 22px;
}

.lp-school-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.lp-school-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--lp-text-secondary);
}

.lp-school-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lp-text-muted);
}

@media (min-width: 640px) {
  .lp-schools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .lp-schools-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Why ── */
.lp-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.lp-why-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.lp-why-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--lp-border-light);
}

.lp-why-list li:last-child { border-bottom: none; }

.lp-why-list [data-lucide] {
  width: 22px;
  height: 22px;
  color: var(--lp-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.lp-why-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.9375rem;
  color: var(--lp-text);
}

.lp-why-list span {
  font-size: 0.875rem;
  color: var(--lp-text-secondary);
  line-height: 1.55;
}

.lp-why-panel {
  display: grid;
  gap: 1rem;
}

.lp-why-stat {
  padding: 1.5rem;
  background: var(--lp-bg-subtle);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
}

.lp-why-stat span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lp-primary);
  margin-bottom: 0.35rem;
}

.lp-why-stat p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--lp-text-secondary);
}

@media (min-width: 992px) {
  .lp-why-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* ── Testimonials ── */
.lp-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.lp-testimonial {
  margin: 0;
  padding: 2rem;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  position: relative;
}

.lp-testimonial-quote {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  font-weight: 800;
  color: var(--lp-primary-soft);
  pointer-events: none;
}

.lp-testimonial > p {
  margin: 0 0 1.5rem;
  padding-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--lp-text-secondary);
  position: relative;
  z-index: 1;
}

.lp-testimonial footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lp-testimonial-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-bg-muted);
  border-radius: 50%;
  color: var(--lp-text-muted);
}

.lp-testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--lp-text);
}

.lp-testimonial footer span {
  font-size: 0.8125rem;
  color: var(--lp-text-muted);
}

@media (min-width: 768px) {
  .lp-testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── CTA ── */
.lp-cta {
  padding: 5rem 0;
  background: var(--lp-primary);
  text-align: center;
}

.lp-cta-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.lp-cta-lead {
  margin: 0 auto 2rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.lp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ── Footer ── */
.lp-footer {
  padding: 4rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  background: var(--lp-text);
  color: rgba(255, 255, 255, 0.75);
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.lp-footer-brand p {
  margin: 1rem 0 0;
  max-width: 20rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.lp-brand--footer { color: #fff; }

.lp-footer h4 {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

.lp-footer h4 [data-lucide],
.lp-footer h4 svg {
  width: 15px;
  height: 15px;
  opacity: 0.9;
}

.lp-footer a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.lp-footer a [data-lucide],
.lp-footer a svg {
  width: 15px;
  height: 15px;
  opacity: 0.85;
  flex-shrink: 0;
}

.lp-footer a:hover { color: #fff; }

.lp-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.lp-footer-social {
  display: flex;
  gap: 0.75rem;
}

.lp-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.lp-footer-social a [data-lucide],
.lp-footer-social a svg {
  width: 16px;
  height: 16px;
}

.lp-footer-social a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (min-width: 768px) {
  .lp-footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
}

/* ── Modal ── */
#consentModal {
  z-index: 1200;
}

#consentModal:not(.show) {
  display: none;
}

.modal-backdrop {
  z-index: 1190;
}

.lp-modal .modal-content {
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  overflow: hidden;
}

.lp-modal .modal-header {
  background: var(--lp-bg-subtle);
  border-bottom: 1px solid var(--lp-border);
}

.lp-modal .modal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--lp-text);
}

.lp-modal .modal-body h6 {
  color: var(--lp-primary);
  font-weight: 700;
  margin-top: 1.25rem;
}

.lp-modal .modal-body h6:first-child { margin-top: 0; }

.lp-modal .modal-footer {
  border-top: 1px solid var(--lp-border);
  background: var(--lp-bg-subtle);
}

/* ── Reveal animations ── */
.lp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--lp-ease), transform 0.7s var(--lp-ease);
}

.lp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lp-reveal-delay { transition-delay: 0.12s; }

@media (max-width: 767px) {
  .lp-nav-auth-group { display: none !important; }
  .lp-mockup-body { grid-template-columns: 1fr; }
  .lp-mockup-sidebar { display: none; }

  .lp-hero-grid { gap: 1rem; }

  .lp-hero-copy {
    min-width: 0;
    width: 100%;
  }

  .lp-hero-title {
    font-size: 1.6rem;
    line-height: 1.08;
    margin-bottom: 0.9rem;
    letter-spacing: -0.03em;
    word-break: break-word;
    hyphens: auto;
  }

  .lp-hero-lead {
    margin-bottom: 0.9rem;
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: none;
  }

  .lp-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .lp-hero-actions .lp-btn {
    width: 100%;
    font-size: 0.88rem;
    padding: 0.65rem 0.95rem;
  }

  .lp-hero-mobile-auth {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
  }

  .lp-hero-mobile-auth .lp-btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .lp-hero-highlights {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
    padding-bottom: 0.15rem;
    max-width: 100%;
  }

  .lp-hero-highlight {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.33rem 0.55rem;
    font-size: 0.75rem;
  }

  .lp-hero-highlight-icon {
    width: 20px;
    height: 20px;
  }

  .lp-hero-highlight-icon [data-lucide] {
    width: 11px;
    height: 11px;
  }

  .lp-mockup {
    width: min(100%, 15rem);
    max-width: 15rem;
    transform: scale(0.78);
    transform-origin: top center;
    margin-inline: auto;
  }

  .lp-mockup-window {
    border-radius: 14px;
  }

  .lp-mockup-body {
    gap: 0.75rem;
  }

  .lp-mockup-profile {
    gap: 0.45rem;
  }

  .lp-mockup-avatar {
    width: 34px;
    height: 34px;
  }

  .lp-mockup-card {
    padding: 0.55rem;
  }

  .lp-mockup-card-label,
  .lp-mockup-card-value,
  .lp-mockup-app-title,
  .lp-mockup-app-school,
  .lp-mockup-profile-meta,
  .lp-mockup-steps {
    font-size: 0.72rem;
  }

  .lp-mockup-progress-bar {
    height: 0.65rem;
  }

  .lp-mockup-float {
    padding: 0.4rem 0.6rem;
    gap: 0.4rem;
    font-size: 0.65rem;
  }

  .lp-mockup-float strong {
    font-size: 0.73rem;
  }

  .lp-mockup-float [data-lucide] {
    width: 14px;
    height: 14px;
  }

  .lp-mockup-float--invite {
    top: -0.8rem;
    right: 0.4rem;
  }

  .lp-mockup-float--match {
    bottom: -0.8rem;
    left: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-mockup-float strong {
    font-size: 0.78rem;
  }

  .lp-mockup-float [data-lucide] {
    width: 16px;
    height: 16px;
  }

  .lp-mockup-float--invite {
    top: -1rem;
    right: 0.5rem;
  }

  .lp-mockup-float--match {
    bottom: -1rem;
    left: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-reveal,
  .lp-mockup-float,
  .lp-stat,
  .lp-feature-card,
  .lp-job-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ── Auth side drawer ── */
body.lp-auth-drawer-open {
  overflow: hidden;
}

.lp-auth-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
}

.lp-auth-drawer.is-open {
  pointer-events: auto;
}

.lp-auth-drawer-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.34)),
    rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s var(--lp-ease);
}

.lp-auth-drawer.is-open .lp-auth-drawer-backdrop {
  opacity: 1;
}

.lp-auth-drawer-panel {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(calc(100% - 24px), 430px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 251, 242, 0.96) 0%, rgba(255, 255, 255, 0.98) 34%),
    var(--lp-bg);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  box-shadow: -24px 28px 70px rgba(15, 23, 42, 0.22), -6px 0 18px rgba(15, 23, 42, 0.08);
  transform: translateX(100%);
  transition: transform 0.35s var(--lp-ease);
  font-family: var(--lp-font);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

.lp-auth-drawer.is-open .lp-auth-drawer-panel {
  transform: translateX(0);
}

.lp-auth-drawer-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.65rem 1.1rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(var(--brand-primary-rgb, 241, 165, 18), 0.15), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42));
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
  flex-shrink: 0;
}

.lp-auth-drawer-close {
  position: absolute;
  right: 1.1rem;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--lp-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.lp-auth-drawer-close:hover {
  background: #fff;
  color: var(--lp-text);
  box-shadow: var(--lp-shadow-sm);
}

.lp-auth-drawer-close [data-lucide] {
  width: 18px;
  height: 18px;
}

.lp-auth-drawer-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(68px, 1fr));
  gap: 0;
  padding: 0.2rem;
  margin-inline: auto;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lp-auth-drawer-tab {
  min-height: 30px;
  padding: 0.3rem 0.62rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--lp-text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.lp-auth-drawer-tab:first-child {
  border-radius: 9px 0 0 9px;
}

.lp-auth-drawer-tab:last-child {
  border-radius: 0 9px 9px 0;
}

.lp-auth-drawer-tab.is-active {
  background: #fff;
  color: var(--lp-text);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.lp-auth-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.55rem calc(1rem + env(safe-area-inset-bottom, 0px));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.6) transparent;
}

.lp-auth-drawer-body::-webkit-scrollbar {
  width: 8px;
}

.lp-auth-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 999px;
}

.lp-auth-drawer .lp-auth-wrap,
.lp-auth-drawer .lp-auth-card {
  max-width: none;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.lp-auth-drawer .lp-auth-tabs {
  display: none;
}

.lp-login-logo {
  display: flex;
  justify-content: center;
  margin: 0 0 0.9rem;
}

.lp-login-logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 12px;
}

.lp-auth-drawer #loginFormEl {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.lp-auth-drawer .lp-auth-hint {
  margin: 0 0 1.1rem;
  padding: 0.8rem 0.9rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #7c4f00;
  background: rgba(var(--brand-primary-rgb, 241, 165, 18), 0.1);
  border: 1px solid rgba(var(--brand-primary-rgb, 241, 165, 18), 0.22);
  border-radius: 12px;
}

.lp-auth-drawer .lp-role-tabs {
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  padding: 0.22rem;
  background: rgba(248, 250, 252, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lp-auth-drawer .lp-role-tab {
  min-height: 34px;
  padding: 0.42rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.2;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--lp-text-secondary);
  box-shadow: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.lp-auth-drawer .lp-role-tab.active {
  background: var(--lp-primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(var(--brand-primary-rgb, 241, 165, 18), 0.24);
}

.lp-auth-drawer .lp-tab-pane {
  padding: 0.75rem 0 0.15rem;
  margin-bottom: 0.65rem;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(226, 232, 240, 0.78);
  border-radius: 0;
}

.lp-auth-drawer #loginForm .lp-tab-pane {
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
}

.lp-auth-drawer .lp-form-row-2 {
  gap: 0.6rem;
}

.lp-auth-drawer #registrationForm {
  display: block;
}

.lp-auth-drawer #registrationForm > .lp-label:first-of-type {
  margin-bottom: 0.35rem;
  color: var(--lp-text-muted);
}

.lp-auth-drawer #registrationForm .lp-checkbox {
  padding: 0.7rem 0.75rem;
  background: rgba(248, 250, 252, 0.74);
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 12px;
}

.lp-auth-drawer #registrationForm .lp-consent-link {
  font-weight: 700;
}

.lp-auth-drawer .lp-form-group {
  margin-bottom: 0.78rem;
}

.lp-auth-drawer .lp-tab-pane .lp-form-group:last-child {
  margin-bottom: 0;
}

.lp-auth-drawer .lp-label {
  margin-bottom: 0.28rem;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1f2937;
}

.lp-auth-drawer .lp-input {
  min-height: 40px;
  padding: 0.58rem 0.78rem;
  font-size: 0.9rem;
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: 0;
  border-radius: 12px;
  background: #fff;
  border-color: rgba(203, 213, 225, 0.95);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.lp-auth-drawer .lp-input:hover {
  border-color: rgba(var(--brand-primary-rgb, 241, 165, 18), 0.45);
}

.lp-auth-drawer .lp-input:focus {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 4px rgba(var(--brand-primary-rgb, 241, 165, 18), 0.14), 0 8px 18px rgba(15, 23, 42, 0.06);
}

.lp-auth-drawer .lp-input-wrap .lp-input {
  padding-right: 3rem;
}

.lp-auth-drawer .lp-input-toggle {
  right: 0.45rem;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.lp-auth-drawer .lp-input-toggle [data-lucide],
.lp-auth-drawer .lp-input-toggle svg {
  width: 17px;
  height: 17px;
}

.lp-auth-drawer .lp-form-row {
  align-items: center;
  margin-bottom: 0.78rem;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--lp-text-secondary);
}

.lp-auth-drawer .lp-form-row a {
  font-weight: 700;
}

.lp-auth-drawer .lp-field-hint {
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
}

.lp-auth-drawer .lp-alert {
  padding: 0.8rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  border-radius: 12px;
}

.lp-auth-drawer .lp-btn-lg {
  min-height: 42px;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.2;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(var(--brand-primary-rgb, 241, 165, 18), 0.22);
}

.lp-auth-drawer .lp-checkbox {
  align-items: center;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}

.lp-auth-drawer .lp-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--lp-primary);
  flex-shrink: 0;
}

html[data-theme="dark"] .landing-page .lp-auth-drawer-panel {
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 42%),
    var(--lp-bg);
  border-color: rgba(71, 85, 105, 0.85);
}

html[data-theme="dark"] .landing-page .lp-auth-drawer-head,
html[data-theme="dark"] .landing-page .lp-auth-drawer .lp-role-tabs,
html[data-theme="dark"] .landing-page .lp-auth-drawer .lp-tab-pane {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(71, 85, 105, 0.72);
}

html[data-theme="dark"] .landing-page .lp-auth-drawer .lp-auth-tab.active,
html[data-theme="dark"] .landing-page .lp-auth-drawer-close,
html[data-theme="dark"] .landing-page .lp-auth-drawer-switch,
html[data-theme="dark"] .landing-page .lp-auth-drawer #loginFormEl,
html[data-theme="dark"] .landing-page .lp-auth-drawer #registrationForm .lp-checkbox,
html[data-theme="dark"] .landing-page .lp-auth-drawer .lp-input {
  background: rgba(30, 41, 59, 0.92);
}

html[data-theme="dark"] .landing-page .lp-auth-drawer-tab.is-active,
html[data-theme="dark"] .landing-page .lp-auth-drawer .lp-role-tab.active {
  background: var(--lp-primary);
  color: #fff;
}

html[data-theme="dark"] .landing-page .lp-auth-drawer .lp-auth-hint {
  color: #f8d58b;
  background: rgba(var(--brand-primary-rgb, 241, 165, 18), 0.14);
}

@media (max-width: 479.98px) {
  .lp-auth-drawer-panel {
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border: none;
    border-radius: 0;
  }

  .lp-auth-drawer-head {
    padding: 0.6rem 0.85rem;
    gap: 0.45rem;
  }

  .lp-auth-drawer-close {
    right: 0.85rem;
  }

  .lp-auth-drawer-switch {
    grid-template-columns: repeat(2, minmax(64px, 1fr));
    flex: 0 1 220px;
    margin-inline: auto;
  }

  .lp-auth-drawer-tab {
    padding-inline: 0.45rem;
  }

  .lp-auth-drawer-body {
    padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
  }

  .lp-auth-drawer .lp-form-row-2 {
    grid-template-columns: 1fr;
  }

  .lp-auth-drawer .lp-form-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .lp-hero--pro .lp-hero-title {
    max-width: none;
  }
}
