/* bento-landing.css - High Density Grid Layout (Blue/Black/White) */

:root {
  --black: #292826;
  --white: #F4F0E6;
  --blue: #5C1B29;
  --blue-solid: #5C1B29;
  --gray-border: #E8E2D2;
  --gray-light: #F9F6ED;
  --gray-text: #3D3D38; /* Updated for AA/AAA contrast ratio */
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  background-color: var(--white) !important;
  font-family: 'Inter', sans-serif !important;
  color: var(--black);
  margin: 0;
  padding: 0;
}

/* Hide legacy sections */
.hero, .features-section, .how-section, .cta-strip {
  display: none !important;
}

/* Base Containers */
.landing-container, .results-container {
  background-color: transparent !important;
  padding: 40px 24px !important;
  max-width: 1400px; /* Wider for that dense editorial look */
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .landing-container, .results-container {
    padding: 20px 12px !important;
    gap: 12px;
  }
}

/* Typography Base */
.bento-box h1, .bento-box h2, .bento-box h3, .bento-box p, .bento-box div {
  font-family: 'Inter', sans-serif !important;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Grid Layouts */
.bento-grid-2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  width: 100%;
}

.bento-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.bento-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

@media (max-width: 1024px) {
  .bento-grid-4, .bento-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .bento-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bento-grid-4, .bento-grid-3, .bento-grid-2 { grid-template-columns: 1fr; gap: 12px; }
}

