@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

:root {
  --premium-noir-0: #03040a;
  --premium-noir-1: #080a14;
  --premium-noir-2: #0e101c;
  --premium-noir-3: #060810;
  --saas-bg: #06070e;
  --saas-bg-soft: #0a0c16;
  --saas-surface: #10121c;
  --saas-surface-2: #15182a;
  --saas-surface-hover: #1a1e32;
  --saas-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.038'/%3E%3C/svg%3E");
  --saas-border: rgba(148, 163, 220, 0.14);
  --saas-border-strong: rgba(167, 139, 250, 0.24);
  --saas-text: #eef0f8;
  --saas-muted: #9298b0;
  --saas-subtle: #6b7190;
  --saas-accent: #6366f1;
  --saas-accent-2: #818cf8;
  --saas-accent-glow: rgba(99, 102, 241, 0.35);
  --saas-success: #10b981;
  --saas-warning: #f59e0b;
  --saas-danger: #f43f5e;
  --saas-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
  --saas-gradient-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.08));
  --saas-radius: 14px;
  --saas-radius-sm: 10px;
  --saas-radius-lg: 20px;
  --saas-accent-border: rgba(129, 140, 248, 0.55);
  --saas-accent-soft: rgba(99, 102, 241, 0.18);
  --saas-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --saas-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --saas-font: "Inter", system-ui, sans-serif;
  --saas-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --saas-serif: "Instrument Serif", Georgia, serif;
  --saas-page-pad-x: clamp(18px, 2.8vw, 44px);
  --saas-page-pad-bottom: clamp(28px, 4vw, 52px);
  --label-color: var(--saas-text);
  --label-muted: var(--saas-muted);
  --accent-bg-a: rgba(37, 99, 235, 0.22);
  --accent-bg-b: rgba(139, 92, 246, 0.16);
  --accent-bg-c: rgba(212, 175, 55, 0.09);
  --accent-bg-d: rgba(244, 114, 182, 0.08);
  --accent-bg-e: rgba(20, 184, 166, 0.12);
  --accent-orb-a: rgba(37, 99, 235, 0.14);
  --accent-orb-b: rgba(139, 92, 246, 0.08);
  --accent-orb-c: rgba(244, 114, 182, 0.1);
  --accent-orb-d: rgba(20, 184, 166, 0.08);
  --accent-grid-a: rgba(99, 102, 241, 0.025);
  --accent-grid-b: rgba(56, 189, 248, 0.02);
  --accent-line-h: rgba(37, 99, 235, 0.3);
  --accent-line-h2: rgba(167, 139, 250, 0.28);
  --accent-line-v: rgba(139, 92, 246, 0.22);
}

html[data-studio-accent="nebula"] {
  --saas-accent: #6366f1;
  --saas-accent-2: #818cf8;
  --saas-accent-glow: rgba(99, 102, 241, 0.35);
  --saas-border-strong: rgba(129, 140, 248, 0.24);
  --saas-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
  --saas-accent-border: rgba(129, 140, 248, 0.45);
  --saas-accent-ring: rgba(99, 102, 241, 0.14);
  --saas-gradient-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.08));
  --accent-bg-a: rgba(37, 99, 235, 0.22);
  --accent-bg-b: rgba(139, 92, 246, 0.16);
  --accent-bg-c: rgba(212, 175, 55, 0.09);
  --accent-bg-d: rgba(244, 114, 182, 0.08);
  --accent-bg-e: rgba(20, 184, 166, 0.12);
  --accent-orb-a: rgba(37, 99, 235, 0.14);
  --accent-orb-b: rgba(139, 92, 246, 0.08);
  --accent-orb-c: rgba(244, 114, 182, 0.1);
  --accent-orb-d: rgba(20, 184, 166, 0.08);
  --accent-grid-a: rgba(99, 102, 241, 0.025);
  --accent-grid-b: rgba(56, 189, 248, 0.02);
  --accent-line-h: rgba(37, 99, 235, 0.3);
  --accent-line-h2: rgba(167, 139, 250, 0.28);
  --accent-line-v: rgba(139, 92, 246, 0.22);
}

html[data-studio-accent="ember"] {
  --saas-accent: #f97316;
  --saas-accent-2: #fb923c;
  --saas-accent-glow: rgba(249, 115, 22, 0.4);
  --saas-border-strong: rgba(251, 146, 60, 0.28);
  --saas-gradient: linear-gradient(135deg, #ea580c 0%, #f97316 48%, #fdba74 100%);
  --saas-accent-border: rgba(251, 146, 60, 0.5);
  --saas-accent-ring: rgba(249, 115, 22, 0.16);
  --saas-gradient-soft: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(251, 191, 36, 0.1));
  --accent-bg-a: rgba(249, 115, 22, 0.28);
  --accent-bg-b: rgba(251, 191, 36, 0.16);
  --accent-bg-c: rgba(239, 68, 68, 0.08);
  --accent-bg-d: rgba(251, 146, 60, 0.1);
  --accent-bg-e: rgba(234, 179, 8, 0.1);
  --accent-orb-a: rgba(249, 115, 22, 0.18);
  --accent-orb-b: rgba(251, 191, 36, 0.1);
  --accent-orb-c: rgba(239, 68, 68, 0.08);
  --accent-orb-d: rgba(234, 179, 8, 0.07);
  --accent-grid-a: rgba(249, 115, 22, 0.03);
  --accent-grid-b: rgba(251, 191, 36, 0.025);
  --accent-line-h: rgba(249, 115, 22, 0.35);
  --accent-line-h2: rgba(251, 191, 36, 0.28);
  --accent-line-v: rgba(234, 88, 12, 0.22);
}

html[data-studio-accent="glacier"] {
  --saas-accent: #06b6d4;
  --saas-accent-2: #22d3ee;
  --saas-accent-glow: rgba(34, 211, 238, 0.38);
  --saas-border-strong: rgba(34, 211, 238, 0.26);
  --saas-gradient: linear-gradient(135deg, #0891b2 0%, #22d3ee 50%, #67e8f9 100%);
  --saas-accent-border: rgba(34, 211, 238, 0.48);
  --saas-accent-ring: rgba(34, 211, 238, 0.16);
  --saas-gradient-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(99, 102, 241, 0.08));
  --accent-bg-a: rgba(34, 211, 238, 0.24);
  --accent-bg-b: rgba(99, 102, 241, 0.12);
  --accent-bg-c: rgba(56, 189, 248, 0.1);
  --accent-bg-d: rgba(125, 211, 252, 0.08);
  --accent-bg-e: rgba(16, 185, 129, 0.1);
  --accent-orb-a: rgba(34, 211, 238, 0.16);
  --accent-orb-b: rgba(99, 102, 241, 0.09);
  --accent-orb-c: rgba(56, 189, 248, 0.1);
  --accent-orb-d: rgba(16, 185, 129, 0.08);
  --accent-grid-a: rgba(34, 211, 238, 0.03);
  --accent-grid-b: rgba(99, 102, 241, 0.025);
  --accent-line-h: rgba(34, 211, 238, 0.32);
  --accent-line-h2: rgba(99, 102, 241, 0.24);
  --accent-line-v: rgba(6, 182, 212, 0.22);
}

/* ── Base & atmosphere ── */

.atlas-pro {
  --pro-bg: var(--saas-bg);
  --pro-accent: var(--saas-accent);
}

.atlas-pro body {
  font-family: var(--saas-font) !important;
  background-color: var(--premium-noir-0) !important;
  background-image:
    var(--saas-noise),
    radial-gradient(ellipse 90% 65% at 0% -4%, var(--accent-bg-a), transparent 55%),
    radial-gradient(ellipse 70% 55% at 50% -8%, var(--accent-bg-b), transparent 52%),
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--accent-bg-c), transparent 50%),
    radial-gradient(ellipse 55% 45% at 88% 18%, var(--accent-bg-d), transparent 48%),
    radial-gradient(ellipse 75% 55% at 50% 108%, var(--accent-bg-e), transparent 58%),
    radial-gradient(ellipse 50% 40% at 12% 85%, var(--accent-bg-b), transparent 52%),
    radial-gradient(ellipse 40% 35% at 75% 70%, var(--accent-bg-c), transparent 50%),
    linear-gradient(165deg, var(--premium-noir-0) 0%, var(--premium-noir-1) 24%, var(--premium-noir-2) 56%, var(--premium-noir-3) 100%) !important;
  background-attachment: fixed;
  color: var(--saas-text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  transition: background-image 0.45s ease;
}

body.cf-deploy-body,
body.db-import-body,
body.editor-body {
  min-height: 100vh;
}

.atlas-pro .page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px var(--saas-page-pad-x) var(--saas-page-pad-bottom) !important;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100vh;
  box-sizing: border-box;
}

.atlas-pro .ambient-grid {
  display: block !important;
  opacity: 1 !important;
  background-size: 52px 52px !important;
  background-image:
    linear-gradient(var(--accent-grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent-grid-b) 1px, transparent 1px) !important;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, rgba(0, 0, 0, 0.55) 0%, transparent 72%) !important;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, rgba(0, 0, 0, 0.55) 0%, transparent 72%) !important;
}

.atlas-pro .ambient-grid::before {
  width: 520px !important;
  height: 1px !important;
  top: 18% !important;
  opacity: 0.12 !important;
  background: linear-gradient(90deg, transparent, var(--accent-line-h), var(--accent-line-h2), var(--accent-bg-c), transparent) !important;
}

.atlas-pro .ambient-grid::after {
  width: 1px !important;
  height: 380px !important;
  left: 22% !important;
  opacity: 0.08 !important;
  background: linear-gradient(180deg, transparent, var(--accent-line-v), var(--accent-orb-d), transparent) !important;
}

.atlas-pro body::before {
  display: block !important;
  content: "" !important;
  position: fixed !important;
  inset: auto !important;
  width: 720px !important;
  height: 720px !important;
  top: -280px !important;
  left: -160px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, var(--accent-orb-a), var(--accent-orb-b) 45%, transparent 68%) !important;
  filter: blur(72px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  animation: atlasGlowDrift 22s ease-in-out infinite !important;
}

.atlas-pro body::after {
  display: block !important;
  content: "" !important;
  position: fixed !important;
  inset: auto !important;
  width: 600px !important;
  height: 600px !important;
  right: -140px !important;
  bottom: -200px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, var(--accent-orb-c), var(--accent-orb-d) 40%, var(--accent-bg-c) 55%, transparent 72%) !important;
  filter: blur(88px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  animation: atlasGlowDrift 26s ease-in-out infinite reverse !important;
}

