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

:root {
  --blue: #298BF0;
  --blue-light: #B8D8FA;
  --white: #fff;
  --text-primary: #0D0D0D;
  --text-secondary: #374151;
  --text-muted: #6B7280;
  --surface: #EFF6FF;
  --border: #DBEAFE;
  --dark-bg: #0D0F1A;
  --dark-surface: #1A1D2E;
  --dark-text: #F1F5F9;
  --dark-muted: #94A3B8;
  --red: #EF4444;
  --green: #10B981;
  --amber: #F59E0B;
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 72px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border)
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -.02em;
  color: var(--text-primary);
  text-decoration: none
}

.logo-accent {
  color: var(--blue)
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center
}

.nav-links a {
  font-weight: 400;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .2s
}

.nav-links a:hover {
  color: var(--blue)
}

.btn-nav {
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .2s
}

.btn-nav:hover {
  opacity: .85;
  color: #fff !important
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 72px 80px;
  position: relative;
  overflow: hidden
}

.hero-wave {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-52%);
  width: 520px;
  opacity: .8;
  pointer-events: none
}

.eyebrow {
  font-weight: 700;
  font-size: 17px;
  color: var(--text-secondary);
  letter-spacing: -.01em;
  margin-bottom: 14px;
  animation: fadeUp .55s ease both
}

.eyebrow .b {
  color: var(--blue)
}

.hero h1 {
  font-weight: 900;
  font-size: clamp(70px, 10vw, 118px);
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--text-primary);
  max-width: 580px;
  margin-bottom: 26px;
  animation: fadeUp .55s .1s ease both
}

.hero-sub {
  font-weight: 700;
  font-size: clamp(19px, 2.4vw, 27px);
  color: var(--text-primary);
  letter-spacing: -.01em;
  line-height: 1.15;
  max-width: 520px;
  margin-bottom: 44px;
  animation: fadeUp .55s .2s ease both
}

.hero-sub .b {
  color: var(--blue)
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .55s .3s ease both
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: opacity .2s, transform .2s;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif
}

.btn-primary:hover {
  opacity: .86;
  transform: translateY(-2px)
}

.btn-ghost {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue)
}

.stats-dark {
  background: var(--dark-bg);
  padding: 60px 72px
}

.stats-head {
  font-weight: 700;
  font-size: clamp(26px, 3.8vw, 40px);
  color: var(--dark-text);
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -.01em
}

.stats-head .b {
  color: var(--blue)
}

.stats-sub {
  text-align: center;
  color: var(--dark-muted);
  font-size: 14px;
  margin-bottom: 48px
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr)
}

.stat-col {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, .07)
}

.stat-col:last-child {
  border-right: none
}

.stat-n {
  font-weight: 700;
  font-size: clamp(40px, 5vw, 62px);
  color: var(--dark-text);
  letter-spacing: -.02em;
  line-height: 1;
  display: block;
  margin-bottom: 6px
}

.stat-l {
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dark-muted);
  display: block
}

.stat-s {
  font-weight: 300;
  font-size: 11px;
  color: var(--dark-muted);
  margin-top: 3px;
  display: block
}

section {
  padding: 96px 72px
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 11px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px
}

.sec-h2 {
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 50px);
  letter-spacing: -.01em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 10px;
  max-width: 680px
}

.sec-h2 .b {
  color: var(--blue)
}

.sec-p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 52px
}

.how {
  background: var(--surface)
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative
}

.pipeline::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
  z-index: 0
}

.pipe-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 14px;
  position: relative;
  z-index: 1
}

.pipe-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 26px
}

.pipe-step.active .pipe-icon {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 8px 22px rgba(41, 139, 240, .28)
}

.pipe-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 5px;
  line-height: 1.2
}

.pipe-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55
}

.pipe-tech {
  font-weight: 600;
  font-size: 11px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 7px
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  transition: border-color .2s, box-shadow .2s
}

.feat-card:hover {
  border-color: var(--blue-light);
  box-shadow: 0 6px 28px rgba(41, 139, 240, .09)
}

.feat-card.wide {
  grid-column: span 2;
  background: var(--blue-light);
  border: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center
}

.feat-icon {
  font-size: 26px;
  margin-bottom: 12px;
  display: block
}