/* Core Box Style */
.bento-box {
  border-radius: 20px !important;
  padding: 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

@media (max-width: 1024px) {
  .bento-box { padding: 32px 24px; }
}

@media (max-width: 768px) {
  .bento-box { 
    padding: 20px 16px !important; 
    border-radius: 16px !important;
  }
}

/* Colors */
.bg-white { background-color: var(--white) !important; color: var(--black) !important; border: 1px solid var(--gray-border); }
.bg-light { background-color: var(--gray-light) !important; color: var(--black) !important; border: 1px solid var(--gray-border); }
.bg-dark { background-color: var(--black) !important; color: var(--white) !important; }
.bg-blue { background: var(--blue) !important; color: var(--white) !important; }

/* ─── TYPOGRAPHY ─── */
.heading-xl {
  font-size: clamp(28px, 5.5vw, 68px) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 20px !important;
  word-break: break-word;
}

.heading-lg {
  font-size: clamp(22px, 4vw, 44px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 16px !important;
  word-break: break-word;
}

.heading-md {
  font-size: clamp(18px, 3vw, 26px) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 14px !important;
  word-break: break-word;
}

.text-body {
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: var(--gray-text) !important;
  max-width: 480px;
  word-break: break-word;
}
.bg-dark .text-body { color: rgba(255,255,255,0.88) !important; }
.bg-blue .text-body { color: rgba(255,255,255,0.88) !important; }

.huge-num {
  font-size: clamp(44px, 8vw, 100px) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 16px !important;
  color: var(--blue);
}
.bg-dark .huge-num, .bg-blue .huge-num { color: var(--white) !important; }

.pill-tag {
  display: inline-block;
  background-color: var(--black);
  color: var(--white);
  border-radius: 99px;
  padding: 6px 14px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── SPECIFIC BLOCKS ─── */
/* Hero Right Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 100%;
  width: 100%;
}
.h-stat {
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hs-val { font-size: clamp(36px, 5vw, 72px) !important; font-weight: 600 !important; letter-spacing: -0.04em !important; line-height: 1 !important; margin-bottom: 8px !important; color: var(--blue) !important; }
.hs-lbl { font-size: 14px !important; opacity: 0.85 !important; line-height: 1.3 !important; color: var(--black) !important; }

@media (max-width: 640px) {
  .hero-stats-grid {
    gap: 10px;
  }
  .h-stat {
    padding: 16px 10px !important;
    border-radius: 14px !important;
  }
  .hs-val {
    font-size: clamp(26px, 7vw, 40px) !important;
    margin-bottom: 4px !important;
  }
  .hs-lbl {
    font-size: 12px !important;
  }
}

/* How it works Columns (01 02 03 04) */
.how-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 280px;
  background: var(--gray-light);
  border-radius: 20px;
  padding: 32px 24px;
  border: 1px solid var(--gray-border);
  box-sizing: border-box;
}

.how-col-text h3 {
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .how-col {
    min-height: auto !important;
    padding: 24px 16px !important;
    border-radius: 16px !important;
  }
  .how-col-text h3 {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
}

/* Buttons */
.bento-btn {
  background-color: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 99px;
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.2s, filter 0.2s;
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.bento-btn:hover { transform: translateY(-2px); filter: brightness(0.95); }
.btn-dark { background-color: var(--black) !important; color: var(--white) !important; }
.btn-dark:hover { background-color: #222 !important; }
.btn-white { background-color: var(--white) !important; color: var(--black) !important; }

@media (max-width: 640px) {
  .bento-btn {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    white-space: normal !important;
  }
}

/* ─── RESULTS PAGE ─── */
.dash-header {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

@media (max-width: 768px) {
  .dash-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* Top Row: 4 stat cards */
.dash-top-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
}

.dash-stat-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.dash-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.bg-gradient-score {
  background: var(--blue) !important;
  border-color: var(--blue-solid) !important;
  color: var(--white) !important;
}

.dsc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dsc-icon {
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.bg-gradient-score .dsc-icon {
  background: rgba(255,255,255,0.15);
}

.dsc-arrow {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.bg-gradient-score .dsc-arrow {
  border-color: rgba(255,255,255,0.3);
  color: var(--white) !important;
}

.dsc-val {
  font-size: 32px !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.1 !important;
  margin: 8px 0 4px 0 !important;
}

.dsc-lbl {
  font-size: 13px;
  color: var(--gray-text);
  font-weight: 500;
}

.bg-gradient-score .dsc-lbl {
  color: rgba(255,255,255,0.8);
}

@media (max-width: 1024px) {
  .dash-top-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .dash-top-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .dash-stat-card {
    padding: 16px 18px !important;
    min-height: 100px !important;
    border-radius: 16px !important;
  }
  .dsc-val {
    font-size: 28px !important;
  }
}

/* Middle Row: Left Chart (2fr) & Right Breakdown (1fr) */
.dash-middle-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
  width: 100%;
}

.dash-chart-card, .dash-breakdown-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 20px;
  padding: 28px;
  box-sizing: border-box;
}

.dcc-header, .dbc-header {
  margin-bottom: 20px;
}

.dcc-sub, .dbc-sub {
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 4px;
  display: block;
}

@media (max-width: 900px) {
  .dash-middle-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dash-chart-card, .dash-breakdown-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
}

/* Visual Bar Chart for 15 Dimensions */
.assessment-chart {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 220px;
  padding: 10px 0;
  padding-left: 12px;
  gap: 8px;
  position: relative;
  border-bottom: 2px solid var(--black);
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Background gridlines */
.chart-gridlines {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.chart-line {
  width: 100%;
  border-top: 1px solid rgba(0,0,0,0.05);
  position: relative;
}

.chart-line::after {
  content: attr(data-val);
  position: absolute;
  left: -36px;
  top: -8px;
  font-size: 11px;
  color: var(--gray-text);
  font-weight: 700;
}

.chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  z-index: 2;
  position: relative;
  min-width: 16px;
}

.chart-col:hover {
  z-index: 10;
}

.chart-bar-wrap {
  width: 20px;
  background: rgba(0,0,0,0.04);
  border-radius: 6px;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.chart-bar-fill {
  width: 100%;
  border-radius: 6px;
  position: relative;
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
  display: flex;
  justify-content: center;
}

.chart-bar-fill:hover {
  background: var(--black) !important;
}

.chart-tooltip {
  position: absolute;
  top: -48px;
  background: var(--black);
  color: var(--white);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 100;
  line-height: 1.4;
  text-align: center;
}

.chart-bar-fill:hover .chart-tooltip {
  opacity: 1;
  transform: translateY(-4px);
}

.chart-col-label {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-text);
}

/* Chart Legend below dimensions */
.chart-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-border);
}

@media (max-width: 1024px) {
  .chart-legend {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .assessment-chart {
    height: 180px;
    gap: 6px;
    padding-bottom: 8px;
  }
  .chart-gridlines {
    display: none;
  }
  .chart-legend {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-text);
}

.legend-num {
  font-weight: 700;
  font-size: 10px;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--black);
  flex-shrink: 0;
}

/* Overlapping circles breakdown card */
.circle-visual-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 140px;
  position: relative;
  margin-bottom: 24px;
}

.circle-vis {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
}

.circle-vis.c-blue {
  background: var(--blue);
  color: var(--black);
  left: calc(50% - 65px);
  z-index: 1;
}

.circle-vis.c-black {
  background: var(--black);
  color: var(--white);
  left: calc(50% - 15px);
  z-index: 2;
  border: 3px solid var(--white);
}

.cv-val {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.cv-lbl {
  font-size: 10px;
  opacity: 0.8;
  margin-top: 4px;
}

/* Target horizontal bars */
.target-bars-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.target-bar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tbi-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}

.tbi-track {
  height: 6px;
  background: rgba(0,0,0,0.05);
  border-radius: 99px;
  overflow: hidden;
}

.tbi-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 1s ease;
}

/* ─── REAL BUSINESS INFOGRAPHIC STYLE CALCULATING SCREEN ─── */
#calculating {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--white);
  overflow-x: hidden;
  padding: 40px 16px;
  box-sizing: border-box;
  width: 100%;
}

.calc-container {
  display: grid;
  grid-template-columns: 1fr auto 1.5fr;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  gap: 40px;
  box-sizing: border-box;
}

.calc-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-gauge-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.gauge-svg {
  width: 100%;
  height: 100%;
}

.gauge-bg {
  stroke: rgba(0,0,0,0.04);
}

.gauge-fill {
  transition: stroke-dashoffset 0.4s ease;
}

.gauge-content {
  position: absolute;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 4px 0;
}

.gauge-pct {
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  font-style: italic;
  letter-spacing: -0.04em;
  margin: 4px 0;
}

.gauge-sub {
  font-size: 12px;
  color: var(--gray-text);
  margin: 0;
}

.calc-middle {
  display: flex;
  align-items: center;
  height: 600px;
}

.arc-line-svg {
  height: 100%;
  width: 60px;
}

.calc-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.calc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  width: 100%;
}

.calc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  opacity: 0.25;
  transform: scale(0.96) translateX(12px);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ci-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid var(--gray-border);
  transition: all 0.3s ease;
  z-index: 5;
}

