/* ============================================================================
   FUTURE CLOUD CONNECT — Light Professional Theme (LinkedIn-style)
   White/light-grey backgrounds, dark text, blue accents
============================================================================ */

:root {
  /* Brand accents */
  --blue-500: #0A66C2;
  --blue-600: #004182;
  --blue-700: #003366;
  --green-500: #057642;
  --green-600: #044D2E;
  --red-500: #CC1016;
  --red-600: #A30D0D;
  --purple-500: #5F3DC4;

  /* Base background — LinkedIn warm grey */
  --bg: #F4F2EE;
  --bg-deep: #EDEAE5;
  --bg-card: #FFFFFF;
  --bg-surface: #FAFAF8;

  /* Text */
  --text-primary: #191919;
  --text-secondary: rgba(0,0,0,0.6);
  --text-muted: rgba(0,0,0,0.4);

  /* Borders */
  --border: #E8E5E0;
  --border-strong: #D0CEC8;
  --divider: #E8E5E0;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

  /* Radii */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* No orb background — clean flat */
body::before { display: none; }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--text-primary); }

/* ============================================================================
   BACKGROUND ORBS — hidden for light theme
============================================================================ */
.bg-orbs { display: none; }

/* ============================================================================
   LAYOUT HELPERS
============================================================================ */
.min-h-screen { min-height: 100vh; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.relative { position: relative; }
.z-10 { position: relative; z-index: 10; }
.w-full { width: 100%; }
.grid { display: grid; gap: 1.25rem; }

/* ============================================================================
   GLASS PANELS → solid white cards
============================================================================ */
.glass, .glass-strong, .glass-teal {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ============================================================================
   CARDS
============================================================================ */
.card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================================================
   3D TILT
============================================================================ */
.tilt {
  transition: transform 0.15s ease-out, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ============================================================================
   TYPOGRAPHY & UTILS
============================================================================ */
.text-gradient {
  background: linear-gradient(135deg, #0A66C2 0%, #057642 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-accent { color: #0A66C2; }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ============================================================================
   SKELETON
============================================================================ */
.skeleton {
  background: linear-gradient(90deg, #E8E5E0 25%, #F0EDE8 50%, #E8E5E0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: 0 0; } }

/* ============================================================================
   EMPTY STATES
============================================================================ */
.empty-chat { text-align: center; color: var(--text-muted); padding: 3rem; }

/* ============================================================================
   FORMS
============================================================================ */
.label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.input, .textarea, .select {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: #0A66C2;
  box-shadow: 0 0 0 3px rgba(10,102,194,0.15);
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }

.input-with-icon { position: relative; }
.input-with-icon .input { padding-left: 2.8rem; }
.input-icon {
  position: absolute;
  left: 0.9rem; top: 50%; transform: translateY(-50%);
  width: 1.1rem; height: 1.1rem; color: var(--text-secondary); pointer-events: none;
}

.form-group { margin-bottom: 1.25rem; }

/* ============================================================================
   BUTTONS
============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s, opacity 0.2s, background 0.2s;
  user-select: none;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn:disabled:hover { transform: none !important; }

.btn-primary {
  background: #0A66C2;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(10,102,194,0.25);
  font-weight: 600;
}
.btn-primary::before { display: none; }
.btn-primary:hover:not(:disabled) {
  background: #004182;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10,102,194,0.3);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-outline {
  background: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
}
.btn-outline:hover {
  background: #F4F2EE;
  border-color: #0A66C2;
  color: #0A66C2;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
}
.btn-ghost:hover { background: #F4F2EE; color: var(--text-primary); }

.btn-lg { padding: 0.85rem 1.8rem; font-size: 0.98rem; }
.btn-md { padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ============================================================================
   BADGES / CHIPS
============================================================================ */
.badge {
  display: inline-flex;
  align-items: center; gap: 0.3rem;
  padding: 0.28rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(10,102,194,0.08);
  color: #0A66C2;
  border: 1px solid rgba(10,102,194,0.2);
  border-radius: 9999px;
}
.badge-green { background: rgba(5,118,66,0.08); color: #057642; border-color: rgba(5,118,66,0.2); }
.badge-purple { background: rgba(95,61,196,0.08); color: #5F3DC4; border-color: rgba(95,61,196,0.2); }
.badge-gray { background: #F4F2EE; color: var(--text-secondary); border-color: var(--border); }

/* ============================================================================
   ALERTS
============================================================================ */
.alert {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: flex; align-items: flex-start; gap: 0.65rem;
  border: 1px solid;
  margin-bottom: 1rem;
}
.alert-success { background: rgba(5,118,66,0.06); border-color: rgba(5,118,66,0.2); color: #057642; }
.alert-error   { background: rgba(204,16,22,0.06); border-color: rgba(204,16,22,0.2); color: #CC1016; }
.alert-info    { background: rgba(10,102,194,0.06); border-color: rgba(10,102,194,0.2); color: #0A66C2; }

/* ============================================================================
   NAVBAR — white sticky bar
============================================================================ */
.navbar {
  position: sticky; top: 0; z-index: 100; width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 1.25rem;
  height: 66px; display: flex; align-items: center; gap: 1.5rem;
}
.navbar-brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--text-primary); text-decoration: none; flex-shrink: 0;
}
.navbar-brand img { height: 32px; }
.navbar-links { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.navbar-links a {
  color: var(--text-secondary); font-size: 0.88rem; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.navbar-links a:hover { color: var(--text-primary); }

/* Hamburger */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 4px; padding: 6px;
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all 0.25s;
}

/* ============================================================================
   NAV SEARCH (people directory search — desktop + mobile)
============================================================================ */
.nav-search { position: relative; }
.nav-search-toggle {
  display: flex; align-items: center; gap: 0.45rem;
  background: #F4F2EE; border: 1px solid var(--border); border-radius: 999px;
  padding: 0.42rem 1rem; color: var(--text-secondary); cursor: pointer;
  font-size: 0.85rem; font-weight: 500; white-space: nowrap;
}
.nav-search-toggle:hover { border-color: #0A66C2; color: #0A66C2; }
.nav-search-panel {
  position: absolute; top: calc(100% + 0.6rem); left: 0; z-index: 300;
  width: 380px; max-width: 92vw; background: #FFFFFF;
  border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.16); padding: 1rem;
}
.nav-search-modes { display: flex; gap: 0.35rem; margin-bottom: 0.75rem; }
.nav-search-modes button {
  flex: 1; padding: 0.45rem; border: none; background: #F4F2EE; border-radius: 8px;
  font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); cursor: pointer;
}
.nav-search-modes button.active { background: #0A66C2; color: #FFFFFF; }
.nav-search-field {
  width: 100%; padding: 0.55rem 0.75rem; border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.88rem; margin-bottom: 0.5rem;
  box-sizing: border-box; font-family: inherit;
}
.nav-search-field:focus { outline: none; border-color: #0A66C2; }
.nav-search-btn {
  width: 100%; padding: 0.55rem; border: none; border-radius: 8px;
  background: #0A66C2; color: #FFFFFF; font-weight: 600; font-size: 0.88rem; cursor: pointer;
}
.nav-search-results { max-height: 340px; overflow-y: auto; margin-top: 0.6rem; }
.search-result {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.5rem;
  border-radius: 8px; text-decoration: none; color: inherit;
}
.search-result:hover { background: #F4F2EE; }
.search-result .avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #0A66C2, #057642); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; overflow: hidden;
}
.search-result .avatar img { width: 100%; height: 100%; object-fit: cover; }
.search-result .name { font-weight: 600; font-size: 0.88rem; }
.search-result .meta { font-size: 0.76rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result .type {
  font-size: 0.64rem; background: #E8F0FE; color: #0A66C2;
  padding: 1px 7px; border-radius: 999px; margin-left: 0.35rem; font-weight: 600;
}
.search-empty { text-align: center; color: var(--text-muted); padding: 1.2rem 0.5rem; font-size: 0.85rem; }

@media (max-width: 640px) {
  .nav-search { position: static; }
  .nav-search-toggle span.ns-label { display: none; }
  .nav-search-panel { position: fixed; left: 0.75rem; right: 0.75rem; top: 66px; width: auto; }
}

/* ============================================================================
   ACCOUNT TYPE CARDS (signup)
============================================================================ */
.type-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.type-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  padding: 1rem 0.5rem; border-radius: var(--radius-sm); cursor: pointer;
  border: 1.5px solid var(--border);
  background: #FFFFFF;
  transition: all 0.2s;
  text-align: center;
}
.type-card:hover { border-color: #0A66C2; background: rgba(10,102,194,0.04); }
.type-card.active {
  border-color: #0A66C2;
  background: rgba(10,102,194,0.06);
}
.type-card .icon { width: 1.8rem; height: 1.8rem; color: var(--text-secondary); }
.type-card.active .icon { color: #0A66C2; }
.type-card .name { font-size: 0.8rem; font-weight: 600; }
.type-card .sub { font-size: 0.68rem; color: var(--text-muted); }

/* ============================================================================
   DASHBOARD — sidebar + main
============================================================================ */
.main-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1.5rem;
  max-width: 1240px; margin: 1.5rem auto; padding: 0 1.25rem;
}

@media (max-width: 900px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    gap: 0.25rem;
    padding: 0.4rem 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .sidebar #sidebar-profile { display: none; }
  .sidebar a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.55rem 0.9rem;
    border-radius: 0.5rem;
  }
  .sidebar a svg { display: none; }
}

.sidebar {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 0;
  position: sticky;
  top: 80px;
  align-self: start;
}
.sidebar a {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.7rem 1.1rem;
  color: var(--text-secondary); font-size: 0.88rem; font-weight: 500;
  text-decoration: none; transition: all 0.15s; border-radius: 0;
}
.sidebar a:hover { background: #F4F2EE; color: var(--text-primary); }
.sidebar a.active { background: rgba(10,102,194,0.08); color: #0A66C2; }

/* ============================================================================
   AVATAR
============================================================================ */
.avatar-circle {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #0A66C2, #057642);
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF; font-weight: 700; font-size: 1.1rem; overflow: hidden;
}
.avatar-circle img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================================
   STATS CARDS
============================================================================ */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 1rem; }
.stat-card { padding: 1.25rem; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; }
.stat-lbl { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.3rem; }

/* ============================================================================
   JOB CARDS
============================================================================ */
.job-card {
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.job-title { font-weight: 600; font-size: 0.95rem; }
.job-meta  { font-size: 0.8rem; color: var(--text-secondary); margin-top: 3px; display:flex; gap:0.75rem; flex-wrap:wrap; }
.job-badge { font-size: 0.72rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: rgba(10,102,194,0.08); color: #0A66C2; }

/* ============================================================================
   TOAST
============================================================================ */
#toast-container { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 1000; display: flex; flex-direction: column; gap: 0.6rem; }
.toast {
  min-width: 280px; padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem; animation: fadeInUp .3s ease;
}
.toast-success { border-left: 3px solid #057642; }
.toast-error   { border-left: 3px solid #CC1016; }
.toast .toast-title { font-weight: 600; margin-bottom: 2px; }
.toast .toast-desc  { color: var(--text-secondary); }

/* ============================================================================
   ANIMATIONS
============================================================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in-up { animation: fadeInUp .5s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-fade-in { animation: fadeIn .35s ease both; }

/* ============================================================================
   UTILS
============================================================================ */
.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}
.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}
.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}
.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}
.mx-auto{margin-left:auto;margin-right:auto}
.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}
.opacity-60{opacity:0.6}.opacity-80{opacity:0.8}

/* ============================================================================
   MOBILE
============================================================================ */
@media (max-width: 640px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(6px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-6px); }

  .navbar.open .navbar-links {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem; gap: 0.9rem;
    position: absolute; top: 66px; left: 0; right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
  }

  .card { padding: 1.1rem; }
  .type-cards { grid-template-columns: 1fr; gap: 0.6rem; }
  .stat-grid { grid-template-columns: repeat(2,1fr); gap: 0.75rem; }
  .main-layout { padding: 0 1rem; margin: 1rem auto; gap: 1rem; }
  .job-card { padding: 1rem; }
}

@media (max-width: 480px) {
  .navbar-inner { padding: 0 1rem; height: 60px; }
  .navbar-brand span { font-size: 0.88rem; }
  .btn-lg { padding: 0.75rem 1.4rem; font-size: 0.92rem; }
  .container { padding: 0 1rem; }
}

@media (max-width: 900px) {
  .main-layout { grid-template-columns: 1fr; }
  .stats-grid { gap: 2rem; }
}

@media (max-width: 380px) {
  .stat-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   HOME / LANDING PAGE
============================================================================ */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  max-width: 820px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  background: rgba(5,118,66,0.06);
  border: 1px solid rgba(5,118,66,0.15);
  color: #057642;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.25rem;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Stats ---- */
.stats-section {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.stat-card3 {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card3:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card3 .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0A66C2, #057642);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
}

.stat-card3 .lbl {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---- Features ---- */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.feature-card {
  padding: 2rem;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #0A66C2;
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10,102,194,0.08);
  border: 1px solid rgba(10,102,194,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A66C2;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ---- CTA band ---- */
.cta-band {
  text-align: center;
  padding: 5rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-band p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ---- Footer ---- */
footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.2s;
}

footer a:hover {
  color: #0A66C2;
}

/* ============================================================================
   AUTH PAGES
============================================================================ */
.card-pad {
  padding: 2.5rem;
}

.input-with-btn { position: relative; }
.input-with-btn .input { padding-right: 3rem; }
.input-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.input-btn:hover { color: var(--text-primary); }

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--divider);
}

.pw-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-top: 0.6rem;
}
.pw-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.pw-check svg {
  width: 12px;
  height: 12px;
  stroke: var(--text-muted);
  transition: stroke 0.2s;
}
.pw-check.met { color: #057642; }
.pw-check.met svg { stroke: #057642; }

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,0,0,0.15);
  border-top-color: #0A66C2;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.w-4 { width: 1rem; }
.h-4 { height: 1rem; }

@media (max-width: 768px) {
  .stats-grid    { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero          { padding: 3rem 1.25rem 2rem; }
  .features      { padding: 3rem 1.25rem; }
  .cta-band      { padding: 3rem 1.25rem; }
  .card-pad      { padding: 1.75rem; }
}

@media (max-width: 480px) {
  .pw-checks     { grid-template-columns: 1fr; }
}