.feat-title {
  font-weight: 600;
  font-size: 19px;
  color: var(--text-primary);
  margin-bottom: 7px;
  line-height: 1.2
}

.feat-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.62
}

.demo-section {
  background: var(--white)
}

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start
}

.cal-wrap {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(41, 139, 240, .06)
}

.cal-top-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.cal-week-lbl {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary)
}

.cal-pill {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  transition: all .3s
}

.cal-pill.ok {
  background: #d1fae5;
  color: #065f46
}

.cal-pill.conflict {
  background: #fee2e2;
  color: #991b1b
}

.cal-pill.solving {
  background: #fef3c7;
  color: #92400e
}

.cal-head {
  display: grid;
  grid-template-columns: 44px repeat(5, 1fr);
  background: var(--surface);
  border-bottom: 1px solid var(--border)
}

.cal-th {
  padding: 9px 4px;
  text-align: center;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .3s
}

.cal-th.warn {
  color: var(--red)
}

.cal-body-wrap {
  position: relative
}

.cal-row {
  display: grid;
  grid-template-columns: 44px repeat(5, 1fr);
  border-bottom: 1px solid var(--border);
  min-height: 34px
}

.cal-row:last-child {
  border-bottom: none
}

.cal-tlbl {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 300;
  text-align: right;
  padding-right: 7px;
  line-height: 34px
}

.cal-cell {
  position: relative;
  border-left: 1px solid var(--border);
  min-height: 34px
}

.cal-evt {
  position: absolute;
  left: 3px;
  right: 3px;
  border-radius: 5px;
  padding: 4px 6px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  z-index: 2;
  transition: opacity .4s ease, transform .4s ease
}

.cal-evt.blue {
  background: rgba(41, 139, 240, .14);
  color: #1a6dcc;
  border-left: 3px solid var(--blue)
}

.cal-evt.green {
  background: rgba(16, 185, 129, .12);
  color: #065f46;
  border-left: 3px solid var(--green)
}

.cal-evt.orange {
  background: rgba(245, 158, 11, .12);
  color: #92400e;
  border-left: 3px solid var(--amber)
}

.cal-evt.red {
  background: rgba(239, 68, 68, .14);
  color: #991b1b;
  border-left: 3px solid var(--red)
}

.cal-evt.fade-out {
  opacity: 0;
  transform: translateY(-8px) scale(.95)
}

.cal-evt.pop-in {
  animation: popIn .45s cubic-bezier(.34, 1.56, .64, 1) forwards
}

.cal-evt.shake-anim {
  animation: shakeAnim .38s ease
}

.cal-evt.glow-anim {
  animation: glowAnim .8s ease
}

.cal-evt.fixed-blk {
  background: #1a1a1a;
  color: #fff;
  border-left: 3px solid #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: 4px;
  opacity: .88
}

.cal-evt.sport-blk {
  background: #0f3d0f;
  color: #bbf7b0;
  border-left: 3px solid #22c55e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: 4px;
  opacity: .92
}

.cal-evt.dinner-blk {
  background: #1a1a1a;
  color: #fff;
  border-left: 3px solid #555;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: 4px;
  opacity: .82
}

.cal-evt.medical-blk {
  background: #7c1c1c;
  color: #fecaca;
  border-left: 3px solid #ef4444;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: 4px;
  opacity: .95
}

.cal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(239, 246, 255, .75);
  backdrop-filter: blur(3px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s
}

.cal-overlay.show {
  opacity: 1;
  pointer-events: all
}

.solving-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--blue-light);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .65s linear infinite;
  flex-shrink: 0
}

.chat-panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 600px;
  box-shadow: 0 4px 22px rgba(41, 139, 240, .06)
}

.chat-head {
  background: var(--blue);
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 10px
}

.chat-avatar-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0
}

.chat-name {
  font-weight: 700;
  font-size: 14px;
  color: #fff
}

.chat-status-txt {
  font-size: 11px;
  color: rgba(255, 255, 255, .75)
}

.chat-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  margin-left: auto;
  flex-shrink: 0
}

.chat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--white)
}

.chat-msgs::-webkit-scrollbar {
  width: 3px
}

.chat-msgs::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px
}

.msg {
  max-width: 90%;
  font-size: 12px;
  line-height: 1.55;
  border-radius: 10px;
  padding: 8px 11px;
  animation: msgIn .22s ease
}

