/* ============================================
   VEXO — Your business, always on.
   ============================================ */

:root {
  --bg:        #0A0A0A;
  --bg-alt:    #0F0F0F;
  --surface:   #141414;
  --surface-2: #1A1A1A;
  --line:      #232323;
  --line-2:    #2A2A2A;
  --text:      #FAFAFA;
  --text-dim:  #888888;
  --text-dim2: #5A5A5A;
  --accent:    #00FF88;
  --accent-soft: rgba(0, 255, 136, 0.12);

  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  --radius:    14px;
  --radius-lg: 22px;

  --max:  1240px;
  --max-narrow: 880px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow { max-width: var(--max-narrow); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: all .25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--accent);
  color: #0A0A0A;
}
.btn--primary:hover {
  background: #1aff97;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(0,255,136,.5);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--text);
  background: rgba(255,255,255,.04);
}
.btn--lg { padding: 16px 26px; font-size: 15px; }
.btn--block { width: 100%; }

/* ===== Logo ===== */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--text);
}
.logo__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
.logo--lg { font-size: 28px; }
.logo--lg .logo__dot { width: 10px; height: 10px; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(10,10,10,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  margin-right: 24px;
}
.nav__link {
  font-size: 14px;
  font-weight: 450;
  color: var(--text-dim);
  transition: color .2s var(--ease);
  position: relative;
}
.nav__link:hover { color: var(--text); }
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .25s var(--ease);
}
.nav__link:hover::after { width: 100%; }

.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all .3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,255,136,.08), transparent 60%);
  pointer-events: none;
  filter: blur(40px);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero__copy { max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 7.5vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
}
.hero__title-accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
.hero__sub {
  font-size: 19px;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: 40px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 450;
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.trust__icon {
  font-size: 14px;
  filter: grayscale(.25);
  opacity: .85;
}

/* Chat preview */
.chat {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.6),
    0 0 0 1px rgba(0,255,136,.05),
    0 0 60px -20px rgba(0,255,136,.15);
  margin-left: auto;
  transform: rotate(.5deg);
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}
.chat__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,255,136,.1);
  border: 1px solid rgba(0,255,136,.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}
