/**
 * ToolVerse - Is It Down Diagnostic Stylesheet
 * Universal Design System 3.2.0-Universal
 * Implements Light & Dark Glassmorphism, Responsive Grids, and Zero-Flicker States.
 */

/* --------------------------------------------------------------------------
   1. CSS Variables & Theme Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg-main: #F8FAFC;
  --bg-gradient-1: rgba(238, 242, 255, 0.80);
  --bg-gradient-2: rgba(243, 232, 255, 0.70);
  --bg-gradient-3: rgba(224, 231, 255, 0.50);

  --glass-bg: rgba(255, 255, 255, 0.90);
  --glass-border: rgba(226, 232, 240, 0.85);

  --accent-indigo: #4F46E5;
  --accent-violet: #7C3AED;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --accent-rose: #F43F5E;
  --accent-cyan: #06B6D4;
  --accent-gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --accent-glow: rgba(79, 70, 229, 0.25);

  --text-primary: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;

  --input-bg: #FFFFFF;
  --input-border: #E2E8F0;
  --focus-ring: rgba(99, 102, 241, 0.25);

  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.08);

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* --------------------------------------------------------------------------
   2. Dark Theme Variables Override
   -------------------------------------------------------------------------- */
html.dark {
  --bg-main: #0B0F19;
  --bg-gradient-1: rgba(30, 27, 75, 0.45);
  --bg-gradient-2: rgba(46, 16, 101, 0.35);
  --bg-gradient-3: rgba(15, 23, 42, 0.60);

  --glass-bg: rgba(15, 23, 42, 0.75);
  --glass-border: rgba(255, 255, 255, 0.09);

  --text-primary: #F8FAFC;
  --text-body: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --input-bg: rgba(15, 23, 42, 0.90);
  --input-border: rgba(255, 255, 255, 0.12);
  --focus-ring: rgba(129, 140, 248, 0.35);

  --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
}

/* --------------------------------------------------------------------------
   3. Base Styles & Global Resets
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-main);
}

.app-viewport {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container Utility */
.max-w-7xl {
  max-width: 1280px;
  width: 100%;
}

