:root {
  --bg: #050505;
  --bg-2: #0b1020;
  --surface: rgba(17, 24, 39, 0.72);
  --surface-strong: rgba(9, 14, 28, 0.86);
  --card: rgba(15, 23, 42, 0.72);
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --dim: #94a3b8;
  --blue: #2563eb;
  --cyan: #22d3ee;
  --violet: #7c3aed;
  --green: #10b981;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(37, 99, 235, 0.24), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.16), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(124, 58, 237, 0.12), transparent 28%),
    linear-gradient(180deg, #050505 0%, #060816 40%, #050505 100%);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

.bg-grid,
.bg-noise,
.bg-orb {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-grid {
  z-index: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
  opacity: 0.35;
}

.bg-noise {
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-orb {
  z-index: 0;
  filter: blur(50px);
  opacity: 0.8;
  mix-blend-mode: screen;
}

.bg-orb-a {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.36), transparent 55%);
  width: 40vw;
  height: 40vw;
  top: -10vw;
  left: -10vw;
}

.bg-orb-b {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 58%);
  width: 34vw;
  height: 34vw;
  top: 14vw;
  right: -12vw;
}

.bg-orb-c {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 60%);
  width: 28vw;
  height: 28vw;
  bottom: -8vw;
  left: 30vw;
}

.site-header,
.site-footer,
.section,
.admin-shell {
  position: relative;
  z-index: 1;
}

.section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-narrow {
  width: min(1080px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  isolation: isolate;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.55));
  border-bottom: 1px solid transparent;
}

.nav-shell {
  position: relative;
  z-index: 10001;
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.96) 0 8%, rgba(255, 255, 255, 0.34) 9%, transparent 18%),
    radial-gradient(circle at 36% 30%, #7cf3ff 0%, #2a7cf8 38%, #15204a 68%, #050816 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    inset 0 -14px 24px rgba(0, 0, 0, 0.42),
    0 18px 36px rgba(37, 99, 235, 0.34);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: translateZ(0);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.44), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02) 35%, rgba(0, 0, 0, 0.12) 100%);
  mix-blend-mode: screen;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 0 9px rgba(2, 6, 23, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.brand-mark-core {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.38),
    0 8px 18px rgba(0, 0, 0, 0.4);
}

.brand-mark-3d {
  animation: orbFloat 9s ease-in-out infinite;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: translateY(-1px) rotate(-4deg) scale(1.03);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -14px 24px rgba(0, 0, 0, 0.42),
    0 22px 46px rgba(37, 99, 235, 0.42);
}

.brand-admin {
  margin-bottom: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.92rem;
  position: relative;
  z-index: 10002;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  position: relative;
  padding-block: 14px;
}

.nav-group-toggle {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.54);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 10003;
}

.nav-group-toggle::after {
  content: "▾";
  font-size: 0.75em;
  color: var(--cyan);
}

.nav-agent-panel {
  width: min(920px, calc(100vw - 40px));
  margin-top: 12px;
  padding: 18px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(9, 14, 28, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
}

.nav-agent-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.nav-agent-panel-head p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-agent-group {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.nav-agent-group-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.88);
}

.nav-agent-group-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nav-agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nav-agent-item {
  padding: 14px 14px 13px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.nav-agent-item h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  line-height: 1.1;
  color: var(--text);
}

.nav-agent-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.8), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 280ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  background: rgba(15, 23, 42, 0.76);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  position: relative;
  z-index: 10003;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 20px;
  min-height: 48px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 240ms var(--ease),
    border-color 240ms var(--ease),
    background 240ms var(--ease),
    box-shadow 240ms var(--ease),
    opacity 240ms var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.7);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan) 60%, var(--violet));
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.24);
}

