/* Public marketing & auth pages */
.public-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.public-nav .navbar-brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a !important;
}

.public-nav .nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: #475569 !important;
}

.public-nav .nav-link:hover {
  color: var(--primary) !important;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 40%, #f0f9ff 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.hero-title .accent {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-visual {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-stat {
  text-align: center;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
}

.hero-stat strong {
  display: block;
  font-size: 1.25rem;
  color: #0f172a;
}

.hero-stat span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 600;
}

.stats-strip {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 2rem 0;
}

.stats-strip .num {
  font-size: 1.75rem;
  font-weight: 800;
}

.stats-strip .lbl {
  font-size: 0.75rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feature-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(99, 102, 241, 0.1));
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title {
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.steps-row .step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.cta-section {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 1.25rem;
  padding: 3rem 2rem;
}

.public-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
}

.public-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.public-footer a:hover {
  color: #fff;
}

.auth-page {
  min-height: 100vh;
  display: flex;
}

.auth-aside {
  flex: 1;
  display: none;
  background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 55%, #1e3a5f 100%);
  color: #fff;
  padding: 3rem;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .auth-aside {
    display: flex;
    max-width: 46%;
  }
}

.auth-aside h2 {
  font-weight: 800;
  font-size: 1.85rem;
  line-height: 1.25;
}

.auth-aside ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.auth-aside ul li {
  padding: 0.45rem 0;
  opacity: 0.92;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: #f1f5f9;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.auth-card.wide {
  max-width: 520px;
}

.auth-card h1 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.auth-card .sub {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.auth-admin-badge {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background: #fef3c7;
  color: #92400e;
  margin-bottom: 0.5rem;
}
