/* ═══════════════════════════════════════════════════════════════════
   JobReply.io  –  Site stylesheet
   Layered on top of Bootstrap 5. All custom rules use the jr- prefix.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────────────────────────── */
:root {
  --jr-primary:       #4F46E5;
  --jr-primary-dark:  #3730A3;
  --jr-primary-light: #EEF2FF;
  --jr-accent:        #10B981;
  --jr-warning:       #F59E0B;
  --jr-dark:          #1E1B4B;
  --jr-text:          #1F2937;
  --jr-muted:         #6B7280;
  --jr-section-bg:    #F8FAFC;
  --jr-card-shadow:   0 4px 24px rgba(79, 70, 229, 0.10);
  --jr-card-radius:   16px;
  --jr-transition:    all 0.2s ease;
}

/* ── Base ───────────────────────────────────────────────────────────── */
html {
  font-size: 14px;
  scroll-behavior: smooth;
}
@media (min-width: 768px) {
  html { font-size: 16px; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  color: var(--jr-text);
  margin-bottom: 0;
}

.btn:focus, .btn:active:focus,
.form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--jr-primary);
}

/* ── Utility helpers ────────────────────────────────────────────────── */
.py-6          { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
.text-white-75 { color: rgba(255, 255, 255, 0.75) !important; }

/* ── Navbar ─────────────────────────────────────────────────────────── */
.jr-navbar {
  background-color: var(--jr-dark);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.jr-navbar .navbar-brand {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.jr-navbar .navbar-brand .brand-bolt { color: #818CF8; }
.jr-navbar .nav-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  transition: color 0.18s;
}
.jr-navbar .nav-link:hover { color: #fff; }

/* ── Section eyebrow label ──────────────────────────────────────────── */
.jr-eyebrow {
  display: inline-block;
  color: var(--jr-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════════ */
.jr-hero {
  background: linear-gradient(
    135deg,
    #1E1B4B  0%,
    #312E81 35%,
    #4F46E5 70%,
    #7C3AED 100%
  );
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.jr-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -8%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.jr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.jr-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
@media (max-width: 767px) { .jr-hero h1 { font-size: 2.1rem; } }

.jr-hero-accent { color: #A5B4FC; }

.jr-hero-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.30);
  border-radius: 10px;
  padding: 12px 16px;
  color: #FDE68A;
  font-size: 0.83rem;
  margin-top: 2rem;
  line-height: 1.5;
}

/* ── Hero dashboard preview card ──── */
.jr-hero-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(12px);
}
.jr-hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.jr-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.jr-status-dot.active {
  background: var(--jr-accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.28);
  animation: jr-pulse 2s infinite;
}
@keyframes jr-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.28); }
  50%       { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.08); }
}

.jr-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.jr-mini-stat {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}
.jr-mini-stat-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.jr-mini-stat-lbl {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.50);
  margin-top: 4px;
}

.jr-email-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.jr-email-item:last-child { border-bottom: none; }
.jr-email-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.jr-email-from { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.90); line-height: 1.3; }
.jr-email-subj { font-size: 0.70rem; color: rgba(255,255,255,0.46); margin-top: 2px; }

/* ══════════════════════════════════════════════════════════════════════
   FEATURES SECTION
   ══════════════════════════════════════════════════════════════════════ */
.jr-feature-card {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--jr-card-radius);
  padding: 28px 22px;
  height: 100%;
  transition: var(--jr-transition);
  cursor: default;
}
.jr-feature-card:hover {
  border-color: var(--jr-primary);
  box-shadow: var(--jr-card-shadow);
  transform: translateY(-3px);
}
.jr-feature-icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--jr-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 16px;
}
.jr-feature-card h5 { font-weight: 700; margin-bottom: 8px; font-size: 1rem; }
.jr-feature-card p  { color: var(--jr-muted); margin: 0; font-size: 0.90rem; line-height: 1.65; }

/* ══════════════════════════════════════════════════════════════════════
   HOW IT WORKS  –  STEP CARDS
   ══════════════════════════════════════════════════════════════════════ */
.jr-steps { background: var(--jr-section-bg); }

.jr-step-card {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--jr-card-radius);
  padding: 22px 16px 20px;
  text-align: center;
  height: 100%;
  transition: var(--jr-transition);
}
.jr-step-card:hover {
  box-shadow: var(--jr-card-shadow);
  transform: translateY(-3px);
}
.jr-step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--jr-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.jr-step-icon  { font-size: 1.85rem; display: block; margin-bottom: 8px; }
.jr-step-card h6 { font-weight: 700; margin-bottom: 5px; font-size: 0.92rem; }
.jr-step-card p  { font-size: 0.80rem; color: var(--jr-muted); margin: 0; line-height: 1.5; }

