/* ==========================================================================
   TIMEOPERA PRODUCT ROADMAP & FEATURE CATALOG STYLES
   Inspired by Microsoft 365 Roadmap & Fluent Enterprise Design
   ========================================================================== */

/* Sub-Navigation Quick Jump Bar */
.product-subnav {
  position: sticky;
  top: 80px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  box-shadow: 0 4px 20px -8px rgba(11, 18, 32, 0.08);
  transition: all 0.25s ease;
}

.product-subnav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-subnav .container::-webkit-scrollbar {
  display: none;
}

.subnav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.subnav-link:hover {
  color: var(--accent-blue);
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

.subnav-link.active {
  color: var(--accent-blue);
  background: var(--accent-blue-soft);
  border-color: rgba(30, 58, 138, 0.2);
}

.subnav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 0;
  background: var(--accent-teal);
  color: #ffffff;
  line-height: 1;
}

/* ==========================================================================
   CONNECTED OPERATING MODEL PIPELINE (What Makes TimeOpera Different)
   ========================================================================== */
.operating-model-section {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 64px 0 56px;
}

.pipeline-header {
  text-align: left;
  max-width: 840px;
  margin: 0 0 36px 0;
}

.pipeline-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}

.pipeline-header p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.operating-pipeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 32px;
  position: relative;
}

.pipeline-step {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 16px 14px;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pipeline-step:hover {
  transform: translateY(-3px);
  border-color: var(--accent-blue);
  box-shadow: 0 10px 24px -10px rgba(30, 58, 138, 0.2);
}

.pipeline-step.active {
  border-color: var(--accent-blue);
  background: #f8fbff;
  box-shadow: 0 0 0 2px var(--accent-blue), 0 12px 24px -10px rgba(30, 58, 138, 0.25);
}

.step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 5px;
  border-radius: 0;
  background: var(--accent-blue-soft);
  color: var(--accent-blue);
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.step-question {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: auto;
}

.pipeline-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 0;
  background: #ffffff;
  border: 1px dashed var(--border-color);
  font-size: 14px;
  color: var(--text-secondary);
}

.pipeline-notice strong {
  color: var(--text-primary);
}

/* ==========================================================================
   ROADMAP SECTION CONTAINER & STATS BAR
   ========================================================================== */
.roadmap-section {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  padding: 72px 0 88px;
  background-color: var(--bg-primary);
}

.roadmap-hero-header {
  margin-bottom: 40px;
}

.roadmap-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.roadmap-release-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 0;
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}

.roadmap-release-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.roadmap-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.roadmap-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  width: 100%;
  max-width: 100%;
  line-height: 1.6;
}

/* Stats Metric Cards */
.roadmap-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0 44px;
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 20px 18px;
  transition: all 0.2s ease;
}

.stat-card:hover {
  border-color: var(--border-dark);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.stat-card-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-card-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 6px;
}

.stat-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* ==========================================================================
   ROADMAP FILTER TOOLBAR (Microsoft 365 Roadmap UX)
   ========================================================================== */
.roadmap-toolbar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0;
  box-shadow: var(--shadow-md);
  padding: 24px;
  margin-bottom: 32px;
}

.toolbar-primary-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-input-wrapper svg.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 2;
  pointer-events: none;
}

.roadmap-search-input {
  width: 100%;
  padding: 12px 42px 12px 42px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0;
  outline: none;
  transition: all 0.2s ease;
}

.roadmap-search-input:focus {
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: #e2e8f0;
  color: #475569;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.search-clear-btn.visible {
  display: flex;
}

.search-clear-btn:hover {
  background: #cbd5e1;
}

/* Quick Filter Presets (Fieldset Style & Single-Row Toggle Buttons) */
.toolbar-fieldset {
  border: 1px solid #cbd5e1;
  border-radius: 0 !important;
  padding: 10px 14px 12px 14px;
  margin: 0 0 18px 0;
  background: #f8fafc;
}

.toolbar-legend {
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  background: #ffffff;
  padding: 2px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toolbar-legend::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
}

.quick-presets-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 4px 0 2px 0;
}

.quick-presets-row::-webkit-scrollbar {
  height: 4px;
}

.quick-presets-row::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}

.preset-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 0 !important;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.preset-chip:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: var(--accent-blue-soft);
}

.preset-chip.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(30, 58, 138, 0.2);
}