.msg.ai {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 3px
}

.msg.user {
  background: var(--blue);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px
}

.msg.typing {
  background: var(--surface);
  border: 1px solid var(--border);
  align-self: flex-start;
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 11px 13px
}

.tdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: bounce 1.2s infinite
}

.tdot:nth-child(2) {
  animation-delay: .2s
}

.tdot:nth-child(3) {
  animation-delay: .4s
}

.chat-sugs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 13px 8px
}

.sug-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  transition: all .16s;
  font-family: 'DM Sans', sans-serif
}

.sug-btn:hover {
  border-color: var(--blue);
  color: var(--blue)
}

.sug-btn:disabled {
  opacity: .45;
  cursor: not-allowed
}

.chat-input-row {
  display: flex;
  gap: 7px;
  padding: 9px 11px;
  border-top: 1px solid var(--border);
  background: var(--white)
}

.chat-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 11px;
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: border-color .2s
}

.chat-input:focus {
  border-color: var(--blue)
}

.chat-send {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 7px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity .2s
}

.chat-send:hover {
  opacity: .85
}

.chat-send svg {
  width: 14px;
  height: 14px
}

.pricing {
  background: var(--surface);
  text-align: center;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(41, 139, 240, .10);
}

.price-card {
  background: var(--white);
  border: none;
  border-radius: 0;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}

.price-top {
  margin-bottom: 28px;
}

.price-card.featured {
  background: var(--blue);
  box-shadow: none;
  transform: none;
}

.price-card.price-dark {
  background: var(--dark-bg);
}

.price-tier {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.price-card.featured .price-tier { color: rgba(255,255,255,.6); }
.price-card.price-dark .price-tier { color: var(--dark-muted); }

.price-num {
  font-weight: 700;
  font-size: 52px;
  letter-spacing: -.03em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.price-card.featured .price-num { color: #fff; }
.price-card.price-dark .price-num { color: var(--dark-text); }

.price-period {
  font-size: 13px;
  color: var(--text-muted);
}

.price-card.featured .price-period { color: rgba(255,255,255,.6); }
.price-card.price-dark .price-period { color: var(--dark-muted); }

.price-div {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.price-card.featured .price-div { background: rgba(255,255,255,.18); }
.price-card.price-dark .price-div { background: rgba(255,255,255,.07); }

.price-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.price-feats li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.price-feats li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.price-card.featured .price-feats li { color: rgba(255,255,255,.88); }
.price-card.featured .price-feats li::before { color: rgba(255,255,255,.88); }
.price-card.price-dark .price-feats li { color: var(--dark-muted); }
.price-card.price-dark .price-feats li::before { color: var(--blue); }

.price-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 12px 24px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  transition: background .2s, transform .2s;
}

.price-cta:hover {
  background: rgba(255,255,255,.28);
  transform: translateY(-1px);
}

.price-cta.price-cta-outline {
  background: transparent;
  color: var(--dark-text);
  border: 1px solid rgba(255,255,255,.14);
}

.price-cta.price-cta-outline:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.28);
}

@media (max-width: 1000px) {
  .price-grid {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }
}

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

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 18px
}

.team-init {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px
}

.team-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px
}

.team-role {
  font-weight: 600;
  font-size: 11px;
  color: var(--blue);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 9px
}

.team-now {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 6px
}

.team-sl {
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 2px
}

.team-stack {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5
}

.cta-dark {
  background: var(--dark-bg);
  padding: 110px 72px;
  text-align: center
}

.cta-pre {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 22px
}

.cta-dark h2 {
  font-weight: 800;
  font-size: clamp(34px, 5vw, 62px);
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--dark-text);
  margin-bottom: 14px
}

.cta-dark h2 .b {
  color: var(--blue)
}

.cta-dark p {
  font-size: 15px;
  color: var(--dark-muted);
  margin-bottom: 44px
}

.cta-dark .btn-primary {
  font-size: 16px;
  padding: 15px 38px;
  box-shadow: 0 8px 28px rgba(41, 139, 240, .38)
}

