/**
 * NoFakeBiz — public gateway landing
 * Palette aligned with users/login/assets/css/login.css
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.gateway-body {
  margin: 0;
  min-height: 100vh;
  background: #f1f7f4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}

.gateway-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Top navigation ─────────────────────────────────────────── */
.gateway-nav {
  background: #fff;
  border-bottom: 1px solid rgba(26, 127, 74, 0.15);
  box-shadow: 0 1px 3px rgba(15, 33, 51, 0.04);
}

.gateway-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gateway-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.gateway-nav__badge {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1a7f4a 0%, #156b3f 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.gateway-nav__name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #156b3f;
}

.gateway-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gateway-nav__links a {
  font-size: 0.9rem;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
}

.gateway-nav__links a:hover {
  color: #1a7f4a;
}

.gateway-nav__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.gateway-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gateway-btn--primary {
  background: linear-gradient(135deg, #1a7f4a 0%, #156b3f 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 127, 74, 0.28);
}

.gateway-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 127, 74, 0.32);
}

.gateway-btn--secondary {
  background: #fff;
  color: #156b3f;
  border: 1px solid rgba(26, 127, 74, 0.35);
}

.gateway-btn--secondary:hover {
  background: #ecf8f1;
}

.gateway-btn--ghost {
  background: transparent;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.gateway-btn--ghost:hover {
  border-color: #1a7f4a;
  color: #1a7f4a;
}

/* ── Hero ───────────────────────────────────────────────────── */
.gateway-main {
  flex: 1;
  padding: 2rem 1.25rem 3rem;
}

.gateway-hero {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.gateway-hero__badge {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #1a7f4a 0%, #156b3f 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 30px rgba(26, 127, 74, 0.28);
}

.gateway-hero__title {
  margin: 0 0 0.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1a7f4a 0%, #156b3f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gateway-hero__tagline {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.5;
}

.gateway-search {
  max-width: 520px;
  margin: 0 auto 1.5rem;
  display: flex;
  background: #fff;
  border: 1px solid rgba(26, 127, 74, 0.22);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 33, 51, 0.06);
}

.gateway-search input {
  flex: 1;
  border: none;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  outline: none;
}

.gateway-search button {
  border: none;
  background: #1a7f4a;
  color: #fff;
  padding: 0 1.15rem;
  cursor: pointer;
}

.gateway-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

/* ── Value cards ────────────────────────────────────────────── */
.gateway-cards {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gateway-card {
  background: #fff;
  border: 1px solid rgba(26, 127, 74, 0.18);
  border-radius: 20px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 8px 24px rgba(15, 33, 51, 0.05);
}

.gateway-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecf8f1 0%, #e8f4ee 100%);
  color: #1a7f4a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.gateway-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #0f172a;
}

.gateway-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.55;
}

/* ── Footer strip ───────────────────────────────────────────── */
.gateway-footer {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.85rem;
  color: #94a3b8;
  border-top: 1px solid #e8f4ee;
  background: #fff;
}

@media (max-width: 640px) {
  .gateway-hero__title {
    font-size: 1.75rem;
  }

  .gateway-nav__links {
    width: 100%;
    justify-content: center;
  }

  .gateway-nav__cta {
    width: 100%;
    justify-content: center;
  }

  .gateway-hero__actions .gateway-btn {
    width: 100%;
  }
}