@keyframes atlasGlowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(28px, 18px) scale(1.04); opacity: 1; }
}

.atlas-pro h1, .atlas-pro h2, .atlas-pro h3, .atlas-pro h4 {
  font-family: var(--saas-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
}

/* ── App shell header ── */

.app-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px 10px 8px 12px;
  margin-bottom: 28px;
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: calc(var(--saas-radius-lg) + 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(14, 16, 30, 0.94), rgba(6, 8, 18, 0.9));
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  overflow: visible;
}

.app-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.12), transparent 25%, transparent 65%, rgba(167, 139, 250, 0.1));
  pointer-events: none;
}

.app-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
}

.app-header > * {
  position: relative;
  z-index: 1;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 6px;
  margin-right: 4px;
  border-right: 1px solid rgba(129, 140, 248, 0.16);
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.app-brand:hover {
  opacity: 0.92;
}

.app-brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.app-brand__mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--saas-gradient);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 28px var(--saas-accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.app-brand__mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.35), transparent 70%);
  z-index: -1;
  opacity: 0.8;
}

.app-brand__mark svg {
  width: 21px;
  height: 21px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.app-brand__name {
  font-family: var(--saas-display) !important;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #e0e7ff 55%, #c7d2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.app-brand__tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saas-subtle);
}

.app-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
  margin: 0 10px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(129, 140, 248, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.app-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--saas-muted);
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  border: 1px solid transparent;
  position: relative;
}

.app-nav__link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  padding: 5px;
  border-radius: 7px;
  box-sizing: content-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.9;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.app-nav__link:hover {
  color: var(--saas-text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.14);
  transform: translateY(-1px);
}

.app-nav__link:hover svg {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.app-nav__link.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(139, 92, 246, 0.88));
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 6px 22px var(--saas-accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.app-nav__link.is-active svg {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.22);
  opacity: 1;
}

.app-nav__link.is-active::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

.app-header__end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding-left: 10px;
  border-left: 1px solid rgba(129, 140, 248, 0.14);
}

.studio-logout-form {
  margin: 0;
}

.studio-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--saas-border);
  background: var(--saas-surface-2);
  color: var(--saas-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.studio-logout-btn:hover {
  color: var(--saas-text);
  border-color: var(--saas-border-strong);
  background: rgba(255, 255, 255, 0.06);
}

.studio-logout-btn svg {
  width: 14px;
  height: 14px;
}

.app-header__net-speed-slot {
  display: contents;
}

.net-speed-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 10px;
  border-radius: 11px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--saas-muted);
  font-family: var(--saas-font);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.net-speed-chip:hover {
  color: var(--saas-text);
  border-color: rgba(129, 140, 248, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.net-speed-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.2);
  color: var(--saas-accent-2);
}

.net-speed-chip__icon svg,
.net-speed-chip__icon i {
  width: 14px;
  height: 14px;
  display: block;
}

.net-speed-chip__lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 72px;
  text-align: left;
}

.net-speed-chip__line {
  display: flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1.15;
}

.net-speed-chip__dir {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.85);
  width: 10px;
}

.net-speed-chip__val {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--saas-text);
  font-variant-numeric: tabular-nums;
}

.net-speed-chip__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
  flex-shrink: 0;
}

.net-speed-chip.is-measuring .net-speed-chip__pulse {
  background: #818cf8;
  box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.55);
  animation: net-speed-pulse 1.4s ease-out infinite;
}

.net-speed-chip.is-live .net-speed-chip__pulse {
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.45);
}

.net-speed-chip.is-error .net-speed-chip__pulse {
  background: #f87171;
  box-shadow: none;
}

.net-speed-chip.is-error .net-speed-chip__val {
  color: rgba(248, 113, 113, 0.95);
}

@keyframes net-speed-pulse {
  0% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(129, 140, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .net-speed-chip.is-measuring .net-speed-chip__pulse {
    animation: none;
  }
}

.pro-settings {
  position: relative;
  z-index: 2;
}

.pro-settings[open] {
  z-index: 200;
}

/* ── SaaS buttons ── */

.saas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--saas-font);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.saas-btn svg {
  width: 16px;
  height: 16px;
}

.saas-btn--primary {
  color: #fff;
  background: var(--saas-gradient);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px var(--saas-accent-glow);
}

.saas-btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--saas-accent-glow);
}

.saas-btn--secondary {
  color: var(--saas-text);
  background: var(--saas-surface-2);
  border-color: var(--saas-border-strong);
}

.saas-btn--secondary:hover {
  background: var(--saas-surface-hover);
  border-color: rgba(129, 140, 248, 0.4);
}

.saas-btn--ghost {
  color: var(--saas-accent-2);
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.25);
}

.saas-btn--ghost:hover {
  background: rgba(99, 102, 241, 0.18);
  color: #fff;
}

.saas-btn--sm {
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.75rem;
}

.saas-btn--success {
  color: #fff;
  background: linear-gradient(135deg, #059669, #10b981);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.pro-settings__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 11px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--saas-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pro-settings__trigger svg,
.pro-settings__trigger i {
  width: 15px !important;
  height: 15px !important;
  padding: 4px;
  border-radius: 6px;
  box-sizing: content-box;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.9;
}

.pro-settings__trigger::-webkit-details-marker { display: none; }

.pro-settings__trigger:hover,
.pro-settings[open] .pro-settings__trigger {
  color: var(--saas-text);
  border-color: rgba(129, 140, 248, 0.35);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(99, 102, 241, 0.05));
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
}

.pro-settings__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 200;
  width: min(340px, calc(100vw - 32px));
  padding: 18px;
  border-radius: var(--saas-radius);
  border: 1px solid rgba(129, 140, 248, 0.28);
  background:
    linear-gradient(180deg, rgba(22, 24, 38, 0.98), rgba(14, 16, 28, 0.99));
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.pro-settings__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saas-subtle);
}

.pro-seg-group {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: var(--saas-bg-soft);
  border: 1px solid var(--saas-border);
}

.pro-seg-group .dock-seg,
.pro-seg-group .build-profile-option {
  flex: 1;
  min-height: 36px;
  padding: 6px 10px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--saas-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.pro-seg-group .build-profile-option {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-seg-group .build-profile-option__badge,
.pro-seg-group .build-profile-option__desc { display: none; }

.pro-seg-group .build-profile-option__title {
  font-size: 0.75rem;
  font-weight: 600;
  color: inherit;
}

.pro-seg-group .dock-seg[aria-pressed="true"],
.pro-seg-group .dock-seg.is-active,
.pro-seg-group .build-profile-option.is-active,
.pro-seg-group .build-profile-option[aria-pressed="true"] {
  background: var(--saas-gradient);
  color: #fff;
  box-shadow: 0 2px 12px var(--saas-accent-glow);
}

.pro-seg-group .dock-seg[data-accent="nebula"]::before,
.pro-seg-group .dock-seg[data-accent="ember"]::before,
.pro-seg-group .dock-seg[data-accent="glacier"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.pro-seg-group .dock-seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pro-seg-group .dock-seg[data-accent="nebula"]::before {
  background: linear-gradient(135deg, #6366f1, #a78bfa);
}

.pro-seg-group .dock-seg[data-accent="ember"]::before {
  background: linear-gradient(135deg, #ea580c, #fbbf24);
}

.pro-seg-group .dock-seg[data-accent="glacier"]::before {
  background: linear-gradient(135deg, #0891b2, #67e8f9);
}

.pro-settings__section + .pro-settings__section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--saas-border);
}

.pro-settings__hint {
  margin: 8px 0 0;
  font-size: 0.72rem;
  color: var(--saas-subtle);
  line-height: 1.45;
}

.pro-settings__active {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--saas-muted);
}

.pro-settings__active strong { color: var(--saas-accent-2); }

/* ── Dashboard hero ── */

.page-intro {
  margin-bottom: 0;
}

.page-intro__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.page-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saas-accent-2);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.page-intro__eyebrow svg {
  width: 12px;
  height: 12px;
  opacity: 0.9;
}

.page-intro__eyebrow--premium {
  padding: 6px 14px 6px 12px;
  color: #e0e7ff;
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(139, 92, 246, 0.1)),
    rgba(0, 0, 0, 0.2);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow:
    0 0 24px rgba(99, 102, 241, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.atlas-page-eyebrow {
  width: fit-content;
  max-width: 100%;
}

.cf-deploy-main > .atlas-page-eyebrow,
.editor-app > .atlas-page-eyebrow,
.audit-main > .atlas-page-eyebrow,
.gsc-main > .atlas-page-eyebrow {
  margin-bottom: clamp(14px, 2vw, 18px);
}

.cf-deploy-hero .atlas-page-eyebrow,
.page-intro .atlas-page-eyebrow {
  margin-bottom: 12px;
}

.atlas-page-eyebrow span {
  letter-spacing: 0.1em;
}

.page-intro h1 {
  margin: 0 0 8px !important;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem) !important;
  background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.page-intro__headline {
  position: relative;
  margin: 0 0 18px !important;
  padding: clamp(18px, 2.4vw, 28px) clamp(16px, 2.2vw, 26px) clamp(14px, 1.8vw, 22px);
  max-width: min(920px, 100%);
  font-family: var(--saas-display) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
  line-height: 1.12;
  overflow: visible;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: inherit !important;
}

.page-intro__headline-backdrop {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  z-index: -1;
}

.page-intro__headline-backdrop-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(145deg, rgba(99, 102, 241, 0.1) 0%, transparent 42%, rgba(167, 139, 250, 0.07) 100%),
    linear-gradient(180deg, rgba(8, 10, 22, 0.72), rgba(6, 8, 18, 0.42));
  border: 1px solid rgba(129, 140, 248, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -18px 36px rgba(99, 102, 241, 0.06),
    0 28px 64px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.page-intro__headline-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(196, 181, 253, 0.42);
  border-style: solid;
  border-width: 0;
}

.page-intro__headline-corner--tl {
  top: 10px;
  left: 10px;
  border-top-width: 1px;
  border-left-width: 1px;
}

.page-intro__headline-corner--br {
  right: 10px;
  bottom: 10px;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

.page-intro__headline-stack {
  display: flex;
  flex-direction: column;
  gap: 0.28em;
  overflow: visible;
  padding: 0.04em 0 0.02em;
}

.page-intro__headline-primary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28em;
  overflow: visible;
}

.page-intro__headline-lead {
  display: block;
  font-size: clamp(0.68rem, 1vw, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(167, 139, 250, 0.82);
  text-shadow: 0 0 24px rgba(99, 102, 241, 0.2);
  opacity: 0;
  transform: translateY(10px);
  animation: pageIntroReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}

.page-intro__headline-accent {
  display: block;
  font-family: var(--saas-serif);
  font-size: clamp(2.15rem, 4.2vw, 3.45rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.08;
  padding: 0.02em 0 0.06em;
  overflow: visible;
  background: linear-gradient(
    115deg,
    #ffffff 0%,
    #e0e7ff 14%,
    #c7d2fe 28%,
    #a5b4fc 42%,
    #c4b5fd 56%,
    #67e8f9 68%,
    #e9d5ff 82%,
    #ffffff 100%
  );
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(129, 140, 248, 0.28));
  animation:
    pageIntroAccentShift 10s ease-in-out infinite,
    pageIntroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
  opacity: 0;
  transform: translateY(12px);
}

.page-intro__headline-secondary {
  position: relative;
  display: grid;
  margin-top: 0.08em;
  overflow: visible;
  opacity: 0;
  transform: translateY(14px);
  animation: pageIntroReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
}

.page-intro__headline-secondary-ghost,
.page-intro__headline-secondary-text {
  grid-area: 1 / 1;
  align-self: start;
  width: 100%;
  display: block;
  font-size: clamp(2.5rem, 5.6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
  padding: 0.02em 0 0.08em;
}

.page-intro__headline-secondary-ghost {
  position: relative;
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(129, 140, 248, 0.28);
  text-shadow: none;
  pointer-events: none;
  transform: translate(0.04em, 0.05em);
}

.page-intro__headline-secondary-text {
  position: relative;
  z-index: 1;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8fafc 18%,
    #eef2ff 36%,
    #c7d2fe 58%,
    #a5b4fc 78%,
    rgba(129, 140, 248, 0.72) 100%
  );
  background-size: 100% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 28px rgba(99, 102, 241, 0.22));
  animation: pageIntroSitesSheen 12s ease-in-out infinite;
}

.page-intro__headline-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(14px, 1.8vw, 20px);
  opacity: 0;
  transform: translateY(8px);
  animation: pageIntroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.48s forwards;
}

.page-intro__headline-rule {
  display: block;
  flex: 0 0 auto;
  width: min(168px, 38%);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.95) 0%,
    rgba(167, 139, 250, 0.78) 42%,
    rgba(103, 232, 249, 0.42) 68%,
    transparent 100%
  );
  box-shadow:
    0 0 24px rgba(99, 102, 241, 0.42),
    0 0 8px rgba(167, 139, 250, 0.32);
}

