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

:root {
  --bg: #ffffff;
  --bg-soft: #f0f4f8;
  --panel: #e3f2fd;
  --panel-strong: #1e3a5f;
  --text: #0d1b2a;
  --muted: #415a77;
  --line: transparent;
  --accent: #ff9500;
  --accent-strong: #ff8800;
  --accent-soft: rgba(255, 149, 0, 0.15);
  --success: #4caf50;
  --warning: #ff9500;
  --danger: #f44336;
  --info: #2196f3;
  --shadow: 0 10px 40px rgba(13, 27, 42, 0.15);
  --glow: 0 0 20px rgba(255, 149, 0, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  animation: fadeIn 0.6s ease-out;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  outline: none;
  border: none;
}

a:focus,
a:active {
  outline: none;
  border: none;
}

button,
input[type="button"],
input[type="submit"] {
  outline: none;
  border: none;
}

button:focus,
button:active,
input:focus,
input:active {
  outline: none;
}

p {
  margin: 0 0 6px;
}

h1, h2, h3, h4 {
  margin: 0 0 8px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: "Inter", sans-serif;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #0d1b2a;
  animation: fadeIn 0.8s ease-out;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.background {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: -1;
}

.background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 153, 102, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 153, 102, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(90, 74, 58, 0.1);
  transition: all 0.3s ease;
}

.site-header:hover {
  background: rgba(255, 255, 255, 0.98);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 2.5rem;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  display: inline-block;
}

.brand:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-links a:hover::before {
  opacity: 0.15;
}

.nav-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-links a.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 700;
}

.nav-links .pill {
  padding: 10px 20px;
  border-radius: 12px;
  background: var(--accent-soft);
  font-weight: 600;
  box-shadow: var(--glow);
  transition: all 0.3s ease;
  color: var(--text);
}

.nav-links .pill:hover {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: var(--glow);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle:hover span {
  background: var(--accent);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.hero {
  padding: 30px 0;
  animation: fadeIn 1s ease-out;
}

.hero.compact {
  padding: 40px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 14px;
  font-weight: 800;
  font-family: "Inter", sans-serif;
  color: var(--accent);
  margin-bottom: 12px;
  display: inline-block;
  animation: slideDown 0.6s ease-out;
}

.lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  animation: fadeIn 1s ease-out 0.2s both;
}

.note {
  color: var(--text);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--panel);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  animation: fadeIn 1s ease-out 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
  animation: fadeIn 1s ease-out 0.4s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--glow);
  border-color: transparent;
}

.btn.primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 40px rgba(255, 153, 102, 0.6);
}

.btn.ghost {
  border-color: var(--line);
  background: var(--panel);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-3px);
}

.hero-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeIn 1s ease-out 0.5s both;
}

.flag {
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.flag:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.hero-visual .visual-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.4s ease;
  animation: fadeIn 1s ease-out 0.6s both;
}

.hero-visual .visual-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 153, 102, 0.3);
  border-color: var(--accent);
}

.visual-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.dot-group span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
}

.dot-group span:nth-child(1) { animation-delay: 0s; }
.dot-group span:nth-child(2) { animation-delay: 0.3s; }
.dot-group span:nth-child(3) { animation-delay: 0.6s; }

.tag {
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--glow);
}

.visual-body {
  padding: 24px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.pane {
  padding: 18px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: var(--bg);
  transition: all 0.3s ease;
}

.pane:hover {
  border-style: solid;
  border-color: var(--accent);
  transform: scale(1.02);
}

.pane-title {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
}

.pane ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.pane.highlight {
  border-color: var(--accent);
  border-style: solid;
  background: var(--accent-soft);
  box-shadow: var(--glow);
}

.diagram-line {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--panel);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.chip.accent {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow: var(--glow);
  font-weight: 600;
}

.section {
  padding: 30px 0;
  margin: 0;
  animation: fadeIn 0.8s ease-out;
}

.section + .section {
  border-top: 2px solid var(--line);
}

.section-divider {
  width: 100%;
  max-width: 1100px;
  height: 2px;
  margin: 0 auto 48px;
  background: linear-gradient(90deg, transparent, rgba(255, 149, 0, 0.4), transparent);
  border-radius: 999px;
  opacity: 0.8;
}

.section.muted {
  background: var(--bg-soft);
  border-top: 2px solid var(--line);
  border-bottom: none;
  padding: 30px 0;
}

.section.muted::before {
  display: none;
}

.object-diagram {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.object-ring-diagram {
  display: flex;
  gap: 18px;
  align-items: center;
  overflow-x: auto;
  padding: 12px 2px 22px;
  margin-top: 24px;
}

.object-ring-diagram::-webkit-scrollbar {
  height: 8px;
}

.object-ring-diagram::-webkit-scrollbar-thumb {
  background: rgba(13, 27, 42, 0.15);
  border-radius: 999px;
}

.ring-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}

.ring-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 18px;
  height: 18px;
  background: #0d1b2a;
  opacity: 0.7;
}

