/* ============================================================
   landing.css — RequestIn public landing page
   ============================================================ */

/* ── Page shell ─────────────────────────────────────────────── */
.landing-page {
  background-color: #f0f4f8;
  color: #0f172a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Nav ─────────────────────────────────────────────────────── */
.landing-nav {
  width: 100%;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #05327e;
  box-shadow: 0 2px 8px rgba(2, 6, 23, 0.18);
}

.landing-logo {
  height: 44px;
  width: auto;
  display: block;
}

.landing-login-btn {
  padding: 9px 22px;
  border-radius: 8px;
  background-color: #ffffff;
  color: #05327e;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.landing-login-btn:hover {
  background-color: #e2e8f0;
  color: #05327e;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.landing-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 24px;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.landing-hero-text {
  flex: 1;
  min-width: 0;
}

.landing-hero-text h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.landing-hero-text p {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 380px;
}

.landing-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-landing-primary {
  padding: 13px 28px;
  border-radius: 8px;
  background-color: #05347e;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
  display: inline-block;
}

.btn-landing-primary:hover {
  background-color: #0a3f96;
  color: #ffffff;
}

.btn-landing-secondary {
  padding: 13px 28px;
  border-radius: 8px;
  background-color: transparent;
  color: #05347e;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #05347e;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  display: inline-block;
}

.btn-landing-secondary:hover {
  background-color: #05347e;
  color: #ffffff;
}

.landing-hero-image {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-hero-image img {
  height: 360px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(2, 6, 23, 0.18));
}

/* ── Features ─────────────────────────────────────────────────── */
.landing-features {
  padding: 48px 32px 56px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

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

.feature-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(2, 6, 23, 0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: #2563eb;
}

.feature-card p {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  margin: 0;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.landing-footer {
  padding: 20px 32px;
  text-align: center;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.landing-footer a {
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  margin: 0 10px;
}

.landing-footer a:hover {
  color: #0f172a;
}

/* ── Dark mode ─────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  .landing-page {
    background-color: #0d1829;
    color: #f1f5f9;
  }

  .landing-hero-text h1 {
    color: #f1f5f9;
  }

  .landing-hero-text p {
    color: #94a3b8;
  }

  .landing-login-btn {
    background-color: #ffffff;
    color: #05327e;
  }

  .landing-login-btn:hover {
    background-color: #e2e8f0;
    color: #05327e;
  }

  .btn-landing-primary {
    background-color: #2563eb;
  }

  .btn-landing-primary:hover {
    background-color: #1d4ed8;
  }

  .btn-landing-secondary {
    color: #60a5fa;
    border-color: #60a5fa;
  }

  .btn-landing-secondary:hover {
    background-color: #60a5fa;
    color: #0f172a;
  }

  .feature-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .feature-card p {
    color: #f1f5f9;
  }

  .feature-icon {
    background-color: #1e3a5f;
  }

  .feature-icon svg {
    color: #60a5fa;
  }

  .landing-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
  }

  .landing-footer a {
    color: #94a3b8;
  }

  .landing-footer a:hover {
    color: #f1f5f9;
  }
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .landing-nav {
    padding: 16px 20px;
  }

  .landing-hero {
    flex-direction: column;
    padding: 32px 20px 16px;
    gap: 32px;
    text-align: center;
  }

  .landing-hero-text p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .landing-cta-group {
    justify-content: center;
  }

  .landing-hero-image img {
    height: 260px;
  }

  .landing-features {
    padding: 32px 20px 48px;
  }

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

  .feature-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
}