.page-intro__headline-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #ddd6fe;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(145deg, rgba(99, 102, 241, 0.32), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(167, 139, 250, 0.38);
  box-shadow:
    0 0 22px rgba(99, 102, 241, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-intro__headline-seal svg {
  width: 13px;
  height: 13px;
  opacity: 0.95;
}

@keyframes pageIntroAccentShift {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

@keyframes pageIntroSitesSheen {
  0%,
  100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 0% 100%;
  }
}

@keyframes pageIntroReveal {
  to {
    opacity: 1;
    transform: none;
  }
}

.page-intro__hero-main {
  position: relative;
  isolation: isolate;
  overflow: visible;
  min-width: 0;
}

.page-intro__hero-main::before,
.page-intro:has(.page-intro__headline) .page-intro__row > div:first-child::before {
  content: "";
  position: absolute;
  top: -34%;
  left: -8%;
  width: min(560px, 95%);
  height: 155%;
  background:
    radial-gradient(ellipse 72% 58% at 16% 44%, rgba(99, 102, 241, 0.18), transparent 68%),
    radial-gradient(ellipse 48% 42% at 64% 26%, rgba(167, 139, 250, 0.1), transparent 72%),
    radial-gradient(ellipse 36% 28% at 42% 78%, rgba(103, 232, 249, 0.06), transparent 70%);
  pointer-events: none;
  z-index: -2;
}

.cf-deploy-hero .page-intro__hero-main,
.audit-hero__copy,
.gsc-hero__copy {
  position: relative;
  isolation: isolate;
  overflow: visible;
  min-width: 0;
}

.cf-deploy-hero .page-intro__headline,
.audit-hero__copy .page-intro__headline,
.gsc-hero__copy .page-intro__headline,
.editor-page-intro .page-intro__headline {
  max-width: min(920px, 100%);
}

.page-intro__headline--hero {
  padding: clamp(14px, 1.8vw, 22px) clamp(12px, 1.6vw, 20px) clamp(12px, 1.4vw, 18px);
  margin-bottom: 12px !important;
}

.page-intro__headline--hero .page-intro__headline-accent {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.12;
}

.page-intro__headline--hero .page-intro__headline-secondary-ghost,
.page-intro__headline--hero .page-intro__headline-secondary-text {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-intro__headline--hero .page-intro__headline-foot {
  margin-top: clamp(10px, 1.4vw, 16px);
}

.audit-hero__copy .page-intro__headline--hero {
  max-width: 100%;
}

.cf-deploy-hero .page-intro__sub--premium,
.audit-hero__copy .page-intro__sub--premium,
.gsc-hero__copy .page-intro__sub--premium {
  margin-top: 0;
}

.editor-page-intro {
  padding: 0 clamp(12px, 2vw, 20px);
}

.editor-page-intro .page-intro__row {
  margin-bottom: 12px;
}

.editor-page-intro .page-intro__headline {
  margin-bottom: 10px !important;
}

.page-intro__sub {
  margin: 0;
  max-width: none;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--saas-muted);
}

.page-intro__sub--premium {
  max-width: min(640px, 100%);
  margin-top: 2px;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.72;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(203, 213, 225, 0.88);
}

.page-intro:has(.page-intro__headline) .page-intro__row {
  overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
  .page-intro__headline-lead,
  .page-intro__headline-accent,
  .page-intro__headline-secondary,
  .page-intro__headline-foot {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .page-intro__headline-accent {
    background-position: 0% center;
  }

  .page-intro__headline-secondary-text {
    background-position: 0% 0%;
  }
}

@media (max-width: 640px) {
  .page-intro__headline {
    padding: 16px 14px 12px;
  }

  .page-intro__headline-lead {
    letter-spacing: 0.26em;
  }

  .page-intro__headline-accent {
    font-size: clamp(1.85rem, 8.5vw, 2.45rem);
  }

  .page-intro__headline-secondary-ghost,
  .page-intro__headline-secondary-text {
    font-size: clamp(2.1rem, 11vw, 2.85rem);
  }

  .page-intro__headline-rule {
    width: 108px;
  }

  .page-intro__headline-seal {
    width: 26px;
    height: 26px;
  }

  .page-intro__headline-seal svg {
    width: 11px;
    height: 11px;
  }
}

/* Module cards */
.saas-modules {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
  width: 100%;
}

.saas-module {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: var(--saas-radius);
  border: 1px solid var(--saas-border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.saas-module::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--saas-gradient-soft);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.saas-module:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(129, 140, 248, 0.15);
}

.saas-module:hover::before { opacity: 1; }

.saas-module > * { position: relative; z-index: 1; }

.saas-module__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.saas-module__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--saas-accent-2);
}

.saas-module__icon svg { width: 20px; height: 20px; }

.saas-module--deploy .saas-module__icon {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
  color: #fbbf24;
}

.saas-module--database .saas-module__icon {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
  color: #34d399;
}

.saas-module--editor .saas-module__icon {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.28);
  color: #38bdf8;
}

.saas-module--jobs .saas-module__icon {
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(244, 114, 182, 0.28);
  color: #f472b6;
}

.saas-module--tracker .saas-module__icon {
  background: rgba(167, 139, 250, 0.14);
  border-color: rgba(167, 139, 250, 0.32);
  color: #a78bfa;
}

.saas-module--audit .saas-module__icon {
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.28);
  color: #2dd4bf;
}

.saas-module--seo-checks .saas-module__icon {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.32);
  color: #38bdf8;
}

.saas-module--search-console .saas-module__icon {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.32);
  color: #34d399;
}

.saas-module__title {
  font-family: var(--saas-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--saas-text);
  margin: 0 0 4px;
}

.saas-module__desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--saas-muted);
  margin: 0;
}

.saas-module__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.saas-module__stat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--saas-subtle);
}

.saas-module__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 14px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ede9fe;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(129, 140, 248, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.saas-module__cta svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.9;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.saas-module:hover .saas-module__cta {
  color: #fff;
  border-color: rgba(167, 139, 250, 0.5);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.32), rgba(139, 92, 246, 0.18));
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.saas-module:hover .saas-module__cta svg {
  transform: translate(2px, -2px);
}

.saas-module--database .saas-module__cta {
  color: #d1fae5;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08));
  border-color: rgba(16, 185, 129, 0.3);
}

.saas-module--database:hover .saas-module__cta {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.14));
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.18);
}

.saas-module--deploy .saas-module__cta {
  color: #fef3c7;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.08));
  border-color: rgba(245, 158, 11, 0.32);
}

.saas-module--deploy:hover .saas-module__cta {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.14));
  border-color: rgba(251, 191, 36, 0.48);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.18);
}

.saas-module--editor .saas-module__cta {
  color: #e0f2fe;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.08));
  border-color: rgba(56, 189, 248, 0.3);
}

.saas-module--editor:hover .saas-module__cta {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(56, 189, 248, 0.14));
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.18);
}

.saas-module--jobs .saas-module__cta {
  color: #fce7f3;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.2), rgba(244, 114, 182, 0.08));
  border-color: rgba(244, 114, 182, 0.3);
}

.saas-module--jobs:hover .saas-module__cta {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.3), rgba(244, 114, 182, 0.14));
  border-color: rgba(244, 114, 182, 0.45);
  box-shadow: 0 6px 18px rgba(244, 114, 182, 0.18);
}

.saas-module--tracker .saas-module__cta {
  color: #ede9fe;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.22), rgba(139, 92, 246, 0.1));
  border-color: rgba(167, 139, 250, 0.34);
}

.saas-module--tracker:hover .saas-module__cta {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.32), rgba(139, 92, 246, 0.16));
  border-color: rgba(167, 139, 250, 0.48);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.2);
}

