/* ================================================================
   NUTRIFLOW — WINTER ARC 92-DAY DISCIPLINE PROTOCOL (OCT 1 - DEC 31)
   Theme: Liquid Glass Purple Aura & Frost Neon Cyan
   Clean Single-View Suite with 3-Month Popover Calendar
   ================================================================ */

:root {
  /* NutriFlow Brand Theme Integration */
  --wa-purple: #A855F7;
  --wa-purple-bright: #C084FC;
  --wa-purple-dim: rgba(168, 85, 247, 0.14);
  --wa-purple-border: rgba(168, 85, 247, 0.25);
  --wa-purple-glow: rgba(168, 85, 247, 0.35);

  --wa-cyan: #38BDF8;
  --wa-cyan-bright: #67E8F9;
  --wa-cyan-dim: rgba(56, 189, 248, 0.12);
  --wa-cyan-border: rgba(56, 189, 248, 0.28);
  --wa-cyan-glow: rgba(56, 189, 248, 0.4);

  --wa-glass-bg: rgba(16, 14, 32, 0.94);
  --wa-glass-card: rgba(22, 19, 44, 0.72);
  --wa-glass-card-hover: rgba(30, 26, 60, 0.82);
  --wa-glass-border: rgba(168, 85, 247, 0.22);
  --wa-glass-border-hover: rgba(192, 132, 252, 0.45);
}

/* ------------------------------------------------------------
   1. FLOATING BOTTOM-RIGHT BEACON / WIDGET
   ------------------------------------------------------------ */
.wa-beacon {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 450;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: linear-gradient(135deg, rgba(16, 14, 32, 0.94) 0%, rgba(26, 21, 52, 0.90) 100%);
  border: 1px solid var(--wa-glass-border);
  border-radius: 999px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(168, 85, 247, 0.25);
  cursor: pointer;
  user-select: none;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: waBeaconFloat 4s ease-in-out infinite alternate;
}

@keyframes waBeaconFloat {
  0% { transform: translateY(0px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 16px rgba(168, 85, 247, 0.2); }
  100% { transform: translateY(-4px); box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55), 0 0 24px rgba(192, 132, 252, 0.35); }
}

.wa-beacon:hover {
  transform: translateY(-5px) scale(1.04);
  border-color: var(--wa-glass-border-hover);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.45);
}

.wa-beacon:active {
  transform: scale(0.97);
}

.wa-beacon-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(56, 189, 248, 0.25) 100%);
  border: 1px solid rgba(192, 132, 252, 0.45);
  color: var(--wa-cyan-bright);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
  flex-shrink: 0;
}

.wa-beacon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: waRotateSlow 16s linear infinite;
}

@keyframes waRotateSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.wa-beacon-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 82px;
}

.wa-beacon-title {
  font-family: 'Space Grotesk', 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(90deg, #ffffff 0%, var(--wa-purple-bright) 50%, var(--wa-cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.wa-beacon-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--wa-purple-bright);
  opacity: 0.95;
  letter-spacing: 0.02em;
}

.wa-beacon-badge {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(56, 189, 248, 0.35) 100%);
  border: 1px solid rgba(192, 132, 252, 0.45);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.25);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.wa-beacon.enrolled .wa-beacon-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.45) 100%);
  border-color: rgba(245, 158, 11, 0.55);
  color: #fef08a;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* ------------------------------------------------------------
   2. WINTER ARC MODAL OVERLAY & CARD
   ------------------------------------------------------------ */
.wa-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 4, 12, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 16px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wa-modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wa-modal-card {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--wa-glass-bg);
  border: 1px solid var(--wa-glass-border);
  border-radius: 24px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 0 45px rgba(168, 85, 247, 0.22);
  overflow: hidden;
  animation: waModalPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes waModalPopIn {
  0% { transform: scale(0.92) translateY(12px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.wa-modal-card::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 220px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.24) 0%, rgba(56, 189, 248, 0.15) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ------------------------------------------------------------
   3. TOP MODAL HEADER BAR
   ------------------------------------------------------------ */
.wa-modal-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px 14px 22px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.16);
  background: linear-gradient(180deg, rgba(28, 22, 54, 0.85) 0%, rgba(16, 14, 32, 0.5) 100%);
  flex-shrink: 0;
}