.btn-secondary {
  color: var(--text);
  background: rgba(15, 23, 42, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.btn-block {
  width: 100%;
}

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
  align-items: center;
  padding-top: 48px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.48);
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.74rem;
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title,
.section-head h2,
.cta-shell h2,
.admin-card h1,
.admin-topbar h1 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  max-width: 11.6ch;
  background: linear-gradient(135deg, #fff, rgba(248, 250, 252, 0.8), rgba(34, 211, 238, 0.98));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 54ch;
  font-size: clamp(0.96rem, 1vw, 1.02rem);
  color: var(--muted);
}

.hero-support {
  margin: 0;
  max-width: 42ch;
  color: rgba(248, 250, 252, 0.9);
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-note,
.section-head p,
.pricing-note,
.brain-copy p,
.contact-card p,
.site-footer p,
.admin-card p,
.form-feedback {
  color: var(--dim);
}

.form-feedback.success {
  color: #86efac;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-micro span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.82rem;
}

.hero-benefit-band {
  grid-column: 1 / -1;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-top: 10px;
}

.hero-benefits {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-benefit-card {
  padding: 16px 16px 15px;
  min-height: 100%;
  border-radius: 20px;
  background: rgba(7, 10, 22, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.hero-benefit-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.92);
  margin-bottom: 10px;
}

.hero-benefit-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.1;
}

.hero-benefit-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}

.hero-rhythm {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(15, 23, 42, 0.62);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.hero-rhythm-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.92);
}

.hero-rhythm-text {
  font-weight: 700;
  color: rgba(248, 250, 252, 0.96);
}

.hero-rhythm-text.is-animating {
  animation: rhythmSwap 360ms var(--ease);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 470px;
}

.hero-video-frame {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.16), transparent 30%),
    radial-gradient(circle at 70% 75%, rgba(124, 58, 237, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(7, 10, 22, 0.96), rgba(12, 18, 34, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.hero-video-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.video-sound-toggle {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.76);
  color: rgba(248, 250, 252, 0.96);
  border-radius: 999px;
  padding: 10px 13px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.video-sound-toggle:hover {
  border-color: rgba(34, 211, 238, 0.24);
  color: #fff;
}

.video-sound-toggle.is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.5), rgba(34, 211, 238, 0.4));
  border-color: rgba(34, 211, 238, 0.32);
}

.hero-video-glow {
  position: absolute;
  inset: 12px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 30%, rgba(34, 211, 238, 0.14), transparent 38%),
    radial-gradient(circle at 50% 70%, rgba(37, 99, 235, 0.1), transparent 42%);
  filter: blur(18px);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
}

.hero-video-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 7, 18, 0.08) 45%, rgba(3, 7, 18, 0.78) 100%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
  pointer-events: none;
}

.hero-video-overlay.is-active {
  opacity: 1;
  transform: translateY(0);
}

.video-format {
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: rgba(34, 211, 238, 0.92);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.video-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 0.95;
  max-width: 10ch;
}

.hero-video-overlay p {
  margin: 0;
  max-width: 22ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
}

.overlay-subline {
  font-size: 0.86rem;
  color: rgba(248, 250, 252, 0.86);
  max-width: 18ch;
}

.hero-video-overlay.phase-1 .line-1 {
  opacity: 1;
  transform: translateY(0);
}

.hero-video-overlay.phase-2 .line-1,
.hero-video-overlay.phase-2 .line-2 {
  opacity: 1;
  transform: translateY(0);
}

.hero-video-overlay.phase-3 .line-1,
.hero-video-overlay.phase-3 .line-2,
.hero-video-overlay.phase-3 .overlay-subline {
  opacity: 1;
  transform: translateY(0);
}

.hero-video-overlay.phase-3 .video-title {
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
}

.video-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.video-flow span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: rgba(241, 245, 249, 0.95);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-flow span.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.45), rgba(34, 211, 238, 0.35));
  border-color: rgba(34, 211, 238, 0.22);
}

.hero-video-overlay.is-active .line-1 {
  animation: overlayLineIn 420ms var(--ease) 120ms forwards;
}