/* ══════════════════════════════════════════════════════════════════════
   AI DISCLAIMER SECTION
   ══════════════════════════════════════════════════════════════════════ */
.jr-ai-disclaimer {
  background: #FFFBEB;
  border-top: 4px solid #F59E0B;
  border-bottom: 1px solid #FDE68A;
}
.jr-ai-disclaimer-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.jr-ai-disclaimer-inner .disc-icon { font-size: 2.6rem; display: block; margin-bottom: 14px; }
.jr-ai-disclaimer-inner h4         { font-weight: 800; color: #92400E; margin-bottom: 12px; }
.jr-ai-disclaimer-inner p          { color: #78350F; font-size: 0.93rem; line-height: 1.75; }

/* ══════════════════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════════════════ */
.jr-cta {
  background: linear-gradient(135deg, #312E81 0%, #4F46E5 100%);
}

/* ══════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════ */
.jr-footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.55);
  padding: 52px 0 28px;
}
.jr-footer .footer-brand {
  font-weight: 800;
  font-size: 1.18rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.jr-footer h6 {
  color: rgba(255, 255, 255, 0.80);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.jr-footer a {
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 8px;
  transition: color 0.18s;
}
.jr-footer a:hover { color: #fff; }
.jr-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.80rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.jr-footer-ai-notice { color: rgba(245, 158, 11, 0.72); }

/* ══════════════════════════════════════════════════════════════════════
   INNER CONTENT PAGES  (Contacts, Privacy, etc.)
   ══════════════════════════════════════════════════════════════════════ */
.jr-content-page { padding: 2.5rem 0 3rem; }

/* ══════════════════════════════════════════════════════════════════════
   AUTH PAGES  (Login, Register)
   ══════════════════════════════════════════════════════════════════════ */
.jr-auth-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: var(--jr-card-radius);
  box-shadow: var(--jr-card-shadow);
  padding: 2.25rem 2rem 1.75rem;
  margin: 2.5rem auto 3rem;
}
.jr-auth-header {
  text-align: center;
  margin-bottom: 1.75rem;
}
.jr-auth-logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--jr-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.jr-auth-consent-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 0.875rem 1rem;
}
.jr-auth-footer {
  text-align: center;
  font-size: 0.88rem;
  color: var(--jr-muted);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #F3F4F6;
}
.jr-auth-footer a {
  color: var(--jr-primary);
  font-weight: 600;
  text-decoration: none;
}
.jr-auth-footer a:hover { text-decoration: underline; }

/* Shared primary button used on auth forms */
.jr-btn-primary {
  background: var(--jr-primary);
  border-color: var(--jr-primary);
  color: #fff;
  border-radius: 8px;
  transition: var(--jr-transition);
}
.jr-btn-primary:hover, .jr-btn-primary:focus {
  background: var(--jr-primary-dark);
  border-color: var(--jr-primary-dark);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════════════
   DASHBOARD PAGE
   ══════════════════════════════════════════════════════════════════════ */

.jr-dash-header {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4F46E5 100%);
  border-radius: var(--jr-card-radius);
  padding: 24px 28px;
  color: #fff;
}

.jr-dash-stat-card {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--jr-card-radius);
  padding: 20px 18px;
  height: 100%;
  transition: var(--jr-transition);
}
.jr-dash-stat-card:hover {
  border-color: var(--jr-primary);
  box-shadow: var(--jr-card-shadow);
}
.jr-dash-stat-val {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--jr-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.jr-dash-stat-lbl {
  font-size: 0.82rem;
  color: var(--jr-muted);
  margin-top: 4px;
}

.jr-dash-email-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #F3F4F6;
}
.jr-dash-email-row:last-child { border-bottom: none; }

.jr-dash-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.jr-dash-email-from { font-size: 0.88rem; font-weight: 600; color: var(--jr-text); line-height: 1.3; }
.jr-dash-email-subj { font-size: 0.78rem; color: var(--jr-muted); margin-top: 2px; }

.jr-quick-action {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px 14px;
  text-decoration: none;
  color: var(--jr-text);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--jr-transition);
  height: 100%;
}
.jr-quick-action:hover {
  border-color: var(--jr-primary);
  box-shadow: var(--jr-card-shadow);
  color: var(--jr-primary);
  text-decoration: none;
  transform: translateY(-2px);
}
.jr-quick-action-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--jr-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

