/* ===== BotSprint landing ===== */

:root {
  --bg: #080b11;
  --bg-alt: #0a0e15;
  --bg-footer: #070a0f;
  --text: #e8edf4;
  --accent: #2ec5f6;
  --accent-dark: #04121b;
  --muted-1: #c2cbd8;
  --muted-2: #9aa6b8;
  --muted-3: #8a96a8;
  --muted-4: #7c8799;
  --muted-5: #6b7688;
  --border: rgba(255, 255, 255, 0.08);
  --maxw: 1200px;
  --font-head: 'Unbounded', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
::selection { background: rgba(46, 197, 246, 0.3); color: #fff; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; }
input, textarea { font-family: inherit; }
button { font-family: inherit; }

/* ---- keyframes ---- */
@keyframes bsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes bsPulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.06); } }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .bs-robot, .bs-glow, .hero-dot, .bs-pulse { animation: none !important; }
}

/* ---- layout helpers ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; }
.section { padding: 104px 24px; }
.section-head { margin-bottom: 54px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.h2 {
  font-family: var(--font-head); font-weight: 700; font-size: 42px;
  letter-spacing: -0.02em; line-height: 1.1;
}
.accent { color: var(--accent); text-shadow: 0 0 38px rgba(46, 197, 246, 0.45); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(8, 11, 17, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 38px; width: auto; }
.nav {
  display: flex; align-items: center; gap: 32px;
  font-size: 15px; font-weight: 600; color: var(--muted-2);
}
.nav a { transition: color .2s; }
.nav a:hover { color: var(--text); }

.btn-tg {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-dark);
  font-weight: 700; font-size: 15px; padding: 10px 20px; border-radius: 11px;
  box-shadow: 0 0 24px rgba(46, 197, 246, 0.35);
  transition: transform .15s, box-shadow .2s;
}
.btn-tg:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(46, 197, 246, 0.55); }
.btn-tg svg { flex-shrink: 0; }

.nav-toggle {
  display: none; background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px;
  width: 42px; height: 42px; cursor: pointer; color: var(--text);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* mobile menu drawer */
.mobile-menu { display: none; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 75%);
}
.hero-blob {
  position: absolute; top: -160px; right: -80px; width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(46, 197, 246, 0.22), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.hero-inner {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: 96px 24px 104px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  background: rgba(46, 197, 246, 0.08); border: 1px solid rgba(46, 197, 246, 0.25);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 28px;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent); animation: bsPulse 2s ease-in-out infinite;
}
.h1 {
  font-family: var(--font-head); font-weight: 800; font-size: 64px;
  line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 24px;
}
.hero-p {
  font-size: 19px; line-height: 1.6; color: var(--muted-2);
  max-width: 520px; margin-bottom: 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: var(--accent-dark);
  font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: 13px;
  box-shadow: 0 0 30px rgba(46, 197, 246, 0.4);
  transition: transform .15s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(46, 197, 246, 0.6); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px; color: var(--text);
  font-weight: 600; font-size: 16px; padding: 15px 26px; border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.02);
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: rgba(46, 197, 246, 0.5); background: rgba(46, 197, 246, 0.06); }

.stats { display: flex; gap: 38px; flex-wrap: wrap; }
.stat-value { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--text); line-height: 1; }
.stat-label { font-size: 13.5px; color: var(--muted-4); margin-top: 7px; max-width: 140px; }

.hero-art { position: relative; display: flex; align-items: center; justify-content: center; transform: translateY(-48px); }
.bs-glow {
  position: absolute; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(46, 197, 246, 0.32), transparent 60%);
  filter: blur(28px); animation: bsPulse 4s ease-in-out infinite;
}
.bs-robot {
  position: relative; width: 340px; height: 340px;
  animation: bsFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 26px 52px rgba(0, 0, 0, 0.55));
}