.max-w-4xl {
  max-width: 896px;
  width: 100%;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   4. Atmospheric Background Mists
   -------------------------------------------------------------------------- */
.mist-layer {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.8;
  transform: translateZ(0);
}

.mist-top-left {
  top: -10%;
  left: -5%;
  width: 55vw;
  height: 55vw;
  max-width: 750px;
  max-height: 750px;
  background: radial-gradient(circle, var(--bg-gradient-1) 0%, transparent 70%);
}

.mist-top-right {
  top: -15%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  max-width: 680px;
  max-height: 680px;
  background: radial-gradient(circle, var(--bg-gradient-2) 0%, transparent 70%);
}

.mist-bottom {
  bottom: 0;
  left: 20%;
  width: 60vw;
  height: 40vw;
  max-width: 800px;
  max-height: 500px;
  background: radial-gradient(circle, var(--bg-gradient-3) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   5. Toast Notification System
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #0F172A;
  color: #FFFFFF;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  pointer-events: none;
}

.toast-container.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

html.dark .toast-container {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-icon {
  color: var(--accent-indigo);
  font-size: 1.25rem;
}

.toast-text {
  font-size: 0.875rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   FLOATING THEME TOGGLE
   -------------------------------------------------------------------------- */
.floating-theme-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-theme-toggle:hover {
  transform: translateY(-2px) scale(1.05);
  color: var(--accent-indigo, #4F46E5);
  border-color: var(--accent-indigo, #4F46E5);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.2);
}

.floating-theme-toggle:active {
  transform: scale(0.96);
}

.floating-theme-toggle .material-symbols-outlined {
  font-size: 1.35rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.brand-glyph {
  color: #FFFFFF;
  font-size: 1.4rem;
}

.brand-text-lockup {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-name-highlight {
  color: var(--accent-indigo);
}

.brand-tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-anchor {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  position: relative;
  padding: 0.4rem 0;
}

.nav-anchor:hover {
  color: var(--accent-indigo);
}

.nav-anchor.active {
  color: var(--accent-indigo);
}

.nav-anchor.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-theme-toggle:hover {
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
  transform: translateY(-1px);
}

.btn-gradient-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  background: var(--accent-gradient);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px var(--accent-glow);
  transition: all 0.2s ease;
}

.btn-gradient-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--accent-glow);
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-body);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   BLOCK 2: STANDARDIZED HERO SECTION
   -------------------------------------------------------------------------- */
.tool-hero-section {
  padding-top: 3.5rem;
  padding-bottom: 2.25rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
}

/* Floating Glass Breadcrumb Pill */
.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  border-radius: 9999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.breadcrumb-pill a {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s ease;
}

.breadcrumb-pill a:hover {
  color: var(--accent-indigo);
}

.breadcrumb-sep {
  color: var(--text-dim);
}

.breadcrumb-active {
  color: var(--accent-indigo);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

html.dark .breadcrumb-pill {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
  color: #94A3B8;
}

html.dark .breadcrumb-pill a:hover {
  color: #A5B4FC;
}

html.dark .breadcrumb-active {
  color: #A5B4FC;
}

.hero-title-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.hero-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px var(--accent-glow);
  color: #FFFFFF;
}

.hero-icon-box .material-symbols-outlined {
  font-size: 2.25rem;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   BLOCK 3: INTERACTIVE TOOL WORKSPACE CANVAS
   -------------------------------------------------------------------------- */
.workspace-wrapper {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  margin-bottom: 4rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 24px;
  box-shadow: 0 10px 30px -5px rgba(79, 70, 229, 0.05), 0 4px 12px -2px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html.dark .glass-card {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.5);
}

.workspace-card {
  padding: 2.25rem;
  border: 1px solid rgba(79, 70, 229, 0.12);
}

html.dark .workspace-card {
  border-color: rgba(99, 102, 241, 0.2);
}

/* Input Form */
.down-checker-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-label-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.form-label-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.form-label-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.single-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 14px;
  padding: 0.4rem 0.85rem 0.4rem 1.15rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.single-input-wrapper:focus-within {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.input-icon-slot {
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.single-url-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.85rem 0;
  width: 100%;
}

.single-url-input::placeholder {
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
}

.btn-clear-slot {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s ease;
  margin-left: 0.5rem;
}

.btn-clear-slot:hover {
  color: var(--accent-rose);
  background: rgba(244, 63, 94, 0.08);
}

/* Input Helper Toolbar (Matching Universal Design System) */
.input-helper-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0.85rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge-single-mode {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(100, 116, 139, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

html.dark .badge-single-mode {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: #94A3B8;
}

.mode-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-indigo);
  box-shadow: 0 0 6px var(--accent-indigo);
}

.helper-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-helper-link {
  background: transparent;
  border: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-indigo);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.btn-helper-link:hover {
  background: rgba(79, 70, 229, 0.08);
}

html.dark .btn-helper-link {
  color: #A5B4FC;
}

html.dark .btn-helper-link:hover {
  background: rgba(99, 102, 241, 0.15);
}

/* Submit Button */
.btn-check-action {
  width: 100%;
  background: var(--accent-gradient);
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 1.05rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0.5rem;
}

.btn-check-action:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.4);
}

.btn-check-action:active:not(:disabled) {
  transform: translateY(0);
}

.btn-check-action:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.spin-loader {
  animation: spin 1s infinite linear;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   RESULTS PANEL STYLING
   -------------------------------------------------------------------------- */
.results-panel {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* 2-Column Clean Diagnostic Table Card */
.status-table-card {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

html.dark .status-table-card {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.status-table th {
  width: 32%;
  padding: 1.15rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--input-border);
  vertical-align: middle;
}

.status-table td {
  padding: 1.15rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--input-border);
  vertical-align: middle;
}

.status-table tr:last-child th,
.status-table tr:last-child td {
  border-bottom: none;
}

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

.status-table tr:hover {
  background-color: rgba(79, 70, 229, 0.02);
}

html.dark .status-table th {
  color: #F8FAFC;
  border-color: rgba(255, 255, 255, 0.07);
}

html.dark .status-table td {
  color: #CBD5E1;
  border-color: rgba(255, 255, 255, 0.07);
}

html.dark .status-table tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.table-val-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.table-val-bold {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
}

html.dark .table-val-bold {
  color: #FFFFFF;
}

.table-url-mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent-indigo);
  word-break: break-all;
}

html.dark .table-url-mono {
  color: #A5B4FC;
}

.table-val-mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-body);
}

html.dark .table-val-mono {
  color: #CBD5E1;
}

.table-status-active {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: #059669;
}

html.dark .table-status-active {
  color: #34D399;
}

.table-status-error {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: #E11D48;
}

html.dark .table-status-error {
  color: #FB7185;
}

/* Bottom Framed Status Statement Box (Matching Reference Screenshot) */
.status-statement-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.4rem;
  border-radius: 12px;
  transition: all 0.25s ease;
}

/* Box UP State (Green Outline & Green Pill) */
.status-statement-box.box-up {
  background: rgba(16, 185, 129, 0.06);
  border: 1.5px solid #10B981;
}

html.dark .status-statement-box.box-up {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.4);
}

/* Box DOWN State (Red Outline & Red Pill) */
.status-statement-box.box-down {
  background: rgba(244, 63, 94, 0.06);
  border: 1.5px solid #F43F5E;
}

html.dark .status-statement-box.box-down {
  background: rgba(244, 63, 94, 0.08);
  border-color: rgba(244, 63, 94, 0.4);
}

/* Status Badge Pill */
.status-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  line-height: 1;
  flex-shrink: 0;
}

