/* ============================================================
   DateMillion Consulting & Discussion UI Styles
   Differentiates DateMillion layout from frnd while keeping
   the smooth animations, sticker cards, and responsive feel.
   ============================================================ */

/* Distinctive palette gradient & accents */
:root {
  --dm-coral: #FF3E84;
  --dm-coral-dark: #D4155C;
  --dm-purple: #7C3AED;
  --dm-purple-soft: #F3E8FF;
  --dm-teal: #0D9488;
  --dm-teal-soft: #CCFBF1;
  --dm-amber: #F59E0B;
  --dm-amber-soft: #FEF3C7;
  --dm-navy: #0F172A;
  --dm-slate: #1E293B;
  --dm-card-bg: #FFFFFF;
}

/* Category Grid Section */
.dm-categories {
  padding: calc(90 * var(--s)) calc(60 * var(--s)) calc(100 * var(--s));
  background: #FFFDFB;
  position: relative;
  z-index: 5;
  border-top: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
}
@media (max-width: 1040px) {
  .dm-categories {
    padding: 60px 20px 80px;
  }
}

.dm-cat-header {
  position: static !important;
  text-align: center;
  max-width: 860px;
  margin: 0 auto calc(48 * var(--s)) !important;
  display: block;
}
.dm-cat-header .eyebrow {
  position: static !important;
  display: inline-block;
  margin: 0 0 16px !important;
}
.dm-cat-header .dm-h2 {
  position: static !important;
  margin: 0 0 16px !important;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(32px, calc(56 * var(--s)), 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.dm-cat-header .dm-h2 .line {
  display: block;
}
.dm-cat-header .dm-lead {
  position: static !important;
  width: auto !important;
  margin: 0 auto !important;
  max-width: 58ch;
  font-weight: 400;
  font-size: clamp(15px, calc(18 * var(--s)), 20px);
  line-height: 1.6;
  color: rgba(23, 17, 15, 0.76);
}

.dm-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: calc(28 * var(--s));
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 1040px) {
  .dm-cat-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.dm-cat-card {
  background: #FFFFFF;
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  padding: calc(32 * var(--s));
  box-shadow: 4px 4px 0px var(--ink);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.dm-cat-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px var(--ink);
}

.dm-cat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--dm-purple-soft);
  box-shadow: 2.5px 2.5px 0px var(--ink);
}

.dm-cat-card--rose .dm-cat-icon { background: var(--pink-soft); }
.dm-cat-card--teal .dm-cat-icon { background: var(--dm-teal-soft); }
.dm-cat-card--amber .dm-cat-icon { background: var(--dm-amber-soft); }
.dm-cat-card--cyan .dm-cat-icon { background: #E0F2FE; }
.dm-cat-card--violet .dm-cat-icon { background: var(--dm-purple-soft); }

.dm-cat-title {
  font-family: var(--display);
  font-size: clamp(20px, calc(22 * var(--s)), 26px);
  font-weight: 900;
  margin: 0;
  line-height: 1.25;
}

.dm-cat-desc {
  font-family: var(--sans);
  font-size: clamp(14px, calc(15 * var(--s)), 16px);
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.dm-cat-badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: #F8FAFC;
  margin-top: auto;
}

/* Hero Badge Bar */
.dm-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: calc(24 * var(--s));
}
.dm-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--ink);
  box-shadow: 2.5px 2.5px 0px var(--ink);
  font-family: var(--sans);
  font-size: clamp(12px, calc(13 * var(--s)), 15px);
  font-weight: 700;
  color: var(--ink);
}

/* ============================================================
   Redesigned DateMillion Modern Split Hero Section
   ============================================================ */

.dm-hero-section {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  padding: calc(140 * var(--s)) calc(60 * var(--s)) calc(90 * var(--s));
  background: radial-gradient(circle at 85% 15%, rgba(124, 58, 237, 0.45) 0%, transparent 55%),
              radial-gradient(circle at 15% 85%, rgba(255, 62, 132, 0.6) 0%, transparent 60%),
              linear-gradient(135deg, #FF3E84 0%, #D4155C 40%, #6D28D9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 1040px) {
  .dm-hero-section {
    padding: 110px 20px 60px;
    min-height: auto;
  }
}

.dm-hero-section .fhero__content {
  position: relative !important;
  inset: auto !important;
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: calc(50 * var(--s)) !important;
  max-width: 1340px !important;
  width: 100% !important;
  padding: 0 !important;
  text-align: left !important;
  align-items: center !important;
  pointer-events: auto !important;
  z-index: 3 !important;
}

@media (max-width: 1040px) {
  .dm-hero-section .fhero__content {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center !important;
  }
}

/* Left Column */
.dm-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

@media (max-width: 1040px) {
  .dm-hero-left {
    align-items: center;
    text-align: center;
  }
}

.dm-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 17, 15, 0.88);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-family: var(--mono);
  font-size: clamp(11px, calc(12 * var(--s)), 14px);
  font-weight: 600;
  margin-bottom: calc(20 * var(--s));
}

