/* ============================================================
   RedyBiz Core — Public CSS
   Design System: Modern SaaS / Tech Startup
   Author: Grupo Pro Digital
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  --rb-cyan:        #00D4FF;
  --rb-cyan-dark:   #00A8CC;
  --rb-cyan-glow:   rgba(0, 212, 255, 0.15);
  --rb-dark:        #0A2540;
  --rb-dark-card:   #0D2D4F;
  --rb-dark-muted:  #143255;
  --rb-white:       #FFFFFF;
  --rb-surface:     #F8FAFC;
  --rb-border:      #E2E8F0;
  --rb-muted:       #64748B;
  --rb-text:        #1E293B;
  --rb-text-light:  #475569;
  --rb-success:     #10B981;
  --rb-error:       #EF4444;
  --rb-warning:     #F59E0B;

  --rb-font-display: 'Poppins', sans-serif;
  --rb-font-body:    'Poppins', sans-serif;

  --rb-radius-sm:   6px;
  --rb-radius:      12px;
  --rb-radius-lg:   20px;
  --rb-radius-xl:   32px;

  --rb-shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --rb-shadow:      0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --rb-shadow-lg:   0 20px 60px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
  --rb-shadow-cyan: 0 0 0 3px var(--rb-cyan-glow);

  --rb-transition:  all .2s cubic-bezier(.4,0,.2,1);
  --rb-transition-slow: all .4s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────────── */
.redybiz-wrap *, .redybiz-page-wrap * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.redybiz-wrap, .redybiz-page-wrap {
  font-family: var(--rb-font-body);
  color: var(--rb-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ─────────────────────────────────────────────── */
.rb-display {
  font-family: var(--rb-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.rb-heading {
  font-family: var(--rb-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ── Layout ─────────────────────────────────────────────────── */
.rb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.rb-section {
  padding: 80px 0;
}

.rb-section-sm {
  padding: 48px 0;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.rb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--rb-radius);
  font-family: var(--rb-font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--rb-transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.rb-btn-primary {
  background: var(--rb-cyan);
  color: var(--rb-dark);
}

.rb-btn-primary:hover {
  background: var(--rb-cyan-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
  color: var(--rb-dark);
  text-decoration: none;
}

.rb-btn-dark {
  background: var(--rb-dark);
  color: var(--rb-white);
}

.rb-btn-dark:hover {
  background: #0d3160;
  transform: translateY(-1px);
  color: var(--rb-white);
  text-decoration: none;
}

.rb-btn-outline {
  background: transparent;
  border: 2px solid var(--rb-border);
  color: var(--rb-text);
}

.rb-btn-outline:hover {
  border-color: var(--rb-cyan);
  color: var(--rb-cyan);
  background: var(--rb-cyan-glow);
}

.rb-btn-ghost {
  background: transparent;
  color: var(--rb-muted);
  padding: 8px 16px;
}

.rb-btn-ghost:hover {
  background: var(--rb-surface);
  color: var(--rb-text);
}

.rb-btn-sm { padding: 8px 16px; font-size: 13px; }
.rb-btn-lg { padding: 16px 32px; font-size: 16px; }

.rb-btn-icon {
  width: 40px; height: 40px; padding: 0;
  border-radius: 50%;
  justify-content: center;
}

/* Loading state */
.rb-btn.rb-loading {
  pointer-events: none;
  opacity: 0.7;
}
.rb-btn.rb-loading::after {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: rb-spin .7s linear infinite;
  margin-left: 8px;
}

/* ── Hero Section ────────────────────────────────────────────── */
.rb-hero {
  background: var(--rb-dark);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.rb-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0,212,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.rb-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 40%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0,212,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.rb-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.rb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--rb-cyan);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.rb-hero__title {
  font-family: var(--rb-font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: var(--rb-white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.rb-hero__title span {
  color: var(--rb-cyan);
  position: relative;
}

.rb-hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 48px;
  font-weight: 400;
}

/* ── AI Search Box ────────────────────────────────────────────── */
.rb-ai-search {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--rb-radius-xl);
  padding: 24px;
  max-width: 680px;
  margin: 0 auto;
}

.rb-ai-search__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--rb-cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.rb-ai-search__input-row {
  display: flex;
  gap: 12px;
}

.rb-ai-search__input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--rb-radius);
  padding: 14px 20px;
  font-size: 16px;
  color: var(--rb-white);
  font-family: var(--rb-font-body);
  outline: none;
  transition: var(--rb-transition);
}

.rb-ai-search__input::placeholder {
  color: rgba(255,255,255,0.35);
}

.rb-ai-search__input:focus {
  border-color: var(--rb-cyan);
  background: rgba(0,212,255,0.05);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.12);
}

.rb-ai-search__examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.rb-ai-search__example {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--rb-transition);
}

.rb-ai-search__example:hover {
  background: var(--rb-cyan-glow);
  border-color: var(--rb-cyan);
  color: var(--rb-cyan);
}

/* AI Results */
.rb-ai-results {
  margin-top: 48px;
}

.rb-ai-results__explanation {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--rb-cyan-glow);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--rb-radius);
  padding: 14px 20px;
  margin-bottom: 28px;
  color: var(--rb-dark);
  font-size: 14px;
  font-weight: 500;
}

/* ── Business Cards ───────────────────────────────────────────── */
.rb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.rb-grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
}

.rb-card {
  background: var(--rb-white);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius-lg);
  overflow: hidden;
  transition: var(--rb-transition);
  position: relative;
}

.rb-card:hover {
  border-color: rgba(0,212,255,0.3);
  box-shadow: var(--rb-shadow-lg), 0 0 0 1px rgba(0,212,255,0.1);
  transform: translateY(-4px);
}

.rb-card__cover {
  height: 140px;
  background: linear-gradient(135deg, var(--rb-dark) 0%, #1a3a6b 100%);
  position: relative;
  overflow: hidden;
}

.rb-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.rb-card__featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--rb-cyan);
  color: var(--rb-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.rb-card__body {
  padding: 20px;
}

.rb-card__logo-row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: -36px;
  margin-bottom: 14px;
}

.rb-card__logo {
  width: 64px; height: 64px;
  border-radius: var(--rb-radius);
  border: 3px solid var(--rb-white);
  background: var(--rb-surface);
  object-fit: cover;
  box-shadow: var(--rb-shadow);
  flex-shrink: 0;
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.rb-card__category-pill {
  background: var(--rb-surface);
  color: var(--rb-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.rb-card__name {
  font-family: var(--rb-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--rb-text);
  margin-bottom: 6px;
  line-height: 1.3;
  text-decoration: none;
  display: block;
}

.rb-card__name:hover { color: var(--rb-cyan-dark); }

.rb-card__location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--rb-muted);
  margin-bottom: 10px;
}

.rb-card__desc {
  font-size: 14px;
  color: var(--rb-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rb-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rb-border);
}

.rb-card__stat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rb-muted);
}

