@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* 
  <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
*/

/* ---------- Design tokens from Figma ---------- */
:root {
  --ink: #1A1B1C;
  --ink-soft: #232425;
  --ink-2: #17181C;
  --ink-mid: #4B4C4D;
  --ink-low: #6F7071;
  --line: #EBEBEB;
  --line-soft: #DFDFDF;
  --bg: #FFFFFF;
  --bg-cream: #F6F5F4;
  --bg-gray: #F7F8F9;
  --bg-chip: #F4F5F6;
  --blue: #2E7BFF;
  --blue-deep: #0058EF;
  --blue-soft: #3A92FF;
  --text-gray: #667085;
  --nav-bg: #101219;
  --btn-dark: #27262B;
  --tab-border: rgba(46,123,255,1);
  --chat-node: rgba(17,54,118,0.15);

  --hero-scroll-progress: 0;
  --chat-dock-progress: 0;
  --chat-dock-y: 0px;
  --hero-bg-scale: 1;
  --hero-bg-y: 0px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-header: "Instrument Sans", sans-serif;
}






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

html, body {
  font-family: var(--font);
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

body { overflow-x: hidden; }

.hidden {
  display: none !important;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* Container */
.container {
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Nav ---------- */
.nav-wrap {
  position: fixed; top: 32px; left: 0; right: 0;
  z-index: 100;
  padding: 0 112px;
  /* transition: padding .3s ease, transform .45s cubic-bezier(0.22, 1, 0.36, 1), opacity .35s ease; */
  transition: top 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.nav-wrap.is-hidden {
  top: -80px;
}

.nav {
  position: fixed;
  left: 80px;
  right: 80px;
  height: 60px;
  background: var(--nav-bg);
  border-radius: 10px;
  box-shadow:
    0 1px 2px rgba(16,24,40,0.05),
    0 4px 8px rgba(16,24,40,0.1),
    inset 0 1px 1px rgba(255,255,255,0.29);
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px 8px 20px;
  color: #fff;
}
@media (max-width: 768px) {
  .nav {
    left: 18px;
    right: 18px;
    top: -12px;
  }
}
.nav .btn-primary {
  border-radius: 5px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 16px; color: #fff;
}
.nav-logo .star {
  width: 16px; height: 16px; color: #fff;
  transform: translateY(1px);
}
.nav-items { display: flex; gap: 24px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: #fff;
  opacity: 0.9; padding: 8px 0;
  position: relative;
  transition: opacity .2s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 1px; background: #fff;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s cubic-bezier(0.2,0.8,0.2,1);
}
.nav-link:hover { opacity: 1; }
.nav-link:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; gap: 12px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-weight: 500; font-size: 14px;
  line-height: 1;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .2s cubic-bezier(0.2,0.8,0.2,1), box-shadow .25s, background .25s;
  letter-spacing: -0.01em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-secondary {
  background-color: #fff;
  border: 1px solid #f7f7f7;
  transition: transform .2s cubic-bezier(0.2,0.8,0.2,1), box-shadow .25s, background .25s;
}
.btn-secondary:hover {
  background-color: #f7f7f7;
  border: 1px solid #f7f7f7;
}
.btn-dark {
  background: var(--btn-dark);
  color: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,0.05), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-dark:hover { background: #1a191e; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.btn-black {
  background: #000; color: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,0.05);
}
.btn-black:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,0.12), 0 4px 12px rgba(46,123,255,0.35);
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(46,123,255,0.45); }

.btn-ghost { color: #fff; opacity: 0.9; }
.btn-ghost:hover { opacity: 1; background: rgba(255,255,255,0.08); }

.btn .arrow { width: 16px; height: 16px; transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0 8px;
  /* Reserve room for .hero-bg (840px) + initial flow contribution of
     .chat-card-holder (183px tall, with -120px margin-top = +63px).
     Keeps content below stable as the chat card shrinks and docks. */
  min-height: 903px;
}
.hero-bg {
  position: relative;
  border-radius: 0 0 60px 60px;
  overflow: hidden;
  padding: 60px 0 0;
  margin-top: 8px;
  min-height: 840px;
}

.hero-bg::before {
  transform: translate3d(0, var(--hero-bg-y), 0)
    scale(var(--hero-bg-scale));
  transform-origin: center center;
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  content: "";
  position: absolute;
  inset: 0;
  background: url(Hero.jpg);
  background-size: cover;
  background-position: bottom;
}

/* Subtle noise/grain over the hero to tie it together */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 0 0 60px 60px;
  background:
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(0, 60, 200, 0.25) 0%, transparent 70%);
  mix-blend-mode: screen;
}

.hero-content {
  height: 840px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  max-width: 1216px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .hero,
  .hero-bg,
  .hero-content {
    height: 640px;
    min-height: 640px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding:8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
  margin-bottom: 40px;
  font-size: 14px; font-weight: 500; color: #fff;
}
.hero-badge .avatars {
  display: inline-flex;
}
.hero-badge .avatars .av {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #4b8eff, #0058ef);
  border: 2px solid var(--ink-2);
  margin-right: -8px;
}
.hero-badge .avatars .av:nth-child(2) { background: linear-gradient(135deg, #8b5cf6, #3b82f6); }
.hero-badge .avatars .av:nth-child(3) { background: linear-gradient(135deg, #f59e0b, #ef4444); margin-right: 4px; }

.hero h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin: 0 auto 20px;
  font-family: var(--font-header);
}
.hero p.lead {
    font-size: 18px;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.85);
    width: 720px;
    max-width: 100%;
    margin: 0 auto 32px;
    padding: 15px;
    text-align: justify;
    font-weight: 400;
}
@media (max-width: 640px) {
  .hero p.lead {
      font-size: 16px;
  }
}
.hero-actions {
  display: flex; justify-content: center; gap: 12px;
  margin-bottom: 80px;
}

iframe {
  padding: calc(24px - (var(--chat-dock-progress) * 16px));
  border-radius: calc(24px - (var(--chat-dock-progress) * 14px));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  filter: brightness(100%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 8px 30px rgba(0, 0, 0, calc(0.25 + (var(--chat-dock-progress) * 0.15)));

  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background 200ms ease,
    filter 200ms ease;
  /* background: rgba(0, 0, 0, 0);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 3;
  max-width: 668px;
  margin: -120px auto 0;
  transform: translate3d(0, var(--chat-dock-y), 0); */
  will-change: transform;
}

.chat-card-holder {
  padding: calc(24px - (var(--chat-dock-progress) * 16px));
  border-radius: calc(24px - (var(--chat-dock-progress) * 14px));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  filter: brightness(100%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 8px 30px rgba(0, 0, 0, calc(0.25 + (var(--chat-dock-progress) * 0.15)));

  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background 200ms ease,
    filter 200ms ease;
  background: rgba(0, 0, 0, 0);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 3;
  max-width: 668px;
  margin: -120px auto 0;
  transform: translate3d(0, var(--chat-dock-y), 0);
  will-change: transform;
}

.chat-card-holder.is-fixed-bottom {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  max-width: 668px;
  width: auto;
  margin: 0 auto;
  padding: 8px;
  /* Keep transform X at 0 in both states so the class swap doesn't shift X. */
  transform: translate3d(0, 0, 0);
}

.chat-card-holder .chat-card {
  border-radius: calc(12px - (var(--chat-dock-progress) * 6px));
  transition:
    border-radius 280ms cubic-bezier(0.25, 0.9, 0.3, 1),
    height 140ms cubic-bezier(0.22, 1, 0.36, 1);
  height: calc(115px - (var(--chat-dock-progress) * 75px));
  min-height: 60px !important;
  overflow: hidden;
}
.chat-card-holder.is-fixed-bottom .chat-card {
    padding: 8px;
}

.chat-card-holder input {
  padding-top: calc(10px - (var(--chat-dock-progress) * 2px)) !important;
  padding-bottom: calc(10px - (var(--chat-dock-progress) * 2px)) !important;
  transition:
    padding 0.32s cubic-bezier(0.25, 0.9, 0.3, 1),
    opacity 0.35s ease;
}




.chat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  filter: brightness(100%);
  box-shadow: rgba(0, 0, 0, 0.067) 0px 2px 16px;
  transition: background 0.15s, filter 0.15s;
  border: 1px solid rgba(255, 255, 255, 0);
  padding: 0;
  position: relative;
}

.chat-input-row {
  display: flex; 
  align-items: center; 
  gap: 12px;
  flex: 1;
  padding: 4px 4px 4px 12px;
  margin: 8px;
}
.chat-input-row .chat-spark {
  width: 16px; height: 16px; flex: none; color: var(--ink);
}
.chat-input {
  flex: 1;
  font-size: 16px;
  color: var(--ink);
  border: none;
  outline: none;
  padding: 10px 0;
  background: transparent;
  font-family: 'Instrument Sans', "Inter", system-ui, -apple-system, BlinkMacSystemFont;
}
.chat-input::placeholder { color: #6F7071; font-weight: 500; }
.chat-send {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: #F4F5F6;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  transition: background .2s, transform .15s;
}
.chat-send:hover { background: var(--ink); color: #fff; }
.chat-send:active { transform: scale(0.95); }
.chat-send svg { width: 32px; height: 32px; }

.chat-suggestions {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 12px 6px;
}


.chat-suggestions {
  opacity: calc(1 - var(--chat-dock-progress));
  transform: translate3d(
    0,
    calc(var(--chat-dock-progress) * 14px),
    0
  );
  pointer-events: auto;
  transition:
    opacity 0.35s ease,
    transform 0.32s cubic-bezier(0.25, 0.9, 0.3, 1);
}

body.chat-docked .chat-suggestions {
  pointer-events: none;
  display: none;
}

@media screen and (max-width: 760px) {
  .chat-card-holder {
    padding: 8px;
    border-radius: 10px;
    margin-top: -70px;
  }
  .chat-suggestions {
    display: none;
  }
  .chat-card-holder .chat-card {
    height: 60px;
    border-radius: 6px;
  }
}


.chip {
  font-size: 13px; font-weight: 500;
  color: var(--ink-mid);
  padding: 6px 12px;
  border-radius: 999px;
  background: #F4F5F6;
  border: 1px solid #EBEBEB;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer;

  font-family: 'Instrument Sans', "Inter", system-ui, -apple-system, BlinkMacSystemFont;
}
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Chat conversation mode */
.chat-conv {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px 4px;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 12px;
}
.chat-conv::-webkit-scrollbar { width: 4px; }
.chat-conv::-webkit-scrollbar-thumb { background: #DFDFDF; border-radius: 2px; }
.msg {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px; line-height: 1.5;
  max-width: 85%;
  animation: msgIn 0.35s cubic-bezier(0.2,0.8,0.2,1);
}
.msg.bot { background: #F4F5F6; color: var(--ink); align-self: flex-start; border-top-left-radius: 4px; }
.msg.user { background: var(--ink); color: #fff; align-self: flex-end; border-top-right-radius: 4px; }
.msg.bot.typing { color: var(--ink-mid); }
.dots { display: inline-flex; gap: 4px; }
.dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-mid);
  animation: dot 1.3s infinite ease-in-out;
}
.dots span:nth-child(2) { animation-delay: 0.15s; }
.dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Social proof logos ---------- */
.social-proof {
  display: none;
  padding: 80px 0;
  background: #fff;
  text-align: center;
  overflow: hidden;
}
.social-proof p {
  font-size: 16px; color: var(--ink-mid); font-weight: 500;
  margin-bottom: 24px;
}
.logos-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.logos-track {
  display: flex;
  gap: 64px;
  align-items: center;
  animation: slide 30s linear infinite;
  width: max-content;
}
.logo-item {
  font-size: 22px;
  font-weight: 600;
  color: #A1A1A5;
  white-space: nowrap;
  letter-spacing: -0.02em;
  opacity: 0.8;
  display: inline-flex; align-items: center; gap: 8px;
}
.logo-item svg { width: 24px; height: 24px; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section: dashboard ---------- */
.section {
  padding: 96px 0;
}
.section-dark {
  background: #1A1B1C;
  color: #fff;
  border-radius: 48px;
  margin: 0 16px;
  position: relative;
  overflow: hidden;
}
.section-white {
  background: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  padding: 60px 0;
}
.section-white::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 140px 160px;
  pointer-events: none;
}
.section-cream {
  background: #F7F8F9;
  position: relative;
  overflow: hidden;
}
.section-cream::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 140px 160px;
  pointer-events: none;
}
.section-head {
  text-align: center;
  max-width: 768px;
  margin: 0 auto;
}
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
  background: rgba(246,246,246,0.02);
  box-shadow: 0 1px 2px rgba(16,24,40,0.05), 0 4px 8px rgba(16,24,40,0.1), inset 0 1px 4px rgba(255,255,255,0.6);
  margin-bottom: 24px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-low);
}
.section-label.on-dark {
  color: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,0.05), 0 4px 8px rgba(16,24,40,0.56), inset 0 1px 4px rgba(48,44,44,0.6);
}
.section-label .star {
  width: 12px; height: 12px; color: var(--blue);
}
.section h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.section-dark h2 { color: #fff; }
.section p.lead {
  font-size: 18px; line-height: 1.5;
  color: var(--ink-mid);
  letter-spacing: -0.01em;
}
.section-dark p.lead { color: #C5CFDD; }

.section-actions {
  display: flex; gap: 12px; justify-content: center;
  margin-top: 32px;
}

/* Dashboard mockup */
.dashboard-frame {
  position: relative;
  z-index: 1;
  max-width: 1039px;
  margin: 48px auto 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 10px 10px 8px;
  overflow: hidden;
}
.dashboard-frame img {
  width: 100%;
  box-shadow: 0 2px 2px rgba(0,0,0,0.08);
  border-radius: 4px;
}
.dashboard-inner {
  border-radius: 12px;
  overflow: hidden;
  background: #FBFBFB;
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 540px;
  border: 1px solid #ECECEC;
}
.dash-side {
  background: #FBFBFB;
  border-right: 1px solid #ECECEC;
  padding: 16px 12px;
  display: flex; flex-direction: column;
  font-size: 12px;
}
.dash-side .nav-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  color: #344054;
  transition: background .15s;
  cursor: pointer;
  margin-bottom: 2px;
}
.dash-side .nav-row:hover { background: #F3F4F6; }
.dash-side .nav-row.active { background: #F3F4F6; color: var(--ink); font-weight: 500; }
.dash-side .nav-row svg { width: 14px; height: 14px; opacity: 0.7; }
.dash-side .sec-label {
  font-size: 10px; color: #9CA3AF;
  padding: 12px 8px 6px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.dash-side .spacer { flex: 1; }
.dash-workspace {
  display: flex; align-items: center; gap: 8px;
  padding: 8px;
  border: 1px solid #E5E7EB; border-radius: 8px;
  background: #fff;
}
.dash-workspace .logo-block {
  width: 24px; height: 24px; border-radius: 6px;
  background: linear-gradient(135deg, #8847F1, #6C3AE8);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-size: 12px;
}
.dash-workspace .ws-info { flex: 1; line-height: 1.2; }
.dash-workspace .ws-info .n { font-size: 12px; font-weight: 500; color: #232425; }
.dash-workspace .ws-info .u { font-size: 10px; color: #6F7071; }

.dash-main {
  padding: 20px 24px;
  background: #fff;
  overflow: hidden;
}
.dash-head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 20px; }
.dash-head h3 { font-size: 22px; font-weight: 700; color: #232425; margin-bottom: 2px; }
.dash-head .sub { font-size: 12px; color: #6F7071; }
.dash-head-actions { display: flex; gap: 8px; align-items: center; }
.dash-btn {
  font-size: 12px; font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  display: inline-flex; align-items: center; gap: 4px;
  transition: background .15s;
}
.dash-btn:hover { background: var(--blue-deep); }
.dash-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: url(./assets/avatar-1.png) center/cover;
  border: 1px solid rgba(0,0,0,0.08);
}

.dash-charts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.dash-chart {
  background: #FBFBFB;
  border: 1px solid #ECECEC;
  border-radius: 10px;
  padding: 16px;
}
.dash-chart .ch-head {
  display: flex; justify-content: space-between; align-items: start;
  margin-bottom: 12px;
}
.dash-chart .ch-title { font-size: 13px; font-weight: 700; color: #232425; }
.dash-chart .ch-sub { font-size: 11px; color: #6F7071; margin-top: 2px; }
.dash-chart .range-pill {
  font-size: 11px; color: #344054;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff; border: 1px solid #E5E7EB;
  display: inline-flex; align-items: center; gap: 4px;
}

/* Bar chart */
.bar-chart {
  height: 140px;
  display: flex; align-items: flex-end; gap: 3px;
  padding-top: 8px;
  border-bottom: 1px solid #ECECEC;
  position: relative;
}
.bar {
  flex: 1;
  background: var(--blue);
  border-radius: 2px 2px 0 0;
  min-width: 4px;
  transition: height 0.9s cubic-bezier(0.2,0.8,0.2,1), background .2s;
  cursor: pointer;
}
.bar:hover { background: var(--blue-deep); }
.bar-chart .axis-labels {
  position: absolute; bottom: -18px; left: 0; right: 0;
  display: flex; justify-content: space-between;
  font-size: 9px; color: #6F7071;
  padding: 0 4px;
}

/* Line chart */
.line-chart {
  height: 140px;
  position: relative;
}
.line-chart svg { width: 100%; height: 100%; }

/* Table */
.dash-table {
  border: 1px solid #ECECEC;
  border-radius: 10px;
  overflow: hidden;
  font-size: 12px;
}
.dash-table table { width: 100%; border-collapse: collapse; }
.dash-table th {
  background: #FBFBFB;
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 500;
  color: #6F7071;
  border-bottom: 1px solid #ECECEC;
}
.dash-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #F3F4F6;
  color: #232425;
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: #FBFBFB; }
.dash-table .status {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px; font-weight: 500;
}
.dash-table .status.ok { background: #ECFDF3; color: #067647; }
.dash-table .status.warn { background: #FEF3F2; color: #B42318; }
.dash-table .status.review { background: #EEF4FF; color: #2E7BFF; }
.dash-table .status .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Features dark section (Scan/Radar) ---------- */
.features-dark {
  background: #1A1B1C;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.features-dark h2 {
  color: #fff;
  margin-bottom: 16px;
}
.features-dark .bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center 80%, rgba(58,146,255,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.scan-wrap {
  max-width: 1216px;
  margin: 40px auto 0;
  padding: 0 32px;
  position: relative;
}
.scan-card {
  position: relative;
  border-radius: 40px;
  background: #232425;
  padding: 0;
  overflow: hidden;
}
.scan-panel { display: none; }
.scan-panel.active { display: block; }
.scan-image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.scan-image-2 { background-image: url(./assets/img_02.jpg); }
.scan-image-3 { background-image: url(./assets/img_03.jpg); }
.scan-image-4 { background-image: url(./assets/img_04.jpg); }

.features-dark .section-head-panel { display: none;min-height: 90px; }
.features-dark .section-head-panel.active { display: block; }

.scan-mobile-head { display: none; }

.scan-bg-glow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -40%);
  width: 800px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(58,146,255,0.3) 0%, transparent 60%);
  pointer-events: none;
}

/* Radar diamond grid */
.radar {
  position: relative;
  width: 100%; 
  height: 400px;
  margin: 0 auto;
  background-image: url(./assets/img_01.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.radar .center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  border-radius: 28px;
  background: radial-gradient(circle at 30% 30%, rgba(85,148,255,0.7) 0%, rgba(44,117,238,0.7) 100%);
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 0 60px rgba(58,146,255,0.5);
}
.radar .center .sparkle {
  width: 52px; height: 52px;
  color: #fff;
  filter: drop-shadow(0 4px 12px rgba(255,255,255,0.5));
}

.radar .node {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(17,54,118,0.55);
  color: #fff;
  font-size: 13px; font-weight: 500;
  letter-spacing: -0.01em;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
  opacity: 0;
  animation: nodeIn .8s ease forwards;
  transition: transform .2s, background .2s;
}
.radar .node:hover { background: rgba(46,123,255,0.8); transform: scale(1.05); }

.radar .node:nth-child(3) { top: 16px; left: 72px; animation-delay: 0.2s; }
.radar .node:nth-child(4) { top: 16px; right: 72px; animation-delay: 0.4s; }
.radar .node:nth-child(5) { bottom: 80px; left: 8px; animation-delay: 0.6s; }
.radar .node:nth-child(6) { bottom: 80px; right: 8px; animation-delay: 0.8s; }
.radar .node:nth-child(7) { top: 140px; left: 50%; transform: translateX(-50%); animation-delay: 1s; }

@keyframes nodeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.radar .node:nth-child(7) { transform: translateX(-50%); }
.radar .node:nth-child(7):hover { transform: translateX(-50%) scale(1.05); }

/* Sparks at node positions */
.radar .spark-dot {
  position: absolute;
  width: 10px; height: 10px;
  transform: rotate(45deg);
  background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,0.8), 0 0 24px rgba(58,146,255,0.6);
}

/* Feature tabs */
.feature-tabs {
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr 1fr;
  max-width: 1216px;
  margin: 40px auto 0;
  padding: 0 32px;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.feature-tab {
  padding: 32px 0;
  text-align: center;
  font-size: 20px; 
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  cursor: pointer;
  border-top: 2px solid transparent;
  margin-top: -1px;
  transition: border-color .25s, color .25s;
}
.feature-tab:hover { color: var(--blue-soft); }
.feature-tab.active { border-top-color: var(--blue); color: var(--blue-soft); }

/* ---------- Integrations (Make your website stack AI-ready) ---------- */
.integrations {
  background: #F7F8F9;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  border: 1px solid #EBEBEB;
}
.integrations::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 140px 160px;
  pointer-events: none;
}
.integrations .container { position: relative; z-index: 1; }

.int-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}
.int-card {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  box-shadow: 0 1px 2px rgba(16,24,40,0.05), 0 4px 8px rgba(16,24,40,0.06), inset 0 1px 4px rgba(255,255,255,0.6);
  padding: 32px 24px;
  text-align: center;
  transition: transform .3s cubic-bezier(0.2,0.8,0.2,1), box-shadow .3s;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.6);
}
.int-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(16,24,40,0.05), 0 16px 32px rgba(16,24,40,0.1), inset 0 1px 4px rgba(255,255,255,0.8);
}
.int-icon {
  width: 60px; height: 60px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #EAECF0;
  box-shadow: 0 1px 2px rgba(16,24,40,0.05);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.int-icon svg { width: 28px; height: 28px; }
.int-card h3 {
  font-size: 18px; font-weight: 700;
  color: #101828;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.int-card p {
  font-size: 14px; font-weight: 500;
  color: #6F7071;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* ---------- CTA card ---------- */
.cta-section {
  padding: 80px 0;
  background: #fff;
}
.cta-card {
  max-width: 1216px; margin: 0 auto;
  background: #F4F5F6;
  border-radius: 48px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.cta-card::after {
  content: '';
  position: absolute;
  left: 40%; top: 50%;
  width: 1200px; height: 500px;
  transform: translate(0, -30%);
  background: radial-gradient(ellipse, rgba(96,149,242,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 {
  font-size: 30px; font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.cta-card p {
  font-size: 18px; color: #35353B;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.cta-form {
  display: flex; gap: 12px;
  flex-wrap: wrap;
}
.cta-form input {
  flex: 1; min-width: 200px;
  padding: 10px 14px;
  height: 44px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(16,24,40,0.05);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.cta-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,123,255,0.12); }
.cta-form input::placeholder { color: #667085; }
.cta-form button {
  padding: 12px 20px;
  height: 44px;
  background: #000;
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.cta-form button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.cta-form.success .cta-msg { opacity: 1; }
.cta-msg {
  flex-basis: 100%;
  font-size: 14px;
  color: #067647;
  font-weight: 500;
  opacity: 0;
  transition: opacity .3s;
  margin-top: 8px;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: none;
  padding: 96px 0;
  background: #fff;
}
.testimonials .grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-col { display: flex; flex-direction: column; gap: 24px; }
.testimonial {
  background: #fff;
  border: 1px solid #DFDFDF;
  border-radius: 28px;
  padding: 32px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  border-color: #C6C6C6;
}
.testimonial-quote {
  font-size: 16px; line-height: 1.55;
  color: #101828;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 16px;
}
.testimonial-author .av {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: url(./assets/avatar-1.png) center/cover;
  background-color: #E5E7EB;
  flex: none;
}
.testimonial-author .meta .n { font-size: 15px; font-weight: 700; color: #000; }
.testimonial-author .meta .r { font-size: 14px; color: #434343; }

/* Avatar variants using gradients so all 6 feel distinct */
.av-1 { background: linear-gradient(135deg, #2E7BFF, #0058EF); }
.av-2 { background: linear-gradient(135deg, #8B5CF6, #3B82F6); }
.av-3 { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.av-4 { background: linear-gradient(135deg, #10B981, #059669); }
.av-5 { background: linear-gradient(135deg, #EC4899, #8B5CF6); }
.av-6 { background: linear-gradient(135deg, #06B6D4, #3B82F6); }

/* ---------- Blog ---------- */
.blog {
  display: none;
  background: #F7F8F9;
  padding: 94px 0;
}
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.blog-card {
  display: flex; flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: transform .3s;
}
.blog-card:hover { transform: translateY(-2px); }
.blog-cat {
  font-size: 14px; font-weight: 500;
  color: #4B4C4D;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.blog-card h3 {
  font-size: 22px; font-weight: 700;
  color: #1A1B1C;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  display: flex; align-items: flex-start; gap: 12px;
}
.blog-card h3 .ar {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 6px;
  transition: transform .25s;
}
.blog-card:hover h3 .ar { transform: translate(3px, -3px); }
.blog-card p {
  font-size: 15px; color: #4B4C4D;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* ---------- Footer ---------- */
.footer {
  background: #232425;
  color: #fff;
  padding: 65px 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  left: 50%; top: -400px;
  transform: translateX(-50%);
  width: 1200px; height: 500px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.footer .inner { max-width: 1216px; margin: 0 auto; padding: 0 64px; position: relative; z-index: 1; }
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 16px;
  margin-bottom: 32px;
}
.footer-sub {
  font-size: 16px; font-weight: 500;
  color: rgba(255,255,255,0.9);
  max-width: 471px;
  margin-bottom: 32px;
}
.footer-links {
  display: flex; gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #4B4C4D;
}
.footer-link {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85);
  transition: color .2s;
}
.footer-link:hover { color: #fff; }
.footer-bottom {
  margin-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.footer-social { display: flex; gap: 16px;
    margin-left: auto;
    margin-top: -8px; }
.footer-social a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  color: rgba(255,255,255,0.65);
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ---------- Reveal on scroll ---------- */
/* Default visible; JS can add .reveal-active to <html> to enable animations. */
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(0.2,0.8,0.2,1); }
.reveal-active .reveal:not(.in) { opacity: 0; transform: translateY(28px); }
.reveal-active .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .radar,
  .scan-image {
    height: 416px;
    border-radius: 10px;
  }
  .radar {
    background-image: url(./assets/img_01-1.jpg);
  }
  .scan-image-2 { background-image: url(./assets/img_01-2.jpg); }
  .scan-image-3 { background-image: url(./assets/img_01-3.jpg); }
  .scan-image-4 { background-image: url(./assets/img_01-4.jpg); }
  .scan-panel { display: block; padding-bottom: 32px; }
  .features-dark .feature-tabs { display: none; }
  .features-dark .section-head-panel { display: none; }
  .features-dark .section-head-panel.active { display: none; }
  .scan-mobile-head {
    display: block;
    padding: 32px 20px 24px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
  .scan-mobile-head h2 {
    color: #fff;
    margin-bottom: 12px;
  }
  .scan-mobile-head .lead,
  .scan-mobile-head p {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    line-height: 1.5;
  }
}

@media (max-width: 1100px) {
  .nav-wrap { padding: 0 24px; }
  .nav-items { display: none; }
  .hero h1 { font-size: 44px; }
  .section h2, .cta-card h2 { font-size: 32px; }
  .int-grid, .testimonials .grid, .blog-grid, .dash-charts { grid-template-columns: 1fr; }
  .feature-tabs { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 24px; }
  .dashboard-frame { margin-left: 16px; margin-right: 16px; }
  .dashboard-inner { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  /* .radar { width: 100%; max-width: 600px; height: 320px; } */
}
@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .scan-card {
    border-radius: 0;
    background: transparent;
  }
}

#llmo-chat-button {
  display: none !important;
}

#llmo-chat-iframe {
  height: 88vh !important;
  max-width: 100% !important;
  width: 688px !important;
  left: 50% !important;
  bottom: 10px !important;
  transform: translateX(-50%) !important;
}

@media screen and (max-width: 640px) {
  #llmo-chat-iframe {
    max-height: calc(100vh) !important;
    height: calc(100vh) !important;
    max-width: calc(100vw) !important;
    width: 688px !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
  }
}


#llmo-chat-iframe {
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  filter: brightness(100%) !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 8px 30px rgba(0, 0, 0, calc(0.25 + (var(--chat-dock-progress) * 0.15))) !important;

  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background 200ms ease,
    filter 200ms ease !important;
  background: rgba(0, 0, 0, 0) !important;
  cursor: pointer !important;
}