.hero-video-overlay.is-active .line-2 {
  animation: overlayLineIn 420ms var(--ease) 260ms forwards;
}

.hero-video-overlay.is-active .overlay-subline {
  animation: overlayLineIn 420ms var(--ease) 400ms forwards;
}

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

.hero-signal {
  position: absolute;
  width: 190px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.hero-signal strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.92);
  margin-bottom: 6px;
}

.hero-signal span {
  display: block;
  font-size: 0.88rem;
  color: rgba(248, 250, 252, 0.9);
}

.hero-signal-a {
  top: 20px;
  left: 0;
}

.hero-signal-b {
  top: 42%;
  right: 0;
}

.hero-signal-c {
  bottom: 28px;
  left: 16px;
}

.hero-core-ring,
.hero-core-glow,
.floating-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.floating-chip {
  position: absolute;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  font-size: 0.88rem;
  color: rgba(241, 245, 249, 0.92);
  transform: translateY(0);
}

.floating-chip strong {
  display: block;
  font-size: 0.72rem;
  margin-bottom: 4px;
  color: rgba(34, 211, 238, 0.9);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.floating-layer {
  opacity: 0;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 700px;
  margin-bottom: 34px;
}

.section-head h2,
.cta-shell h2,
.admin-card h1,
.admin-topbar h1 {
  font-size: clamp(2rem, 4.2vw, 3.7rem);
}

.section-head p,
.pricing-note p,
.brain-copy p,
.cta-shell p,
.contact-section p,
.site-footer p {
  max-width: 66ch;
  font-size: 0.98rem;
}

.card-grid,
.comparison-grid,
.stats-grid,
.showcase-grid {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(12, 1fr);
}

.card,
.feature-card,
.comparison-card,
.pricing-card,
.timeline-card,
.showcase-card,
.stat-card,
.contact-card,
.admin-card,
.admin-panel {
  position: relative;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(9, 14, 28, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.agent-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 18px;
}

.agent-tab {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.54);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  transition:
    transform 220ms var(--ease),
    background 220ms var(--ease),
    border-color 220ms var(--ease),
    color 220ms var(--ease);
}

.agent-tab:hover,
.agent-tab:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.32);
}

.agent-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 1), rgba(34, 211, 238, 0.88));
  border-color: transparent;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
}

.agent-examples {
  display: grid;
  gap: 22px;
  transition:
    opacity 240ms var(--ease),
    transform 240ms var(--ease);
}

.agent-examples.is-updating {
  opacity: 0.62;
  transform: translateY(8px);
}

.agent-group {
  display: grid;
  gap: 14px;
}

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

.agent-group-card {
  padding: 22px;
  min-height: 170px;
  transition:
    transform 240ms var(--ease),
    border-color 240ms var(--ease),
    box-shadow 240ms var(--ease);
}

.agent-group-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.24);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.agent-group-card h3 {
  margin-bottom: 10px;
}

.agent-group-card p {
  color: var(--dim);
}

.agent-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-card {
  padding: 24px;
}

.feature-card p {
  color: var(--dim);
}

.feature-card:nth-child(1) { grid-column: span 2; }
.feature-card:nth-child(2) { grid-column: span 3; }
.feature-card:nth-child(3) { grid-column: span 2; }
.feature-card:nth-child(4) { grid-column: span 2; }
.feature-card:nth-child(5) { grid-column: span 3; }

.brain-section {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
}

.brain-sticky {
  min-height: 230vh;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.brain-copy {
  position: sticky;
  top: 108px;
  padding: 32px 0;
}

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

.brain-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: rgba(226, 232, 240, 0.94);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), background 260ms var(--ease);
}

.brain-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.7);
}

.brain-list li.is-active {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(34, 211, 238, 0.34);
  transform: translateX(6px);
}

.brain-dashboard {
  position: sticky;
  top: 108px;
  min-height: 68vh;
  padding: 24px;
  overflow: hidden;
}