.saas-module--audit .saas-module__cta {
  color: #ccfbf1;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(45, 212, 191, 0.08));
  border-color: rgba(45, 212, 191, 0.3);
}

.saas-module--audit:hover .saas-module__cta {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.3), rgba(45, 212, 191, 0.14));
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 6px 18px rgba(45, 212, 191, 0.18);
}

.saas-module--seo-checks .saas-module__cta {
  color: #e0f2fe;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.08));
  border-color: rgba(56, 189, 248, 0.34);
}

.saas-module--seo-checks:hover .saas-module__cta {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.32), rgba(14, 165, 233, 0.14));
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.2);
}

.saas-module--search-console .saas-module__cta {
  color: #d1fae5;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0.08));
  border-color: rgba(52, 211, 153, 0.32);
}

.saas-module--search-console:hover .saas-module__cta {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.32), rgba(16, 185, 129, 0.14));
  border-color: rgba(52, 211, 153, 0.48);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.2);
}

.quick-links { display: none !important; }

/* ── Config panel ── */

.atlas-pro .hero-shell,
.atlas-pro .hero-shell--saas {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.atlas-pro .hero-shell::before,
.atlas-pro .hero-shell::after {
  display: none !important;
}

.hero-layout--saas {
  display: block !important;
  padding: 0 !important;
}

.config-panel {
  position: relative;
  width: 100%;
  border: 1px solid var(--saas-border);
  border-radius: var(--saas-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  box-shadow: var(--saas-shadow-lg);
  overflow: visible;
}

.config-panel--studio {
  border-color: rgba(129, 140, 248, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    linear-gradient(145deg, rgba(16, 18, 34, 0.98), rgba(6, 8, 18, 0.99));
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.config-panel__border-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.45), rgba(139, 92, 246, 0.15), rgba(16, 185, 129, 0.2));
  opacity: 0.22;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}

.config-panel--studio > *:not(.config-panel__ambient):not(.config-panel__border-glow) {
  position: relative;
  z-index: 1;
}

.config-panel__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 55% 45% at 8% 0%, rgba(99, 102, 241, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 35% at 92% 100%, rgba(139, 92, 246, 0.12), transparent 50%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  z-index: 0;
}

.config-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 24px 32px;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(129, 140, 248, 0.16);
  background:
    linear-gradient(180deg, rgba(99, 102, 241, 0.11), rgba(99, 102, 241, 0.03)),
    radial-gradient(ellipse 70% 120% at 0% 0%, rgba(99, 102, 241, 0.1), transparent 55%);
  border-radius: var(--saas-radius-lg) var(--saas-radius-lg) 0 0;
  position: relative;
  overflow: hidden;
}

.config-panel__head::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: radial-gradient(ellipse at 100% 50%, rgba(139, 92, 246, 0.08), transparent 70%);
  pointer-events: none;
}

.config-panel__head-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.config-panel__title-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.config-panel__title-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.config-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  font-family: var(--saas-display);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.92);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(129, 140, 248, 0.24);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.08);
}

.config-panel__eyebrow svg {
  width: 11px;
  height: 11px;
  opacity: 0.9;
}

.config-panel__title {
  margin: 0;
  padding: 0;
  font-family: var(--saas-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.config-panel__title-line {
  display: block;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 0 40px rgba(99, 102, 241, 0.15);
}

.config-panel__title-accent {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: linear-gradient(
    115deg,
    #ffffff 0%,
    #c7d2fe 22%,
    #a5b4fc 42%,
    #67e8f9 62%,
    #e9d5ff 78%,
    #ffffff 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: configTitleAccentShift 9s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(129, 140, 248, 0.2));
}

.config-panel__title-rule {
  display: block;
  width: min(120px, 40%);
  height: 2px;
  margin: 12px 0 10px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.9) 0%,
    rgba(167, 139, 250, 0.65) 55%,
    transparent 100%
  );
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.35);
}

@keyframes configTitleAccentShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@media (prefers-reduced-motion: reduce) {
  .config-panel__title-accent {
    animation: none;
    background-position: 0% center;
  }
}

.config-panel__head h2.config-panel__title {
  margin: 0;
  padding: 0;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: inherit !important;
}

.config-panel__head-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--saas-gradient);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 28px var(--saas-accent-glow);
}

.config-panel__head-icon svg {
  width: 22px;
  height: 22px;
}

.config-panel__head .config-panel__subtitle {
  margin: 0;
  max-width: none;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--saas-muted);
}

.config-panel__head-track {
  height: 7px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(129, 140, 248, 0.14);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

.config-panel__head-track-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa);
  box-shadow: 0 0 14px var(--saas-accent-glow);
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.config-panel__head-status {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.config-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--saas-text);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.config-status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--saas-accent-2);
  box-shadow: 0 0 10px var(--saas-accent-glow);
  flex-shrink: 0;
}

.config-status-badge.is-complete {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
}

.config-status-badge.is-complete::before {
  background: #34d399;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.45);
}

.config-head-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.config-head-step {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--saas-subtle);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--saas-border);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.config-head-step.is-partial {
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
}

.config-head-step.is-complete {
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.1);
}

.config-panel__head-aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 20px;
  min-width: 118px;
  border-radius: 16px;
  border: 1px solid rgba(129, 140, 248, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(6, 8, 18, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

.config-progress-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.config-progress-card__label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saas-subtle);
}

.config-panel__reset {
  width: 100%;
  justify-content: center;
}

.config-dial {
  --progress: 0;
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}

.config-dial__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    #6366f1 0deg,
    #8b5cf6 calc(var(--progress) * 3.6deg),
    rgba(255, 255, 255, 0.07) calc(var(--progress) * 3.6deg)
  );
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.25);
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.config-dial__ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(14, 16, 30, 0.98), rgba(6, 8, 18, 0.99));
  border: 1px solid rgba(129, 140, 248, 0.18);
}

.config-dial__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 1;
}

.config-dial__pct {
  font-family: var(--saas-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--saas-text);
  line-height: 1;
}

.config-dial.is-complete .config-dial__ring {
  background: conic-gradient(
    from -90deg,
    #10b981 0deg,
    #34d399 calc(var(--progress) * 3.6deg),
    rgba(255, 255, 255, 0.07) calc(var(--progress) * 3.6deg)
  );
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.3);
}

.config-dial.is-complete .config-dial__pct {
  color: #6ee7b7;
}

.config-panel__frame {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
}

.config-rail {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

@media (min-width: 961px) {
  .config-rail {
    position: sticky;
    top: 16px;
  }
}

.config-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 18px;
  border-right: 1px solid rgba(129, 140, 248, 0.12);
  background: rgba(6, 8, 18, 0.28);
}

.config-rail__title {
  margin: 0;
  padding: 0 8px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saas-subtle);
}

.config-rail__track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.config-rail__track::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.2), rgba(16, 185, 129, 0.35));
  opacity: 0.45;
}

.config-rail__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 12px 13px 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.config-rail__item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(148, 163, 184, 0.16);
  transform: translateX(2px);
}

.config-rail__item.is-active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
  border-color: rgba(129, 140, 248, 0.4);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.15);
}

.config-rail__item.is-partial .config-rail__dot {
  background: var(--saas-warning);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.config-rail__item.is-complete .config-rail__dot {
  background: var(--saas-success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.config-rail__index {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-family: var(--saas-display);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--saas-accent-2);
  background: rgba(6, 8, 18, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.28);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.config-rail__item.is-active .config-rail__index {
  color: #fff;
  background: var(--saas-gradient);
  border-color: rgba(255, 255, 255, 0.2);
}

.config-rail__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.config-rail__copy strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--saas-text);
  line-height: 1.3;
}

.config-rail__copy span {
  font-size: 0.72rem;
  color: var(--saas-subtle);
  line-height: 1.35;
}

.config-rail__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.config-rail__hint {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(129, 140, 248, 0.22);
  background: rgba(99, 102, 241, 0.05);
}

.config-rail__hint svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--saas-accent-2);
  margin-top: 2px;
}

.config-rail__hint p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--saas-muted);
}

.config-panel__head p {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--saas-muted);
}

.config-panel__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.config-panel__body {
  grid-column: 2;
  grid-row: 1;
  padding: 28px 28px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 120px);
}

.config-panel__footer {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(129, 140, 248, 0.22);
  background:
    radial-gradient(ellipse 80% 120% at 0% 100%, rgba(99, 102, 241, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(16, 185, 129, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(99, 102, 241, 0.1), rgba(6, 8, 18, 0.55));
  border-radius: 0 0 var(--saas-radius-lg) var(--saas-radius-lg);
  overflow: hidden;
}

.config-panel__footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.65), rgba(52, 211, 153, 0.45), transparent);
  pointer-events: none;
}

.launch-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr) auto;
  align-items: center;
  gap: 22px 26px;
  padding: 22px 24px;
  border-radius: calc(var(--saas-radius-lg) - 2px);
  border: 1px solid rgba(129, 140, 248, 0.26);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    linear-gradient(180deg, rgba(18, 20, 36, 0.96), rgba(6, 8, 18, 0.98));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.launch-panel__glow {
  position: absolute;
  inset: -40% auto auto -20%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22), transparent 68%);
  pointer-events: none;
}

.launch-panel__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(129, 140, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 140, 248, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5), transparent 70%);
  pointer-events: none;
}

.launch-panel > *:not(.launch-panel__glow):not(.launch-panel__mesh) {
  position: relative;
  z-index: 1;
}

.launch-panel__lead {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.launch-panel__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--saas-gradient);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 14px 34px var(--saas-accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.launch-panel__icon svg {
  width: 24px;
  height: 24px;
}

.launch-panel__copy {
  min-width: 0;
}

.launch-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 0 0 10px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  font-family: var(--saas-display);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.92);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(129, 140, 248, 0.24);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.08);
}

.launch-panel__eyebrow svg {
  width: 11px;
  height: 11px;
  opacity: 0.9;
}