.ring-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 14px solid #0d1b2a;
  display: grid;
  place-items: center;
  background: #fff7ef;
  font-size: 46px;
  box-shadow: 0 12px 30px rgba(13, 27, 42, 0.12);
}

.ring-label {
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
}

.object-node {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  position: relative;
  padding-left: 6px;
}

.object-node:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 22px;
  width: 2px;
  height: calc(100% - 4px);
  background: linear-gradient(180deg, rgba(255, 149, 0, 0.5), rgba(255, 149, 0, 0));
}

.object-node-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
  margin-top: 2px;
}

.object-node-body {
  background: #e8f3ff;
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.08);
}

.object-node-body h4 {
  margin: 0 0 6px;
  font-size: 18px;
}

.object-node-body p {
  margin: 0;
  color: var(--muted);
}

.object-diagram {
  counter-reset: objectStep;
}

.object-node-body::before {
  counter-increment: objectStep;
  content: counter(objectStep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 8px;
  margin-right: 8px;
}

.object-node-body h4 {
  display: inline-block;
  vertical-align: middle;
}

.object-node-body::before + h4 {
  vertical-align: middle;
}

.section-heading {
  margin-bottom: 24px;
  text-align: center;
  animation: fadeIn 0.8s ease-out;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 8px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid.four {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 153, 102, 0.3);
}

.link-card {
  cursor: pointer;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.panel:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 50px rgba(255, 153, 102, 0.2);
}

.icon-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 16px;
  box-shadow: var(--glow);
  animation: pulse 2s ease-in-out infinite;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.phase {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative;
  transition: all 0.4s ease;
}

.phase:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 153, 102, 0.3);
}

.phase-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
  box-shadow: var(--glow);
}

.architecture {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 24px;
  padding: 24px;
  max-width: 900px;
  background: var(--panel);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.architecture:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(255, 153, 102, 0.3);
}

.arch-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.arch-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.icon-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.integration-icon {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(0.2);
  opacity: 0.9;
  transition: all 0.2s ease;
  cursor: pointer;
}

.integration-icon:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

.arch-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-arrow {
  font-size: 24px;
  color: var(--accent);
  font-weight: 800;
  line-height: 1;
  opacity: 0.7;
}

.arch-connector {
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  color: white;
  padding: 16px 28px;
  border-radius: 12px;
  border: 2px solid var(--accent);
  background: var(--accent);
  white-space: nowrap;
  box-shadow: var(--glow);
  transition: all 0.3s ease;
}

.arch-connector:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255, 153, 102, 0.6);
}

.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.chip-row-compact {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.chip-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
}

.chip-with-icon:hover {
  border-color: var(--accent);
  background: var(--panel);
  transform: translateY(-2px);
}

.chip-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.chip-icon svg {
  width: 100%;
  height: 100%;
}

.cta {
  background: var(--bg-soft);
  border-top: 2px solid var(--line);
  border-bottom: none;
  padding: 24px 0;
}