.dashboard-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.dashboard-pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.66);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--dim);
}

.dashboard-pill.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.5), rgba(34, 211, 238, 0.35));
}

.dashboard-core {
  position: relative;
  min-height: 540px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(3, 7, 18, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.14);
  overflow: hidden;
}

.dashboard-core::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.14), transparent 14%),
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  opacity: 0.45;
}

.node,
.service-card::before,
.pricing-card::before,
.showcase-card::before {
  position: absolute;
  border-radius: 999px;
}

.node {
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 112px;
  padding: 14px 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.8);
  color: rgba(248, 250, 252, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

.node-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 160px;
  min-height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), rgba(15, 23, 42, 0.84) 70%);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.26) inset, 0 0 50px rgba(37, 99, 235, 0.16);
}

.node-a { top: 18%; left: 50%; transform: translateX(-50%); }
.node-b { top: 52%; right: 8%; }
.node-c { bottom: 16%; left: 20%; }
.node-d { top: 22%; left: 10%; }
.node-e { bottom: 20%; right: 14%; }
.node-f { bottom: 10%; left: 50%; transform: translateX(-50%); min-width: 132px; }

.connection {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.75), transparent);
  opacity: 0.8;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.35));
  transform-origin: left center;
}

.connection-a { width: 42%; height: 2px; top: 32%; left: 29%; transform: rotate(5deg); }
.connection-b { width: 38%; height: 2px; top: 50%; left: 50%; transform: rotate(-12deg); }
.connection-c { width: 26%; height: 2px; top: 60%; left: 30%; transform: rotate(18deg); }
.connection-d { width: 34%; height: 2px; top: 28%; left: 17%; transform: rotate(148deg); }
.connection-e { width: 31%; height: 2px; top: 65%; left: 55%; transform: rotate(-146deg); }

.section:nth-of-type(even) .card,
.section:nth-of-type(even) .feature-card,
.section:nth-of-type(even) .pricing-card,
.section:nth-of-type(even) .timeline-card,
.section:nth-of-type(even) .showcase-card,
.section:nth-of-type(even) .stat-card,
.section:nth-of-type(even) .contact-card {
  background:
    linear-gradient(180deg, rgba(10, 15, 28, 0.76), rgba(5, 8, 18, 0.9));
}

.service-grid .service-card {
  grid-column: span 4;
}

.service-card {
  position: relative;
  padding: 26px;
  overflow: hidden;
  transition:
    transform 280ms var(--ease),
    border-color 280ms var(--ease),
    filter 280ms var(--ease);
}

.service-card::before,
.pricing-card::before,
.showcase-card::before {
  content: "";
  inset: -1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(34, 211, 238, 0.08), rgba(124, 58, 237, 0.22));
  opacity: 0;
  transition: opacity 240ms var(--ease);
  z-index: -1;
}

.service-card:hover,
.pricing-card:hover,
.showcase-card:hover,
.feature-card:hover,
.timeline-card:hover,
.stat-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.34);
}

.service-card:hover::before,
.pricing-card:hover::before,
.showcase-card:hover::before {
  opacity: 1;
}

.service-symbol,
.use-symbol,
.showcase-symbol,
.stat-number,
.pricing-price {
  font-family: var(--font-display);
}

.service-symbol {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(34, 211, 238, 0.15));
  border: 1px solid rgba(148, 163, 184, 0.14);
  font-weight: 700;
  margin-bottom: 18px;
}

.service-card h3,
.feature-card h3,
.comparison-card h3,
.pricing-card h3,
.timeline-card h3,
.showcase-card h3,
.stat-card h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  line-height: 1.04;
}

.service-card p,
.feature-card p,
.comparison-card p,
.pricing-card p,
.timeline-card p,
.showcase-card p,
.stat-card p {
  margin: 0;
  color: var(--dim);
}

.service-card ul,
.pricing-card ul,
.comparison-card ul,
.feature-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-card li,
.pricing-card li,
.comparison-card li,
.feature-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(226, 232, 240, 0.92);
}

