/* ═══════════════════════════════════════════════════════════
   ReviewMe Hub — Business Type Selector Styles
   Premium black + gold aesthetic with glassmorphism cards
   ═══════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold:       #D4A843;
  --gold-light: #F5D78E;
  --gold-dark:  #A07D2F;
  --dark-bg:    #0A0A0F;
  --dark-card:  #111118;
  --dark-border:#1A1A25;
  --text-main:  #E8E8ED;
  --text-muted: #8888A0;
  --radius:     16px;
  --radius-sm:  10px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.reviewme-hub-page {
  background: var(--dark-bg);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── Particles ─── */
.hub-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 20% 30%, rgba(212,168,67,0.15), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(212,168,67,0.1), transparent),
    radial-gradient(1px 1px at 60% 60%, rgba(212,168,67,0.12), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(212,168,67,0.08), transparent),
    radial-gradient(1px 1px at 10% 50%, rgba(212,168,67,0.1), transparent),
    radial-gradient(1px 1px at 90% 70%, rgba(212,168,67,0.06), transparent);
}

/* ─── Container ─── */
.hub-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─── Navigation ─── */
.hub-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.08);
}

.hub-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.hub-logo span {
  color: var(--gold);
}

/* ─── Hero Section ─── */
.hub-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 60px;
  position: relative;
  z-index: 1;
}

.hub-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hub-hero-content {
  max-width: 800px;
  position: relative;
}

.hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hub-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hub-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.gold-line {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hub-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hub-arrow-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
}

.arrow-bounce {
  font-size: 1.4rem;
  animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ─── Business Type Selector ─── */
.hub-selector {
  padding: 80px 0 100px;
  position: relative;
  z-index: 1;
}

.selector-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.selector-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.selector-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ─── Selector Cards Grid ─── */
.selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.selector-card {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 44px 32px 36px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.selector-card .card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(212,168,67,0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.selector-card:hover .card-glow {
  opacity: 1;
}

.selector-card:hover {
  border-color: rgba(212, 168, 67, 0.4);
  transform: translateY(-8px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(212, 168, 67, 0.06);
}

.card-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s;
}

.selector-card:hover .card-icon-wrap {
  background: rgba(212, 168, 67, 0.15);
  border-color: rgba(212, 168, 67, 0.3);
  transform: scale(1.1);
}

.card-icon {
  font-size: 2.2rem;
}

.selector-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.selector-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ─── Card Stats ─── */
.card-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
  padding: 16px 24px;
  background: rgba(212, 168, 67, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 168, 67, 0.08);
  width: 100%;
  justify-content: center;
}

.card-stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2px;
}

.card-stat span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ─── Card CTA ─── */
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0A0F;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: all 0.3s;
  margin-top: auto;
}

.selector-card:hover .card-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
}

/* ─── Trust Section ─── */
.hub-trust {
  padding: 60px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.trust-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  text-align: center;
}

.trust-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Footer ─── */
.hub-footer {
  padding: 36px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hub-footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hub-hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.selector-card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.selector-card:nth-child(1) { animation-delay: 0.1s; }
.selector-card:nth-child(2) { animation-delay: 0.25s; }
.selector-card:nth-child(3) { animation-delay: 0.4s; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .selector-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .hub-nav {
    padding: 16px 20px;
  }

  .hub-hero {
    padding: 120px 20px 40px;
    min-height: 60vh;
  }

  .hub-selector {
    padding: 40px 0 60px;
  }

  .trust-row {
    gap: 20px;
  }

  .trust-item h3 {
    font-size: 1.5rem;
  }

  .selector-card {
    padding: 32px 24px 28px;
  }

  .card-icon-wrap {
    width: 64px;
    height: 64px;
  }

  .card-icon {
    font-size: 1.8rem;
  }
}