.rb-card__actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

/* ── Section Headers ─────────────────────────────────────────── */
.rb-section-header {
  margin-bottom: 48px;
}

.rb-section-header__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rb-cyan-dark);
  margin-bottom: 8px;
}

.rb-section-header__title {
  font-family: var(--rb-font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--rb-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.rb-section-header--center {
  text-align: center;
}

/* ── Categories Grid ─────────────────────────────────────────── */
.rb-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.rb-category-card {
  background: var(--rb-white);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--rb-transition);
  text-decoration: none;
}

.rb-category-card:hover {
  border-color: var(--rb-cyan);
  background: var(--rb-cyan-glow);
  transform: translateY(-2px);
  box-shadow: var(--rb-shadow);
}

.rb-category-card__icon {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

.rb-category-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--rb-text);
}

/* ── Profile Page ────────────────────────────────────────────── */
.rb-profile {
  min-height: 100vh;
  background: var(--rb-surface);
}

.rb-profile__cover {
  height: 300px;
  background: linear-gradient(135deg, var(--rb-dark) 0%, #1a4a8a 100%);
  position: relative;
  overflow: hidden;
}

.rb-profile__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.rb-profile__cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,37,64,0.6) 100%);
}

.rb-profile__main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.rb-profile__header {
  background: var(--rb-white);
  border-radius: var(--rb-radius-lg);
  border: 1px solid var(--rb-border);
  padding: 32px;
  margin-top: -80px;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  box-shadow: var(--rb-shadow);
}

.rb-profile__logo-wrap {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px;
}