.service-card li::before,
.pricing-card li::before,
.comparison-card li::before,
.feature-card li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 0.45em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  flex: 0 0 auto;
}

.service-grid .service-card:nth-child(1) { grid-column: span 6; }
.service-grid .service-card:nth-child(2) { grid-column: span 6; }
.service-grid .service-card:nth-child(3) { grid-column: span 4; }
.service-grid .service-card:nth-child(4) { grid-column: span 4; }
.service-grid .service-card:nth-child(5) { grid-column: span 4; }
.service-grid .service-card:nth-child(6) { grid-column: span 12; }

.use-case-grid .feature-card {
  grid-column: span 4;
}

.comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-card {
  padding: 28px;
}

.comparison-card.bad {
  border-color: rgba(248, 113, 113, 0.18);
}

.comparison-card.good {
  border-color: rgba(16, 185, 129, 0.22);
}

.comparison-card .comparison-kicker {
  color: var(--dim);
}

.pricing-grid .pricing-card {
  grid-column: auto;
  align-self: stretch;
}

.pricing-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  align-items: stretch;
  gap: 18px;
  margin-top: 10px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
}

.pricing-grid .pricing-card.recommended {
  transform: translateY(-14px) scale(1.03);
  z-index: 1;
}

.pricing-grid::-webkit-scrollbar {
  height: 10px;
}

.pricing-grid::-webkit-scrollbar-thumb {
  background: rgba(34, 211, 238, 0.24);
  border-radius: 999px;
}

.pricing-card {
  padding: 26px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(circle at top, rgba(34, 211, 238, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(5, 8, 18, 0.94));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.2);
}

.pricing-card.recommended {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow:
    0 24px 68px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(34, 211, 238, 0.1) inset,
    0 0 40px rgba(34, 211, 238, 0.08);
}

.pricing-card.recommended::before {
  content: "RECOMENDADO";
  top: 18px;
  right: 18px;
  left: auto;
  width: auto;
  height: auto;
  padding: 7px 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(34, 211, 238, 0.92));
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: rgba(34, 211, 238, 0.96);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.pricing-price {
  margin: 12px 0 10px;
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pricing-sub {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.pricing-oneoff {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.9);
  font-family: var(--font-mono);
}

.pricing-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: grid;
  gap: 12px;
  font-size: 0.94rem;
}

.pricing-meta strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.pricing-cta {
  margin-top: 18px;
  margin-top: auto;
}

.pricing-note {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

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

.timeline-card {
  padding: 24px;
  min-height: 240px;
}

.timeline-index {
  color: rgba(34, 211, 238, 0.9);
  margin-bottom: 14px;
}

.showcase-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.showcase-card {
  grid-column: span 4;
  min-height: 240px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-card.wide {
  grid-column: span 8;
}

.showcase-card.tall {
  min-height: 320px;
}

.showcase-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: rgba(34, 211, 238, 0.94);
  margin-bottom: 18px;
}

.stats-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat-card {
  padding: 26px;
}

.stat-number {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 0.95;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, rgba(34, 211, 238, 0.96));
  -webkit-background-clip: text;
  color: transparent;
}