.dm-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.35);
  animation: dmPulse 1.8s infinite;
}

@keyframes dmPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.dm-hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(38px, calc(72 * var(--s)), 94px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin: 0 0 calc(24 * var(--s));
}

.dm-hero-title .ink-line {
  color: #17110F;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dm-hero-desc {
  font-family: var(--sans);
  font-size: clamp(15px, calc(18 * var(--s)), 22px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin: 0 0 calc(28 * var(--s));
  font-weight: 500;
}

/* Quick Topic Pills in Hero */
.dm-hero-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: calc(30 * var(--s));
}

@media (max-width: 1040px) {
  .dm-hero-topics {
    justify-content: center;
  }
}

.dm-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #FFFFFF;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.dm-topic-pill:hover {
  background: #FFFFFF;
  color: var(--ink);
  transform: translateY(-2px);
}

/* Hero Store Actions */
.dm-hero-store-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: calc(26 * var(--s));
}

@media (max-width: 1040px) {
  .dm-hero-store-row {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
}

/* Trust Proof Row */
.dm-hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: clamp(12px, calc(13 * var(--s)), 15px);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

@media (max-width: 1040px) {
  .dm-hero-proof {
    flex-direction: column;
    gap: 8px;
  }
}

.dm-stars {
  color: #FFD426;
  letter-spacing: 2px;
}

/* Right Column - Live Audio Consultation Mockup Card */
.dm-hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.dm-consult-card {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border: 3px solid var(--ink);
  border-radius: 28px;
  padding: calc(28 * var(--s));
  box-shadow: 8px 8px 0px var(--ink);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

@media (max-width: 1040px) {
  .dm-consult-card {
    max-width: 380px;
    padding: 22px;
  }
}

.dm-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 2px dashed #E2E8F0;
  margin-bottom: 18px;
}

.dm-session-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEE2E2;
  color: #DC2626;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #FCA5A5;
}

.dm-session-live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DC2626;
  animation: dmPulseRed 1.4s infinite;
}

@keyframes dmPulseRed {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.dm-session-timer {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

/* Mentor Profile Spotlight */
.dm-mentor-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.dm-mentor-avatar-box {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  box-shadow: 2px 2px 0px var(--ink);
  overflow: hidden;
  background: #FFE0EC;
  flex-shrink: 0;
}

.dm-mentor-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dm-mentor-info h4 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dm-verified-badge {
  background: #0284C7;
  color: #FFF;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
}

.dm-mentor-info p {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  color: #64748B;
  font-weight: 500;
}

/* Audio Visualizer Waveform */
.dm-audio-visualizer {
  background: #0F172A;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  border: 2px solid var(--ink);
}

.dm-wave-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dm-wave-title {
  font-family: var(--mono);
  font-size: 11px;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dm-wave-bars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  gap: 3px;
}

.dm-wave-bar {
  flex: 1;
  background: linear-gradient(180deg, #FF3E84 0%, #7C3AED 100%);
  border-radius: 999px;
  min-height: 6px;
  animation: dmWaveAnim 1.2s ease-in-out infinite alternate;
}

.dm-wave-bar:nth-child(2n) { animation-duration: 0.8s; }
.dm-wave-bar:nth-child(3n) { animation-duration: 1.1s; }
.dm-wave-bar:nth-child(4n) { animation-duration: 0.9s; }
.dm-wave-bar:nth-child(5n) { animation-duration: 1.3s; }

@keyframes dmWaveAnim {
  0% { height: 10%; }
  50% { height: 95%; }
  100% { height: 35%; }
}

/* Client Quote Bubble */
.dm-client-bubble {
  background: #FFF7F2;
  border: 1.5px solid #FBCFE8;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
  position: relative;
  font-style: italic;
}

.dm-client-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 24px;
  width: 10px;
  height: 10px;
  background: #FFF7F2;
  border-right: 1.5px solid #FBCFE8;
  border-bottom: 1.5px solid #FBCFE8;
  transform: rotate(45deg);
}

/* Audio Call Control Action Buttons */
.dm-call-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dm-control-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 2px 2px 0px var(--ink);
  transition: all 0.2s ease;
}

.dm-control-btn--mic {
  background: #F1F5F9;
  color: var(--ink);
}

.dm-control-btn--end {
  background: #EF4444;
  color: #FFFFFF;
}

.dm-control-btn:hover {
  transform: translate(-1.5px, -1.5px);
  box-shadow: 3.5px 3.5px 0px var(--ink);
}

/* Floating Badges around Card */
.dm-float-badge {
  position: absolute;
  padding: 8px 14px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: #FFD426;
  color: var(--ink);
  box-shadow: 3px 3px 0px var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  z-index: 4;
}

.dm-float-badge--1 {
  top: -18px;
  right: -14px;
  transform: rotate(4deg);
}

.dm-float-badge--2 {
  bottom: -16px;
  left: -14px;
  background: #A78BFA;
  color: #FFF;
  transform: rotate(-3deg);
}