.rb-profile__logo {
  width: 100px; height: 100px;
  border-radius: var(--rb-radius);
  border: 4px solid var(--rb-white);
  object-fit: cover;
  box-shadow: var(--rb-shadow);
  background: var(--rb-surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  overflow: hidden;
  flex-shrink: 0;
}

.rb-profile__logo-info { flex: 1; }

.rb-profile__actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.rb-profile__name {
  font-family: var(--rb-font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--rb-text);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.rb-profile__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.rb-profile__location {
  display: flex; align-items: center; gap: 5px;
  font-size: 14px; color: var(--rb-muted);
}

.rb-profile__stats-row {
  display: flex;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rb-border);
}

.rb-profile__stat {
  display: flex; flex-direction: column; gap: 2px;
}

.rb-profile__stat-num {
  font-family: var(--rb-font-display);
  font-size: 24px; font-weight: 800;
  color: var(--rb-text);
}

.rb-profile__stat-label {
  font-size: 12px; color: var(--rb-muted); font-weight: 500;
}

.rb-profile__body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  padding-bottom: 80px;
}

.rb-profile__desc {
  background: var(--rb-white);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius-lg);
  padding: 28px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--rb-text-light);
}

.rb-profile__sidebar {}

.rb-profile__sidebar-card {
  background: var(--rb-white);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}

.rb-profile__sidebar-card h3 {
  font-family: var(--rb-font-display);
  font-size: 15px; font-weight: 700;
  margin-bottom: 16px;
  color: var(--rb-text);
}

.rb-social-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--rb-radius-sm);
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  color: var(--rb-text);
  transition: var(--rb-transition);
  border: 1px solid transparent;
}

.rb-social-link:hover {
  background: var(--rb-surface);
  border-color: var(--rb-border);
  color: var(--rb-text);
}

/* ── News Feed ────────────────────────────────────────────────── */
.rb-news-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--rb-border);
}

.rb-news-item:last-child { border-bottom: none; }

.rb-news-item__type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.rb-news-type-news    { background: #EFF6FF; color: #2563EB; }
.rb-news-type-event   { background: #FFF7ED; color: #EA580C; }
.rb-news-type-launch  { background: #F0FDF4; color: #16A34A; }
.rb-news-type-update  { background: #FAF5FF; color: #9333EA; }

.rb-news-item__title {
  font-family: var(--rb-font-display);
  font-size: 17px; font-weight: 700;
  color: var(--rb-text);
  margin-bottom: 6px;
}

.rb-news-item__content {
  font-size: 14px; color: var(--rb-text-light); line-height: 1.6;
  margin-bottom: 10px;
}

.rb-news-item__date {
  font-size: 12px; color: var(--rb-muted);
}

/* ── Share Buttons ────────────────────────────────────────────── */
.rb-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rb-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: var(--rb-radius-sm);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: var(--rb-transition);
  border: 1px solid var(--rb-border);
  background: var(--rb-white);
  color: var(--rb-text);
  cursor: pointer;
  font-family: var(--rb-font-body);
}

.rb-share-btn:hover {
  background: var(--var-btn-color, var(--rb-dark));
  color: white;
  border-color: transparent;
  transform: translateY(-1px);
}

/* ── Action Buttons (follow, recommend, favorite) ────────────── */
.rb-action-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px;
  border-radius: var(--rb-radius);
  font-size: 14px; font-weight: 600;
  cursor: pointer; border: 2px solid var(--rb-border);
  background: var(--rb-white); color: var(--rb-text);
  transition: var(--rb-transition);
  font-family: var(--rb-font-body);
}

.rb-action-btn:hover { border-color: var(--rb-cyan); color: var(--rb-cyan); }

.rb-action-btn--active.rb-follow-btn    { background: var(--rb-dark); border-color: var(--rb-dark); color: var(--rb-cyan); }
.rb-action-btn--active.rb-rec-btn       { background: #FFF1F2; border-color: #FCA5A5; color: #DC2626; }
.rb-action-btn--active.rb-fav-btn       { background: #FFFBEB; border-color: #FCD34D; color: #D97706; }

/* ── Dashboard ────────────────────────────────────────────────── */
.rb-dashboard {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

.rb-dashboard__header {
  margin-bottom: 40px;
}

.rb-dashboard__welcome {
  font-family: var(--rb-font-display);
  font-size: 30px; font-weight: 800;
  color: var(--rb-text);
  margin-bottom: 6px;
}

.rb-dashboard__nav {
  display: flex;
  gap: 4px;
  background: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  padding: 6px;
  margin-bottom: 32px;
  overflow-x: auto;
}

.rb-dashboard__nav-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 18px;
  border-radius: calc(var(--rb-radius) - 4px);
  font-size: 14px; font-weight: 500;
  cursor: pointer; border: none; background: transparent;
  color: var(--rb-muted);
  transition: var(--rb-transition);
  font-family: var(--rb-font-body);
  white-space: nowrap;
}

.rb-dashboard__nav-btn:hover { background: var(--rb-white); color: var(--rb-text); }
.rb-dashboard__nav-btn.rb-active { background: var(--rb-white); color: var(--rb-text); box-shadow: var(--rb-shadow-sm); font-weight: 600; }

.rb-dashboard__panel { display: none; }
.rb-dashboard__panel.rb-active { display: block; }

/* Stats cards */
.rb-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.rb-stat-card {
  background: var(--rb-white);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius-lg);
  padding: 24px;
}

.rb-stat-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--rb-radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.rb-stat-card__num {
  font-family: var(--rb-font-display);
  font-size: 36px; font-weight: 800;
  color: var(--rb-text); margin-bottom: 4px;
}

.rb-stat-card__label { font-size: 14px; color: var(--rb-muted); font-weight: 500; }

/* ── Forms ────────────────────────────────────────────────────── */
.rb-form { max-width: 480px; margin: 0 auto; }

.rb-form-card {
  background: var(--rb-white);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius-xl);
  padding: 40px;
  box-shadow: var(--rb-shadow-lg);
}

.rb-form-card__logo {
  text-align: center;
  margin-bottom: 32px;
}

.rb-form-card__title {
  font-family: var(--rb-font-display);
  font-size: 28px; font-weight: 800;
  color: var(--rb-text);
  text-align: center;
  margin-bottom: 8px;
}

.rb-form-card__subtitle {
  text-align: center;
  color: var(--rb-muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.rb-field { margin-bottom: 20px; }

.rb-field label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--rb-text);
  margin-bottom: 6px;
}

.rb-field input,
.rb-field select,
.rb-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--rb-border);
  border-radius: var(--rb-radius);
  font-size: 15px;
  font-family: var(--rb-font-body);
  color: var(--rb-text);
  background: var(--rb-white);
  transition: var(--rb-transition);
  outline: none;
  -webkit-appearance: none;
}