.ci-card {
  flex: 1;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: 99px; /* rounded capsule */
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.ci-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ci-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin: 0;
}

.ci-info p {
  font-size: 11px;
  color: var(--gray-text);
  margin: 0;
  line-height: 1.2;
}

.ci-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* ACTIVE / DONE STATES */
.calc-item.active {
  opacity: 1;
  transform: scale(1.04) translateX(0);
}

.calc-item.active .ci-card {
  background: var(--blue) !important;
  border-color: var(--blue-solid) !important;
  box-shadow: 0 8px 24px rgba(0, 31, 101, 0.2);
}

.calc-item.active .ci-num {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue-solid);
  transform: scale(1.1);
}

.calc-item.done {
  opacity: 0.75;
  transform: scale(1) translateX(0);
}

.calc-item.done .ci-card {
  background: var(--black) !important;
  border-color: var(--black) !important;
  color: var(--white) !important;
}

.calc-item.done .ci-info h3 {
  color: var(--white) !important;
}

.calc-item.done .ci-info p {
  color: rgba(255,255,255,0.7) !important;
}

.calc-item.done .ci-num {
  background: var(--white);
  color: var(--black);
  border-color: var(--black);
}

@media (max-width: 900px) {
  .calc-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 12px;
  }
  .calc-middle {
    display: none;
  }
  .progress-gauge-wrap {
    width: 220px;
    height: 220px;
  }
  .gauge-pct {
    font-size: 44px;
  }
  .ci-card {
    border-radius: 16px; /* less curved on mobile to conserve space */
    padding: 10px 14px;
  }
}

/* ─── NAVBAR UPDATES ─── */
body {
  padding-top: 110px !important;
}

.nav {
  position: fixed !important;
  top: 16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 32px) !important;
  max-width: 1300px !important;
  height: 72px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 99px !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  display: flex !important;
  align-items: center !important;
  z-index: 1000 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-inner {
  max-width: 100% !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 24px !important;
  height: 100% !important;
  position: relative !important;
}

