:root {
  --bg: #030712;
  --panel: rgba(15, 23, 42, 0.6);
  --text: #f3f4f6;
  --muted: #9ca3af;
  --brand: #2aabee;
  --brand2: #7c3aed;
  --stroke: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --font-main: 'Inter', sans-serif;
  --font-head: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

html, body {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--bg);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 20%, rgba(42, 171, 238, 0.1), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.08), transparent 40%),
    linear-gradient(180deg, #050816 0%, #030712 100%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; transition: 0.2s ease; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(3, 7, 18, 0.8);
  border-bottom: 1px solid var(--stroke);
}
.navInner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.dot {
  width: 12px; height: 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
}

.navLinks {
  display: flex;
  gap: 32px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.navLinks a {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s ease;
}
.navLinks a:hover { color: var(--brand); }
.navLinks i { font-size: 13px; opacity: 0.8; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--stroke);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text); font-weight: 700; font-size: 14px;
  cursor: pointer; transition: 0.2s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--brand); }
.btn.primary {
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 25px rgba(42, 171, 238, 0.2);
}

/* Hero */
.hero {
  padding: 100px 0 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 10%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(42, 171, 238, 0.15) 0%, transparent 70%);
  z-index: -1;
  filter: blur(50px);
}

.gridHero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand);
  background: rgba(42, 171, 238, 0.08);
  padding: 6px 16px; border-radius: 999px;
  font-weight: 700; font-size: 13px;
  border: 1px solid rgba(42, 171, 238, 0.2);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h1 {
  margin: 0 0 20px;
  font-family: var(--font-head);
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

h1 span.gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.5s ease;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 35px;
  max-width: 540px;
}

/* Hero image card */
.heroCard {
  background: none;
  border: 2px solid var(--brand);
  padding: 15px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  box-shadow: 0 0 20px rgba(42, 171, 238, 0.2);
  animation: floatHero 6s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
}

.heroCard::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid var(--brand2);
  border-radius: 28px;
  clip-path: polygon(0 0, 20% 0, 0 20%, 80% 0, 100% 0, 100% 20%, 100% 80%, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0 80%);
  opacity: 0.6;
}

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

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(42, 171, 238, 0.3); border-color: var(--brand); }
  50% { box-shadow: 0 0 35px rgba(124, 58, 237, 0.5); border-color: var(--brand2); }
}

.heroCard .img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  pointer-events: none;
  user-select: none;
}

/* Glowing cap */
.cap {
  position: absolute;
  left: 15%; right: 15%; bottom: -5px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand2), transparent);
  border-radius: 99px;
  box-shadow: 0 0 15px var(--brand);
  animation: blinker 2s linear infinite;
}

@keyframes blinker {
  50% { opacity: 0.3; transform: scaleX(0.8); }
}

/* Section */
.section {
  padding: 60px 0;
  scroll-margin-top: 100px;
}
.sectionHead h2 { font-family: var(--font-head); font-size: 32px; margin: 0 0 12px; }
.sectionHead p { color: var(--muted); margin-bottom: 32px; max-width: 650px; line-height: 1.6; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--stroke);
  border-radius: var(--radius); overflow: hidden; transition: 0.3s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
.thumb { height: 200px; position: relative; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(7, 11, 23, 0.8); padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 800; border: 1px solid var(--stroke); color: #fff;
}
.cardBody { padding: 20px; flex-grow: 1; }
.cardBody h3 { font-family: var(--font-head); font-size: 18px; margin: 0 0 10px; line-height: 1.4; }
.cardBody p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* Pain & Solutions */
.split-pain { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pain-box {
  border-radius: var(--radius); padding: 30px;
  background: rgba(15, 23, 42, 0.4);
}
.pain-box.problem { border: 1px dashed rgba(248, 113, 113, 0.3); }
.pain-box.solution { border: 1px solid rgba(52, 211, 153, 0.3); }

.pain-box h3 { font-family: var(--font-head); font-size: 22px; margin: 0 0 20px; display: flex; align-items: center; gap: 12px; }
.problem h3 { color: #f87171; }
.solution h3 { color: #34d399; }

.bullets { list-style: none; padding: 0; margin: 0; }
.bullets li { position: relative; padding-left: 32px; margin-bottom: 16px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.bullets li i { position: absolute; left: 0; top: 4px; font-size: 16px; }
.problem .bullets li i { color: #f87171; }
.solution .bullets li i { color: #34d399; }

/* Other Services */
.other-bots-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.bot-item-card {
  background: rgba(15, 23, 42, 0.4);
  border-left: 4px solid var(--brand);
  border-radius: 12px; padding: 20px; margin-bottom: 16px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: 0.2s;
}
.bot-item-card:hover { background: rgba(15, 23, 42, 0.6); transform: translateX(5px); }
.bot-item-card i { color: var(--brand); font-size: 22px; margin-top: 4px; width: 24px; text-align: center; }
.bot-item-card h4 { font-family: var(--font-head); font-size: 17px; margin: 0 0 6px; color: var(--brand); }
.bot-item-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Process */
.process-column h3 { font-family: var(--font-head); font-size: 22px; margin: 0 0 24px; display: flex; align-items: center; gap: 12px; }
.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; font-size: 15px; font-weight: 500; }
.step-num {
  min-width: 32px; height: 32px; background: var(--brand); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
}

/* Pills */
.pillRow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(15, 23, 42, 0.5); border: 1px solid var(--stroke);
  font-size: 13px; font-weight: 600; color: var(--muted);
  transition: 0.3s;
}
.pill:hover { background: rgba(42, 171, 238, 0.05); border-color: rgba(42, 171, 238, 0.3); transform: translateY(-2px); }
.pill i { color: var(--brand); }

/* CTA Box */
.ctaBox {
  background: linear-gradient(135deg, rgba(42, 171, 238, 0.12), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(42, 171, 238, 0.2); border-radius: 24px;
  padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  margin-top: 40px;
}
.ctaBox .left { flex: 1; }
.ctaBox .left strong { display: block; font-size: 20px; font-family: var(--font-head); margin-bottom: 8px; }
.ctaBox .left span { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Footer & Toast */
.footer { padding: 60px 0; border-top: 1px solid var(--stroke); color: var(--muted); font-size: 14px; }
.footerRow { display: flex; justify-content: space-between; align-items: center; }

.toast {
  position: fixed; bottom: 30px; right: 30px; background: #1e293b;
  border: 1px solid var(--brand); border-radius: 12px; padding: 14px 24px;
  color: white; font-weight: 600; transform: translateY(100px); opacity: 0;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.show { display: flex; }
.lightboxPanel { position: relative; max-width: 1100px; width: 100%; }
.lbClose {
  position: absolute; top: -50px; right: 0; background: none; border: none;
  color: white; font-size: 32px; cursor: pointer; opacity: 0.7; transition: 0.2s;
}
.lbClose:hover { opacity: 1; }
.lightboxImg { width: 100%; border-radius: 12px; border: 1px solid var(--stroke); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }

@media (max-width: 900px) {
  .gridHero { grid-template-columns: 1fr; gap: 40px; }
  .cards, .split-pain, .other-bots-grid, .ctaBox { grid-template-columns: 1fr; }
  .navLinks { display: none; }
  h1 { font-size: 40px; }
  .section { padding: 40px 0; }
  .ctaBox { flex-direction: column; text-align: center; }
}