.cta::before {
  display: none;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* New Sticky CTA Bar */
.sticky-cta-bar {
  position: sticky;
  top: 70px;
  z-index: 90;
  background: var(--accent);
  color: white;
  padding: 12px 0;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(255, 153, 102, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.sticky-cta-bar a {
  color: white;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 3px;
  transition: all 0.3s ease;
}

.sticky-cta-bar a:hover {
  text-decoration-color: white;
}

/* Bottom CTA Block */
.cta-block-bottom {
  background: var(--accent);
  color: white;
  padding: 32px 0;
  text-align: center;
  border-top: 2px solid var(--accent-strong);
}

.cta-block-bottom h2 {
  color: white;
  margin-bottom: 12px;
}

.cta-block-bottom p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.cta-block-bottom .hero-actions {
  justify-content: center;
}

.cta-block-bottom .btn.primary {
  background: white;
  color: var(--accent);
  border: 2px solid white;
}

.cta-block-bottom .btn.primary:hover {
  background: var(--bg-soft);
  transform: translateY(-3px) scale(1.02);
}

.cta-block-bottom .btn.ghost {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.cta-block-bottom .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

.contact-card {
  background: var(--panel);
  border: 3px solid var(--accent);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--accent-strong);
  box-shadow: 0 20px 60px rgba(255, 153, 102, 0.4);
  transform: translateY(-2px);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #cccccc;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff9500;
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.15);
}

.contact-form .btn.full {
  width: 100%;
  margin-top: 10px;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

.hidden {
  display: none !important;
}

.contact-success {
  text-align: center;
  padding: 16px;
  background: var(--bg);
  border: 2px dashed var(--accent);
  border-radius: 12px;
  animation: fadeIn 0.4s ease-out;
}

.contact-success .success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 22px;
}

.footer {
  padding: 50px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Comparison Section */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.4s ease;
}

.comparison-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.comparison-card.highlight {
  background: var(--accent);
  box-shadow: 0 12px 40px rgba(255, 133, 66, 0.4);
  color: white;
}

.comparison-card h3 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

.comparison-card.highlight h3 {
  color: white;
  font-weight: 800;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.comparison-list li {
  padding-left: 24px;
  position: relative;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.comparison-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
}

.comparison-card.highlight .comparison-list li {
  color: white;
  font-weight: 500;
}

.comparison-card.highlight .comparison-list li::before {
  color: white;
}

/* Dashboard Mockup */
.hero-visual {
  position: relative;
  background: var(--panel);
  padding: 32px;
  border-radius: 16px;
}

.dashboard-mockup {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 50px rgba(90, 74, 58, 0.3), 0 8px 20px rgba(90, 74, 58, 0.15), 0 0 30px rgba(255, 153, 102, 0.12);
  overflow: hidden;
  transition: all 0.4s ease;
  animation: fadeIn 1s ease-out 0.6s both;
  aspect-ratio: 16 / 10;
  width: 100%;
  max-width: 800px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.dashboard-mockup:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 60px rgba(90, 74, 58, 0.35), 0 10px 25px rgba(90, 74, 58, 0.2), 0 0 40px rgba(255, 153, 102, 0.15);
}

/* Mobile Mockup Overlay */
.mobile-mockup {
  position: absolute;
  bottom: -40px;
  right: -20px;
  z-index: 10;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  animation: fadeIn 1s ease-out 1s both;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.mobile-frame {
  width: 160px;
  background: var(--bg-soft);
  border: 3px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(90, 74, 58, 0.35), 0 6px 16px rgba(90, 74, 58, 0.2), 0 0 25px rgba(255, 153, 102, 0.15);
  overflow: hidden;
  transition: all 0.4s ease;
}

.mobile-frame:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 50px rgba(90, 74, 58, 0.4), 0 8px 20px rgba(90, 74, 58, 0.25), 0 0 35px rgba(255, 153, 102, 0.2);
}

.mobile-notch {
  height: 20px;
  background: var(--bg);
  position: relative;
}

.mobile-notch::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
}

.mobile-screen {
  background: var(--bg);
}

.mockup-header.mobile {
  padding: 6px 10px;
  font-size: 8px;
}

.mobile-menu {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

.mockup-body.mobile {
  padding: 8px;
  gap: 6px;
}

.mobile-tabs {
  display: flex;
  gap: 3px;
  background: var(--bg-soft);
  padding: 2px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.mobile-tab {
  flex: 1;
  font-size: 7px;
  font-weight: 600;
  padding: 3px 4px;
  border-radius: 3px;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-tab.active {
  background: var(--accent);
  color: white;
}

.mobile-metric-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px;
  margin-bottom: 4px;
}

.mobile-metric-title {
  font-size: 7px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 3px;
}

.mobile-metric-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.mobile-metric-bar {
  height: 4px;
  background: var(--bg);
  border-radius: 2px;
  overflow: hidden;
}

.mobile-metric-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(255, 153, 102, 0.4);
}

.mobile-agent-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-agent-name {
  font-size: 7px;
  font-weight: 700;
  color: var(--text);
}

.mobile-agent-metric {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  gap: 8px;
}

.mockup-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mockup-hamburger {
  font-size: 10px;
  color: var(--text);
  cursor: pointer;
  padding: 2px;
  transition: all 0.2s ease;
}

.mockup-hamburger:hover {
  color: var(--accent);
}

.mockup-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mockup-user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.mockup-user-name {
  font-size: 7px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.mockup-company {
  font-size: 6px;
  color: var(--muted);
  line-height: 1;
}

.mockup-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 153, 102, 0.3);
  flex-shrink: 0;
}

.mockup-logo {
  font-weight: 800;
  font-size: 9px;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
}

.mockup-tabs {
  display: flex;
  gap: 3px;
  background: var(--bg);
  padding: 2px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.tab-item {
  font-size: 6px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 3px;
  color: var(--muted);
  transition: all 0.2s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tab-item.active {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 153, 102, 0.3);
}

.mockup-layout {
  display: flex;
  background: var(--bg);
}

.mockup-sidebar {
  width: 120px;
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  padding: 6px;
  flex-shrink: 0;
}

.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-title {
  font-size: 7px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 6px;
  margin-bottom: 2px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-item:hover {
  background: var(--bg);
  transform: translateX(2px);
}

.sidebar-item.active {
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  padding-left: 4px;
}

.sidebar-icon {
  font-size: 10px;
  line-height: 1;
  flex-shrink: 0;
}

.sidebar-label {
  font-size: 7px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.sidebar-item.active .sidebar-label {
  color: var(--accent);
  font-weight: 700;
}

.mockup-body {
  flex: 1;
  padding: 8px;
  display: grid;
  gap: 8px;
  overflow: hidden;
}

.workflow-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.workflow-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.workflow-icon-large {
  font-size: 16px;
  line-height: 1;
}

.workflow-title {
  font-size: 8px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.workflow-subtitle {
  font-size: 6px;
  color: var(--muted);
  margin-top: 1px;
}

.workflow-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.kpi-value {
  font-size: 14px;
  font-weight: 800;
  color: var(--success);
  line-height: 1;
}

.kpi-label {
  font-size: 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.workflow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2px;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  min-width: 40px;
  transition: all 0.3s ease;
}

.flow-node:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 153, 102, 0.2);
}

.flow-node.start {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.flow-node.end {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.1);
}

.node-icon {
  font-size: 10px;
  line-height: 1;
}

.node-label {
  font-size: 6px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.1;
}

.node-status {
  font-size: 6px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 999px;
  margin-top: 1px;
}

.node-status.success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.node-status.warning {
  background: rgba(255, 179, 102, 0.15);
  color: var(--warning);
}

.flow-arrow {
  font-size: 8px;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255, 153, 102, 0.2);
}

.metric-card.sla:hover { border-color: var(--success); }
.metric-card.success:hover { border-color: var(--accent); }
.metric-card.hitl:hover { border-color: var(--warning); }

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

.metric-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trend-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.trend-badge.up {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.trend-badge.down {
  background: rgba(255, 153, 102, 0.15);
  color: var(--accent);
}

.metric-main {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.metric-sub {
  font-size: 11px;
  color: var(--muted);
}

.mini-trend {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 30px;
  margin-top: 4px;
}

.trend-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.trend-bar:last-child {
  opacity: 1;
  box-shadow: 0 -2px 8px rgba(255, 153, 102, 0.4);
}

.metric-card:hover .trend-bar {
  opacity: 0.8;
}

.metric-card:hover .trend-bar:last-child {
  opacity: 1;
  transform: scaleY(1.05);
}

.breakdown-section {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breakdown-section.primary {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(255, 153, 102, 0.15);
}

.breakdown-header {
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.capability-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.capability-item {
  display: grid;
  grid-template-columns: 100px 1fr 35px;
  grid-template-areas:
    "name bar value"
    "meta meta meta";
  align-items: center;
  gap: 6px 8px;
}

.capability-name {
  grid-area: name;
  font-size: 9px;
  font-weight: 600;
  color: var(--text);
}

.capability-bar {
  grid-area: bar;
  height: 6px;
  background: var(--bg-soft);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.capability-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: all 0.4s ease;
  box-shadow: 0 0 6px rgba(255, 153, 102, 0.4);
}

.capability-fill.warning {
  background: var(--warning);
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.capability-value {
  grid-area: value;
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

.capability-meta {
  grid-area: meta;
  display: flex;
  gap: 10px;
  padding-left: 100px;
  margin-top: -2px;
}

.meta-item {
  font-size: 8px;
  color: var(--muted);
  font-weight: 500;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.agent-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.3s ease;
}

.agent-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(255, 153, 102, 0.15);
}

.agent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
}

.agent-name {
  font-size: 6px;
  font-weight: 700;
  color: var(--text);
}

.sla-badge {
  font-size: 5px;
  font-weight: 700;
  padding: 1px 3px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sla-badge.met {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid var(--success);
}

.sla-badge.warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
  border: 1px solid var(--warning);
}

.agent-metric {
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.agent-detail {
  display: flex;
  justify-content: space-between;
  font-size: 5px;
  color: var(--muted);
  font-weight: 500;
}

.dashboard-section {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-size: 6px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-badge {
  font-size: 5px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-badge.success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid var(--success);
}

.section-badge.warning {
  background: rgba(255, 179, 102, 0.15);
  color: var(--warning);
  border: 1px solid var(--warning);
}

.workflow-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.workflow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.workflow-row:hover {
  border-color: var(--accent);
  transform: translateX(1px);
  box-shadow: 0 1px 4px rgba(255, 153, 102, 0.15);
}

.workflow-row.alert {
  border-left: 2px solid var(--warning);
  background: rgba(255, 179, 102, 0.05);
}

.workflow-info {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.workflow-icon {
  font-size: 10px;
  line-height: 1;
  flex-shrink: 0;
}

.workflow-name {
  font-size: 6px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.workflow-meta {
  font-size: 5px;
  color: var(--muted);
  line-height: 1.2;
  margin-top: 1px;
}

.workflow-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  flex-shrink: 0;
}

.stat-value {
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.stat-value.success {
  color: var(--success);
}

.stat-value.warning {
  color: var(--warning);
}

.stat-label {
  font-size: 5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.agent-performance {
  display: flex;
  gap: 16px;
  padding-top: 8px;
}

.agent-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: var(--bg-soft);
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.agent-stat:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.stat-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.workflow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.workflow-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.workflow-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.execution-id {
  font-family: "SFMono-Regular", "Consolas", monospace;
  font-size: 12px;
  color: var(--muted);
}

.workflow-status {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.workflow-status.running {
  background: rgba(255, 153, 102, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
}

.workflow-step {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  transition: all 0.3s ease;
}

.workflow-step:hover {
  background: rgba(255, 153, 102, 0.05);
  margin: 0 -8px;
  padding: 12px 8px;
  border-radius: 8px;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  background: var(--line);
  color: var(--muted);
  transition: all 0.3s ease;
}

.workflow-step.completed .step-number {
  background: var(--success);
  color: white;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.workflow-step.awaiting .step-number {
  background: var(--warning);
  color: white;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.workflow-step.pending .step-number {
  background: var(--line);
  color: var(--muted);
}

.step-connector {
  width: 2px;
  flex: 1;
  background: var(--line);
  margin-top: 4px;
}

.workflow-step.completed .step-connector {
  background: var(--success);
}

.workflow-step.awaiting .step-connector {
  background: var(--warning);
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.step-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.step-badge {
  font-size: 14px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-badge.success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.step-badge.warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
  animation: pulse 2s ease-in-out infinite;
}

.agent-participation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.flow-arrow {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
  padding: 0 4px;
}

.parallel-group {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(255, 153, 102, 0.05);
  border-radius: 999px;
  border: 1px dashed var(--line);
}

.parallel-indicator {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  padding: 0 4px;
}

.agent-role-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  padding: 4px 8px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.agent-role-group:hover {
  border-color: var(--accent);
  background: var(--panel);
  transform: translateX(2px);
}

.agent-role-group.external {
  border-style: dashed;
  border-color: var(--warning);
  background: rgba(245, 158, 11, 0.05);
}

.role-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.role-label.muted {
  color: var(--line);
}

.step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-pill,
.policy-pill,
.evidence-pill,
.approval-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
}

.agent-pill {
  background: rgba(255, 153, 102, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.agent-pill.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 153, 102, 0.3);
}

.agent-pill.support {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--info);
  color: var(--info);
}

.agent-pill.validator {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--success);
  color: var(--success);
}

.agent-pill.supervisor {
  background: rgba(139, 92, 246, 0.1);
  border-color: #1e3a5f;
  color: #1e3a5f;
}

.agent-pill.external {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--warning);
  color: var(--warning);
  font-style: italic;
}

.agent-pill.muted {
  background: var(--panel);
  border-color: var(--line);
  color: var(--muted);
}

.policy-pill {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--success);
  color: var(--success);
}

.evidence-pill {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--info);
  color: var(--info);
}

.approval-pill {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--warning);
  color: var(--warning);
  animation: pulse 2s ease-in-out infinite;
}

.execution-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: var(--bg);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.summary-item:hover {
  background: var(--panel);
  transform: translateY(-2px);
}

.summary-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summary-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 72px;
    right: 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    min-width: 200px;
    display: none;
    animation: slideDown 0.3s ease-out;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .architecture {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .arch-arrow {
    transform: rotate(90deg);
    font-size: 20px;
  }

  .integration-icon {
    height: 40px;
    width: auto;
    max-width: 180px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 50px 0;
  }
}

/* SantaBot Chatbot */
.santabot-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.santabot-chat {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  max-height: 500px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(90, 74, 58, 0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

.santabot-chat.open {
  display: flex;
}

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

.santabot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: white;
  border-bottom: 2px solid var(--line);
}

.santabot-avatar {
  font-size: 32px;
  line-height: 1;
}

.santabot-name {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.santabot-status {
  font-size: 12px;
  color: var(--muted);
}

.santabot-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.santabot-close:hover {
  background: var(--bg-soft);
}

.santabot-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-soft);
}

.santabot-message {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.santabot-message.user {
  flex-direction: row-reverse;
}

.message-avatar {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.message-bubble {
  background: white;
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  max-width: 75%;
}

.santabot-message.user .message-bubble {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.santabot-email-form {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-top: 2px solid var(--line);
  background: var(--bg);
}

.santabot-email-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg-soft);
  color: var(--text);
  transition: all 0.2s ease;
}

.santabot-email-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.santabot-email-form button {
  padding: 12px 20px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.santabot-email-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 153, 102, 0.3);
}

.santabot-input {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-top: 2px solid var(--line);
  background: var(--bg);
}

.santabot-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg-soft);
  color: var(--text);
  transition: all 0.2s ease;
}

.santabot-input input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.santabot-input button {
  padding: 12px 20px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.santabot-input button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 153, 102, 0.3);
}

.santabot-toggle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.santabot-toggle:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.santabot-icon {
  font-size: 32px;
}

.santabot-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--success);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  min-width: 24px;
  text-align: center;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .santabot-chat {
    width: calc(100vw - 48px);
    max-height: 70vh;
  }
}

/* How It Works Page */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
  animation: fadeIn 1s ease-out 0.3s both;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--glow);
}

.feature-icon {
  font-size: 20px;
  font-weight: 700;
  color: var(--success);
  flex-shrink: 0;
}

.six-objects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.object-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
}

.object-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.object-card:hover::before {
  transform: scaleX(1);
}

.object-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(255, 153, 102, 0.3);
}

.object-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.object-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.object-card .muted {
  font-size: 13px;
  margin-top: 12px;
  font-style: italic;
}

.production-path {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.path-step {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.path-step:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(255, 153, 102, 0.2);
}

.path-step.expanded {
  border-color: var(--accent);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  cursor: pointer;
  user-select: none;
}

.step-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: var(--glow);
  flex-shrink: 0;
}

.step-info h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.status-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.status-pill.status-complete {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid var(--success);
}

.status-pill.status-inprogress {
  background: rgba(255, 153, 102, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.status-pill.status-pending {
  background: var(--panel);
  color: var(--muted);
  border: 1px solid var(--line);
}

.expand-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.expand-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: scale(1.1);
}

.path-step.expanded .expand-btn {
  transform: rotate(45deg);
}

.step-progress {
  height: 8px;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.6s ease;
  box-shadow: 0 0 10px rgba(255, 153, 102, 0.5);
}

.step-details {
  display: none;
  padding: 12px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.path-step.expanded .step-details {
  display: grid;
}

.detail-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-col p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.tabs-container {
  margin: 32px 0;
}

.tab-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 8px;
  background: var(--panel);
  border-radius: 16px;
  border: 1px solid var(--line);
}

.tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.tab-btn:hover {
  color: var(--accent);
  background: var(--bg);
}

.tab-btn.active {
  background: var(--accent);
  color: white;
  box-shadow: var(--glow);
}

.tab-content {
  position: relative;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-pane.active {
  display: block;
}

.tab-visual {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.tab-visual:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 50px rgba(255, 153, 102, 0.3);
}

.visual-mock {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.mock-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.mock-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-item,
.evidence-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.mock-item:hover,
.evidence-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.evidence-label,
.cost-label,
.impact-label,
.identifier-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.evidence-value,
.cost-value,
.identifier-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-family: "SFMono-Regular", "Consolas", monospace;
}

.cost-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cost-row:hover {
  border-color: var(--accent);
  background: var(--bg);
}

.cost-value.total {
  font-size: 16px;
  color: var(--accent);
}

.impact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.impact-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.impact-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.impact-item strong {
  color: var(--text);
  font-weight: 700;
}

.impact-item p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.identifier-track {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.identifier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.identifier-row:hover {
  border-color: var(--accent);
}

.change-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.change-badge.new {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid var(--success);
}

.change-badge.updated {
  background: rgba(255, 153, 102, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.connector-matrix {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.connector-matrix thead {
  background: var(--panel);
}

.connector-matrix th {
  padding: 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--line);
}

.connector-matrix td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.connector-matrix tr:last-child td {
  border-bottom: none;
}

.connector-matrix tr:hover {
  background: var(--bg-soft);
}

.category-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-badge.sdk {
  background: rgba(255, 153, 102, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.category-badge.connector {
  background: rgba(59, 130, 246, 0.15);
  color: var(--info);
  border: 1px solid var(--info);
}

.status-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.available {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid var(--success);
}

.status-badge.indev {
  background: rgba(255, 153, 102, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.status-badge.planned {
  background: var(--panel);
  color: var(--muted);
  border: 1px solid var(--line);
}

.event-projection-diagram {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  margin: 0;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.event-projection-diagram:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(255, 153, 102, 0.3);
}

.diagram-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.projection-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 16px;
  min-width: 180px;
  transition: all 0.3s ease;
}

.projection-step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255, 153, 102, 0.2);
}

.projection-step.highlight {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: var(--glow);
}

.step-icon {
  font-size: 32px;
  line-height: 1;
}

.step-label {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  text-align: center;
}

.flow-divider {
  font-size: 32px;
  color: var(--accent);
  font-weight: 800;
  animation: pulse 2s ease-in-out infinite;
}

.projection-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.projection-list li {
  padding-left: 28px;
  position: relative;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.projection-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

.cta-block {
  background: linear-gradient(135deg, rgba(255, 153, 102, 0.1), rgba(196, 166, 138, 0.1));
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  margin: 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow);
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 153, 102, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-block h2 {
  margin-bottom: 16px;
  position: relative;
}

.cta-block p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
  position: relative;
}

.cta-block .hero-actions {
  justify-content: center;
  position: relative;
}

.cta-footnote {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  position: relative;
}

@media (max-width: 768px) {
  .six-objects {
    grid-template-columns: 1fr;
  }

  .tab-buttons {
    flex-direction: column;
  }

  .tab-btn {
    min-width: auto;
  }

  .diagram-flow {
    flex-direction: column;
  }

  .flow-divider {
    transform: rotate(90deg);
  }

  .connector-matrix {
    font-size: 12px;
  }

  .connector-matrix th,
  .connector-matrix td {
    padding: 12px 8px;
  }
}

/* Workflow Diagram */
.workflow-diagram {
  position: relative;
  padding: 18px 18px 22px;
  overflow-x: auto;
}

.workflow-wires {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.workflow-nodes {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
  gap: 14px;
  align-items: stretch;
  min-width: 1000px;
}

.workflow-node {
  position: relative;
  border-radius: 18px;
  background: var(--bg);
  border: 3px solid #1e3a5f;
  padding: 16px 14px 14px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  min-height: 90px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(196, 166, 138, 0.1);
}

.workflow-node:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(255, 153, 102, 0.15);
  transform: translateY(-4px);
  background: var(--panel);
}

.workflow-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 179, 138, 0.12);
  border: 2px solid #ff9500;
}

.workflow-icon svg {
  width: 22px;
  height: 22px;
  opacity: 0.95;
  color: #ff9500;
}

.workflow-meta {
  display: flex;
  flex-direction: column;
}

.workflow-title {
  font-size: 15px;
  font-weight: 700;
  margin: 2px 0 4px;
  letter-spacing: 0.2px;
  color: #1e3a5f;
}

.workflow-desc {
  margin: 0;
  color: #415a77;
  font-size: 13px;
  line-height: 1.45;
}

.workflow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.workflow-tag {
  font-size: 11px;
  color: #1e3a5f;
  border: 1px solid rgba(196, 166, 138, 0.3);
  background: rgba(196, 166, 138, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Gantt Chart Timeline */
/* Gantt Chart - Horizontal Timeline */
.gantt-container {
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 24px 0;
}

/* Header Row */
.gantt-header {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--panel-strong);
  border-bottom: 3px solid var(--accent);
}

.gantt-header-tasks {
  padding: 16px 20px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  border-right: 2px solid var(--line);
}

.gantt-header-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--panel);
}

.gantt-week {
  padding: 16px;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border-right: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 153, 102, 0.05), transparent);
}

.gantt-week:last-child {
  border-right: none;
}

/* Task Rows */
.gantt-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-bottom: 1px solid var(--line);
  transition: all 0.2s ease;
}

.gantt-row:last-child {
  border-bottom: none;
}

.gantt-row:hover {
  background: var(--accent-soft);
}

/* Task Name Column */
.gantt-task {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 2px solid var(--line);
  background: var(--bg-soft);
}

.task-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 153, 102, 0.3);
}