.chat__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-dim);
}
.chat__online {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
.chat__body {
  padding: 22px 20px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bubble {
  max-width: 78%;
  padding: 11px 15px;
  font-size: 13.5px;
  line-height: 1.45;
  border-radius: 16px;
  opacity: 0;
  transform: translateY(8px);
  animation: bubbleIn .4s var(--ease) forwards;
}
.bubble--user {
  align-self: flex-end;
  background: var(--accent);
  color: #0A0A0A;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}
.bubble--bot {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.bubble--typing {
  display: flex;
  gap: 4px;
  padding: 14px 16px;
}
.bubble--typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typingDot 1.2s infinite;
}
.bubble--typing span:nth-child(2) { animation-delay: .2s; }
.bubble--typing span:nth-child(3) { animation-delay: .4s; }

@keyframes bubbleIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes typingDot {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.chat__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-dim2);
}
.chat__send {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Marquee */
.marquee {
  position: relative;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 45s linear infinite;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}
.marquee__track span:nth-child(odd) { color: var(--text); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Sections ===== */
.section {
  padding: 140px 0;
  position: relative;
}
.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head {
  margin-bottom: 70px;
  max-width: 720px;
}
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 24px;
}
.section__label span {
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid rgba(0,255,136,.3);
  border-radius: 6px;
  background: var(--accent-soft);
}
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.section__sub {
  font-size: 18px;
  color: var(--text-dim);
  margin-top: 22px;
  max-width: 560px;
}
.strike {
  position: relative;
  display: inline-block;
}
.strike::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  top: 55%;
  height: 6px;
  background: var(--accent);
  transform: rotate(-2deg);
  z-index: -1;
  border-radius: 4px;
  opacity: .85;
}

/* ===== Cards (problem) ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0,255,136,.05), transparent 60%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}
.card:hover::before { opacity: 1; }
.card__num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 28px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}

/* ===== Services ===== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px 36px;
  transition: all .35s var(--ease);
  position: relative;
}
.service:hover {
  border-color: rgba(0,255,136,.3);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0,255,136,.2);
}
.service--featured {
  background: linear-gradient(180deg, rgba(0,255,136,.04), var(--surface));
  border-color: rgba(0,255,136,.18);
}
.service__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(0,255,136,.25);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.service__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}
.service__tag {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-dim2);
  letter-spacing: 0.05em;
}
.service h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.service__lede {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-bottom: 24px;
  font-style: italic;
}
.service__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px dashed var(--line-2);
  padding-top: 22px;
}
.service__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}
.service__list li::before {
  content: '';
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.steps__line {
  position: absolute;
  top: 64px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
  z-index: 0;
}
.step {
  position: relative;
  background: var(--bg-alt);
  padding: 38px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  z-index: 1;
}
.step__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(0,255,136,.25);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.step__num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim2);
  letter-spacing: 0.18em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.step p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}

/* ===== Industries ===== */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.industry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all .3s var(--ease);
  position: relative;
}
.industry__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex: 0 0 44px;
  transition: all .3s var(--ease);
}
.industry__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  flex: 1;
}
.industry__cta {
  font-size: 12px;
  color: var(--text-dim2);
  font-family: var(--font-display);
  opacity: 0;
  transform: translateX(-6px);
  transition: all .3s var(--ease);
}
.industry:hover {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface));
}
.industry:hover .industry__icon {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.industry:hover .industry__cta {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}
.industries__cta {
  margin-top: 44px;
  text-align: center;
  font-size: 15px;
  color: var(--text-dim);
}
.industries__cta a {
  color: var(--accent);
  font-weight: 500;
  margin-left: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.industries__cta a:hover {
  border-bottom-color: var(--accent);
}

/* ===== Pricing ===== */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  position: relative;
  transition: all .35s var(--ease);
}
.plan:hover { transform: translateY(-4px); }
.plan--featured {
  background: linear-gradient(180deg, rgba(0,255,136,.06), var(--surface));
  border-color: var(--accent);
  box-shadow: 0 30px 80px -30px rgba(0,255,136,.3);
}
.plan__badge {
  position: absolute;
  top: -12px;
  right: 28px;
  background: var(--accent);
  color: #0A0A0A;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
}
.plan__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.plan__price {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 14px;
}
.plan__currency {
  font-size: 28px;
  vertical-align: top;
  margin-right: 4px;
  color: var(--text-dim);
}
.plan__per {
  font-size: 16px;
  color: var(--text-dim);
  font-weight: 400;
  margin-left: 6px;
}
.plan__desc {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.55;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-2);
}
.plan__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #0A0A0A;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 18px;
  margin-top: 3px;
}
.pricing__notes {
  text-align: center;
  margin-top: 50px;
  color: var(--text-dim);
  font-size: 14px;
}
.pricing__notes p { margin: 4px 0; }
.pricing__notes strong { color: var(--text); }
.pricing__note-sub { font-size: 13px; color: var(--text-dim2); }

/* ===== FAQ ===== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s var(--ease);
}
.faq__item:hover { border-color: var(--line-2); }
.faq__item[open] { border-color: rgba(0,255,136,.3); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  transition: transform .3s var(--ease);
}
.faq__icon::before {
  top: 50%; left: 0;
  width: 100%; height: 1.5px;
  transform: translateY(-50%);
}
.faq__icon::after {
  left: 50%; top: 0;
  width: 1.5px; height: 100%;
  transform: translateX(-50%);
}
.faq__item[open] .faq__icon::after { transform: translateX(-50%) rotate(90deg); }
.faq__item p {
  padding: 0 28px 26px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== Form ===== */
