/* ==========================================================================
   SEEKERS PROJECTS — 100-DAY KAIZEN OPERATING APP
   Spider-Punk Editorial Dark Aesthetic | Mobile-First Responsive PWA
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Core Base Colors */
  --bg-core: #08090d;
  --bg-card: rgba(18, 20, 29, 0.85);
  --bg-card-hover: rgba(26, 29, 42, 0.95);
  --bg-elevated: #161822;
  --bg-glass: rgba(16, 18, 26, 0.72);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.18);
  --border-cyan: rgba(0, 240, 255, 0.35);
  --border-magenta: rgba(255, 0, 122, 0.35);
  --border-yellow: rgba(255, 230, 0, 0.35);

  /* Typography */
  --text-ivory: #f7f4ed;
  --text-muted: #9da3b4;
  --text-dim: #646a7d;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spider-Punk Vibrant Accents */
  --cyan: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.25);
  --magenta: #ff007a;
  --magenta-glow: rgba(255, 0, 122, 0.25);
  --yellow: #ffe600;
  --yellow-glow: rgba(255, 230, 0, 0.22);
  --red: #ff2a55;
  --red-glow: rgba(255, 42, 85, 0.25);
  --green: #00ff88;
  --purple: #9d4edd;

  /* Gradients */
  --grad-punk: linear-gradient(135deg, #ff007a 0%, #7928ca 50%, #00f0ff 100%);
  --grad-cyan: linear-gradient(135deg, #00f0ff 0%, #0070f3 100%);
  --grad-yellow: linear-gradient(135deg, #ffe600 0%, #ff5e00 100%);
  --grad-card: linear-gradient(180deg, rgba(25, 28, 40, 0.6) 0%, rgba(13, 15, 22, 0.8) 100%);

  /* UI Tokens */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --nav-height: 68px;
  --header-height: 68px;
  --shadow-punk: 0 10px 30px -5px rgba(0, 0, 0, 0.8), 0 0 20px -2px rgba(0, 240, 255, 0.15);
  --shadow-neon-pink: 0 4px 20px rgba(255, 0, 122, 0.35);
  --shadow-neon-cyan: 0 4px 20px rgba(0, 240, 255, 0.35);
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  background-color: var(--bg-core);
  color: var(--text-ivory);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 0, 122, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 230, 0, 0.02) 0%, transparent 50%),
    var(--bg-core);
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 20px) + 24px);
}

/* Halftone Texture Overlay (Spider-Punk feel) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-ivory);
}

a {
  color: var(--cyan);
  text-decoration: none;
}

/* Top App Bar */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  max-width: 900px;
  margin: 0 auto;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-badge {
  background: var(--grad-punk);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(255, 0, 122, 0.4);
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title span.sub {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-ivory);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.1rem;
}

.icon-btn:hover, .icon-btn:active {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-bright);
  transform: translateY(-1px);
}

/* Quick Role Filter Bar */
.role-bar-container {
  max-width: 900px;
  margin: 12px auto 0;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}

.role-bar {
  background: rgba(20, 22, 32, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  display: flex;
  gap: 4px;
}

.role-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.role-tab:hover {
  color: var(--text-ivory);
}

.role-tab.active {
  background: var(--grad-punk);
  color: #fff;
  box-shadow: 0 2px 14px rgba(255, 0, 122, 0.4);
}

.role-tab.active.role-avishka {
  background: linear-gradient(135deg, #00f0ff 0%, #0070f3 100%);
  box-shadow: 0 2px 14px rgba(0, 240, 255, 0.4);
}

.role-tab.active.role-nevindu {
  background: linear-gradient(135deg, #ffe600 0%, #ff5e00 100%);
  color: #0d0e12;
  box-shadow: 0 2px 14px rgba(255, 230, 0, 0.4);
}

/* Main Content Container */
.main-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 16px 20px;
  position: relative;
  z-index: 1;
}

/* View Sections */
.tab-view {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.tab-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Progress Hero Card */
.hero-progress-card {
  background: var(--grad-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-punk);
}

.hero-progress-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 2px;
}

.badge-streak {
  background: rgba(255, 230, 0, 0.15);
  border: 1px solid rgba(255, 230, 0, 0.35);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
}

.progress-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.stat-box {
  background: rgba(14, 16, 24, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
}

.stat-box .stat-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-ivory);
  line-height: 1.1;
}

.stat-box .stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 3px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.overall-progress-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: var(--grad-punk);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
  position: relative;
}

.progress-text-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Today Active Card */
.today-spotlight-card {
  background: rgba(22, 25, 38, 0.9);
  border: 1px solid var(--border-magenta);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.today-top-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--magenta);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-neon-pink);
}

.today-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  margin-bottom: 14px;
}

.today-day-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.today-asset-pill {
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Two-Column Role Tasks Breakdown */
.role-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

@media (min-width: 680px) {
  .role-split-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.role-task-block {
  background: rgba(14, 16, 24, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.role-task-block.avishka-block {
  border-left: 3px solid var(--cyan);
}

.role-task-block.nevindu-block {
  border-left: 3px solid var(--yellow);
}

.role-task-block.team-block {
  border-left: 3px solid var(--magenta);
}

.role-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.role-tag-pill {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}

.role-tag-pill.tag-avishka { color: var(--cyan); }
.role-tag-pill.tag-nevindu { color: var(--yellow); }
.role-tag-pill.tag-both { color: var(--magenta); }

.task-item-content {
  font-size: 0.88rem;
  color: var(--text-ivory);
  line-height: 1.45;
  margin-bottom: 12px;
}

/* Interactive Checkbox Button */
.task-check-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
  width: 100%;
}

.task-check-btn .checkbox-box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-bright);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.task-check-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-ivory);
}