footer {
  background: var(--dark-bg);
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding: 34px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.foot-logo {
  font-weight: 900;
  font-size: 15px;
  color: var(--dark-text);
  letter-spacing: -.02em
}

.foot-logo span {
  color: var(--blue)
}

.foot-note {
  font-weight: 300;
  font-size: 11px;
  color: var(--dark-muted)
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.94)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

@keyframes shakeAnim {

  0%,
  100% {
    transform: translateX(0)
  }

  25% {
    transform: translateX(-5px)
  }

  75% {
    transform: translateX(5px)
  }
}

@keyframes glowAnim {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(41, 139, 240, .4)
  }

  50% {
    box-shadow: 0 0 0 5px rgba(41, 139, 240, 0)
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(7px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes bounce {

  0%,
  60%,
  100% {
    transform: translateY(0)
  }

  30% {
    transform: translateY(-5px)
  }
}

@media(max-width:1000px) {
  nav {
    padding: 14px 24px
  }

  .nav-links {
    display: none
  }

  .hero {
    padding: 110px 24px 60px
  }

  .hero-wave {
    width: 200px;
    right: -10px
  }

  section {
    padding: 60px 24px
  }

  .stats-dark {
    padding: 44px 24px
  }

  .pipeline {
    grid-template-columns: 1fr 1fr
  }

  .pipeline::before {
    display: none
  }

  .features-grid {
    grid-template-columns: 1fr
  }

  .feat-card.wide {
    grid-column: span 1;
    grid-template-columns: 1fr
  }

  .demo-layout {
    grid-template-columns: 1fr
  }

  .chat-panel {
    height: 420px
  }

  .stats-row {
    grid-template-columns: 1fr
  }

  .stat-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .07)
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 340px
  }

  .price-card.featured {
    transform: none
  }

  .team-grid {
    grid-template-columns: 1fr 1fr
  }

  .cta-dark {
    padding: 64px 24px
  }

  footer {
    padding: 22px 24px;
    flex-direction: column;
    gap: 8px;
    text-align: center
  }
}

.approval-wrap {
  display: flex;
  gap: 8px;
  padding: 2px 0;
  align-self: flex-start;
  max-width: 90%
}

.appr-btn {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  border: none;
  transition: all .18s
}

.appr-yes {
  background: var(--blue);
  color: #fff
}

.appr-yes:hover {
  opacity: .85
}

.appr-no {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border)
}

.appr-no:hover {
  border-color: var(--blue);
  color: var(--blue)
}

/* ── Floating Contact Pill ─────────────────────────── */
.contact-pill {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 56px;
  width: 56px;
  border-radius: 9999px;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(41, 139, 240, .38), 0 2px 6px rgba(0,0,0,.12);
  overflow: hidden;
  padding: 0 17px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: width .32s cubic-bezier(.34,1.56,.64,1),
              padding .32s cubic-bezier(.34,1.56,.64,1),
              box-shadow .22s ease,
              opacity .22s ease,
              transform .18s ease;
}

.contact-pill:hover,
.contact-pill:focus-visible {
  width: 150px;
  padding: 0 20px;
  justify-content: flex-start;
  gap: 9px;
  box-shadow: 0 10px 32px rgba(41, 139, 240, .48), 0 2px 8px rgba(0,0,0,.14);
  outline: none;
}

.contact-pill:active {
  opacity: .88;
  transform: scale(.97);
}

.contact-pill svg {
  flex-shrink: 0;
}

.contact-pill-label {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity .2s ease .1s, max-width .3s ease;
  pointer-events: none;
}

.contact-pill:hover .contact-pill-label,
.contact-pill:focus-visible .contact-pill-label {
  opacity: 1;
  max-width: 120px;
}

/* Entry animation */
@keyframes pillEntrance {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.88);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-pill {
  animation: pillEntrance .5s cubic-bezier(.34,1.56,.64,1) .6s both;
}

/* Subtle pulse ring */
.contact-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  animation: pillPulse 3.2s ease-out 1.8s infinite;
  pointer-events: none;
}

@keyframes pillPulse {
  0%   { box-shadow: 0 0 0 0 rgba(41, 139, 240, .45); }
  65%  { box-shadow: 0 0 0 14px rgba(41, 139, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(41, 139, 240, 0); }
}

@media (max-width: 600px) {
  .contact-pill {
    bottom: 20px;
    right: 20px;
    height: 50px;
    width: 50px;
    padding: 0 14px;
  }
  .contact-pill:hover,
  .contact-pill:focus-visible {
    width: 140px;
    padding: 0 16px;
  }
}
