:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-hover: #f1f5f9;
  --border: #e2e8f0;
  --border-focus: #3b82f6;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-white: #ffffff;

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;

  --success: #10b981;
  --success-light: #ecfdf5;
  --success-text: #065f46;
  --success-border: #a7f3d0;

  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --warning-text: #92400e;
  --warning-border: #fde68a;

  --danger: #ef4444;
  --danger-light: #fef2f2;
  --danger-text: #b91c1c;
  --danger-border: #fecaca;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: radial-gradient(circle at 50% 0%, #eff6ff 0%, #f8fafc 75%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header */
.site-header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

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

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-badge {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  flex-shrink: 0;
}

.brand-badge svg {
  width: 22px;
  height: 22px;
}

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

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-text strong {
  color: var(--primary);
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--success-text);
  background: var(--success-light);
  border: 1px solid var(--success-border);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: dotPulse 2s infinite ease-in-out;
}

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

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

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn-contact:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-contact.btn-cta {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.3);
}

.btn-contact.btn-cta:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-contact.tg {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0284c7;
}

.btn-contact.tg:hover {
  background: #e0f2fe;
}

.btn-contact.wa {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #16a34a;
}

.btn-contact.wa:hover {
  background: #dcfce7;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 36px;
  text-align: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--danger-light);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.badge-tag .pulse-danger {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulseDanger 1.8s infinite;
}

