/* LinguPilot landing — dark mode aligned with app/css/style.css */

:root {
  --lp-bg: #141414;
  --lp-surface: #1b1b1b;
  --lp-surface-2: #222222;
  --lp-text: #ffffff;
  --lp-muted: rgba(255, 255, 255, 0.72);
  --lp-muted-2: rgba(255, 255, 255, 0.55);
  --lp-navy: #0b1e3c;
  --lp-aqua: #16c7b4;
  --lp-pilot-blue: #168bc7;
  --lp-indigo: #4f46e5;
  --lp-purple: #7c3aed;
  --lp-amber: #f59e0b;
  --lp-border: rgba(255, 255, 255, 0.1);
  --lp-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

body.lp-landing-body {
  margin: 0;
  font-family: Inter, Roboto, system-ui, sans-serif;
  color: var(--lp-text);
  background:
    radial-gradient(1200px 420px at 25% -10%, rgba(11, 30, 60, 0.65), transparent 60%),
    radial-gradient(900px 400px at 90% 0%, rgba(22, 199, 180, 0.14), transparent 55%),
    var(--lp-bg);
}

.lp-landing-nav {
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lp-border);
}

.lp-landing-brand span {
  font-weight: 800;
  color: var(--lp-text);
  font-size: 1.15rem;
}

.btn-landing-primary {
  background: linear-gradient(135deg, var(--lp-pilot-blue), var(--lp-aqua));
  border: none;
  color: #fff;
  font-weight: 600;
}

.btn-landing-primary:hover,
.btn-landing-primary:focus {
  color: #fff;
  filter: brightness(1.08);
}

.btn-landing-outline {
  border: 1px solid rgba(22, 139, 199, 0.45);
  color: var(--lp-text);
  font-weight: 600;
  background: transparent;
}

.btn-landing-outline:hover {
  background: rgba(22, 139, 199, 0.12);
  color: var(--lp-text);
  border-color: rgba(22, 199, 180, 0.5);
}

.btn-landing-ghost {
  color: var(--lp-muted);
  border: none;
  background: transparent;
}

.btn-landing-ghost:hover {
  color: var(--lp-text);
}

.btn-landing-accent {
  background: var(--lp-amber);
  border: none;
  color: #141414;
  font-weight: 700;
}

.btn-landing-accent:hover {
  color: #141414;
  filter: brightness(1.06);
}

.lp-landing-hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-landing-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4ca0ca;
  margin-bottom: 0.75rem;
}

.lp-landing-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.lp-landing-lead {
  font-size: 1.1rem;
  color: var(--lp-muted);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.lp-landing-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lp-landing-hero-card {
  background: linear-gradient(180deg, rgba(27, 27, 27, 0.92), rgba(27, 27, 27, 0.76));
  border: 1px solid var(--lp-border);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--lp-shadow);
}

.lp-landing-hero-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.lp-landing-hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--lp-muted);
}

.lp-landing-hero-card li + li {
  margin-top: 0.5rem;
}

.lp-landing-section {
  padding: 4.5rem 0;
}

.lp-landing-section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.lp-landing-section-title {
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.lp-landing-highlight {
  height: 100%;
  background: linear-gradient(180deg, rgba(27, 27, 27, 0.95), rgba(27, 27, 27, 0.82));
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 0;
  box-shadow: var(--lp-shadow);
  overflow: hidden;
}

.lp-landing-highlight h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding: 0 1.25rem;
  padding-top: 1.15rem;
}

.lp-landing-highlight p {
  margin: 0;
  color: var(--lp-muted);
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.lp-landing-card-media {
  width: 100%;
}

.lp-landing-card-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lp-landing-card-media--hero img {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  box-shadow: var(--lp-shadow);
  border: 1px solid var(--lp-border);
}

.lp-landing-img-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(11, 30, 60, 0.55), rgba(22, 139, 199, 0.18)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 8px,
      rgba(255, 255, 255, 0.06) 8px,
      rgba(255, 255, 255, 0.06) 16px
    );
  border-bottom: 1px solid var(--lp-border);
  color: var(--lp-muted-2);
  text-align: center;
  padding: 1rem;
}

.lp-landing-img-placeholder--hero {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--lp-border);
  border-radius: 18px;
  box-shadow: var(--lp-shadow);
}

.lp-landing-img-placeholder-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 139, 199, 0.2);
  border: 1px dashed rgba(22, 199, 180, 0.45);
  font-size: 1.35rem;
  line-height: 1;
}

.lp-landing-img-placeholder-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lp-muted);
}

.lp-landing-img-placeholder-size {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lp-muted-2);
}

.lp-landing-cta {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(22, 199, 180, 0.15), transparent 70%),
    linear-gradient(180deg, var(--lp-surface-2), var(--lp-bg));
  border-top: 1px solid var(--lp-border);
}

.lp-landing-cta h2 {
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.lp-landing-cta p {
  color: var(--lp-muted);
  margin-bottom: 1.5rem;
}

.lp-landing-footer {
  border-top: 1px solid var(--lp-border);
  color: var(--lp-muted-2);
  background: rgba(0, 0, 0, 0.25);
}

.lp-auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.lp-auth-modal-card {
  position: relative;
  width: min(420px, 100%);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--lp-shadow);
  color: var(--lp-text);
}

.lp-auth-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--lp-muted);
}

.lp-auth-modal-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.lp-auth-modal-sub {
  color: var(--lp-muted);
  margin-bottom: 1rem;
}

.lp-auth-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.25rem;
}

.lp-auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-weight: 600;
  color: var(--lp-muted);
}

.lp-auth-tab.is-active {
  background: var(--lp-surface-2);
  color: var(--lp-aqua);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.lp-auth-form .form-label {
  color: var(--lp-muted);
}

.lp-auth-form .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--lp-border);
  color: var(--lp-text);
}

.lp-auth-form .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(22, 199, 180, 0.45);
  color: var(--lp-text);
  box-shadow: 0 0 0 0.2rem rgba(22, 199, 180, 0.15);
}

.lp-auth-form .form-text {
  color: var(--lp-muted-2);
}

.lp-auth-form .alert {
  font-size: 0.9rem;
}

.lp-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

@media (max-width: 991.98px) {
  .lp-landing-hero {
    padding-top: 3.5rem;
  }

  .lp-landing-highlight p {
    font-size: 0.92rem;
  }
}