.launch-panel__title {
  margin: 0;
  padding: 0;
  font-family: var(--saas-display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.14;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: inherit;
}

.launch-panel__title-line {
  display: block;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 0 32px rgba(99, 102, 241, 0.18);
}

.launch-panel__title-accent {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: linear-gradient(
    115deg,
    #ffffff 0%,
    #c7d2fe 22%,
    #a5b4fc 42%,
    #67e8f9 62%,
    #e9d5ff 78%,
    #ffffff 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: launchTitleAccentShift 9s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(129, 140, 248, 0.22));
}

.launch-panel__title-rule {
  display: block;
  width: min(96px, 36%);
  height: 2px;
  margin: 10px 0 10px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(52, 211, 153, 0.85) 0%,
    rgba(99, 102, 241, 0.7) 55%,
    transparent 100%
  );
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.28);
}

@keyframes launchTitleAccentShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@media (prefers-reduced-motion: reduce) {
  .launch-panel__title-accent {
    animation: none;
    background-position: 0% center;
  }
}

.launch-panel__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--saas-muted);
  max-width: 46ch;
}

.launch-panel__features-wrap {
  min-width: 0;
}

.launch-panel__features-label {
  margin: 0 0 10px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saas-subtle);
}

.launch-panel__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-panel__features li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px 11px;
  border-radius: 12px;
  border: 1px solid rgba(129, 140, 248, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(6, 8, 18, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.launch-panel__features li:hover {
  border-color: rgba(129, 140, 248, 0.38);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.launch-panel__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #a5b4fc;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(129, 140, 248, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.launch-panel__feature-icon svg {
  width: 17px;
  height: 17px;
}

.launch-panel__feature-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--saas-text);
  line-height: 1.35;
}

.launch-panel__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-shrink: 0;
}

.launch-panel__cta-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 250px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(129, 140, 248, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(6, 10, 18, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.28);
}

.launch-panel__status {
  justify-content: center;
  white-space: nowrap;
  width: 100%;
  padding: 9px 14px !important;
  font-size: 0.75rem !important;
}

.launch-panel__btn {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: none !important;
  width: 100% !important;
  min-width: 0;
  min-height: 52px !important;
  padding: 0 22px !important;
  white-space: nowrap;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  overflow: hidden;
  box-shadow:
    0 10px 34px var(--saas-accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.launch-panel__btn svg {
  width: 18px;
  height: 18px;
}

.launch-panel__btn-shine {
  position: absolute;
  inset: 0 auto 0 -120%;
  width: 80%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-18deg);
  animation: launch-btn-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes launch-btn-shine {
  0%, 72% { left: -120%; }
  100% { left: 140%; }
}

@media (prefers-reduced-motion: reduce) {
  .launch-panel__btn-shine {
    animation: none;
  }
}

.atlas-pro .form-column,
.atlas-pro .form-column--primary {
  display: block !important;
  container-type: normal !important;
  justify-content: stretch !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.atlas-pro .generator-card,
.atlas-pro .form-shell,
.atlas-pro .form-surface {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  transform: none !important;
}

.atlas-pro .generator-card::before {
  display: none !important;
}

.atlas-pro .generator-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

html.ux-ready .atlas-pro .form-surface {
  animation: none !important;
}

/* Form sections */
.form-blocks {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-block {
  position: relative;
  padding: 24px;
  border-radius: calc(var(--saas-radius) + 2px);
  border: 1px solid var(--saas-border);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.006)),
    var(--saas-surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 4px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  scroll-margin-top: 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Allow service / state / city dropdowns to escape the card frame */
.atlas-pro .form-block--profile,
.atlas-pro .form-block--coverage {
  overflow: visible;
}

.form-block::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
}

.form-block::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--saas-gradient);
  opacity: 0.55;
}

.form-block:hover {
  border-color: rgba(129, 140, 248, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.form-block--profile::before { background: linear-gradient(180deg, #6366f1, #818cf8); }
.form-block--coverage::before { background: linear-gradient(180deg, #f59e0b, #fbbf24); }
.form-block--settings::before { background: linear-gradient(180deg, #10b981, #34d399); }

.form-block--profile { border-color: rgba(99, 102, 241, 0.22); }
.form-block--coverage { border-color: rgba(245, 158, 11, 0.2); }
.form-block--settings { border-color: rgba(16, 185, 129, 0.2); }

.form-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(129, 140, 248, 0.12);
}

.form-block__head-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.form-block__copy {
  min-width: 0;
}

.form-block__module {
  display: none;
}

.form-block__step {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-family: var(--saas-display);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--saas-accent-2);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.24);
}

.form-block--coverage .form-block__step {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.28);
}

.form-block--settings .form-block__step {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.28);
}

.form-block__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--saas-gradient-soft);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--saas-accent-2);
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
}

.form-block--profile .form-block__icon {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.28);
}

.form-block--coverage .form-block__icon {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
  color: #fbbf24;
}

.form-block--settings .form-block__icon {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
  color: #34d399;
}

.form-block__icon svg { width: 22px; height: 22px; }

.form-block__head h3 {
  margin: 0 0 4px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--saas-text);
  letter-spacing: -0.02em;
}

.form-block__head p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--saas-muted);
}

/* Label row + badge buttons (generator form only) */
.atlas-pro #generatorForm label:not(.ms-option):not(.premium-checkbox):not(.premium-file__face),
.atlas-pro .config-panel label:not(.ms-option):not(.premium-checkbox):not(.premium-file__face),
.atlas-pro .field-group__title {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
  gap: 10px !important;
  margin-bottom: 8px !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: var(--saas-text) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.label-badge,
.atlas-pro #generatorForm label .field-hint,
.atlas-pro #generatorForm .premium-field__badge .field-hint,
.atlas-pro .config-panel label .field-hint {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-size: 0.625rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  border: 1px solid transparent;
  cursor: default;
}

.label-badge--required,
.atlas-pro #generatorForm label .field-hint.label-badge--required,
.atlas-pro #generatorForm .premium-field__badge .field-hint.label-badge--required,
.atlas-pro .config-panel label .field-hint.label-badge--required {
  color: #fecdd3 !important;
  background: rgba(244, 63, 94, 0.12) !important;
  border-color: rgba(244, 63, 94, 0.3) !important;
}

.label-badge--optional,
.atlas-pro #generatorForm label .field-hint.label-badge--optional,
.atlas-pro #generatorForm .premium-field__badge .field-hint.label-badge--optional,
.atlas-pro .config-panel label .field-hint.label-badge--optional {
  color: #cbd5e1 !important;
  background: rgba(148, 163, 184, 0.1) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

.label-badge--info,
.atlas-pro #generatorForm label .field-hint.label-badge--info,
.atlas-pro #generatorForm .premium-field__badge .field-hint.label-badge--info,
.atlas-pro .config-panel label .field-hint.label-badge--info {
  color: #c7d2fe !important;
  background: rgba(99, 102, 241, 0.12) !important;
  border-color: rgba(99, 102, 241, 0.28) !important;
}

.atlas-pro #generatorForm .field > .field-hint:not(label .field-hint),
.atlas-pro .config-panel .field > .field-hint:not(label .field-hint) {
  margin-top: 6px;
  font-size: 0.75rem !important;
  color: var(--saas-subtle) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
}

/* Inputs (generator form only) */
.atlas-pro #generatorForm input,
.atlas-pro #generatorForm select,
.atlas-pro #generatorForm textarea,
.atlas-pro .config-panel input,
.atlas-pro .config-panel select,
.atlas-pro .config-panel textarea,
.atlas-pro #generatorForm .ms-trigger,
.atlas-pro #generatorForm .svc-picker-trigger {
  height: 46px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  border: 1px solid var(--saas-border) !important;
  background: var(--saas-bg-soft) !important;
  color: var(--saas-text) !important;
  font-size: 0.875rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.atlas-pro #generatorForm input:focus,
.atlas-pro #generatorForm select:focus,
.atlas-pro #generatorForm textarea:focus,
.atlas-pro .config-panel input:focus,
.atlas-pro .config-panel select:focus,
.atlas-pro .config-panel textarea:focus,
.atlas-pro #generatorForm .ms-trigger:focus,
.atlas-pro #generatorForm .svc-picker-trigger:focus {
  border-color: rgba(129, 140, 248, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18) !important;
  transform: none !important;
}

.atlas-pro #generatorForm textarea,
.atlas-pro .config-panel textarea { min-height: 108px !important; padding: 12px 14px !important; }

.atlas-pro #generatorForm .grid,
.atlas-pro .config-panel .grid {
  gap: 18px 20px !important;
}

/* Premium states / cities multi-select */
.atlas-pro .ms-dropdown {
  border-color: rgba(129, 140, 248, 0.22) !important;
  background:
    linear-gradient(180deg, rgba(18, 20, 36, 0.98), rgba(8, 10, 20, 0.99)) !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
}

.atlas-pro .ms-search-wrap {
  padding: 12px 12px 6px !important;
}

.atlas-pro .ms-search {
  height: 44px !important;
  padding: 0 14px 0 42px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(129, 140, 248, 0.2) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(6, 8, 18, 0.65) !important;
  color: var(--saas-text) !important;
  font-size: 0.875rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a5b4fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 14px center !important;
}

.atlas-pro .ms-search:focus {
  border-color: rgba(167, 139, 250, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16) !important;
}

.atlas-pro .ms-search-count {
  display: block;
  margin-top: 6px;
  padding: 0 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--saas-subtle);
}

.atlas-pro .ms-actions {
  gap: 8px !important;
  padding: 8px 12px 10px !important;
  border-bottom-color: rgba(129, 140, 248, 0.12) !important;
}

.atlas-pro .ms-action {
  height: 36px !important;
  border-radius: 10px !important;
  font-size: 0.625rem !important;
  letter-spacing: 0.1em !important;
  border-color: rgba(129, 140, 248, 0.16) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

.atlas-pro .ms-action.ms-done {
  border-color: rgba(129, 140, 248, 0.32) !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(139, 92, 246, 0.14)) !important;
  color: #e8e0ff !important;
}

.atlas-pro .ms-list {
  max-height: min(320px, 46vh) !important;
  padding: 8px 10px 12px !important;
  background: rgba(0, 0, 0, 0.14) !important;
}

.atlas-pro .ms-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 220, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.16s ease;
}

.atlas-pro .ms-option:last-child {
  margin-bottom: 0;
}