.preset-chip.flagship.active {
  background: linear-gradient(135deg, #1e3a8a 0%, #0d9488 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

/* Faceted Filters Grid */
.faceted-filters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.filter-select {
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.filter-select:focus {
  border-color: var(--accent-blue);
  background-color: #ffffff;
}

/* Secondary Toolbar: Results Count, Active Chips, View Switcher & Export */
.toolbar-secondary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.results-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.results-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.results-count span {
  color: var(--accent-blue);
}

.active-filter-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: 0;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.filter-tag-chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 0;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-tag-chip button:hover {
  color: var(--accent-red);
}

.reset-filters-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-blue);
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
  padding: 0;
}

.reset-filters-btn:hover {
  color: var(--accent-blue-hover);
}

.view-and-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-mode-toggle {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #000000;
  border-radius: 0 !important;
  padding: 2px;
  height: 40px;
  box-sizing: border-box;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 100%;
  font-size: 13px;
  font-weight: 600;
  border-radius: 0 !important;
  border: none;
  background: transparent;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.view-btn:hover {
  color: #000000;
  background: #e2e8f0;
}

.view-btn.active {
  background: #000000;
  color: #ffffff;
  box-shadow: none;
}

.view-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   HORIZONTAL SLIDER & CAROUSEL SHOWCASE
   ========================================================================== */
.features-slider-container {
  position: relative;
  width: 100%;
  margin: 6px 0 16px 0;
}

/* Unified Slider Header Controls (Left: view-mode-toggle, Right: Scrubber & Navigation) */
.slider-top-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0 !important;
  box-shadow: none;
  width: 100%;
}

.slider-controls-right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}

.slider-nav-pair {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.slider-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 0 !important;
  border: 1.5px solid #000000;
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.slider-arrow-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #000000;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.15s ease, stroke 0.15s ease;
}

.slider-arrow-btn:hover:not(:disabled) {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.slider-arrow-btn:hover:not(:disabled) svg {
  stroke: #ffffff;
}

.slider-arrow-btn.prev:hover:not(:disabled) svg {
  transform: translateX(-2px);
}

.slider-arrow-btn.next:hover:not(:disabled) svg {
  transform: translateX(2px);
}

.slider-arrow-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  border-color: #cbd5e1;
}

.slider-arrow-btn:disabled svg {
  stroke: #94a3b8;
}

/* Edge Fade Gradients (Removed per user request) */
.slider-edge-fade {
  display: none !important;
}

/* Features Grid Display Modes */
.features-grid.hidden-mode {
  display: none !important;
}

/* Features Grid in Horizontal Slider Mode (Default - Fast & Fluid Physics) */
.features-grid.slider-mode {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 20px !important;
  padding: 12px 6px 20px 6px !important;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.features-grid.slider-mode.is-dragging {
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
  cursor: grabbing !important;
  user-select: none;
}

.features-grid.slider-mode::-webkit-scrollbar {
  display: none;
}

.features-grid.slider-mode:active {
  cursor: grabbing;
}

/* Standard Grid Mode (when toggled to Grid) */
.features-grid.grid-mode {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  overflow-x: visible !important;
  padding: 8px 0 !important;
}

/* ==========================================================================
   UNIFORM FEATURE CARD STYLING
   ========================================================================== */
.feature-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 3px solid #1e3a8a;
  border-radius: 0 !important;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
}