.section--contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field[hidden] { display: none; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: -0.005em;
}
.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all .25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; font-family: var(--font-body); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0,255,136,.03);
}
.field input.error,
.field select.error,
.field textarea.error {
  border-color: #ff4444;
}
.field select.flash {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,255,136,.12);
  animation: flashPulse 1.4s var(--ease);
}
@keyframes flashPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,255,136,.35); }
  60%  { box-shadow: 0 0 0 8px rgba(0,255,136,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,255,136,0); }
}
.select-wrap {
  position: relative;
}
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
}
.select-wrap svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-dim);
}
.radio-row { display: flex; gap: 14px; }
.radio {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
  font-size: 14px;
  transition: all .25s var(--ease);
}
.radio input { display: none; }
.radio:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.form__note {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim2);
  margin-top: 4px;
}
.form__success {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 60px 44px;
  text-align: center;
  box-shadow: 0 30px 80px -30px rgba(0,255,136,.3);
}
.form__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: bounce .6s var(--ease);
}
.form__success h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.form__success p {
  color: var(--text-dim);
  font-size: 16px;
}
.form__success-cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px !important;
}
.form__success-cta a {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.form__success-cta a:hover { border-bottom-color: var(--accent); }
@keyframes bounce {
  0% { transform: scale(.4); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 70px 0 28px;
  background: var(--bg);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.footer__tag {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 14px;
  max-width: 280px;
}
.footer__sub {
  margin-top: 8px;
  color: var(--text-dim2);
  font-size: 12px;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .2s var(--ease);
  width: fit-content;
}
.footer__links a:hover { color: var(--accent); }
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.footer__contact a {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
}
.footer__contact a:hover { color: var(--accent); }
.footer__contact span { color: var(--text-dim); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: var(--text-dim2);
}
.footer__heart {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .chat { margin: 0 auto; }
  .problem-grid, .services, .steps { grid-template-columns: 1fr; }
  .steps__line { display: none; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .header__cta { display: none; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    width: 84%;
    max-width: 340px;
    height: 100vh;
    background: var(--bg-alt);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 110px 32px 32px;
    margin: 0;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }
  .nav.open { transform: translateX(0); }
  .nav__link {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--text);
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .hamburger { display: flex; z-index: 102; }
  .hero { padding: 130px 0 60px; min-height: auto; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .trust { gap: 18px; font-size: 12px; }
  .section { padding: 90px 0; }
  .section__head { margin-bottom: 50px; }
  .pricing { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 28px 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===== Chatbot widget ===== */
.bot-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 200;
  box-shadow:
    0 14px 40px -10px rgba(0, 255, 136, .55),
    0 0 0 1px rgba(0, 255, 136, .3);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.bot-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 18px 50px -10px rgba(0, 255, 136, .7),
    0 0 0 1px rgba(0, 255, 136, .4);
}
.bot-fab.hidden { transform: scale(0); opacity: 0; pointer-events: none; }
.bot-fab__pulse {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse {
  0%   { transform: scale(.95); opacity: .8; }
  80%  { transform: scale(1.4);  opacity: 0; }
  100% { transform: scale(1.4);  opacity: 0; }
}

.bot {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: min(400px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 60px));
  background: #0F0F0F;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 201;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.7),
    0 0 0 1px rgba(0, 255, 136, .08),
    0 0 80px -20px rgba(0, 255, 136, .25);
  transform-origin: bottom right;
  animation: botOpen .35s var(--ease);
}
.bot[hidden] { display: none; }
@keyframes botOpen {
  from { transform: scale(.85) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.bot__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0,255,136,.04), transparent);
  flex: 0 0 auto;
}
.bot__brand { display: flex; align-items: center; gap: 12px; }
.bot__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,255,136,.08);
  border: 1px solid rgba(0,255,136,.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bot__avatar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
.bot__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bot__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-dim);
}
.bot__online {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.bot__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all .25s var(--ease);
}
.bot__close:hover { background: var(--surface-2); color: var(--text); }

.bot__meta {
  padding: 10px 20px;
  font-size: 11px;
  color: var(--text-dim2);
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.01);
  flex: 0 0 auto;
}

.bot__body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.bot__body::-webkit-scrollbar { width: 6px; }
.bot__body::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

.bot-msg {
  max-width: 84%;
  padding: 11px 15px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 16px;
  white-space: pre-wrap;
  word-wrap: break-word;
  animation: msgIn .35s var(--ease);
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bot-msg--bot {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.bot-msg--user {
  align-self: flex-end;
  background: var(--accent);
  color: #0A0A0A;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}
.bot-msg--typing {
  display: flex;
  gap: 4px;
  padding: 14px 16px;
}
.bot-msg--typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typingDot 1.2s infinite;
}
.bot-msg--typing span:nth-child(2) { animation-delay: .2s; }
.bot-msg--typing span:nth-child(3) { animation-delay: .4s; }
.bot-msg--error {
  align-self: center;
  background: rgba(255, 80, 80, .08);
  border: 1px solid rgba(255, 80, 80, .3);
  color: #ff6b6b;
  font-size: 12.5px;
  text-align: center;
  max-width: 92%;
}

.bot-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  align-self: flex-start;
  max-width: 92%;
  animation: msgIn .35s var(--ease);
}
.bot-reply {
  padding: 9px 14px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
  background: transparent;
  border: 1px solid rgba(0, 255, 136, .35);
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.bot-reply:hover {
  background: rgba(0, 255, 136, .1);
  border-color: var(--accent);
}

.bot__input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.01);
  flex: 0 0 auto;
}
.bot__input input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .2s var(--ease);
}
.bot__input input:focus { border-color: var(--accent); }
.bot__input input::placeholder { color: var(--text-dim2); }
.bot__send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s var(--ease);
  flex: 0 0 38px;
}
.bot__send:hover { transform: scale(1.08); }
.bot__send:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 720px) {
  .bot-fab { bottom: 18px; right: 18px; width: 54px; height: 54px; }
  .bot {
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    max-width: 100%;
  }
}

