/* ==========================================================================
   Google Font: Plus Jakarta Sans
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   CSS Variables & Global Reset
   ========================================================================== */
:root {
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-bg-page: #f8fafc;
  --color-bg-card: #ffffff;
  --color-text-dark: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-page);
  color: var(--color-text-dark);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.container {
  width: 92%;
  max-width: 1140px;
  margin: 0 auto;
}

/* ==========================================================================
   Site Header
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.logo-icon {
  font-size: 22px;
}

.logo-text strong {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav-item:hover,
.nav-item.active {
  color: var(--color-primary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-block {
  width: 100%;
}

.btn-download {
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-md);
  margin: 12px 0 14px;
}

/* ==========================================================================
   Page Layout & Typography
   ========================================================================== */
.page-body {
  padding: 32px 0 60px;
}

.home-clean-body {
  padding: 14px 0 60px;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.breadcrumbs .current {
  color: var(--color-text-dark);
}

.page-title-area {
  margin-bottom: 28px;
}

.title-download-wrap {
  margin-top: 18px;
}

.btn-left-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
}

.btn-left-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.badge-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.main-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.sub-title {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 760px;
}

/* ==========================================================================
   Standalone Clean Home Page Styles (Fluid & Not Boxy)
   ========================================================================== */
.standalone-home-body {
  background-color: #f8fafc;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--color-text-dark);
}

.home-clean-body {
  padding: 24px 0 60px;
}

.home-container {
  width: 92%;
  max-width: 1140px;
  margin: 0 auto;
}

.home-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
  position: relative;
}

.home-main-col {
  min-width: 0;
}

/* 100% Reliable Sticky Sidebar (Fixed on Scroll - Positioned at Top of Viewport) */
.home-sidebar-col {
  position: -webkit-sticky;
  position: sticky;
  top: 10px;
  align-self: start;
  height: -webkit-fit-content;
  height: fit-content;
  z-index: 30;
}

.home-sidebar-col .sidebar-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Integrated Chipps Block Below Main Guide */
.chipps-integrated-block {
  margin: 32px 0 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.chipps-header-wrap {
  margin-bottom: 20px;
}

.chipps-header-wrap .section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin: 8px 0;
  letter-spacing: -0.02em;
}

.chipps-header-wrap .section-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Free Fluid Pills (No outer boxed frame) */
.pills-fluid-wrap {
  margin-bottom: 24px;
}