.features-grid.slider-mode .feature-card {
  flex: 0 0 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  height: 315px !important;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.features-grid.grid-mode .feature-card {
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto;
  min-height: 270px;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #94a3b8;
  border-top-color: #0d9488;
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.feature-card.highlighted {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 2px var(--accent-teal), var(--shadow-lg);
}

/* Top Section of Card */
.card-top-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Card Header Matrix: Dual-Tier Instrument Panel */
.card-header-matrix {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 6px;
}

/* Tier 1: Micro-Telemetry Row (ID Tag + Flagship + Status) */
.card-telemetry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-id-block {
  display: flex;
  align-items: center;
}

.feature-id-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
  color: #ffffff;
  background: #0f172a;
  border: 1px solid #1e293b;
  padding: 2px 7px;
  border-radius: 0 !important;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.card-status-block {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Tier 2: Dedicated Category Classification Strip (No Text Clipping!) */
.card-category-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.feature-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 3px 8px;
  border-radius: 0 !important;
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #0d9488;
  max-width: 100%;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-category-badge {
  background: #f0fdfa;
  border-color: #cbd5e1;
  border-left-color: #2563eb;
}

.category-indicator-glyph {
  width: 5px;
  height: 5px;
  background: #0d9488;
  border-radius: 0 !important;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.feature-card:hover .category-indicator-glyph {
  background: #2563eb;
}

.category-name-text {
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e3a8a;
  white-space: nowrap;
  line-height: 1.35;
}

/* Global / Table / Modal Category Pill */
.feature-category-pill {
  font-size: 10.5px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 0 !important;
  background: #f8fafc;
  color: #1e3a8a;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #0d9488;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
  display: inline-block;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 0 !important;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status-pill.status-launched {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.status-pill.status-launched::before {
  content: "●";
  font-size: 8px;
  color: #10b981;
}

.status-pill.status-preview {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.status-pill.status-preview::before {
  content: "◐";
  font-size: 8px;
  color: #6366f1;
}

.status-pill.status-in-dev {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.status-pill.status-in-dev::before {
  content: "◌";
  font-size: 8px;
  color: #f59e0b;
}

/* Star Feature Indicator & Big Star */
.star-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.big-star-icon {
  width: 18px;
  height: 18px;
  fill: #f59e0b;
  stroke: #b45309;
  stroke-width: 1.2;
  filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.45));
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.feature-card.is-star-feature {
  border-top: 3px solid #f59e0b;
}

.feature-card.is-star-feature:hover {
  border-top-color: #d97706;
}


/* Flagship Rank Ribbon (Clean Rank without leading character) */
.flagship-rank-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #1e3a8a 0%, #0d9488 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 3px rgba(13, 148, 136, 0.25);
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Unique Technical Architecture Hairline Rule */
.card-tech-rule {
  position: relative;
  width: 100%;
  height: 2px;
  background: #e2e8f0;
  margin: 6px 0 10px 0;
  overflow: hidden;
}

.card-tech-rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 100%;
  background: #0d9488;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
}

.feature-card:hover .card-tech-rule::before {
  width: 100%;
  background: linear-gradient(90deg, #0d9488 0%, #2563eb 50%, #38bdf8 100%);
}

/* Card Body Typography (Line Clamped for Uniformity) */
.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 4px 0 8px 0;
  line-height: 1.35;
  height: 45px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-description {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
  height: 60px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Metadata Row */
.card-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 0;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: var(--text-muted);
}

.card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  padding: 2px 8px;
  border-radius: 0;
  border: 1px solid #f1f5f9;
}

.card-meta-item strong {
  color: #334155;
  font-weight: 600;
}

.btn-inspect-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 0;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-inspect-feature:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.btn-inspect-feature svg,
.btn-inspect-feature .btn-arrow {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  margin-left: 2px;
}

.btn-inspect-feature:hover svg,
.btn-inspect-feature:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* Inline Title / Description Arrow Icon for -> */
.inline-arrow-icon {
  width: 13px;
  height: 13px;
  display: inline-block;
  vertical-align: -1px;
  color: #000000;
  margin: 0 4px;
  stroke: #000000;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

/* ==========================================================================
   SLIDER BOTTOM CONTROLLER & STATUS TRACKER
   ========================================================================== */
.slider-bottom-controls {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 1 260px;
  max-width: 260px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  min-width: 0;
}

.slider-bottom-progress {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 260px;
  min-width: 120px;
  width: 100%;
}

.slider-progress-track {
  width: 100%;
  height: 8px;
  background: #f8fafc;
  border: 1.5px solid #000000;
  border-radius: 0 !important;
  position: relative;
  cursor: pointer;
  box-shadow: none;
}

.slider-progress-bar {
  height: 100%;
  background: #000000;
  border-radius: 0 !important;
  transition: width 0.1s ease-out;
  pointer-events: none;
}

.slider-progress-knob {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 22px;
  background: #000000;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.35), 0 0 0 1.5px #000000;
  border-radius: 0 !important;
  transform: translate(-50%, -50%);
  cursor: grab;
  z-index: 10;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.slider-progress-knob:hover,
.slider-progress-knob:focus-visible {
  background: #000000;
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.25), 0 4px 10px rgba(15, 23, 42, 0.3);
  outline: none;
}

.slider-progress-knob.dragging,
.slider-progress-knob:active {
  cursor: grabbing;
  background: #000000;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.3), 0 6px 14px rgba(15, 23, 42, 0.35);
}

/* ==========================================================================
   DENSE ENTERPRISE AUDIT TABLE VIEW
   ========================================================================== */
.table-view-container {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-view-container.active {
  display: block;
}

.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
}

.audit-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.audit-table th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.audit-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  color: var(--text-secondary);
}

.audit-table tr.audit-table-row {
  transition: background-color 0.15s ease;
}

.audit-table tr.audit-table-row:hover {
  background-color: #f1f5f9;
}

.audit-table tr.audit-table-row:focus-visible {
  outline: 2px solid #000000;
  outline-offset: -2px;
}

.table-star-cluster {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  vertical-align: middle;
  margin-left: 6px;
}

.table-star-cluster .big-star-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
}

.table-star-cluster .flagship-rank-ribbon {
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 0 !important;
}

.audit-table .col-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.audit-table .col-name {
  font-weight: 700;
  color: var(--text-primary);
}

.audit-table .col-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.4;
}

/* Empty State */
.features-empty-state {
  display: none;
  text-align: center;
  padding: 64px 24px;
  background: #ffffff;
  border: 1px dashed var(--border-color);
  border-radius: 0;
  margin: 20px 0;
}

.features-empty-state.visible {
  display: block;
}

.empty-state-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--text-muted);
}

.empty-state-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.empty-state-text {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 20px;
}

/* ==========================================================================
   PUBLIC STATEMENT BANNER (Microsoft 365 Architecture & Positioning)
   ========================================================================== */
.product-statement-banner {
  background: linear-gradient(135deg, #07111f 0%, #17233a 100%);
  color: #ffffff;
  border-radius: 0;
  padding: 40px;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}

.product-statement-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.15), transparent 70%);
  pointer-events: none;
}