.cta-section .cta-shell {
  padding: 34px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(9, 14, 28, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: var(--shadow);
  max-width: 100%;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.contact-form,
.contact-side {
  min-width: 0;
}

.contact-form {
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid label,
.admin-form label {
  display: grid;
  gap: 8px;
}

.form-grid span,
.admin-form span {
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.92rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.admin-form input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.72);
  color: var(--text);
  padding: 14px 16px;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.admin-form input:focus {
  border-color: rgba(34, 211, 238, 0.46);
}

.form-full {
  grid-column: 1 / -1;
}

.contact-side {
  display: grid;
  gap: 18px;
}

.contact-card {
  padding: 24px;
}

.map-frame {
  margin-top: 16px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
  aspect-ratio: 16 / 12;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-links,
.footer-socials,
.footer-meta {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-socials a,
.footer-bottom a {
  color: var(--muted);
}

.footer-links a:hover,
.footer-socials a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  color: var(--dim);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981, #22c55e);
  color: #fff;
  box-shadow: 0 16px 32px rgba(16, 185, 129, 0.26);
}

.jackeline-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: min(480px, calc(100vw - 40px));
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background:
    linear-gradient(180deg, rgba(12, 18, 34, 0.86), rgba(6, 10, 20, 0.84)),
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 34%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 30%);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.jackeline-widget.is-minimized {
  width: 340px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(12, 18, 34, 0.82), rgba(6, 10, 20, 0.82)),
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.06), transparent 40%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  right: 20px;
  left: auto;
  overflow: hidden;
}

.jackeline-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 8px 6px;
}

.jackeline-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.88) 0 6%, rgba(255, 255, 255, 0.22) 7%, transparent 18%),
    radial-gradient(circle at 35% 30%, #7cf3ff 0%, #2a7cf8 44%, #102046 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -10px 18px rgba(0, 0, 0, 0.35),
    0 14px 28px rgba(37, 99, 235, 0.24);
}

.jackeline-title-wrap {
  min-width: 0;
  flex: 1;
}

.jackeline-eyebrow {
  display: inline-block;
  margin-bottom: 2px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.82);
}

.jackeline-title-wrap h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jackeline-title-wrap p {
  margin: 3px 0 0;
  color: var(--dim);
  font-size: 0.7rem;
}

.jackeline-icon-btn {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.jackeline-minimize-trigger {
  width: auto;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jackeline-body {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jackeline-messages {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 140px;
  overflow-y: auto;
  padding-right: 4px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.jackeline-message {
  display: flex;
}

.jackeline-message.is-user {
  justify-content: flex-end;
}

.jackeline-message-bubble {
  max-width: min(84%, 230px);
  padding: 7px 9px;
  border-radius: 12px;
  font-size: 0.76rem;
  line-height: 1.24;
  white-space: normal;
  overflow-wrap: anywhere;
}

.jackeline-message.is-assistant .jackeline-message-bubble {
  background: rgba(15, 23, 42, 0.82);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.jackeline-message.is-user .jackeline-message-bubble {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(34, 211, 238, 0.7));
  color: #fff;
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.22);
}

.jackeline-message.is-pending .jackeline-message-bubble {
  opacity: 0.78;
}

.jackeline-suggestions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-top: 0;
}

.jackeline-suggestions button {
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(15, 23, 42, 0.42);
  color: var(--text);
  font-size: 0.7rem;
  text-align: left;
}

.jackeline-contact-cta {
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  appearance: none;
  cursor: pointer;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(37, 99, 235, 0.18));
  color: #eafaff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.jackeline-contact-cta:hover,
.jackeline-contact-cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.42);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.24), rgba(37, 99, 235, 0.24));
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.2);
}

.jackeline-composer {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.jackeline-composer input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  background: rgba(8, 12, 20, 0.76);
  color: var(--text);
  padding: 8px 9px;
  outline: none;
  font-size: 0.76rem;
}

.jackeline-composer input::placeholder {
  color: rgba(203, 213, 225, 0.55);
}

.jackeline-composer input:focus {
  border-color: rgba(34, 211, 238, 0.48);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.jackeline-composer button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.72), rgba(37, 99, 235, 0.78));
  color: #fff;
  padding: 0 10px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
  font-size: 0.72rem;
}

.jackeline-composer.is-loading button {
  opacity: 0.8;
}

.jackeline-minimized {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.jackeline-minimized .jackeline-avatar {
  width: 24px;
  height: 24px;
  font-size: 0.64rem;
}

.jackeline-minimized-note {
  margin-left: auto;
  font-size: 0.66rem;
  color: var(--dim);
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  pointer-events: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.85);
  box-shadow: 0 0 0 10px rgba(34, 211, 238, 0.08);
  transform: translate3d(-50%, -50%, 0);
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
}