.pills-subhead {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prompt-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prompt-pill {
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: var(--font-main);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.prompt-pill:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.prompt-pill.active {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
}

.pill-dot {
  font-size: 13px;
}

/* Clean Action Display (Lightweight & Fluid) */
.clean-action-display {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.demo-active-command {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.cmd-chip {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cmd-text {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.demo-steps-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.demo-step-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
}

.step-check {
  color: #16a34a;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-content strong {
  color: #0f172a;
}

.demo-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-caption {
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 2px;
}

.metric-data {
  font-size: 13px;
  font-weight: 700;
}

.text-green {
  color: #16a34a;
}

.text-blue {
  color: #2563eb;
}

.mt-32 {
  margin-top: 24px;
}

/* Fluid Process Steps (Open editorial, no heavy boxes) */
.fluid-process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 28px;
}

.fluid-step-item {
  border-top: 2px solid #e2e8f0;
  padding-top: 14px;
}

.f-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.f-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.f-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Existing Editorial styles for backward compatibility */
.device-card {
  background: #ffffff;
  border: 1px solid #dbeafe;
  background-color: #f0f7ff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.device-icon {
  font-size: 28px;
}

.device-heading {
  font-size: 14px;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 2px;
}

.device-card p {
  font-size: 13px;
  color: #334155;
  margin: 0;
}

.content-block {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.content-block p {
  color: #475569;
  font-size: 14.5px;
  line-height: 1.7;
}

.card-badge {
  background: #1e293b;
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  text-align: center;
}

.sidebar-card-body {
  padding: 16px 18px;
}

.tool-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 3px;
}

.tool-summary {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Steps Flow */
.steps-flow {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  margin-bottom: 12px;
}

.steps-title {
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.step-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.step-row:last-child {
  margin-bottom: 0;
}

.step-num {
  width: 19px;
  height: 19px;
  background-color: #2563eb;
  color: #ffffff;
  border-radius: 50%;
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text {
  font-size: 12px;
  color: #334155;
  font-weight: 500;
}

/* Specs Table */
.specs-table {
  border-top: 1px solid var(--color-border);
  padding-top: 10px;
  margin-bottom: 10px;
}

.specs-title {
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text-dark);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 3px 0;
  border-bottom: 1px dashed #f1f5f9;
}

.spec-label {
  color: var(--color-text-muted);
}

.spec-value {
  font-weight: 600;
  color: var(--color-text-dark);
}

.requirements-note {
  font-size: 10.5px;
  color: #64748b;
  line-height: 1.4;
  background: #f1f5f9;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 36px 0 24px;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
}

.disclaimer strong {
  color: #94a3b8;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   Interactive Download & Installer Flow Styles
   ========================================================================== */
.standalone-download-body {
  background-color: #f8fafc;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.download-page-clean {
  padding: 40px 0 60px;
  background: transparent;
  min-height: 100vh;
}

.download-page-clean.fullwidth-mode {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-container {
  max-width: 760px;
  margin: 0 auto;
}

.flow-container.fullwidth-container {
  max-width: 940px;
  width: 94%;
  margin: 0 auto;
}

/* Stepper Navigation (Flat & Clean, No Heavy Shadows) */
.flow-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 14px 22px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.flow-stepper.flat-stepper {
  box-shadow: none;
  border: 1px solid #e2e8f0;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.step-connector {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.step-pill.active {
  color: var(--color-primary);
}

.step-pill.active .step-dot {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: none;
}

.step-pill.completed {
  color: #10b981;
}

.step-pill.completed .step-dot {
  background: #10b981;
  color: #ffffff;
}

.step-connector.completed {
  background: #10b981;
}

.step-connector.active {
  background: var(--color-primary);
}

.step-pill.error-state {
  color: #ef4444;
}

.step-pill.error-state .step-dot {
  background: #ef4444;
  color: #ffffff;
  box-shadow: none;
}

/* Main Flow Card Box (Flat, Clean & Wide, No Heavy Shadows) */
.flow-card-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  box-shadow: none;
  position: relative;
  transition: all 0.3s ease;
}

.flow-card-box.flat-card {
  box-shadow: none;
  border: 1px solid #e2e8f0;
}

.stage-section {
  animation: fadeInStage 0.35s ease;
}

@keyframes fadeInStage {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stage Headers */
.stage-chip-header {
  text-align: center;
  margin-bottom: 28px;
}

.chip-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.chip-pulse-light {
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  animation: pulseIndicator 1.8s infinite;
}

@keyframes pulseIndicator {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.flow-main-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.flow-section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.flow-sub-title {
  font-size: 14.5px;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Chip Info Grid */
.chip-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.chip-spec-card {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.chip-spec-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.chip-spec-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.chip-spec-info {
  display: flex;
  flex-direction: column;
}

.chip-spec-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.chip-spec-val {
  font-size: 13px;
  color: #0f172a;
  font-weight: 700;
}

/* Stage Action Area */
.stage-cta-block {
  text-align: center;
  margin-top: 10px;
}

.btn-cta-chip {
  padding: 18px 36px;
  border-radius: var(--radius-md);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 480px;
  justify-content: center;
}

.btn-cta-chip:hover {
  background: var(--color-primary-hover);
  box-shadow: none;
}

.cta-arrow {
  font-size: 24px;
}

.cta-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cta-main-text {
  font-size: 17px;
  font-weight: 800;
}

.cta-sub-text {
  font-size: 12px;
  color: #bfdbfe;
  font-weight: 500;
}

.cta-security-label {
  font-size: 12px;
  color: #64748b;
  margin-top: 14px;
  font-weight: 500;
}

/* Notice Banner (Stage 2) */
.clean-alert-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.alert-banner-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.alert-banner-text {
  text-align: left;
}

.alert-heading {
  font-size: 16px;
  font-weight: 800;
  color: #166534;
  margin-bottom: 2px;
}

.alert-subheading {
  font-size: 13.5px;
  color: #15803d;
  font-weight: 500;
  line-height: 1.45;
}

.mt-24 {
  margin-top: 24px;
}

/* Progress Bar */
.progress-wrapper {
  margin: 28px 0;
}

.progress-track {
  height: 12px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 9999px;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

.progress-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-top: 10px;
  color: #64748b;
}

.progress-status-msg {
  font-weight: 600;
  color: #1e293b;
}

.progress-percentage {
  font-weight: 800;
  color: var(--color-primary);
}

/* Live Status Checklist (Stage 2) */
.live-status-list {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.status-item code {
  background: #e2e8f0;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.status-item.active {
  color: #0f172a;
  font-weight: 600;
}

.status-item.active .status-indicator {
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.status-item.done {
  color: #10b981;
}

.status-item.done .status-indicator {
  background: #10b981;
}

/* Installation Stage (Stage 4) */
.spinner-gear-box {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spinLoader 1s linear infinite;
}

.gear-icon {
  font-size: 24px;
}

@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

.install-track {
  height: 14px;
}

.install-fill {
  background: linear-gradient(90deg, #2563eb 0%, #06b6d4 100%);
}

.install-fill.error-halt {
  background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%) !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.5) !important;
}

.install-checklist {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #94a3b8;
}

.chk-icon {
  font-size: 14px;
  font-weight: 700;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.checklist-item code {
  background: #e2e8f0;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 11.5px;
  color: #0f172a;
}

.checklist-item.active {
  color: #0f172a;
  font-weight: 600;
}

.checklist-item.done {
  color: #10b981;
}

.checklist-item.failed {
  color: #ef4444;
  font-weight: 700;
}

/* Error Stage (Stage 5) */
.error-visual-header {
  text-align: center;
  margin-bottom: 24px;
}

.error-circle-pulse {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 2px solid #fecaca;
}

.err-icon {
  font-size: 32px;
}

.text-danger {
  color: #dc2626 !important;
}

.text-red {
  color: #b91c1c;
}

.text-success {
  color: #15803d;
}

.font-semibold {
  font-weight: 600;
}

/* English Error Callout Banner */
.error-callout-banner,
.error-hinglish-banner {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-top: 14px;
}

.error-callout-heading,
.error-hinglish-heading {
  font-size: 20px;
  font-weight: 800;
  color: #991b1b;
  margin-bottom: 4px;
}

.error-callout-subtext,
.error-hinglish-subtext {
  font-size: 14px;
  color: #b91c1c;
  line-height: 1.45;
}

/* Diagnostic Card */
.error-details-card {
  background: #ffffff;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: none;
}

.diag-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #fee2e2;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.diag-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #b91c1c;
  background: #fee2e2;
  padding: 3px 8px;
  border-radius: 4px;
}

.diag-code code {
  font-size: 13px;
  font-weight: 700;
  color: #991b1b;
  background: #fee2e2;
  padding: 2px 6px;
  border-radius: 4px;
}

.diag-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.diag-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 4px 0;
  border-bottom: 1px dashed #f1f5f9;
}

.diag-label {
  color: #64748b;
}

.diag-summary-tip {
  background: #f8fafc;
  border-left: 3px solid #ef4444;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  border-radius: 0 4px 4px 0;
}

/* Error Buttons Row */
.error-buttons-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
}

.btn-chat-now {
  background: #16a34a;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-chat-now:hover {
  background: #15803d;
  color: #ffffff;
}

.chat-btn-icon {
  font-size: 18px;
}

.btn-retry {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-outline {
  background: #ffffff;
  border: 1px solid var(--color-border-dark);
  color: #334155;
  padding: 14px 24px;
  font-size: 14.5px;
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Troubleshoot Drawer */
.troubleshoot-drawer {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: left;
  animation: fadeInStage 0.3s ease;
}

.drawer-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.drawer-steps {
  padding-left: 20px;
  font-size: 13.5px;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.5;
}

.code-copy-box {
  display: inline-block;
  background: #1e293b;
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 13px;
  margin: 4px 0;
}

/* ==========================================================================
   Authentic Windows 11 / 10 User Account Control (UAC) Prompt Styles
   ========================================================================== */
.uac-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
  animation: uacFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes uacFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.uac-window {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  animation: uacPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Segoe UI Variable Text', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  user-select: none;
}

@keyframes uacPopIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Windows Title Bar */
.uac-titlebar {
  background: #f3f3f3;
  border-bottom: 1px solid #e5e5e5;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 12px;
}

.uac-titlebar-caption {
  display: flex;
  align-items: center;
  gap: 8px;
}

.uac-shield-svg {
  display: block;
  flex-shrink: 0;
}

.uac-window-title {
  font-size: 12px;
  color: #1a1a1a;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.uac-window-close {
  background: none;
  border: none;
  width: 46px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.1s ease, color 0.1s ease;
}

.uac-window-close:hover {
  background-color: #e81123;
  color: #ffffff;
}

/* UAC Content Body */
.uac-content {
  padding: 24px 28px 20px;
  background: #ffffff;
}

.uac-primary-question {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  line-height: 1.35;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

/* Program Card */
.uac-program-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.uac-app-icon-wrapper {
  flex-shrink: 0;
  padding-top: 2px;
}

.uac-exe-icon {
  display: block;
}

.uac-program-meta {
  flex: 1;
}

.uac-program-name {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

.uac-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.uac-field-row {
  display: flex;
  font-size: 12.5px;
  line-height: 1.4;
}

.uac-field-label {
  color: #5c5c5c;
  width: 125px;
  flex-shrink: 0;
}

.uac-field-value {
  color: #1a1a1a;
  font-weight: 500;
  word-break: break-all;
}

.uac-publisher-link {
  color: #0067c0;
  font-weight: 600;
}

.uac-file-code {
  font-family: inherit;
  font-weight: 600;
}

/* Show More Details Expander */
.uac-details-expander {
  margin-top: 14px;
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}

.uac-expander-toggle {
  background: none;
  border: none;
  color: #0067c0;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
}

.uac-expander-toggle:hover {
  text-decoration: underline;
}

.uac-expander-arrow {
  font-size: 11px;
}

.uac-expanded-pane {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 10px 12px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.uac-tech-row {
  display: flex;
  font-size: 11.5px;
}

.uac-tech-key {
  color: #64748b;
  width: 115px;
  flex-shrink: 0;
}

.uac-tech-val {
  color: #1e293b;
  font-family: Consolas, monospace;
  font-size: 11px;
}

/* Denied Alert */
.uac-denied-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 14px;
  animation: uacFadeIn 0.2s ease;
}

/* Windows Footer Bar & Action Buttons */
.uac-footer-bar {
  background: #f3f3f3;
  border-top: 1px solid #e5e5e5;
  padding: 16px 28px;
}

.uac-buttons-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.uac-native-btn {
  width: 130px;
  height: 34px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.1s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.uac-native-btn-yes {
  background: #0067c0;
  color: #ffffff;
  border: 1px solid #005a9e;
}

.uac-native-btn-yes:hover {
  background: #005a9e;
  border-color: #004c87;
}

.uac-native-btn-yes:active {
  background: #004c87;
  transform: scale(0.98);
}

.uac-native-btn-no {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #d1d1d1;
}

.uac-native-btn-no:hover {
  background: #f5f5f5;
  border-color: #bfbfbf;
}

.uac-native-btn-no:active {
  background: #e5e5e5;
  transform: scale(0.98);
}

.uac-settings-link {
  text-align: center;
}

.uac-link-dim {
  font-size: 11.5px;
  color: #0067c0;
  text-decoration: none;
}

.uac-link-dim:hover {
  text-decoration: underline;
}

@media (max-width: 680px) {
  .chip-info-grid {
    grid-template-columns: 1fr;
  }

  .flow-card-box {
    padding: 24px 18px;
  }

  .flow-main-title {
    font-size: 22px;
  }

  .flow-stepper {
    padding: 10px 12px;
  }

  .step-text {
    display: none;
  }

  .error-buttons-row {
    flex-direction: column;
  }

  .btn-retry, .btn-outline {
    width: 100%;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 980px) and (min-width: 769px) {
  .home-content-grid {
    grid-template-columns: 1fr 310px;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .home-content-grid {
    grid-template-columns: 1fr;
  }

  .home-sidebar-col,
  .sidebar-card,
  .sidebar-card.sticky-tool-card {
    position: static;
  }

  .home-sidebar-col {
    padding-bottom: 85px;
  }

  .fluid-process-steps {
    grid-template-columns: 1fr;
  }

  .demo-metrics-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }

  .features-row,
  .install-steps-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .main-title {
    font-size: 26px;
  }

  .nav-links {
    display: none;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