.rb-field input:focus,
.rb-field select:focus,
.rb-field textarea:focus {
  border-color: var(--rb-cyan);
  box-shadow: var(--rb-shadow-cyan);
}

.rb-field textarea { resize: vertical; min-height: 100px; }

.rb-field__hint {
  font-size: 12px; color: var(--rb-muted);
  margin-top: 5px;
}

.rb-field__error {
  font-size: 12px; color: var(--rb-error);
  margin-top: 5px; display: none;
}

.rb-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Account type selector */
.rb-account-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.rb-account-type {
  border: 2px solid var(--rb-border);
  border-radius: var(--rb-radius);
  padding: 16px;
  cursor: pointer;
  transition: var(--rb-transition);
  text-align: center;
  position: relative;
}

.rb-account-type input[type="radio"] { display: none; }

.rb-account-type__icon { font-size: 28px; margin-bottom: 8px; display: block; }
.rb-account-type__label { font-size: 14px; font-weight: 700; color: var(--rb-text); display: block; }
.rb-account-type__sub { font-size: 11px; color: var(--rb-muted); margin-top: 2px; display: block; }

.rb-account-type:has(input:checked) {
  border-color: var(--rb-cyan);
  background: var(--rb-cyan-glow);
}

/* ── Alert / Toast ────────────────────────────────────────────── */
.rb-alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--rb-radius);
  font-size: 14px; font-weight: 500;
  margin-bottom: 20px;
}

.rb-alert-success { background: #ECFDF5; border: 1px solid #6EE7B7; color: #065F46; }
.rb-alert-error   { background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B; }
.rb-alert-info    { background: #EFF6FF; border: 1px solid #93C5FD; color: #1E40AF; }

/* Toast notification */
.rb-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--rb-dark);
  color: var(--rb-white);
  padding: 14px 20px;
  border-radius: var(--rb-radius);
  font-size: 14px; font-weight: 500;
  box-shadow: var(--rb-shadow-lg);
  z-index: 99999;
  transform: translateY(0);
  opacity: 1;
  transition: var(--rb-transition-slow);
  max-width: 320px;
}

.rb-toast.rb-toast--hiding {
  transform: translateY(20px);
  opacity: 0;
}

/* ── Skeleton Loader ─────────────────────────────────────────── */
.rb-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: rb-shimmer 1.5s infinite;
  border-radius: var(--rb-radius-sm);
}

/* ── Pagination ───────────────────────────────────────────────── */
.rb-pagination {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 48px;
}

.rb-page-btn {
  width: 40px; height: 40px;
  border-radius: var(--rb-radius-sm);
  border: 1px solid var(--rb-border);
  background: var(--rb-white);
  font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: var(--rb-font-body);
  transition: var(--rb-transition);
  display: flex; align-items: center; justify-content: center;
}