.custom-cursor.is-active {
  width: 84px;
  height: 84px;
  border-radius: 50%;
}

.custom-cursor span {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.custom-cursor.is-active span {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-page {
  min-height: 100svh;
}

.admin-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0 100px;
}

.admin-card {
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 30px;
}

.admin-panel {
  padding: 24px;
}

.admin-panel.hidden,
.hidden {
  display: none;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.admin-table-wrap {
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1120px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  vertical-align: top;
}

.admin-table th {
  position: sticky;
  top: 0;
  background: rgba(5, 5, 5, 0.96);
  z-index: 1;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--muted);
}

.admin-table select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.72);
  color: var(--text);
  padding: 10px 12px;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.row-actions a,
.row-actions button {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  padding: 8px 12px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: rgba(241, 245, 249, 0.92);
}

.status-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
}

@keyframes rhythmSwap {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) and (pointer: fine) {
  .custom-cursor {
    display: flex;
  }
}

@media (max-width: 1100px) {
  .hero,
  .brain-sticky,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }

  .feature-grid,
  .timeline,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid .service-card,
  .showcase-card,
  .showcase-card.wide {
    grid-column: span 6;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 18px;
  }
}

@media (max-width: 820px) {
  .section {
    width: min(100% - 28px, 100%);
    padding: 80px 0;
  }

  .section-narrow,
  .brain-section,
  .site-footer,
  .admin-shell {
    width: min(100% - 28px, 100%);
  }

  .nav-shell {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .btn-nav {
    display: none;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    padding: 14px;
    position: relative;
    z-index: 10002;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 22px;
    background: rgba(7, 10, 22, 0.96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(18px);
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.08);
  }

  .nav-group-toggle {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.08);
  }

  .nav-group-toggle::after {
    margin-left: auto;
  }

  .nav-agent-panel {
    position: static;
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    max-height: none;
  }

  .nav-agent-panel-head {
    flex-direction: column;
  }

  .nav-agent-group-items,
  .nav-agent-grid {
    grid-template-columns: 1fr;
  }

  .agent-group-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.7rem);
    max-width: 100%;
  }

  .hero-support {
    font-size: 0.92rem;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 100%);
  }

  .section-head h2,
  .cta-shell h2,
  .admin-card h1,
  .admin-topbar h1 {
    font-size: clamp(1.95rem, 8vw, 3rem);
  }

  .pricing-price {
    font-size: clamp(1.65rem, 9vw, 2.3rem);
  }

  .feature-grid,
  .timeline,
  .stats-grid,
  .comparison-grid,
  .card-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(85vw, 1fr);
    grid-template-columns: none;
  }

  .agent-tabs {
    margin-top: 18px;
  }

  .agent-tab {
    width: 100%;
    justify-content: center;
  }

  .service-grid .service-card,
  .pricing-grid .pricing-card,
  .use-case-grid .feature-card,
  .showcase-card,
  .showcase-card.wide,
  .feature-card:nth-child(n) {
    grid-column: span 1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
    justify-content: center;
  }

  .hero-video-frame {
    width: min(100%, 420px);
  }

  .jackeline-widget {
    right: 14px;
    left: auto;
    bottom: 14px;
    width: min(calc(100vw - 28px), 480px);
    max-width: none;
  }

  .jackeline-widget.is-minimized {
    right: 14px;
    left: auto;
    width: min(calc(100vw - 28px), 340px);
  }

  .jackeline-suggestions {
    grid-template-columns: 1fr;
  }

  .jackeline-messages {
    max-height: 38dvh;
  }

  .footer-grid,
  .admin-topbar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .custom-cursor {
    display: none !important;
  }
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  background: rgba(5, 5, 5, 0.92);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .custom-cursor {
    display: none !important;
  }
}