/* ===== Services ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border); border-radius: 20px; padding: 32px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(46, 197, 246, 0.45); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.card-icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; border-radius: 15px; background: rgba(46, 197, 246, 0.1);
  border: 1px solid rgba(46, 197, 246, 0.28); box-shadow: 0 0 26px rgba(46, 197, 246, 0.18);
  margin-bottom: 22px;
}
.card-title { font-family: var(--font-head); font-weight: 600; font-size: 21px; margin-bottom: 14px; }
.card-desc { font-size: 15px; line-height: 1.62; color: var(--muted-2); margin-bottom: 24px; }
.card-price {
  display: flex; align-items: baseline; gap: 8px;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.card-price .from { font-size: 13px; color: var(--muted-4); }
.card-price .num { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--accent); }
.card-price .cur { font-size: 14px; color: var(--muted-4); }

.note {
  margin-top: 22px; display: flex; align-items: center; gap: 16px;
  background: linear-gradient(90deg, rgba(46, 197, 246, 0.07), rgba(46, 197, 246, 0.01));
  border: 1px solid rgba(46, 197, 246, 0.18); border-radius: 18px; padding: 22px 28px;
}
.note span { font-size: 24px; }
.note p { font-size: 15.5px; line-height: 1.55; color: var(--muted-1); }
.note b { color: #fff; }

/* ===== Process ===== */
.band { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05); background: var(--bg-alt); }
.band-top-only { border-bottom: none; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step {
  position: relative; padding: 26px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.07);
}
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 18px; }
.step h3 { font-family: var(--font-head); font-weight: 600; font-size: 17px; margin-bottom: 10px; }
.step p { font-size: 13.5px; line-height: 1.55; color: var(--muted-3); }

/* ===== Pricing ===== */
.grid-3p { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan {
  position: relative; background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 22px; padding: 34px 30px;
}
.plan.featured {
  background: linear-gradient(180deg, rgba(46, 197, 246, 0.1), rgba(46, 197, 246, 0.02));
  border: 1px solid rgba(46, 197, 246, 0.45); box-shadow: 0 24px 60px rgba(46, 197, 246, 0.14);
}
.plan-badge {
  position: absolute; top: -12px; left: 30px; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark);
  background: var(--accent); padding: 5px 12px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 0 22px rgba(46, 197, 246, 0.5);
}
.plan h3 { font-family: var(--font-head); font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.plan-tagline { font-size: 13.5px; color: var(--muted-3); margin-bottom: 24px; min-height: 38px; line-height: 1.5; }
.plan-price {
  display: flex; align-items: baseline; gap: 7px; margin-bottom: 26px;
  padding-bottom: 26px; border-bottom: 1px solid var(--border);
}
.plan-price .from { font-size: 14px; color: var(--muted-4); }
.plan-price .num { font-family: var(--font-head); font-weight: 800; font-size: 38px; color: #fff; }
.plan-price .cur { font-size: 16px; color: var(--muted-4); }
.plan-features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; }
.feature { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--muted-1); line-height: 1.45; }
.feature .check { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.plan-cta {
  display: block; text-align: center; font-weight: 700; font-size: 15px;
  padding: 14px; border-radius: 12px; transition: transform .15s, box-shadow .2s;
  background: transparent; color: var(--text); border: 1px solid rgba(46, 197, 246, 0.4);
}
.plan-cta:hover { transform: translateY(-2px); }
.plan.featured .plan-cta {
  background: var(--accent); color: var(--accent-dark); border: none;
  box-shadow: 0 0 28px rgba(46, 197, 246, 0.45);
}
.pricing-foot { margin-top: 22px; text-align: center; font-size: 14.5px; color: var(--muted-3); }

/* ===== FAQ ===== */
.faq-wrap { max-width: 840px; margin: 0 auto; padding: 104px 24px; }
.faq-head { margin-bottom: 48px; text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 15px; background: rgba(255, 255, 255, 0.02); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; background: transparent; border: none; cursor: pointer; text-align: left;
  color: var(--text); font-size: 17px; font-weight: 600;
}
.faq-icon { flex-shrink: 0; color: var(--accent); font-size: 22px; transition: transform .2s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 24px; font-size: 15.5px; line-height: 1.65; color: var(--muted-2); }

/* ===== Contact ===== */
.contact { position: relative; overflow: hidden; }
.contact-blob {
  position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 760px; height: 520px;
  background: radial-gradient(circle, rgba(46, 197, 246, 0.18), transparent 65%);
  filter: blur(30px); pointer-events: none;
}
.contact-inner {
  position: relative; max-width: 1100px; margin: 0 auto; padding: 104px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.h2-lg { font-family: var(--font-head); font-weight: 800; font-size: 46px; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 22px; }
.contact-p { font-size: 17px; line-height: 1.6; color: var(--muted-2); max-width: 440px; margin-bottom: 34px; }
.btn-lg {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-dark);
  font-weight: 700; font-size: 17px; padding: 16px 32px; border-radius: 14px;
  box-shadow: 0 0 36px rgba(46, 197, 246, 0.45); transition: transform .15s, box-shadow .2s;
}
.btn-lg:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(46, 197, 246, 0.65); }