@keyframes pulseDanger {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hero-title {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

/* Auditor Form Card */
.auditor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 860px;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.form-group {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.input-webhook-wrap {
  flex: 1;
  position: relative;
}

.input-webhook {
  width: 100%;
  height: 54px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 20px 0 46px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}

.input-webhook:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--text-subtle);
  pointer-events: none;
}

.btn-scan {
  height: 54px;
  padding: 0 28px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.btn-scan:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-scan:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.quick-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.btn-demo {
  background: var(--primary-light);
  border: 1px solid #bfdbfe;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-demo:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}

.btn-pdf-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.btn-pdf-download:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-pdf-download:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-help-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.84rem;
  text-decoration: underline;
  text-decoration-style: dotted;
  transition: color 0.2s;
}

.btn-help-toggle:hover {
  color: var(--text-main);
}

.privacy-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Instructions Accordion */
.instructions-panel {
  display: none;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 18px;
  text-align: left;
}

.instructions-panel.open {
  display: block;
  animation: fadeIn 0.3s ease;
}

.instructions-panel ol {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.instructions-panel li {
  margin-bottom: 8px;
}

.instructions-panel code {
  background: #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary-hover);
  font-family: var(--font-mono);
  font-size: 0.85em;
}

/* Scanning Progress Animated Cyber Radar */
.scan-progress {
  display: none;
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  margin-top: 20px;
  box-shadow: 0 10px 30px -5px rgba(37, 99, 235, 0.12);
  text-align: left;
}

.scan-progress.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.scanner-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.radar-scan-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.radar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eff6ff;
  border: 2px solid #bfdbfe;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.radar-sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(37, 99, 235, 0.35) 280deg, #2563eb 360deg);
  border-radius: 50%;
  animation: radarRotate 1.2s linear infinite;
}

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

.radar-center-shield {
  position: relative;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.scanner-titles {
  flex: 1;
}

.scan-step-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.scan-substep-text {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.scanner-percent {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

/* Progress bar */
.scan-progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 18px;
}

.sonar-wave {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 99, 235, 0.4);
  animation: sonarPulse 1.8s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  pointer-events: none;
}

@keyframes sonarPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.scan-progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  border-radius: var(--radius-full);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.scan-progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: barShimmer 1.5s infinite;
}

@keyframes barShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Live steps list */
.scanner-live-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.88rem;
}

.live-step {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.live-step .step-icon {
  font-size: 1.1rem;
  width: 20px;
  display: inline-flex;
  justify-content: center;
}

.live-step .step-label {
  flex: 1;
}

.live-step.active {
  color: var(--primary);
  font-weight: 600;
}

.live-step.done {
  color: var(--text-main);
}

.step-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.step-badge.pending {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.step-badge.running {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  animation: pulse 1s infinite alternate;
}

.step-badge.ok {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.step-badge.warn {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.step-badge.danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Direction badges */
.badge-direction {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-direction.in {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-direction.out {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

/* Audit Results Dashboard */
.results-section {
  display: none;
  margin-top: 36px;
}

.results-section.visible {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

/* Overall Risk Banner */
.risk-banner {
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.risk-banner.danger {
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  border: 1.5px solid var(--danger-border);
}

.risk-banner.safe {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border: 1.5px solid var(--success-border);
}

.risk-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.risk-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  color: #fff;
  flex-shrink: 0;
}

.risk-banner.danger .risk-circle {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.risk-banner.safe .risk-circle {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.risk-circle span {
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.9;
  text-transform: uppercase;
  margin-top: 2px;
}

.risk-texts h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.risk-texts p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
  max-width: 650px;
}

/* Right-side Action Box */
.risk-action-box {
  width: 320px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  border: 1.5px solid var(--danger-border);
}

.risk-action-box.safe {
  border-color: var(--success-border);
}

.risk-action-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--danger-text);
}

.risk-action-box.safe .risk-action-status {
  color: var(--success-text);
}

.risk-action-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1.5s infinite;
}

.risk-action-box.safe .status-dot {
  background: #10b981;
  animation: none;
}

.risk-action-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn-risk-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.btn-risk-action.danger {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-risk-action.danger:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

.btn-risk-action.safe {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-risk-action.safe:hover {
  background: #059669;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .risk-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .risk-action-box {
    width: 100%;
  }
}

/* KPI Grid (4 Cards now) */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.kpi-icon.contacts { background: #eff6ff; color: var(--primary); }
.kpi-icon.leads { background: #faf5ff; color: #9333ea; }
.kpi-icon.activities { background: #fffbeb; color: #d97706; }
.kpi-icon.users { background: #ecfeff; color: #0891b2; }

.kpi-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 4px;
}

.kpi-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.kpi-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.kpi-sub b {
  color: var(--danger-text);
}

/* Tabs & Preview Card */
.data-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
}

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

.preview-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.tabs-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tab-btn {
  background: #f1f5f9;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.audit-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
  background: #ffffff;
}

.audit-table th {
  background: #f8fafc;
  padding: 12px 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}

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

.audit-table tr:hover td {
  background: #f8fafc;
}

.phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.phone-badge.leaked {
  background: var(--danger-light);
  color: var(--danger-text);
  border: 1px solid var(--danger-border);
}

.phone-badge.masked {
  background: var(--success-light);
  color: var(--success-text);
  border: 1px solid var(--success-border);
}

.status-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 600;
}

.status-badge.error {
  background: var(--warning-light);
  color: var(--warning-text);
  border: 1px solid var(--warning-border);
}

.status-badge.safe {
  background: var(--success-light);
  color: var(--success-text);
  border: 1px solid var(--success-border);
}

/* Empty or Error State in tab */
.tab-empty-state {
  padding: 40px 20px;
  text-align: center;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
}

.tab-empty-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.tab-empty-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.tab-empty-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Sales Section: Threats & 152-FZ */
.sales-section {
  padding: 40px 0 60px;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--danger);
  font-weight: 700;
  margin-bottom: 6px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.threat-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}

.threat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.threat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.threat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
  margin-bottom: 12px;
}

.threat-card h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 700;
}

.threat-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Solution Presentation Box */
.solution-box {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 50px;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.solution-content h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.solution-content p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 22px;
}

.feature-list {
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success-light);
  border: 1px solid var(--success-border);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 0.78rem;
  margin-top: 2px;
}

.feature-item strong {
  color: var(--text-main);
  display: block;
  font-size: 0.94rem;
}

.feature-item span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.solution-mockup {
  background: #0f172a;
  border-radius: var(--radius-md);
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #94a3b8;
  box-shadow: 0 10px 25px -3px rgba(15, 23, 42, 0.25);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-code .kw { color: #c084fc; }
.mockup-code .str { color: #86efac; }
.mockup-code .key { color: #93c5fd; }
.mockup-code .num { color: #fbbf24; }
.mockup-code .dim { color: #64748b; }
.mockup-code .badge-censored {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  padding: 1px 6px;
  border-radius: 3px;
}

/* CTA / Contact Form */
.cta-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 860px;
  margin: 0 auto 50px;
  text-align: center;
  box-shadow: var(--shadow-card);
  scroll-margin-top: 90px;
}

.cta-section h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.cta-section p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 28px;
  font-size: 0.95rem;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 650px;
  margin: 0 auto 24px;
  text-align: left;
}

.form-full {
  grid-column: span 2;
}

.input-field {
  width: 100%;
  height: 48px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: var(--text-main);
  font-size: 0.92rem;
  transition: all 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn-submit-lead {
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s;
}

.btn-submit-lead:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.direct-messengers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.messenger-link.tg {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.messenger-link.tg:hover {
  background: #e0f2fe;
  transform: translateY(-1px);
}

.messenger-link.wa {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.messenger-link.wa:hover {
  background: #dcfce7;
  transform: translateY(-1px);
}

.form-checkboxes {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
  width: 100%;
  margin: 6px 0 14px;
}

.checkbox-row {
  display: block !important;
  width: 100%;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  line-height: 1.4;
  text-align: left;
}

.form-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #0284c7;
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox-label a {
  color: #0284c7;
  text-decoration: underline;
  transition: color 0.2s;
}

.form-checkbox-label a:hover {
  color: #0369a1;
}

/* Footer */
.site-footer {
  padding: 36px 0 28px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  background: #ffffff;
}

.footer-legal {
  margin-bottom: 12px;
  line-height: 1.6;
  color: var(--text-main);
  font-size: 0.88rem;
}

.footer-legal p {
  margin: 4px 0;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.footer-links a {
  color: #0284c7;
  text-decoration: underline;
  font-size: 0.86rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #0369a1;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0f172a;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  border-left: 4px solid var(--primary);
  animation: slideIn 0.3s ease;
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.success {
  border-left-color: var(--success);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Comprehensive Responsive System
   ========================================================================== */

/* Tablets and small laptops (<= 1024px) */
@media (max-width: 1024px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .threat-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .solution-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Tablets portrait and below (<= 900px) */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.25;
  }
  .threat-cards-grid {
    grid-template-columns: 1fr;
  }
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .lead-form {
    grid-template-columns: 1fr;
  }
  .form-full {
    grid-column: span 1;
  }
  .risk-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .risk-action-box {
    width: 100%;
  }
}

/* Mobile landscape and large phones (<= 768px) */
@media (max-width: 768px) {
  .hero-section {
    padding: 44px 0 28px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }
  .auditor-card {
    padding: 24px 20px;
  }
  .solution-box {
    padding: 28px 22px;
    border-radius: var(--radius-md);
  }
  .solution-content h3 {
    font-size: 1.5rem;
  }
  .cta-section {
    padding: 30px 20px;
    border-radius: var(--radius-md);
  }
  .cta-section h3 {
    font-size: 1.5rem;
  }
  .data-preview-card {
    padding: 20px 16px;
  }
  .threat-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Phones (<= 640px) */
@media (max-width: 640px) {
  .hero-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }
  .hero-title br {
    display: none;
  }
  .badge-tag {
    font-size: 0.76rem;
    padding: 5px 12px;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
  }
  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
  }
  
  /* Auditor Card & Form */
  .auditor-card {
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }
  .form-group {
    flex-direction: column;
    gap: 10px;
  }
  .input-webhook {
    height: 48px;
    font-size: 0.86rem;
    padding-left: 42px;
    padding-right: 14px;
  }
  .btn-scan {
    width: 100%;
    height: 50px;
    justify-content: center;
    font-size: 0.92rem;
    padding: 0 16px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }
  
  .quick-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .btn-demo {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.86rem;
  }
  .btn-help-toggle {
    text-align: center;
    padding: 4px;
    font-size: 0.82rem;
  }
  .privacy-notice {
    justify-content: center;
    font-size: 0.76rem;
    text-align: center;
  }
  
  .instructions-panel {
    padding: 16px 14px;
  }
  .instructions-panel code {
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  /* Scanner Progress */
  .scan-progress {
    padding: 18px 14px;
  }
  .scanner-header {
    gap: 12px;
  }
  .radar-scan-wrap,
  .radar-circle {
    width: 44px;
    height: 44px;
  }
  .radar-center-shield {
    width: 22px;
    height: 22px;
  }
  .scan-step-text {
    font-size: 0.94rem;
  }
  .scan-substep-text {
    font-size: 0.8rem;
  }
  .scanner-percent {
    font-size: 1.2rem;
  }
  .scanner-live-steps {
    padding: 12px 10px;
    gap: 8px;
  }
  .live-step {
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
  }
  .live-step:last-child {
    border-bottom: none;
  }
  .live-step .step-label {
    font-size: 0.82rem;
    line-height: 1.35;
    flex: 1 1 65%;
  }
  .live-step .step-badge {
    margin-left: auto;
    font-size: 0.68rem;
    padding: 2px 6px;
  }

  /* Risk Banner */
  .risk-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    border-radius: var(--radius-md);
    gap: 16px;
  }
  .risk-info {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .risk-circle {
    width: 62px;
    height: 62px;
    font-size: 1.15rem;
  }
  .risk-texts h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    text-align: center;
  }
  .risk-texts p {
    font-size: 0.85rem;
    line-height: 1.45;
    text-align: center;
  }
  .risk-action-box {
    width: 100%;
    padding: 16px;
    text-align: center;
    border-radius: var(--radius-sm);
  }
  .risk-action-status {
    justify-content: center;
  }
  .btn-risk-action {
    width: 100%;
    font-size: 0.9rem;
    padding: 12px 16px;
  }

  /* KPI Grid */
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .kpi-card {
    padding: 16px 14px;
  }
  .kpi-value {
    font-size: 1.45rem;
  }
  .kpi-label {
    font-size: 0.74rem;
  }
  .kpi-sub {
    font-size: 0.74rem;
  }

  /* Preview Data & Tabs */
  .preview-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .preview-title {
    font-size: 1.05rem;
    text-align: center;
  }
  .tabs-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    padding: 7px 12px;
    font-size: 0.78rem;
    flex-shrink: 0;
  }
  .table-responsive {
    margin: 0 -4px;
    border-radius: 8px;
  }
  .audit-table th {
    padding: 10px 8px;
    font-size: 0.7rem;
    white-space: nowrap;
  }
  .audit-table td {
    padding: 10px 8px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  /* Threats */
  .section-head {
    margin-bottom: 24px;
  }
  .section-tag {
    font-size: 0.76rem;
  }
  .section-title {
    font-size: 1.45rem;
    line-height: 1.25;
  }
  .threat-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }
  .threat-card {
    padding: 18px 16px;
    border-radius: var(--radius-sm);
  }
  .threat-number {
    font-size: 1.7rem;
    margin-bottom: 8px;
  }
  .threat-card h4 {
    font-size: 1.02rem;
  }
  .threat-card p {
    font-size: 0.85rem;
  }

  /* Solution */
  .solution-box {
    padding: 22px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 36px;
  }
  .solution-content h3 {
    font-size: 1.3rem;
    line-height: 1.3;
  }
  .solution-content p {
    font-size: 0.88rem;
    margin-bottom: 16px;
  }
  .feature-item {
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.85rem;
  }
  .feature-item strong {
    font-size: 0.88rem;
  }
  .feature-item span {
    font-size: 0.82rem;
  }
  .solution-mockup {
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
  }
  .mockup-code {
    font-size: 0.72rem;
    line-height: 1.45;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* CTA Form */
  .cta-section {
    padding: 24px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 36px;
  }
  .cta-section h3 {
    font-size: 1.3rem;
    line-height: 1.3;
  }
  .cta-section p {
    font-size: 0.86rem;
    margin-bottom: 20px;
  }
  .lead-form {
    gap: 10px;
  }
  .input-field {
    height: 46px;
    font-size: 0.9rem;
    padding: 0 14px;
  }
  .btn-submit-lead {
    height: 48px;
    font-size: 0.9rem;
    padding: 0 12px;
    white-space: normal;
    line-height: 1.25;
  }
  .form-checkbox-label {
    font-size: 0.8rem;
    gap: 8px;
    line-height: 1.35;
  }

  /* Footer */
  .site-footer {
    padding: 28px 14px 22px;
  }
  .footer-legal {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .footer-links {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    margin: 12px 0;
  }
  .footer-copy {
    font-size: 0.74rem;
  }
}

/* Small phones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
  .site-header {
    padding: 10px 0;
  }
  .status-pill {
    display: none !important;
  }
  .brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .brand-badge svg {
    width: 18px;
    height: 18px;
  }
  .logo-text {
    font-size: 1.08rem;
  }
  .btn-contact.btn-cta {
    padding: 7px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .hero-title {
    font-size: 1.4rem;
    letter-spacing: -0.02em;
  }
  .kpi-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .scanner-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .scanner-percent {
    align-self: flex-start;
  }
}

/* ==========================================================================
   How It Works & Architecture Flow Section
   ========================================================================== */
.workflow-section {
  margin-top: 50px;
  margin-bottom: 50px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  position: relative;
}

.workflow-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.workflow-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.workflow-step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
}

.workflow-card h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.workflow-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ (Frequently Asked Questions) Accordion Section
   ========================================================================== */
.faq-section {
  margin-top: 60px;
  margin-bottom: 60px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 32px auto 0;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.2s;
}

.faq-toggle:hover {
  color: var(--primary);
}

.faq-item.active .faq-toggle {
  color: var(--primary);
}

.faq-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--text-muted);
  transition: transform 0.25s ease, background-color 0.2s, color 0.2s;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  background: var(--primary-light);
  color: var(--primary);
}

.faq-content {
  display: none;
  padding: 0 24px 22px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-muted);
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.faq-item.active .faq-content {
  display: block;
  animation: fadeIn 0.2s ease-in;
}

.faq-content p + p {
  margin-top: 10px;
}

.faq-content strong {
  color: var(--text-main);
}

/* Responsive adjustments for Workflow & FAQ */
@media (max-width: 992px) {
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .faq-toggle {
    padding: 16px 18px;
    font-size: 0.96rem;
  }
  .faq-content {
    padding: 0 18px 18px;
    font-size: 0.88rem;
  }
}

