/* =====================================================================
   public.css - Styles for the public marketing website.
   Built on Bootstrap 5. Kept separate from the admin app.css.
   ===================================================================== */

:root {
  --pub-primary: #0d6efd;
  --pub-teal: #0f766e;
  --pub-dark: #0b1220;
  --pub-ink: #1e293b;
  --pub-muted: #64748b;
}

.public-body {
  color: var(--pub-ink);
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  background: #f8fafc;
}

.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--pub-primary), var(--pub-teal));
  color: #fff; font-size: 1rem;
}
.public-nav .navbar-brand { color: var(--pub-dark); }
.public-nav .nav-link { color: #334155; }
.public-nav .nav-link:hover, .public-nav .nav-link.active { color: var(--pub-primary); }

/* -------- Hero -------- */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, rgba(13,110,253,.35), transparent),
              linear-gradient(135deg, #0b1220 0%, #0f766e 60%, #0d6efd 100%);
  color: #fff;
  padding: 5rem 0 4rem;
}
.hero h1 { font-weight: 800; line-height: 1.1; }
.hero .lead { color: rgba(255,255,255,.85); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: .35rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
}
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px; padding: 1.25rem;
  backdrop-filter: blur(6px);
}
.hero-stat { font-size: 1.9rem; font-weight: 800; }

.section { padding: 4rem 0; }
.section-title { font-weight: 800; }
.section-sub { color: var(--pub-muted); }

/* -------- Feature cards -------- */
.feature-card {
  border: 1px solid #e2e8f0; border-radius: 16px; background: #fff;
  padding: 1.5rem; height: 100%; transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,23,42,.08); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.2rem;
  background: rgba(13,110,253,.1); color: var(--pub-primary); margin-bottom: 1rem;
}
.feature-icon.teal { background: rgba(15,118,110,.12); color: var(--pub-teal); }

/* -------- Pricing -------- */
.pricing-card {
  border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; height: 100%;
  padding: 1.75rem; display: flex; flex-direction: column; transition: transform .15s ease;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured { border: 2px solid var(--pub-primary); box-shadow: 0 20px 50px rgba(13,110,253,.15); position: relative; }
.pricing-card .price { font-size: 2.4rem; font-weight: 800; color: var(--pub-dark); }
.pricing-card .price small { font-size: .95rem; font-weight: 500; color: var(--pub-muted); }
.pricing-features { list-style: none; padding: 0; margin: 1rem 0; }
.pricing-features li { padding: .35rem 0; }
.pricing-features li i { color: var(--pub-teal); margin-right: .5rem; }
.featured-ribbon {
  position: absolute; top: -12px; right: 18px; background: var(--pub-primary); color: #fff;
  font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; text-transform: uppercase;
}

/* -------- Steps / process -------- */
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--pub-primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}

/* -------- Footer -------- */
.public-footer { background: var(--pub-dark); color: #fff; }
.public-footer a { color: rgba(255,255,255,.65); text-decoration: none; }
.public-footer a:hover { color: #fff; }
.public-footer h6 { margin-bottom: .9rem; text-transform: uppercase; font-size: .78rem; letter-spacing: .05em; }
.social-links a { font-size: 1.1rem; }

/* -------- Auth / form pages -------- */
.public-card {
  border: 1px solid #e2e8f0; border-radius: 18px; background: #fff;
  box-shadow: 0 10px 40px rgba(15,23,42,.05);
}
.form-label.label-required::after { content: ' *'; color: #dc3545; }
.password-meter { height: 6px; border-radius: 4px; background: #e2e8f0; overflow: hidden; }
.password-meter span { display: block; height: 100%; width: 0; transition: width .2s ease; }

/* -------- Misc -------- */
.badge-soft { background: rgba(13,110,253,.1); color: var(--pub-primary); font-weight: 600; }
.text-teal { color: var(--pub-teal) !important; }
.hover-lift { transition: transform .15s ease; }
.hover-lift:hover { transform: translateY(-3px); }