/* Brand Styling */
.nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  cursor: pointer !important;
  user-select: none !important;
}

.brand-logo {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: var(--blue, #2563eb) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
  border: none !important;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.brand-logo svg {
  width: 16px !important;
  height: 16px !important;
  fill: #ffffff !important;
}

.logo-name {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--black, #000000) !important;
  letter-spacing: -0.02em !important;
}

/* User Profile & Dropdown */
.nav-login {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.nav-profile-dropdown {
  position: relative !important;
  cursor: pointer !important;
}

.user-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 6px 12px !important;
  border-radius: 14px !important;
  background: transparent !important;
  transition: all 0.2s ease !important;
  border: 1px solid transparent !important;
}

.nav-profile-dropdown:hover .user-card {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.02) !important;
}

.user-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: var(--blue, #2563eb) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15) !important;
}

.avatar-initials {
  text-transform: uppercase !important;
}

.user-details {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

.user-name {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--black, #09090b) !important;
}

.user-email {
  font-size: 11px !important;
  color: var(--gray-text, #71717a) !important;
  margin-top: 2px !important;
}

/* Dropdown Menu */
.nav-profile-dropdown .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
  padding: 6px !important;
  min-width: 140px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(8px) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 1100 !important;
}

.nav-profile-dropdown:hover .dropdown-menu,
.nav-profile-dropdown:focus-within .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  color: #5C5C54 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: background 0.15s ease !important;
}

.dropdown-item[style*="#1A7A4A"]:hover {
  background: rgba(26,122,74,0.08) !important;
}

.dropdown-item[style*="#2D5BE3"]:hover {
  background: rgba(45,91,227,0.07) !important;
}

.dropdown-item:not([style*="#1A7A4A"]):not([style*="#2D5BE3"]):hover {
  background: #fef2f2 !important;
  color: #ef4444 !important;
}

.dropdown-item svg {
  stroke: currentColor !important;
}

/* Sign In Button styling */
.nav-signin-btn {
  background: var(--black, #09090b) !important;
  color: var(--white, #ffffff) !important;
  border: none !important;
  padding: 10px 20px !important;
  border-radius: 99px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  white-space: nowrap;
}

.nav-signin-btn:hover {
  background: #27272a !important;
  transform: translateY(-1px) !important;
}

/* Centered Progress Bar */
#nav-progress {
  display: none !important;
}

.nav.quiz-active #nav-progress {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  max-width: 450px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  z-index: 10 !important;
}

.quiz-bar-top {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.progress-track {
  width: 100% !important;
  height: 6px !important;
  background: var(--gray-border) !important;
  border-radius: 99px !important;
  overflow: hidden !important;
}

.progress-fill {
  height: 100% !important;
  background: var(--blue) !important;
  border-radius: 99px !important;
  transition: width 0.3s ease !important;
}

/* Responsive tweaks for mobile */
@media (max-width: 768px) {
  body {
    padding-top: 80px !important;
  }
  .nav {
    top: 8px !important;
    width: calc(100% - 16px) !important;
    height: 56px !important;
    padding: 0 !important;
  }
  .nav-inner {
    padding: 0 10px !important;
  }
  .brand-logo {
    width: 30px !important;
    height: 30px !important;
  }
  .logo-name {
    display: none !important;
  }
  .nav-pill-container {
    padding: 3px !important;
    gap: 2px !important;
  }
  .nav-pill-item {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  .nav-pill-item svg {
    width: 14px !important;
    height: 14px !important;
  }
  .nav-signin-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .user-card {
    padding: 4px 6px !important;
    gap: 6px !important;
  }
  .user-avatar {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
  }
  .user-email {
    display: none !important;
  }
  .user-name {
    font-size: 11px !important;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  /* Quiz active state on mobile: hide user profile and brand text to avoid overlap */
  .nav.quiz-active .nav-login {
    display: none !important;
  }
  .nav.quiz-active .logo-name {
    display: none !important;
  }
  .nav.quiz-active #nav-progress {
    position: static !important;
    transform: none !important;
    max-width: 100% !important;
    margin-left: 8px !important;
    margin-right: 0 !important;
    flex: 1 !important;
  }
}

/* Issues & Plan Cards */
.issue-card, .plan-card {
  padding: 32px !important;
  border-radius: 20px !important;
  background: var(--white) !important;
  border: 1px solid var(--gray-border) !important;
  color: var(--black) !important;
  display: flex;
  flex-direction: column;
  box-shadow: none !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
  box-sizing: border-box;
  width: 100%;
}
.issue-rank { font-size: 48px !important; line-height: 1 !important; margin-bottom: 16px !important; font-weight: 400 !important; letter-spacing: -0.05em !important; }
.issue-title { font-size: 18px !important; line-height: 1.25 !important; font-weight: 600 !important; margin-bottom: 12px !important; }
.issue-desc { font-size: 14px !important; line-height: 1.5 !important; color: var(--gray-text) !important; }
.issue-urgency { margin-top: auto; padding-top: 16px; font-size: 12px !important; font-weight: 600 !important; color: #E53935 !important; text-transform: uppercase; letter-spacing: 0.05em !important; }

.pc-num { font-size: 20px !important; font-weight: 600 !important; margin-bottom: 12px !important; background: var(--gray-light); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.pc-title { font-size: 18px !important; font-weight: 600 !important; margin-bottom: 8px !important;}
.pc-desc { font-size: 14px !important; line-height: 1.5 !important; color: var(--gray-text) !important; }

@media (max-width: 768px) {
  .issue-card, .plan-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .issue-rank { font-size: 36px !important; margin-bottom: 8px !important; }
  .issue-title { font-size: 16px !important; }
  .issue-desc { font-size: 13.5px !important; }
}

/* Checkout box */
.checkout-box {
  border: 1px solid var(--gray-border);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  color: var(--black);
  box-sizing: border-box;
  width: 100%;
}

.checkout-box.addon-box {
  cursor: pointer;
  margin-bottom: 24px;
  align-items: flex-start;
}

.checkout-box:hover {
  border-color: #CCC;
}

.opt-check-light {
  width: 24px;
  height: 24px;
  border: 1.5px solid #CCC;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.checkout-box.active .opt-check-light,
.checkout-box.selected .opt-check-light {
  background: var(--white);
  border-color: var(--white);
}

.opt-check-light svg {
  width: 14px;
  opacity: 0;
  stroke: var(--black);
}

.checkout-box.active .opt-check-light svg,
.checkout-box.selected .opt-check-light svg {
  opacity: 1;
}

#quiz { background: var(--white); }

/* Custom Scheduler Overrides for Dark Container */
.calendar-box {
  background: #0F172A !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
  padding: 20px !important;
  border-radius: 16px !important;
  color: #F8FAFC !important;
  display: none;
  width: 100%;
  margin-top: 16px;
  position: relative;
  box-sizing: border-box;
}

.calendar-box button {
  color: #F8FAFC !important;
}
.sch-month-label { color: #F8FAFC !important; }
.sch-weekdays div { color: #94A3B8 !important; }
.sch-footer { border-top-color: rgba(255, 255, 255, 0.1) !important; }
.sch-event-info { color: #94A3B8 !important; }

.custom-scheduler {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  width: 100%;
}

@media (max-width: 768px) {
  .custom-scheduler {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .calendar-box {
    padding: 16px !important;
  }
}

.sch-times-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  max-height: 240px !important;
  overflow-y: auto !important;
  padding-right: 4px;
}

.sch-times-list::-webkit-scrollbar {
  width: 4px;
}
.sch-times-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.sch-time-row {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.sch-time-row:hover {
  background: rgba(255,255,255,0.1) !important;
}

.sch-time-row.active {
  background: var(--blue) !important;
  border-color: var(--blue-solid) !important;
}

.sch-time-row.active .sch-time-text {
  color: var(--white) !important;
  font-weight: 700 !important;
}

.sch-time-text {
  font-size: 13px !important;
  color: #F8FAFC !important;
}

/* Checkout Box Dark Panel overrides */
#checkout-section .checkout-box {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--white) !important;
}

#checkout-section .opt-title {
  color: var(--white) !important;
}

#checkout-section .opt-price {
  color: var(--white) !important;
}

#checkout-section .checkout-total {
  border-top-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--white) !important;
}

#checkout-section .total-amt {
  color: var(--white) !important;
}