.wa-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-header-logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(56, 189, 248, 0.25) 100%);
  border: 1px solid rgba(192, 132, 252, 0.45);
  color: var(--wa-cyan-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.3);
  flex-shrink: 0;
}

.wa-header-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wa-header-title {
  font-family: 'Space Grotesk', 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(90deg, #ffffff 0%, var(--wa-purple-bright) 55%, var(--wa-cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.wa-header-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--wa-purple-bright);
  opacity: 0.92;
  letter-spacing: 0.02em;
}

.wa-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Localhost Preview Button in Header */
.wa-header-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(56, 189, 248, 0.22) 100%);
  border: 1px solid rgba(192, 132, 252, 0.45);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.wa-header-preview-btn:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.38) 0%, rgba(56, 189, 248, 0.38) 100%);
  border-color: var(--wa-purple-bright);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.5);
}

.wa-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.wa-close-btn:hover {
  background: rgba(248, 113, 113, 0.2);
  border-color: rgba(248, 113, 113, 0.5);
  color: #fca5a5;
  transform: scale(1.08);
}

/* Scrollable Body */
.wa-modal-body {
  position: relative;
  z-index: 1;
  padding: 20px 22px 24px 22px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(90vh - 80px);
}

.wa-modal-body::-webkit-scrollbar {
  width: 6px;
}
.wa-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.wa-modal-body::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 999px;
}
.wa-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(192, 132, 252, 0.5);
}

/* ------------------------------------------------------------
   4. WELCOME & INFORMATION MODAL VIEW (VIEW A)
   ------------------------------------------------------------ */
.wa-hero-hdr {
  text-align: center;
  padding: 10px 0 16px 0;
}

.wa-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(56, 189, 248, 0.2) 100%);
  border: 1px solid rgba(192, 132, 252, 0.4);
  color: var(--wa-cyan-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.wa-hero-title {
  font-family: 'Space Grotesk', 'Montserrat', sans-serif;
  font-size: 1.95rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0 0 6px 0;
  line-height: 1.15;
}

.wa-hero-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wa-purple-bright);
  letter-spacing: 0.04em;
}

.wa-ethos-box {
  background: var(--wa-glass-card);
  border: 1px solid var(--wa-glass-border);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 20px;
  line-height: 1.55;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.wa-ethos-p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.wa-ethos-highlight {
  color: #fff;
  font-weight: 700;
}

.wa-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.wa-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.wa-pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--wa-glass-card);
  border: 1px solid var(--wa-glass-border);
  transition: all 0.2s ease;
}

.wa-pillar-card:hover {
  background: var(--wa-glass-card-hover);
  border-color: var(--wa-glass-border-hover);
  transform: translateY(-2px);
}

.wa-pillar-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wa-pillar-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}

.wa-pillar-desc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.35;
}

.wa-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.wa-btn-primary {
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #38bdf8 100%);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4), 0 0 20px rgba(56, 189, 248, 0.3);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wa-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.55), 0 0 30px rgba(56, 189, 248, 0.45);
}

.wa-btn-primary:active {
  transform: scale(0.98);
}

.wa-btn-primary.coming-soon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35) 0%, rgba(56, 189, 248, 0.25) 100%) !important;
  border: 1px solid rgba(192, 132, 252, 0.35) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  cursor: not-allowed !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  transform: none !important;
  pointer-events: none;
}

.wa-coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--wa-cyan-bright);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.wa-btn-dismiss {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  transition: color 0.2s;
  text-decoration: underline;
}

.wa-btn-dismiss:hover {
  color: #fff;
}

/* ------------------------------------------------------------
   5. DAY NAVIGATOR & 3-MONTH CALENDAR POPOVER
   ------------------------------------------------------------ */
.wa-day-nav-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.wa-day-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--wa-glass-card);
  border: 1px solid var(--wa-glass-border);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.wa-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--wa-purple-bright);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wa-nav-btn:hover:not(:disabled) {
  background: var(--wa-purple-dim);
  border-color: var(--wa-purple-border);
  color: #fff;
  transform: scale(1.08);
}

.wa-nav-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.wa-nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.wa-nav-day-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wa-nav-date-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 8px;
  padding: 3px 8px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wa-nav-date-btn:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: var(--wa-purple-bright);
  color: #fff;
}