.form-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 22px; padding: 34px;
}
.form-title { font-weight: 700; font-size: 18px; margin-bottom: 22px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form input, .form textarea {
  background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px; padding: 14px 16px; color: var(--text); font-size: 15px;
  outline: none; transition: border-color .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { border-color: rgba(46, 197, 246, 0.6); }
.form button {
  background: var(--accent); color: var(--accent-dark); font-weight: 700; font-size: 16px;
  padding: 15px; border: none; border-radius: 12px; cursor: pointer;
  box-shadow: 0 0 26px rgba(46, 197, 246, 0.35); transition: transform .15s;
}
.form button:hover { transform: translateY(-2px); }
.form-note { font-size: 12px; color: var(--muted-5); text-align: center; }
.form-status { font-size: 14px; color: var(--accent); text-align: center; min-height: 18px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.07); background: var(--bg-footer); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 48px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { display: flex; align-items: center; gap: 11px; }
.footer-logo img { height: 36px; width: auto; }
.footer-logo span { font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.footer-tagline { font-size: 13.5px; color: var(--muted-5); }
.footer-links { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--muted-3); font-weight: 600; }
.footer-links a { transition: color .2s; }
.footer-links a:not(.footer-tg):hover { color: var(--text); }
.footer-tg { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }

/* ===== Responsive ===== */

/* ---- Tablet / small laptop ---- */
@media (max-width: 1024px) {
  .header-inner { gap: 16px; }
  .nav { gap: 22px; }

  .hero-inner { padding: 72px 24px 84px; gap: 36px; }
  .h1 { font-size: 52px; }
  .hero-p { font-size: 18px; }

  .section { padding: 84px 24px; }
  .grid-3, .grid-3p { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .h2 { font-size: 36px; }
  .h2-lg { font-size: 40px; }
}

/* ---- Collapse nav to hamburger (raised for 6 nav links) ---- */
@media (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { padding: 12px 18px; }

  .mobile-menu {
    display: none; position: fixed; inset: 0; z-index: 60;
    background: rgba(8, 11, 17, 0.97); backdrop-filter: blur(8px);
    flex-direction: column; padding: 90px 28px 40px;
    overflow-y: auto;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-size: 22px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); color: var(--text); }
  .mobile-menu .btn-tg { margin-top: 24px; justify-content: center; font-size: 17px; padding: 15px; }
  .mobile-close {
    position: absolute; top: 18px; right: 18px; width: 42px; height: 42px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px; color: var(--text); cursor: pointer; font-size: 26px; line-height: 1;
  }
}

/* ---- Large phone / portrait tablet ---- */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 20px 60px; gap: 24px; text-align: center; }
  .hero-art { transform: none; order: -1; }
  .h1 { font-size: 40px; }
  .hero-badge, .hero-cta, .stats { justify-content: center; }
  .hero-p { margin-left: auto; margin-right: auto; }
  .stats { gap: 24px; }
  .bs-robot { width: 220px; height: 220px; }
  .bs-glow { width: 230px; height: 230px; }

  .section { padding: 64px 20px; }
  .faq-wrap { padding: 64px 20px; }
  .contact-inner { padding: 64px 20px; grid-template-columns: 1fr; gap: 40px; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .h2 { font-size: 30px; }
  .h2-lg { font-size: 34px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
}

/* ---- Phone ---- */
@media (max-width: 600px) {
  .header .btn-tg { display: none; }
  .header-inner { gap: 12px; }

  .grid-3, .grid-3p { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .h1 { font-size: 34px; }
  .hero-p { font-size: 16px; }
  .stats { gap: 20px; }
  .section { padding: 56px 18px; }
  .faq-wrap { padding: 56px 18px; }
  .contact-inner { padding: 56px 18px; }
  .faq-q { font-size: 15.5px; padding: 18px 18px; }
}

@media (max-width: 480px) {
  .h1 { font-size: 30px; }
  .h2 { font-size: 26px; }
  .h2-lg { font-size: 29px; }
  .grid-5 { grid-template-columns: 1fr; }
  .hero-cta a { width: 100%; justify-content: center; }
  .stats { flex-direction: column; gap: 18px; }
  .stat-label { max-width: none; }
  .footer-links { flex-wrap: wrap; gap: 18px; }
}