.rb-page-btn:hover { border-color: var(--rb-cyan); color: var(--rb-cyan); }
.rb-page-btn.rb-active { background: var(--rb-dark); border-color: var(--rb-dark); color: var(--rb-white); }
.rb-page-btn:disabled { opacity: 0.4; cursor: default; }

/* ── Directory Filters ───────────────────────────────────────── */
.rb-filters {
  background: var(--rb-white);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  align-items: end;
}

/* ── Recommended badge ────────────────────────────────────────── */
.rb-recommended-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, #FFF1F2, #FFE4E6);
  border: 1px solid #FCA5A5;
  color: #DC2626;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 100px;
}

/* ── Empty State ─────────────────────────────────────────────── */
.rb-empty {
  text-align: center;
  padding: 80px 24px;
}

.rb-empty__icon { font-size: 64px; margin-bottom: 20px; opacity: 0.5; }
.rb-empty__title { font-family: var(--rb-font-display); font-size: 22px; font-weight: 700; color: var(--rb-text); margin-bottom: 10px; }
.rb-empty__text { font-size: 15px; color: var(--rb-muted); margin-bottom: 28px; }

/* ── Animations ───────────────────────────────────────────────── */
@keyframes rb-spin    { to { transform: rotate(360deg); } }
@keyframes rb-shimmer { to { background-position: -200% 0; } }
@keyframes rb-fadeIn  { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rb-slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.rb-animate-in { animation: rb-fadeIn .4s ease forwards; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .rb-hero { padding: 72px 0 60px; }
  .rb-ai-search__input-row { flex-direction: column; }
  .rb-profile__body { grid-template-columns: 1fr; }
  .rb-profile__actions { flex-wrap: wrap; }
  .rb-form-card { padding: 28px 20px; }
  .rb-form__row { grid-template-columns: 1fr; }
  .rb-section { padding: 52px 0; }
  .rb-dashboard__nav { flex-wrap: nowrap; }
  .rb-filters { grid-template-columns: 1fr 1fr; }
  .rb-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .rb-account-types { grid-template-columns: 1fr; }
  .rb-profile__stats-row { flex-wrap: wrap; gap: 20px; }
  .rb-filters { grid-template-columns: 1fr; }
}

/* ── Utility classes ──────────────────────────────────────────── */
.rb-text-cyan   { color: var(--rb-cyan); }
.rb-text-muted  { color: var(--rb-muted); }
.rb-text-center { text-align: center; }
.rb-mt-8  { margin-top: 8px; }
.rb-mt-16 { margin-top: 16px; }
.rb-mt-24 { margin-top: 24px; }
.rb-mt-32 { margin-top: 32px; }
.rb-mb-16 { margin-bottom: 16px; }
.rb-mb-32 { margin-bottom: 32px; }
.rb-flex  { display: flex; }
.rb-flex-center { display: flex; align-items: center; justify-content: center; }
.rb-flex-between { display: flex; align-items: center; justify-content: space-between; }
.rb-gap-8  { gap: 8px; }
.rb-gap-16 { gap: 16px; }
.rb-gap-24 { gap: 24px; }
.rb-w-full { width: 100%; }
.rb-hidden { display: none !important; }

/* ── Social handle input groups ────────────────────────────── */
.rb-input-group:focus-within {
  border-color: var(--rb-cyan) !important;
  box-shadow: var(--rb-shadow-cyan);
}

.rb-input-group input:focus {
  box-shadow: none !important;
  border: none !important;
}

/* ── Brand Logos Slider ──────────────────────────────────── */
.rb-logo-slider-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.rb-logo-slider {
  display: flex;
  align-items: center;
  gap: 0;
  animation: rb-slide-logos 30s linear infinite;
  width: max-content;
}

.rb-logo-slider:hover {
  animation-play-state: paused;
}

.rb-logo-slider__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 64px;
  padding: 8px 20px;
  margin: 0 8px;
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  background: var(--rb-white);
  transition: var(--rb-transition);
  flex-shrink: 0;
  text-decoration: none;
}

.rb-logo-slider__item:hover {
  border-color: var(--rb-cyan);
  box-shadow: var(--rb-shadow), 0 0 0 2px var(--rb-cyan-glow);
  transform: scale(1.05);
}

.rb-logo-slider__item img {
  max-width: 80px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter .2s;
}

.rb-logo-slider__item:hover img {
  filter: grayscale(0%);
}

@keyframes rb-slide-logos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