.atlas-pro .ms-option:hover {
  border-color: rgba(129, 140, 248, 0.28);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.atlas-pro .ms-option.is-selected {
  border-color: rgba(129, 140, 248, 0.42);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.atlas-pro .ms-list label.ms-option {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  margin: 0 0 6px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
}

.atlas-pro .ms-option.is-filtered-out,
.atlas-pro .ms-list label.ms-option[hidden],
.atlas-pro #generatorForm .ms-list label.ms-option.is-filtered-out,
.atlas-pro #generatorForm .ms-list label.ms-option[hidden] {
  display: none !important;
}

.atlas-pro .ms-option__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.atlas-pro .ms-option__control {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 220, 0.28);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.atlas-pro .ms-option__control::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.atlas-pro .ms-option.is-selected .ms-option__control {
  border-color: rgba(167, 139, 250, 0.65);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
}

.atlas-pro .ms-option.is-selected .ms-option__control::after {
  border-left-color: #fff;
  border-bottom-color: #fff;
  opacity: 1;
}

.atlas-pro .ms-option__body {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.atlas-pro .ms-option__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--saas-text);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.atlas-pro .ms-option__meta {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.atlas-pro .ms-list-empty {
  padding: 18px 12px 8px;
  font-size: 0.8125rem;
  color: var(--saas-muted);
  text-align: center;
}

.atlas-pro #generatorForm .ms-trigger {
  height: 48px !important;
  border-radius: 12px !important;
  border-color: rgba(129, 140, 248, 0.2) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--saas-bg-soft) !important;
  font-weight: 600 !important;
}

@media (min-width: 1100px) {
  .atlas-pro .form-block .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .atlas-pro .form-block .grid > .full { grid-column: 1 / -1 !important; }
}

.atlas-pro .social-links-group {
  border: 1px solid rgba(99, 102, 241, 0.18) !important;
  background:
    linear-gradient(165deg, rgba(99, 102, 241, 0.06), rgba(255, 255, 255, 0.01)),
    var(--saas-bg-soft) !important;
  border-radius: var(--saas-radius) !important;
  padding: 18px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.social-links-group__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(129, 140, 248, 0.14);
}

.social-links-group__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--saas-accent-2);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.24);
}

.social-links-group__icon svg {
  width: 18px;
  height: 18px;
}

.social-links-group__copy {
  flex: 1;
  min-width: 0;
}

.social-links-group__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.social-links-group__title {
  margin: 0;
  font-family: var(--saas-display) !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--saas-text) !important;
}

.social-links-group__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--saas-muted);
  max-width: 62ch;
}

.atlas-pro .social-links-group label {
  font-size: 0.8125rem !important;
  margin-bottom: 8px !important;
}

.atlas-pro .social-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Ultra-premium icon-input fields (profile, coverage, settings, social) */
.atlas-pro .premium-field {
  position: relative;
  margin: 0 !important;
}

.atlas-pro .premium-field__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 18px;
  margin: 0 0 7px;
  padding: 0 2px 0 0;
}

.atlas-pro .premium-field__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(226, 232, 240, 0.78);
}

.atlas-pro .premium-field__badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-left: auto;
}

.atlas-pro .premium-field__badge .field-hint {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
  padding: 4px 11px 4px 9px !important;
  border-radius: 999px !important;
  font-size: 0.5625rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  line-height: 1 !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 4px 14px rgba(0, 0, 0, 0.14);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.atlas-pro .premium-field__badge .field-hint.label-badge--required {
  color: #fecdd3 !important;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.24), rgba(190, 18, 60, 0.1)) !important;
  border: 1px solid rgba(244, 63, 94, 0.4) !important;
  text-shadow: 0 0 14px rgba(244, 63, 94, 0.28);
}

.atlas-pro .premium-field__badge .field-hint.label-badge--required::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fb7185;
  box-shadow: 0 0 10px rgba(251, 113, 133, 0.75);
  flex-shrink: 0;
}

.atlas-pro .premium-field__badge .field-hint.label-badge--optional {
  color: #e2e8f0 !important;
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.16), rgba(100, 116, 139, 0.07)) !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
}

.atlas-pro .premium-field__badge .field-hint.label-badge--optional::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1.5px solid rgba(203, 213, 225, 0.75);
  background: transparent;
  flex-shrink: 0;
}

.atlas-pro .premium-field__badge .field-hint.label-badge--info {
  color: #ddd6fe !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(67, 56, 202, 0.09)) !important;
  border: 1px solid rgba(129, 140, 248, 0.34) !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
  font-size: 0.6rem !important;
  font-weight: 600 !important;
}

.atlas-pro .premium-field__badge .field-hint.label-badge--info::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: linear-gradient(135deg, #a5b4fc, #818cf8);
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.55);
  flex-shrink: 0;
  transform: rotate(45deg);
}