.wa-nav-caret {
  font-size: 0.7rem;
  color: var(--wa-purple-bright);
  transition: transform 0.2s;
}

.wa-nav-today-btn {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--wa-cyan-dim);
  border: 1px solid var(--wa-cyan-border);
  color: var(--wa-cyan-bright);
  cursor: pointer;
  transition: all 0.2s;
}

.wa-nav-today-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  color: #fff;
}

.wa-nav-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wa-nav-tag.today {
  background: rgba(56, 189, 248, 0.2);
  color: var(--wa-cyan-bright);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.wa-nav-tag.past {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wa-nav-tag.future {
  background: rgba(168, 85, 247, 0.18);
  color: var(--wa-purple-bright);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

/* Calendar Popover */
.wa-cal-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 310px;
  background: rgba(18, 15, 36, 0.97);
  border: 1px solid var(--wa-glass-border-hover);
  border-radius: 18px;
  padding: 14px;
  z-index: 100;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(168, 85, 247, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: waPopoverSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes waPopoverSlide {
  0% { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.wa-cal-popover.hidden {
  display: none;
}

.wa-cal-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wa-cal-month-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
}

.wa-cal-month-nav {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--wa-purple-bright);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wa-cal-month-nav:hover:not(:disabled) {
  background: var(--wa-purple-dim);
  color: #fff;
}

.wa-cal-month-nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.wa-cal-month-pills {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.wa-cal-month-pill {
  flex: 1;
  padding: 4px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wa-cal-month-pill:hover {
  background: var(--wa-purple-dim);
  color: #fff;
}

.wa-cal-month-pill.active {
  background: var(--wa-purple-dim);
  border-color: var(--wa-purple-border);
  color: var(--wa-purple-bright);
}

.wa-cal-dow-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}

.wa-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 10px;
}

.wa-cal-day {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.wa-cal-day:hover:not(:disabled) {
  background: var(--wa-purple-dim);
  border-color: var(--wa-purple-border);
  color: #fff;
  transform: scale(1.08);
}

.wa-cal-day.disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.wa-cal-day.is-today {
  border-color: var(--wa-cyan-bright);
  color: var(--wa-cyan-bright);
  font-weight: 800;
}

.wa-cal-day.selected {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.45) 0%, rgba(56, 189, 248, 0.45) 100%);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.wa-cal-dot {
  position: absolute;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.wa-cal-dot.all-done {
  background: #34d399;
  box-shadow: 0 0 4px #34d399;
}

.wa-cal-dot.part-done {
  background: var(--wa-purple-bright);
  box-shadow: 0 0 4px var(--wa-purple-bright);
}

.wa-cal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}

.wa-cal-jump-btn {
  background: none;
  border: none;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--wa-cyan-bright);
  cursor: pointer;
  padding: 2px 4px;
  transition: opacity 0.2s;
}

.wa-cal-jump-btn:hover {
  opacity: 0.8;
}

/* ------------------------------------------------------------
   6. 4 LIVE STAT CARDS
   ------------------------------------------------------------ */
.wa-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.wa-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  background: var(--wa-glass-card);
  border: 1px solid var(--wa-glass-border);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.wa-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--wa-glass-border-hover);
}

.wa-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}

.wa-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--wa-purple-bright);
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* ------------------------------------------------------------
   7. PROGRESS BAR & CELEBRATION
   ------------------------------------------------------------ */
.wa-progress-strip {
  background: var(--wa-glass-card);
  border: 1px solid var(--wa-glass-border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.wa-progress-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.wa-progress-pct {
  color: var(--wa-cyan-bright);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
}

.wa-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.wa-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed 0%, #a855f7 50%, #38bdf8 100%);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-complete-banner {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18) 0%, rgba(56, 189, 248, 0.18) 100%);
  border: 1px solid rgba(192, 132, 252, 0.5);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.25);
  animation: waPulseGlow 2.5s infinite alternate;
}

@keyframes waPulseGlow {
  0% { box-shadow: 0 0 16px rgba(168, 85, 247, 0.15); }
  100% { box-shadow: 0 0 30px rgba(192, 132, 252, 0.4); }
}