.status-badge-pill.pill-up {
  background: #10B981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.status-badge-pill.pill-down {
  background: #F43F5E;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.35);
}

/* Status Statement Text */
.status-statement-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.box-up .status-statement-text {
  color: #059669;
}

html.dark .box-up .status-statement-text {
  color: #34D399;
}

.box-down .status-statement-text {
  color: #E11D48;
}

html.dark .box-down .status-statement-text {
  color: #FB7185;
}



.btn-micro-copy {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #64748B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-micro-copy:hover {
  background: #EEF2FF;
  color: var(--accent-indigo);
  border-color: #C7D2FE;
  transform: translateY(-1px);
}

html.dark .btn-micro-copy {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.12);
  color: #94A3B8;
}

html.dark .btn-micro-copy:hover {
  background: rgba(99, 102, 241, 0.25);
  color: #A5B4FC;
  border-color: rgba(99, 102, 241, 0.4);
}



/* --------------------------------------------------------------------------
   BLOCK 4: EDUCATIONAL CONTENT & SEO SECTION
   -------------------------------------------------------------------------- */
.guide-seo-section {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-sub {
  font-size: 0.975rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.25rem auto;
}

/* 3 Steps Guide Grid */
.steps-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.step-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.85rem 1.65rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.step-number-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-gradient);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px var(--accent-glow);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.8875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 4 Feature Benefits Grid */
.feature-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.feature-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
  border-color: rgba(79, 70, 229, 0.2);
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

html.dark .feature-icon-wrapper {
  background: rgba(99, 102, 241, 0.15);
  color: #A5B4FC;
}

.feature-box-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.feature-box-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-accordion-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(79, 70, 229, 0.25);
}

.faq-trigger-btn {
  width: 100%;
  padding: 1.15rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-chevron {
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-indigo);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer-panel {
  max-height: 500px;
  transition: max-height 0.3s ease-in-out;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   BLOCK 5: RELATED TOOLS SECTION (STRICTLY AFTER FAQ)
   -------------------------------------------------------------------------- */
.related-tools-section {
  padding-top: 2rem;
  padding-bottom: 4.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.tool-link-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.tool-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-indigo);
  box-shadow: var(--card-shadow-hover);
}

.tool-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

html.dark .tool-card-icon {
  background: rgba(99, 102, 241, 0.15);
  color: #A5B4FC;
}

.tool-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.tool-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   UNIVERSAL FOOTER
   -------------------------------------------------------------------------- */
.master-footer {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  padding: 3.5rem 1.5rem 2rem 1.5rem;
}

html.dark .master-footer {
  background: rgba(11, 15, 25, 0.88);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.footer-brand-lockup .brand-glyph {
  color: var(--accent-indigo);
  font-size: 1.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--accent-indigo);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.8125rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-legal-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-legal-links a:hover {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   RESPONSIVE BEHAVIOR
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .steps-guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metrics-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .related-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn-gradient-sm {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-h1 {
    font-size: 2.15rem;
  }

  .hero-icon-box {
    width: 56px;
    height: 56px;
  }

  .hero-icon-box .material-symbols-outlined {
    font-size: 1.85rem;
  }

  .workspace-card {
    padding: 1.35rem;
  }

  .status-table th {
    width: 38%;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }

  .status-table td {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }

  .status-statement-box {
    padding: 0.85rem 1rem;
    gap: 0.65rem;
  }

  .status-statement-text {
    font-size: 0.9375rem;
  }

  .steps-guide-grid {
    grid-template-columns: 1fr;
  }

  .feature-benefit-grid {
    grid-template-columns: 1fr;
  }

  .related-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}
