/* ═══════════════════════════════════════════════
   SURAKSHAK.CSS — Become a Surakshak Page
   Futuristic overrides + badge progression
═══════════════════════════════════════════════ */

/* ── Hero Override ── */
.surakshak-hero {
  background: var(--bg) !important;
  padding: 140px 24px 100px !important;
  position: relative;
  overflow: hidden;
}
.surakshak-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 650px 500px at 30% 60%, rgba(255,107,26,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 70% 20%, rgba(0,200,120,0.08) 0%, transparent 55%);
  pointer-events: none;
}
.surakshak-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
}

.surakshak-hero .live-counter {
  background: rgba(255,107,26,0.12) !important;
  border-color: rgba(255,107,26,0.3) !important;
}
.surakshak-hero .live-dot { background: var(--accent-saffron) !important; }
.surakshak-hero .live-counter span { color: var(--accent-saffron) !important; }
.surakshak-hero h1 {
  font-family: 'Playfair Display', serif !important;
  color: var(--text-primary) !important;
}
.surakshak-hero h1 span {
  background: linear-gradient(135deg, var(--accent-saffron), #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.surakshak-hero p {
  color: var(--text-secondary) !important;
  font-family: 'DM Sans', sans-serif !important;
}

/* ── All Content Sections ── */
.fomo-section, .roles-section, .journey-section,
.impact-section, .testimonials-section, .surakshak-cta-section,
.benefits-section, .requirements-section {
  background: var(--bg) !important;
  border-top: 1px solid var(--border);
}
.fomo-text h2, .roles-section h2, .journey-section h2,
.impact-section h2, .benefits-section h2, .requirements-section h2,
.surakshak-cta-section h2 {
  font-family: 'DM Serif Display', serif !important;
  color: var(--text-primary) !important;
}
.fomo-text p, .roles-section p, .journey-section p,
.impact-section p, .benefits-section p, .requirements-section p {
  color: var(--text-secondary) !important;
}
.fomo-text h2 span { color: var(--accent-saffron) !important; -webkit-text-fill-color: unset !important; }

/* ── FOMO Feed / Activity ── */
.fomo-feed {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
}
.feed-item { border-bottom-color: var(--border) !important; }
.feed-item-name, .feed-name { color: var(--text-primary) !important; font-family: 'Space Grotesk', sans-serif !important; }
.feed-item-text, .feed-action { color: var(--text-secondary) !important; }
.feed-time { color: var(--accent-saffron) !important; font-family: 'Space Grotesk', sans-serif !important; }

/* ── Badge Progression Visual ── */
.badge-progression {
  max-width: 900px;
  margin: 0 auto 64px;
  position: relative;
}
.badge-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 48px 0;
}
.badge-track::before {
  content: '';
  position: absolute;
  top: 50%; left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-saffron), var(--accent-cyan));
  transform: translateY(-50%);
  z-index: 0;
}
.badge-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.badge-node:hover { transform: translateY(-8px); }
.badge-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.badge-circle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-saffron), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s;
}
.badge-node:hover .badge-circle,
.badge-node.active .badge-circle {
  border-color: var(--accent-saffron);
  box-shadow: 0 0 0 4px rgba(255,107,26,0.2), 0 8px 24px rgba(255,107,26,0.3);
}
.badge-node:hover .badge-circle::before,
.badge-node.active .badge-circle::before { opacity: 1; }
.badge-icon { font-size: 28px; position: relative; z-index: 1; }
.badge-level {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-saffron);
}
.badge-name {
  font-family: 'DM Serif Display', serif;
  color: var(--text-primary);
  font-size: 15px;
  text-align: center;
}

/* ── Role Cards ── */
.role-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  position: relative;
  overflow: hidden;
}
.role-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-saffron), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s;
}
.role-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 24px 48px rgba(0,0,0,0.3) !important;
}
.role-card:hover::before { opacity: 1; }
.role-card h3, .role-title {
  font-family: 'DM Serif Display', serif !important;
  color: var(--text-primary) !important;
}
.role-card p, .role-desc { color: var(--text-secondary) !important; }
.role-badge {
  font-family: 'Space Grotesk', sans-serif !important;
  background: rgba(255,107,26,0.12) !important;
  color: var(--accent-saffron) !important;
}

/* ── Journey / How it Works Steps ── */
.journey-step, .step {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  transition: all 0.3s ease !important;
}
.journey-step:hover, .step:hover {
  border-color: rgba(255,107,26,0.3) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.2) !important;
}
.journey-step h3, .step h3, .step-title {
  font-family: 'DM Serif Display', serif !important;
  color: var(--text-primary) !important;
}
.journey-step p, .step p, .step-desc {
  color: var(--text-secondary) !important;
}
.step-num, .step-number {
  font-family: 'Space Grotesk', sans-serif !important;
  color: var(--accent-saffron) !important;
}

/* ── CTA ── */
.surakshak-cta-section {
  background: linear-gradient(135deg, rgba(255,107,26,0.07), rgba(0,210,200,0.05)) !important;
}

/* ── Light Mode ── */
[data-theme="light"] .surakshak-hero h1 { color: #0D1422 !important; }
[data-theme="light"] .surakshak-hero p { color: #444 !important; }
[data-theme="light"] .surakshak-hero::after {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

/* Section headings */
[data-theme="light"] .fomo-text h2,
[data-theme="light"] .roles-section h2,
[data-theme="light"] .journey-section h2,
[data-theme="light"] .impact-section h2,
[data-theme="light"] .benefits-section h2,
[data-theme="light"] .requirements-section h2,
[data-theme="light"] .surakshak-cta-section h2 { color: #0D1422 !important; }

[data-theme="light"] .fomo-text p,
[data-theme="light"] .roles-section p,
[data-theme="light"] .journey-section p { color: #555 !important; }

/* FOMO feed — ensure text is readable */
[data-theme="light"] .fomo-feed {
  background: white !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .feed-item { border-bottom-color: rgba(0,0,0,0.07) !important; }
[data-theme="light"] .feed-item-name,
[data-theme="light"] .feed-name { color: #0D1422 !important; }
[data-theme="light"] .feed-item-text,
[data-theme="light"] .feed-action { color: #555 !important; }
[data-theme="light"] .feed-time { color: #D45A00 !important; }

/* Badge progression */
[data-theme="light"] .badge-circle { background: white !important; border-color: rgba(0,0,0,0.1) !important; }
[data-theme="light"] .badge-name { color: #0D1422 !important; }
[data-theme="light"] .badge-track::before { background: linear-gradient(90deg, #D45A00, #00A846); }

/* Role cards */
[data-theme="light"] .role-card {
  background: white !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .role-card h3 { color: #0D1422 !important; }
[data-theme="light"] .role-card p { color: #555 !important; }

/* Journey steps */
[data-theme="light"] .journey-step,
[data-theme="light"] .step {
  background: white !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .journey-step h3,
[data-theme="light"] .step h3 { color: #0D1422 !important; }
[data-theme="light"] .journey-step p,
[data-theme="light"] .step p { color: #555 !important; }