.task-check-btn.checked {
  background: rgba(0, 255, 136, 0.12);
  border-color: rgba(0, 255, 136, 0.4);
  color: var(--green);
}

.task-check-btn.checked .checkbox-box {
  background: var(--green);
  border-color: var(--green);
  color: #08090d;
}

/* Content Action Buttons */
.content-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.btn-primary {
  background: var(--grad-punk);
  color: #fff;
  border: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 15px rgba(255, 0, 122, 0.35);
}

.btn-primary:hover, .btn-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 122, 0.5);
}

.btn-cyan {
  background: linear-gradient(135deg, #00f0ff 0%, #0070f3 100%);
  color: #08090d;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.35);
}

.btn-cyan:hover {
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-bright);
  color: var(--text-ivory);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Filter & Search Bar */
.filter-search-container {
  margin-bottom: 16px;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 10px;
}

.search-input {
  width: 100%;
  background: rgba(18, 20, 30, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-ivory);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1rem;
}

/* Phase Horizontal Scrolling Selector */
.phase-pills-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.phase-pills-scroll::-webkit-scrollbar {
  display: none;
}

.phase-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-fast);
}

.phase-pill:hover {
  border-color: var(--border-bright);
  color: var(--text-ivory);
}

.phase-pill.active {
  background: var(--cyan);
  color: #08090d;
  font-weight: 700;
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

/* 100-Day Timeline Cards */
.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.timeline-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-1px);
}

.timeline-card.day-completed {
  border-color: rgba(0, 255, 136, 0.3);
  background: rgba(14, 24, 20, 0.7);
}

.timeline-card-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: 12px;
}

.day-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.day-badge-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-ivory);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  min-width: 58px;
  text-align: center;
}

.timeline-card.day-completed .day-badge-num {
  background: var(--green);
  color: #08090d;
}

.day-details-preview {
  display: flex;
  flex-direction: column;
}

.day-details-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-ivory);
}

.day-details-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.owner-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.owner-chip.chip-avishka { background: rgba(0, 240, 255, 0.15); color: var(--cyan); }
.owner-chip.chip-nevindu { background: rgba(255, 230, 0, 0.15); color: var(--yellow); }
.owner-chip.chip-both { background: rgba(255, 0, 122, 0.15); color: var(--magenta); }

.day-expand-icon {
  color: var(--text-dim);
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.timeline-card.expanded .day-expand-icon {
  transform: rotate(180deg);
  color: var(--cyan);
}

/* Expandable Card Body */
.timeline-card-body {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid var(--border-subtle);
  animation: fadeIn 0.2s ease-out;
}

.timeline-card.expanded .timeline-card-body {
  display: block;
}

.prompt-preview-box {
  background: rgba(10, 12, 18, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin: 12px 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #c9d1d9;
  line-height: 1.5;
  position: relative;
  white-space: pre-wrap;
  max-height: 140px;
  overflow-y: auto;
}

.caption-preview-box {
  background: rgba(20, 24, 34, 0.7);
  border-left: 3px solid var(--magenta);
  padding: 10px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--text-ivory);
  margin: 10px 0;
}

/* Packages / Quotation Builder View */
.quote-builder-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .quote-builder-container {
    grid-template-columns: 1.2fr 1fr;
  }
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
  position: relative;
  transition: var(--transition-fast);
}

.package-card:hover {
  border-color: var(--border-bright);
}

.package-card.highlight {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.package-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.package-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cyan);
}

.package-price span.period {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.feature-list {
  list-style: none;
  margin: 12px 0;
}

.feature-list li {
  font-size: 0.82rem;
  color: var(--text-ivory);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
}

/* Quotation Summary Box */
.quote-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-yellow);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: 80px;
}

.quote-total-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  margin: 8px 0 16px;
}

/* Maldives Routine View */
.routine-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.routine-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.routine-time-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  min-width: 100px;
  text-align: center;
}

/* Financial Calculator Card */
.finance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 16px 0;
}

@media (min-width: 640px) {
  .finance-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input {
  width: 100%;
  background: rgba(14, 16, 24, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-ivory);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  outline: none;
}

.form-input:focus {
  border-color: var(--yellow);
}

/* Scorecard Checklist */
.maturity-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.score-slider {
  width: 100px;
  accent-color: var(--cyan);
}

/* Bottom Navigation Bar (Mobile Native App Style) */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(11, 13, 19, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px env(safe-area-inset-bottom, 0);
  z-index: 999;
  max-width: 900px;
  margin: 0 auto;
}

.nav-item {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 8px 4px;
  transition: var(--transition-fast);
  text-decoration: none;
}

.nav-item .nav-icon {
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.nav-item .nav-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-item:hover {
  color: var(--text-ivory);
}

.nav-item.active {
  color: var(--cyan);
}

.nav-item.active .nav-icon {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px var(--cyan));
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: calc(var(--nav-height) + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: 90%;
  max-width: 400px;
}

.toast {
  background: rgba(14, 17, 26, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-ivory);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--cyan-glow);
  animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.toast-success {
  border-color: var(--green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 136, 0.3);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(14px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Modal Sheet / Drawer */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

@media (min-width: 600px) {
  .modal-overlay {
    align-items: center;
    padding: 20px;
  }
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 650px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9);
}

@media (min-width: 600px) {
  .modal-card {
    border-radius: var(--radius-lg);
  }
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-ivory);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 1.1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}