.task-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Timeline Grid */
.gantt-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 60px;
}

.gantt-cell {
  border-right: 1px solid var(--line);
  background: linear-gradient(to right, transparent, rgba(255, 153, 102, 0.02));
}

.gantt-cell:last-child {
  border-right: none;
}

/* Task Bars */
.gantt-bar {
  grid-row: 1;
  height: 36px;
  margin: 12px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  padding: 0 12px;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.gantt-bar.complete {
  background: var(--success);
  color: white;
  border: 2px solid #10b981;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.gantt-bar.inprogress {
  background: var(--accent);
  color: white;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 16px rgba(255, 153, 102, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.gantt-bar.pending {
  background: var(--panel-strong);
  color: var(--muted);
  border: 2px dashed var(--line);
  box-shadow: none;
}

.gantt-bar:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 3;
}

/* Responsive */
@media (max-width: 960px) {
  .gantt-header,
  .gantt-row {
    grid-template-columns: 1fr;
  }

  .gantt-task {
    border-right: none;
    border-bottom: 2px solid var(--line);
  }

  .gantt-header-tasks {
    border-right: none;
    border-bottom: 2px solid var(--accent);
  }

  .gantt-bar {
    font-size: 9px;
    padding: 0 8px;
    height: 32px;
  }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--panel);
  border-top: 2px solid var(--line);
  box-shadow: 0 -10px 40px rgba(90, 74, 58, 0.15);
  padding: 20px;
  z-index: 10000;
  animation: slideUp 0.3s ease-out;
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  margin: 0;
  font-size: 14px;
  color: var(--text);
  font-family: "Inter", sans-serif;
}

.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-consent-actions .btn {
  padding: 12px 24px;
  font-size: 14px;
}

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

@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
  }
}


/* Icon chips for integrations */
.icon-chip {
  font-size: 32px;
  padding: 16px 20px;
  min-width: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.icon-chip:hover {
  transform: scale(1.2);
  background: var(--accent-soft);
}

.icon-connector {
  font-size: 48px;
}

/* Connector icon and text styling */
.arch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.connector-icon {
  font-size: 32px;
}

.connector-text {
  font-weight: 800;
  font-size: 18px;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mission statement styling */
.mission-statement {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* How page - Phase numbers */
.phase-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1;
}

/* Card subtitle */
.card-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 500;
}

/* Steps list for How page */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.step-item:last-child {
  border-bottom: none;
}

.step-item .step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 153, 102, 0.3);
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

.step-content h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: var(--text);
}

.step-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .step-item {
    gap: 16px;
    padding: 24px 0;
  }

  .step-item .step-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .step-content h3 {
    font-size: 18px;
  }
}