.atlas-pro .premium-field__row {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--saas-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--saas-bg-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.atlas-pro .premium-field__row--embed {
  overflow: visible;
}

.atlas-pro .premium-field__row--textarea {
  align-items: stretch;
  min-height: 120px;
  overflow: hidden;
}

.atlas-pro .premium-field__row:focus-within {
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow:
    0 0 0 3px rgba(99, 102, 241, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.atlas-pro .premium-field__icon {
  flex-shrink: 0;
  width: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.atlas-pro .premium-field__row--textarea .premium-field__icon {
  align-self: stretch;
  padding-top: 14px;
}

.atlas-pro .premium-field__icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2px;
}

.atlas-pro .premium-field__icon--indigo {
  background: linear-gradient(145deg, #4338ca 0%, #6366f1 55%, #4f46e5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.atlas-pro .premium-field__icon--violet {
  background: linear-gradient(145deg, #6d28d9 0%, #8b5cf6 55%, #5b21b6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.atlas-pro .premium-field__icon--teal {
  background: linear-gradient(145deg, #0f766e 0%, #14b8a6 55%, #0d9488 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.atlas-pro .premium-field__icon--sky {
  background: linear-gradient(145deg, #0369a1 0%, #0ea5e9 55%, #0284c7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.atlas-pro .premium-field__icon--gold {
  background: linear-gradient(145deg, #b45309 0%, #f59e0b 55%, #d97706 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.atlas-pro .premium-field__icon--emerald {
  background: linear-gradient(145deg, #047857 0%, #10b981 55%, #059669 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.atlas-pro .premium-field__icon--rose {
  background: linear-gradient(145deg, #be123c 0%, #f43f5e 55%, #e11d48 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.atlas-pro .premium-field__icon--amber {
  background: linear-gradient(145deg, #b45309 0%, #fbbf24 55%, #d97706 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.atlas-pro .premium-field__icon--slate {
  background: linear-gradient(145deg, #334155 0%, #64748b 55%, #475569 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.atlas-pro .premium-field__icon--facebook {
  background: linear-gradient(145deg, #1a6de8 0%, #1877f2 55%, #0d5bd7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.atlas-pro .premium-field__icon--linkedin {
  background: linear-gradient(145deg, #0a5fb8 0%, #0a66c2 55%, #004182 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.atlas-pro .premium-field__icon--youtube {
  background: linear-gradient(145deg, #ff2d2d 0%, #ff0000 50%, #cc0000 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.atlas-pro .premium-field__control {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.atlas-pro .premium-field__row--textarea .premium-field__control {
  align-items: stretch;
}

.atlas-pro .premium-field__control .svc-picker-wrap,
.atlas-pro .premium-field__control .ms-wrap {
  width: 100%;
}

.atlas-pro .premium-field--service,
.atlas-pro .premium-field--service .premium-field__row,
.atlas-pro .premium-field--service .premium-field__control,
.atlas-pro .premium-field--service .svc-picker-wrap {
  overflow: visible !important;
}

.atlas-pro .premium-field--service {
  position: relative;
  z-index: 4;
}

.atlas-pro .premium-field--service:has(.svc-picker-trigger.is-open),
.atlas-pro .premium-field--service:has(.svc-picker-dropdown:not([hidden])) {
  z-index: 60;
}

.atlas-pro .svc-picker-dropdown {
  display: none;
  flex-direction: column !important;
  max-height: min(380px, 50vh);
  overflow: hidden !important;
  border-color: rgba(129, 140, 248, 0.22) !important;
  background:
    linear-gradient(180deg, rgba(18, 20, 36, 0.98), rgba(8, 10, 20, 0.99)) !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
}

.atlas-pro .svc-picker-dropdown[style*="display: flex"],
.atlas-pro .svc-picker-dropdown[style*="display:flex"] {
  display: flex !important;
}

.atlas-pro .svc-picker-list {
  max-height: min(300px, 40vh) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(129, 140, 248, 0.55) rgba(255, 255, 255, 0.04);
  background: rgba(0, 0, 0, 0.14) !important;
}

.atlas-pro .svc-picker-list::-webkit-scrollbar {
  width: 10px;
}
.atlas-pro .svc-picker-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}
.atlas-pro .svc-picker-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(129, 140, 248, 0.65), rgba(99, 102, 241, 0.45));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.atlas-pro .premium-field__row .ms-dropdown {
  top: calc(100% + 6px);
}

.atlas-pro .premium-field__row > input,
.atlas-pro .premium-field__control > input,
.atlas-pro .premium-field__control > select,
.atlas-pro .premium-field__control > textarea {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: auto !important;
  min-height: 48px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 14px !important;
  font-size: 0.8125rem !important;
  color: var(--saas-text) !important;
}

.atlas-pro .premium-field__control > select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 40px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.atlas-pro .premium-field__control--select {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.atlas-pro .premium-field--country .premium-field__row,
.atlas-pro .premium-field--coverage .premium-field__row,
.atlas-pro .premium-field--template .premium-field__row {
  min-width: 0;
}

.atlas-pro .premium-field--country .premium-field__control--select > select,
.atlas-pro .premium-field--coverage .premium-field__control > select,
.atlas-pro .premium-field--template .premium-field__control > select {
  width: 100%;
  max-width: 100%;
}

.atlas-pro .premium-field__row--textarea .premium-field__control > textarea {
  min-height: 108px !important;
  padding: 12px 14px !important;
  resize: vertical;
}

.atlas-pro .premium-field__row > input:focus,
.atlas-pro .premium-field__control > input:focus,
.atlas-pro .premium-field__control > select:focus,
.atlas-pro .premium-field__control > textarea:focus {
  box-shadow: none !important;
  transform: none !important;
  border: none !important;
}

.atlas-pro .premium-field__row .ms-trigger,
.atlas-pro .premium-field__row .svc-picker-trigger {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 14px !important;
  font-size: 0.8125rem !important;
  transform: none !important;
}

.atlas-pro .premium-field__row .ms-trigger:focus,
.atlas-pro .premium-field__row .svc-picker-trigger:focus {
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.atlas-pro .premium-field__row--file .premium-field__control {
  align-items: stretch;
}

.atlas-pro .premium-field__row--file {
  min-height: 52px;
}

/* Premium file picker (logo / hero image) */
.atlas-pro .premium-file {
  position: relative;
  width: 100%;
}

.atlas-pro .premium-file__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.atlas-pro .premium-file__face {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  min-height: 52px;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.atlas-pro .premium-file__browse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-shrink: 0;
  min-height: 36px;
  margin: 8px 0 8px 12px;
  padding: 0 16px;
  border-radius: 9px;
  background: linear-gradient(145deg, #4338ca 0%, #6366f1 52%, #4f46e5 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 4px 14px rgba(99, 102, 241, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.atlas-pro .premium-field--logo .premium-file__browse {
  background: linear-gradient(145deg, #b45309 0%, #f59e0b 52%, #d97706 100%);
  box-shadow:
    0 4px 14px rgba(245, 158, 11, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.atlas-pro .premium-field--hero-image .premium-file__browse {
  background: linear-gradient(145deg, #be123c 0%, #f43f5e 52%, #e11d48 100%);
  box-shadow:
    0 4px 14px rgba(244, 63, 94, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.atlas-pro .premium-file__browse svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.25px;
}

.atlas-pro .premium-file__face:hover .premium-file__browse {
  transform: translateY(-1px);
}

.atlas-pro .premium-field--logo .premium-file__face:hover .premium-file__browse {
  box-shadow:
    0 6px 18px rgba(245, 158, 11, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.atlas-pro .premium-field--hero-image .premium-file__face:hover .premium-file__browse {
  box-shadow:
    0 6px 18px rgba(244, 63, 94, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.atlas-pro .premium-file__detail {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  display: flex;
  align-items: center;
}

.atlas-pro .premium-file__placeholder {
  color: var(--saas-subtle);
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-pro .premium-file__name {
  color: var(--saas-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-pro .premium-file.has-file .premium-file__placeholder {
  display: none;
}

.atlas-pro .premium-file.has-file .premium-file__name {
  display: block !important;
}

.atlas-pro .premium-file__format {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 14px;
  padding: 5px 9px;
  border-radius: 7px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--saas-muted);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.16);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.atlas-pro .premium-file.has-file .premium-file__format {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.28);
}

.atlas-pro .premium-file.has-file .premium-file__format::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.65);
}

.atlas-pro .premium-file:focus-within .premium-file__face {
  outline: none;
}

.atlas-pro .premium-file__input:focus-visible + .premium-file__face .premium-file__browse {
  outline: 2px solid rgba(129, 140, 248, 0.55);
  outline-offset: 2px;
}

.atlas-pro #generatorForm label.premium-checkbox,
.atlas-pro .config-panel label.premium-checkbox {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: 100%;
  gap: 12px !important;
  margin-bottom: 0 !important;
  cursor: pointer;
  font-weight: 500 !important;
  color: var(--saas-text) !important;
}

.atlas-pro .premium-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.atlas-pro .premium-checkbox__mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.6);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.atlas-pro .premium-checkbox input[type="checkbox"]:checked + .premium-checkbox__mark {
  background: var(--saas-gradient);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 3px var(--saas-accent-glow);
}

.atlas-pro .premium-checkbox input[type="checkbox"]:checked + .premium-checkbox__mark::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.atlas-pro .premium-checkbox input[type="checkbox"]:focus-visible + .premium-checkbox__mark {
  outline: 2px solid rgba(129, 140, 248, 0.55);
  outline-offset: 2px;
}

.atlas-pro .premium-checkbox__text {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--saas-text);
}

.atlas-pro .premium-field__row--toggle {
  align-items: center;
}

.atlas-pro .premium-field__control--toggle {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.atlas-pro .premium-field__hint {
  margin: 8px 0 0;
  font-size: 0.72rem !important;
  line-height: 1.45;
  color: var(--saas-subtle) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

@media (max-width: 900px) {
  .atlas-pro .social-links-grid {
    grid-template-columns: 1fr;
  }
}

.atlas-pro .field-group__head {
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 6px !important;
}

/* Generate / launch CTA */
.atlas-pro .generate-btn {
  flex: none !important;
  width: auto !important;
  min-height: 50px !important;
  padding: 0 24px !important;
  border-radius: 11px !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  animation: none !important;
  background: var(--saas-gradient) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 28px var(--saas-accent-glow) !important;
}

.atlas-pro .generate-btn::before,
.atlas-pro .generate-btn::after { display: none !important; }

.atlas-pro .generate-btn:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.06) !important;
}

.atlas-pro #generatorForm label.checkbox-row,
.atlas-pro .config-panel label.checkbox-row {
  justify-content: flex-start !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer;
}

.atlas-pro .generate-btn svg {
  width: 18px;
  height: 18px;
}

.atlas-pro .form-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6ee7b7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.atlas-pro .form-status__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: form-status-pulse 1.8s ease-out infinite;
}

@keyframes form-status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-pro .form-status__pulse {
    animation: none;
  }
}

/* ── Sub-pages (Database Import, Cloudflare Deploy) ── */

.atlas-pro .cf-deploy-app,
.atlas-pro .editor-app {
  width: 100%;
  max-width: none !important;
  margin: 0;
  padding: 20px var(--saas-page-pad-x) var(--saas-page-pad-bottom);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100vh;
  box-sizing: border-box;
}

.atlas-pro .cf-deploy-app > .app-header,
.atlas-pro .editor-app > .app-header {
  margin-bottom: 0;
  width: 100%;
}

.atlas-pro .cf-deploy-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  width: 100%;
  min-width: 0;
}

.atlas-pro .cf-deploy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, min(32vw, 440px));
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.atlas-pro .cf-deploy-hero h1:not(.page-intro__headline) {
  margin: 8px 0 10px !important;
  font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
  background: linear-gradient(135deg, #fff, #c7d2fe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.atlas-pro .cf-deploy-hero .page-intro__headline {
  margin-bottom: 14px !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: inherit !important;
}

.atlas-pro .cf-deploy-subtitle {
  margin: 0;
  color: var(--saas-muted) !important;
  max-width: none;
  line-height: 1.65;
  font-size: 0.9375rem;
}

.atlas-pro .cf-deploy-hero .page-intro__eyebrow {
  margin-bottom: 8px;
}

.atlas-pro .editor-layout {
  width: 100%;
  grid-template-columns: minmax(280px, 22vw) minmax(0, 1fr);
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

.atlas-pro .editor-sidebar {
  max-height: calc(100vh - 120px);
}

/* Workflow panel */
.atlas-pro .action-panel {
  display: flex;
  flex-direction: column;
  overflow: visible;
  width: 100%;
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: var(--saas-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--saas-surface);
  box-shadow: var(--saas-shadow-lg);
}

.atlas-pro .action-panel.jobs-toolbar .jobs-toolbar__controls {
  padding: 20px 26px 22px;
}

.action-panel__head {
  padding: 20px 26px;
  border-bottom: 1px solid var(--saas-border);
  background: rgba(99, 102, 241, 0.06);
}

.action-panel__title {
  margin: 0 0 4px;
  font-family: var(--saas-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--saas-text);
}

.action-panel__subtitle {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--saas-muted);
}

.action-panel__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--saas-border);
  background: rgba(6, 8, 18, 0.28);
  align-items: stretch;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  height: 100%;
  padding: 14px 14px 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--saas-border);
  background: var(--saas-bg-soft);
}

.workflow-step__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--saas-display);
  font-size: 0.8125rem;
  font-weight: 800;
  color: #fff;
  background: var(--saas-gradient);
  box-shadow: 0 6px 16px var(--saas-accent-glow);
}

.workflow-step__num svg,
.workflow-step__num i {
  width: 17px;
  height: 17px;
  stroke-width: 2.25;
}

.workflow-step > div {
  min-width: 0;
}

.workflow-step strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--saas-text);
  line-height: 1.35;
}

.workflow-step > div span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--saas-muted);
}

/* Toolbar area inside workflow panel */
.atlas-pro .action-panel .cf-deploy-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 26px 22px;
  border: none;
  border-radius: 0;
  background: transparent;
}

.action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
}

.action-row--deploy {
  padding-top: 16px;
  margin-top: 2px;
  border-top: 1px solid var(--saas-border);
  justify-content: flex-end;
}

.cf-toolbar-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Reset generator form styles inside tool pages */
.atlas-pro .cf-deploy-app label {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  margin: 0 !important;
  gap: 8px !important;
  font-size: inherit !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: inherit !important;
}

.atlas-pro .cf-deploy-app .cf-deploy-mode__option {
  justify-content: flex-start !important;
}

.atlas-pro .cf-deploy-app input[type="file"],
.atlas-pro .cf-deploy-app input[type="radio"] {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  appearance: auto;
  -webkit-appearance: auto;
}

.atlas-pro .cf-deploy-app .cf-deploy-mode__option input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  pointer-events: none !important;
}

.atlas-pro .cf-deploy-app .cf-search {
  width: min(320px, 100%) !important;
  height: auto !important;
  min-height: 42px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  border: 1px solid var(--saas-border) !important;
  background: var(--saas-bg-soft) !important;
  color: var(--saas-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

.atlas-pro .cf-deploy-app .cf-search:focus {
  border-color: rgba(129, 140, 248, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18) !important;
  transform: none !important;
}

.atlas-pro .cf-btn,
.atlas-pro .cf-upload-btn,
.atlas-pro .action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  cursor: pointer;
}

.atlas-pro .cf-btn:not(.cf-btn--secondary):not(.cf-btn--deploy),
.atlas-pro .cf-upload-btn,
.atlas-pro .action-btn--primary {
  background: var(--saas-gradient) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px var(--saas-accent-glow) !important;
}

.atlas-pro .cf-btn--secondary,
.atlas-pro .action-btn--secondary {
  background: var(--saas-surface-2) !important;
  border: 1px solid var(--saas-border-strong) !important;
  color: var(--saas-text) !important;
  box-shadow: none !important;
}

.atlas-pro .cf-btn--deploy,
.atlas-pro .saas-btn--success {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3) !important;
}

.atlas-pro .cf-btn:disabled,
.atlas-pro .cf-upload-btn:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

.atlas-pro .cf-file-label {
  color: var(--saas-muted);
  font-size: 0.8125rem;
  max-width: 320px;
}

.atlas-pro .cf-readiness {
  border: 1px solid var(--saas-border) !important;
  background: var(--saas-surface) !important;
  border-radius: var(--saas-radius) !important;
  box-shadow: var(--saas-shadow);
}

.atlas-pro .cf-readiness span {
  color: var(--saas-muted);
  font-size: 0.8125rem;
}

.atlas-pro .cf-readiness {
  height: 100%;
  align-self: stretch;
}

.atlas-pro .cf-summary-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.atlas-pro .cf-stat-card,
.atlas-pro .cf-table-panel,
.atlas-pro .cf-progress-panel {
  border: 1px solid var(--saas-border) !important;
  background: var(--saas-surface) !important;
  border-radius: var(--saas-radius) !important;
  box-shadow: var(--saas-shadow);
  width: 100%;
}

.atlas-pro .cf-table-wrap {
  width: 100%;
  max-height: clamp(320px, calc(100vh - 380px), 780px);
}

.atlas-pro .cf-table-wrap--compact {
  max-height: clamp(220px, calc(100vh - 520px), 420px);
}

.atlas-pro .cf-stat-card strong {
  display: block;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.25;
  word-break: break-word;
}

.atlas-pro .cf-table-panel__head h2,
.atlas-pro .cf-progress-panel__head h2 {
  font-family: var(--saas-display);
  color: var(--saas-text);
}

.atlas-pro .db-import-target {
  border: 1px solid var(--saas-border) !important;
  background: var(--saas-surface) !important;
  border-radius: var(--saas-radius) !important;
  text-align: left;
}

.atlas-pro .db-import-target span {
  color: var(--saas-muted);
}

.atlas-pro .db-import-target small {
  color: var(--saas-subtle);
}

.atlas-pro .db-import-target.is-active {
  border-color: rgba(129, 140, 248, 0.45) !important;
  background: rgba(99, 102, 241, 0.1) !important;
}

.atlas-pro .db-import-sheet-tab {
  border: 1px solid var(--saas-border);
  background: var(--saas-bg-soft);
  color: var(--saas-text);
}

.atlas-pro .db-import-sheet-tab.is-active {
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(99, 102, 241, 0.12);
}

.atlas-pro .cf-deploy-mode {
  border: 1px solid var(--saas-border);
  background: var(--saas-bg-soft);
}

.atlas-pro .cf-deploy-mode__option {
  color: var(--saas-muted);
}

.atlas-pro .cf-deploy-mode__option:has(input:checked) {
  background: rgba(99, 102, 241, 0.16);
  color: var(--saas-text);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.28);
}

@media (max-width: 1200px) {
  .atlas-pro .cf-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .action-panel__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .atlas-pro .cf-deploy-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .atlas-pro .cf-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .action-panel__steps {
    grid-template-columns: 1fr;
  }

  .action-row,
  .action-row--deploy {
    flex-direction: column;
    align-items: stretch;
  }

  .cf-toolbar-group {
    width: 100%;
  }

  .atlas-pro .cf-deploy-app .cf-btn,
  .atlas-pro .cf-deploy-app .cf-upload-btn {
    flex: 1 1 auto;
    width: 100%;
  }

  .atlas-pro .cf-deploy-mode {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* Footer */
.atlas-pro .powered-wrap--minimal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--saas-border);
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.atlas-pro .powered {
  font-size: 0.75rem;
  color: var(--saas-subtle);
  margin: 0 auto;
}

/* Loading */
.atlas-pro .loadingPanel {
  border: 1px solid var(--saas-border-strong) !important;
  background: var(--saas-surface) !important;
  border-radius: var(--saas-radius-lg) !important;
  box-shadow: var(--saas-shadow-lg) !important;
}

/* ── Jobs dashboard ── */

.jobs-toolbar {
  margin-bottom: 0;
}

.jobs-toolbar__controls {
  display: flex;
  align-items: flex-end;
  gap: 16px 20px;
  flex-wrap: wrap;
}

.jobs-toolbar__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 0 1 auto;
}

.atlas-pro .jobs-toolbar__label {
  display: block !important;
  flex-direction: unset !important;
  align-items: unset !important;
  justify-content: unset !important;
  width: auto !important;
  margin: 0 !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--saas-subtle) !important;
}

.atlas-pro .jobs-toolbar__input,
.atlas-pro .jobs-toolbar select.jobs-toolbar__input {
  display: block;
  width: auto !important;
  min-width: 140px;
  max-width: 100%;
  height: auto !important;
  min-height: 40px !important;
  padding: 0 12px !important;
  border-radius: var(--saas-radius-sm) !important;
  border: 1px solid var(--saas-border) !important;
  background: var(--saas-bg-soft) !important;
  color: var(--saas-text) !important;
  font-size: 0.8125rem !important;
  font-family: var(--saas-font) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  appearance: auto;
  -webkit-appearance: auto;
  box-sizing: border-box;
}

.jobs-toolbar__input--narrow {
  min-width: 88px;
  width: 88px !important;
}

.atlas-pro .jobs-toolbar__input:focus,
.atlas-pro .jobs-toolbar select.jobs-toolbar__input:focus {
  outline: none !important;
  border-color: var(--saas-accent-border) !important;
  box-shadow: 0 0 0 3px var(--saas-accent-soft) !important;
  transform: none !important;
}

.jobs-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
  flex: 0 0 auto;
}

.jobs-stats {
  margin-bottom: 0;
}

.jobs-stat-time {
  font-size: 0.875rem !important;
  word-break: break-word;
}

.jobs-table-panel {
  margin-bottom: 0;
  width: 100%;
}

.jobs-table-wrap {
  width: 100%;
  max-height: clamp(360px, calc(100vh - 340px), 820px);
  overflow: auto;
}

.jobs-table {
  min-width: 1380px;
}

.jobs-table th,
.jobs-table td {
  white-space: nowrap;
  vertical-align: middle;
}

.jobs-table td.jobs-message {
  white-space: nowrap;
  max-width: 220px;
}

.jobs-table .mono,
.jobs-id {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.8rem;
}

.jobs-id {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jobs-cost {
  font-weight: 600;
  color: #86efac;
}

.jobs-cost--estimate {
  color: #fcd34d;
}

.jobs-message {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jobs-empty {
  padding: 24px 16px !important;
  text-align: center;
  color: var(--saas-muted);
  font-size: 0.875rem;
}

.jobs-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 4px 0;
  font-size: 0.8125rem;
  color: var(--saas-muted);
}

.jobs-footer__error {
  color: #fca5a5;
  font-weight: 600;
}

.jobs-notes {
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: var(--saas-radius);
  border: 1px solid var(--saas-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.jobs-notes__title {
  margin: 0 0 16px;
  font-family: var(--saas-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--saas-text);
}

.jobs-notes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}

.jobs-notes__block h4 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--saas-accent-2);
}

.jobs-notes__block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--saas-muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.jobs-notes__block li + li {
  margin-top: 6px;
}

.jobs-notes__block code {
  font-size: 0.78rem;
  color: var(--saas-accent-2);
}

.jobs-notes__hint {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--saas-subtle);
  line-height: 1.5;
}

.jobs-output-cell {
  min-width: 12rem;
  max-width: 18rem;
}

.jobs-output {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.jobs-output__path {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
  color: var(--text-secondary, #94a3b8);
}

.jobs-output__empty {
  color: var(--text-muted, #64748b);
}

.jobs-output__copy {
  flex-shrink: 0;
  padding: 0.2rem 0.45rem;
  min-height: 1.65rem;
}

.jobs-output__copy i,
.jobs-output__copy svg {
  width: 0.85rem;
  height: 0.85rem;
}

.jobs-business {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jobs-row--failed {
  background: rgba(244, 63, 94, 0.06);
}

.jobs-message--error {
  color: #fca5a5;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .jobs-notes__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .jobs-toolbar__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .jobs-toolbar__group {
    width: 100%;
  }

  .atlas-pro .jobs-toolbar__input,
  .atlas-pro .jobs-toolbar select.jobs-toolbar__input {
    width: 100% !important;
    min-width: 0 !important;
  }

  .jobs-toolbar__input--narrow {
    width: 100% !important;
  }

  .jobs-toolbar__actions {
    margin-left: 0;
    width: 100%;
  }

  .jobs-toolbar__actions .saas-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .jobs-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Responsive */
@media (max-width: 1280px) {
  .saas-modules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .saas-modules { grid-template-columns: repeat(2, 1fr); }
  .launch-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 20px;
  }
  .launch-panel__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .launch-panel__cta-card {
    min-width: 0;
    width: 100%;
  }
  .launch-panel__cta {
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
  }
  .launch-panel__btn {
    width: 100% !important;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .app-header {
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
  }
  .app-brand {
    border-right: none;
    padding-right: 6px;
    margin-right: 0;
  }
  .app-nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: flex-start;
  }
  .app-header__end {
    margin-left: auto;
    padding-left: 0;
    border-left: none;
  }
  .app-nav__link.is-active::after {
    display: none;
  }
  .saas-modules { grid-template-columns: 1fr; }
  .atlas-pro .form-block .grid { grid-template-columns: 1fr !important; }
  .config-panel__head {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    gap: 20px;
  }

  .config-panel__head-aside {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
  }

  .config-panel__reset {
    width: auto;
  }
  .config-head-steps {
    width: 100%;
  }
  .config-rail__track::before {
    display: none;
  }
  .config-rail__title {
    flex: 1 1 100%;
  }
  .config-rail__track {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .config-panel__frame {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .config-rail {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid rgba(129, 140, 248, 0.14);
    padding: 14px;
  }
  .config-panel__body {
    grid-column: 1;
    grid-row: 2;
    padding: 20px 20px 18px;
  }
  .config-panel__footer {
    grid-column: 1;
    grid-row: 3;
  }
  .launch-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 18px 18px;
  }
  .launch-panel__features {
    grid-template-columns: 1fr;
  }
  .launch-panel__features li {
    flex-direction: row;
    align-items: center;
  }
  .launch-panel__cta {
    flex-direction: column-reverse;
  }
  .launch-panel__btn {
    min-width: 0 !important;
  }
  .config-rail__item {
    flex: 1 1 calc(50% - 4px);
    min-width: 140px;
  }
  .config-rail__hint {
    flex: 1 1 100%;
    margin-top: 0;
  }
  .form-block__step { display: none; }
  .form-block__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1080px) {
  .hero-layout--saas .form-column { width: 100% !important; grid-column: unset !important; }
}