.wa-complete-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  color: #fef08a;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.wa-complete-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------------------
   8. DISCIPLINES CHECKLIST
   ------------------------------------------------------------ */
.wa-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.wa-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--wa-glass-card);
  border: 1px solid var(--wa-glass-border);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.wa-item:hover {
  background: var(--wa-glass-card-hover);
  border-color: var(--wa-glass-border-hover);
  transform: translateX(2px);
}

.wa-item.completed {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
}

.wa-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.wa-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wa-item.completed .wa-checkbox {
  background: linear-gradient(135deg, #7c3aed 0%, #38bdf8 100%);
  border-color: var(--wa-purple-bright);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
  transform: scale(1.05);
}

.wa-icon-box {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.wa-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wa-item-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wa-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s ease;
}

.wa-auto-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  letter-spacing: 0.02em;
}

.wa-item-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
}

.wa-item-del-btn {
  background: none;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  padding: 4px 6px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.wa-item-del-btn:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.3);
  transform: scale(1.08);
}

/* ------------------------------------------------------------
   9. ADD & PRESET PROTOCOLS SECTION
   ------------------------------------------------------------ */
.wa-add-panel {
  background: var(--wa-glass-card);
  border: 1px solid var(--wa-glass-border);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-add-custom-row {
  display: flex;
  gap: 8px;
}

.wa-custom-input {
  flex: 1;
  background: rgba(10, 8, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wa-custom-input:focus {
  border-color: var(--wa-purple-bright);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.wa-btn-add {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: var(--wa-purple-dim);
  border: 1px solid var(--wa-purple-border);
  color: var(--wa-purple-bright);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.wa-btn-add:hover {
  background: rgba(168, 85, 247, 0.24);
  border-color: var(--wa-purple-bright);
  color: #fff;
}

.wa-presets-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wa-presets-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wa-presets-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wa-preset-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.wa-preset-pill:hover {
  background: var(--wa-purple-dim);
  border-color: var(--wa-purple-border);
  color: #fff;
  transform: translateY(-1px);
}

.wa-panel-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.wa-preview-welcome-btn, .wa-restore-btn {
  background: none;
  border: none;
  font-size: 0.72rem;
  color: var(--wa-purple-bright);
  opacity: 0.8;
  cursor: pointer;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.wa-preview-welcome-btn:hover, .wa-restore-btn:hover {
  opacity: 1;
}

/* ------------------------------------------------------------
   10. DAILY QUOTE BOX
   ------------------------------------------------------------ */
.wa-quote-box {
  background: var(--wa-glass-card);
  border-left: 3px solid var(--wa-purple);
  border-radius: 0 12px 12px 0;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-style: italic;
}

.wa-quote-text {
  font-size: 0.8rem;
  color: rgba(238, 242, 255, 0.85);
  line-height: 1.45;
  margin: 0 0 4px 0;
}

.wa-quote-author {
  font-size: 0.7rem;
  font-weight: 700;
  font-style: normal;
  color: var(--wa-purple-bright);
  text-align: right;
  margin: 0;
}

/* ------------------------------------------------------------
   11. MOBILE RESPONSIVENESS
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .wa-beacon {
    bottom: 82px;
    right: 14px;
    padding: 6px 12px 6px 8px;
    gap: 8px;
  }
  .wa-beacon-icon-wrap {
    width: 32px;
    height: 32px;
  }
  .wa-beacon-title {
    font-size: 0.72rem;
  }
  .wa-beacon-sub {
    font-size: 0.64rem;
  }
  .wa-beacon-badge {
    font-size: 0.62rem;
    padding: 2px 6px;
  }

  .wa-modal-header {
    padding: 14px 16px 12px 16px;
  }
  .wa-header-logo-badge {
    width: 32px;
    height: 32px;
  }
  .wa-header-title {
    font-size: 1rem;
  }
  .wa-header-sub {
    font-size: 0.65rem;
  }

  .wa-modal-card {
    max-height: 88vh;
    border-radius: 20px;
  }
  .wa-modal-body {
    padding: 16px 14px 18px 14px;
  }
  .wa-hero-title {
    font-size: 1.65rem;
  }
  .wa-pillars-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .wa-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .wa-cal-popover {
    width: 270px;
  }
}