.statement-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 12px;
}

.statement-headline {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.statement-tagline {
  font-size: 16px;
  color: #94a3b8;
  margin-bottom: 20px;
}

.statement-tagline span {
  color: #ffffff;
  font-weight: 600;
}

.statement-body {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.65;
  max-width: 880px;
  margin-bottom: 24px;
}

.statement-callout {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-teal);
  border-left: 3px solid var(--accent-teal);
  padding-left: 12px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .operating-pipeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .roadmap-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faceted-filters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-subnav {
    top: 60px;
  }

  .operating-pipeline {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-grid.slider-mode .feature-card {
    flex: 0 0 85vw !important;
    min-width: 280px !important;
    max-width: 85vw !important;
    height: 295px !important;
  }

  .slider-top-controls {
    flex-wrap: wrap;
    gap: 14px;
    padding: 0;
  }

  .view-mode-toggle {
    width: 100%;
    order: 1;
  }

  .view-btn {
    flex: 1;
    justify-content: center;
  }

  .slider-controls-right {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
    order: 2;
  }

  .slider-top-controls .slider-bottom-controls {
    width: 100%;
    max-width: 100%;
    order: 1;
  }

  .slider-top-controls .visual-tour-controls {
    width: 100%;
    justify-content: space-between;
    order: 2;
  }

  .faceted-filters-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-stats-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-title {
    font-size: 26px;
  }

  .roadmap-toolbar {
    padding: 16px;
  }

  .product-statement-banner {
    padding: 24px;
  }

  .statement-headline {
    font-size: 22px;
  }
}

/* ==========================================================================
   VISUAL PRODUCT TOUR INTERACTIVE SLIDER
   ========================================================================== */

.visual-tour-section {
  padding: 60px 0 72px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.visual-tour-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.visual-tour-header-left {
  max-width: 680px;
}

.visual-tour-header-left h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-top: 6px;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.visual-tour-header-left .section-copy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.visual-tour-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tour-counter {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  height: 40px !important;
  max-height: 40px !important;
  min-height: 40px !important;
  line-height: 1;
  padding: 0 14px;
  background: #f8fafc;
  border: 1.5px solid #000000;
  border-radius: 0 !important;
  letter-spacing: 0.04em;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 92px;
  box-sizing: border-box;
  flex-shrink: 0 !important;
  user-select: none;
}

/* Tour Quick Switcher Tabs Track */
.tour-tabs-track {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  -webkit-overflow-scrolling: touch;
}

.tour-tabs-track::-webkit-scrollbar {
  height: 4px;
}

.tour-tabs-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}

.tour-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 0 !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  user-select: none;
}

.tour-tab .tab-idx {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  opacity: 0.7;
  font-weight: 700;
}

.tour-tab:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

.tour-tab.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.tour-tab.active .tab-idx {
  opacity: 0.95;
  color: #ffffff;
}

/* Tour Slider Viewport and Track */
.tour-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #fafafa;
  border-radius: 0 !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  outline: none;
}

.tour-slider-viewport:focus-visible {
  outline: 2px solid #000000;
  outline-offset: -2px;
}

.tour-slider-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  will-change: transform;
}

.tour-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  padding: 36px 40px;
  background: #ffffff;
}

.tour-slide .split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .tour-slide .split-layout {
    grid-template-columns: 1fr 1.25fr !important;
    gap: 44px;
  }
}

.tour-slide .callout-panel {
  padding: 0;
}

.tour-slide .callout-panel h2 {
  font-size: 26px;
  line-height: 1.25;
  margin-top: 8px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.tour-slide .callout-panel p.section-copy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.tour-slide .callout-panel .plain-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tour-slide .callout-panel .plain-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
}

.tour-slide .callout-panel .plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  background: var(--accent-teal, #0ea5e9);
  border-radius: 0 !important;
}

.tour-slide .slider-frame {
  width: 100%;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  background: #f8fafc;
  border-radius: 0 !important;
}

.tour-slide .slider-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .visual-tour-section {
    padding: 44px 0 52px;
  }

  .visual-tour-header {
    gap: 16px;
  }

  .visual-tour-controls {
    width: 100%;
    justify-content: space-between;
  }

  .tour-slide {
    padding: 24px 18px;
  }

  .tour-slide .callout-panel h2 {
    font-size: 22px;
  }
}