:root {
  --bg: #0a0a0f;
  --bg-soft: #11111a;
  --panel: rgba(18, 20, 31, 0.72);
  --panel-strong: rgba(16, 18, 28, 0.94);
  --text: #f5f7ff;
  --muted: #98a3c0;
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #00d4ff;
  --cyan-soft: rgba(0, 212, 255, 0.18);
  --purple: #7c5cff;
  --purple-soft: rgba(124, 92, 255, 0.18);
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
  --container: min(1180px, calc(100vw - 32px));
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(circle at top, rgba(124, 92, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #090a0f 0%, #0a0a0f 45%, #08090d 100%);
  color: var(--text);
  overflow-x: hidden;
}
body::selection { background: var(--cyan); color: #031118; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.page-noise {
  position: fixed; inset: 0; pointer-events: none; opacity: 0.07;
  background-image: radial-gradient(rgba(255,255,255,0.4) 0.6px, transparent 0.6px);
  background-size: 6px 6px;
  mask-image: linear-gradient(180deg, transparent, black 20%, black 80%, transparent);
}

.container { width: var(--container); margin: 0 auto; }
.section { position: relative; padding: 108px 0; }
.section-sm { padding: 32px 0 16px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; color: var(--cyan); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan));
}
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.02; margin: 0; max-width: 760px; }
.section-head p { color: var(--muted); max-width: 420px; margin: 0; font-size: 1.05rem; }

.site-header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(10,10,15,0.84), rgba(10,10,15,0.36)); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark {
  width: 14px; height: 14px; border-radius: 999px; background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 30px var(--cyan-soft);
}
.site-nav { display: none; gap: 24px; color: var(--muted); }
.site-nav a:hover, .footer-links a:hover { color: var(--text); }
.nav-cta { color: var(--text); padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); }

.hero { min-height: 100svh; display: flex; align-items: center; overflow: clip; padding-top: 72px; }
.hero-inner { position: relative; z-index: 2; display: grid; gap: 36px; align-items: center; }
.hero-copy { max-width: 720px; }
.hero-title { font-size: clamp(3rem, 9vw, 7rem); line-height: 0.95; margin: 0 0 18px; min-height: 1.1em; }
.hero-subtitle, .hero-body { color: var(--muted); max-width: 620px; }
.hero-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin: 0 0 14px; }
.hero-body { font-size: 1.02rem; margin: 0; }
.cursor { display: inline-block; width: 0.08em; height: 0.95em; background: var(--cyan); animation: blink 0.9s step-end infinite; vertical-align: -0.08em; }
@keyframes blink { 50% { opacity: 0; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 18px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, rgba(0,212,255,0.18), rgba(124,92,255,0.32));
  border-color: rgba(0,212,255,0.35); box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 0 40px rgba(0, 212, 255, 0.18);
  animation: pulseGlow 2.2s ease-in-out infinite;
}
.button-secondary { background: rgba(255,255,255,0.04); }
@keyframes pulseGlow { 50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 0 60px rgba(0, 212, 255, 0.28); } }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px; color: #c7d1ea; font-size: 0.92rem; }
.hero-trust span { padding: 10px 12px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); }

.hero-gradient {
  position: absolute; inset: auto; border-radius: 999px; filter: blur(70px); opacity: 0.8; mix-blend-mode: screen;
}
.hero-gradient-a { width: 42vw; height: 42vw; left: -8vw; top: 10vh; background: radial-gradient(circle, rgba(0,212,255,0.42), transparent 65%); animation: floatA 11s ease-in-out infinite; }
.hero-gradient-b { width: 34vw; height: 34vw; right: -4vw; top: 18vh; background: radial-gradient(circle, rgba(124,92,255,0.45), transparent 68%); animation: floatB 13s ease-in-out infinite; }
.hero-grid {
  position: absolute; inset: 0; opacity: 0.22; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 90px 90px; mask-image: radial-gradient(circle at center, black 36%, transparent 100%);
}
@keyframes floatA { 50% { transform: translate3d(60px, 40px, 0) scale(1.08); } }
@keyframes floatB { 50% { transform: translate3d(-40px, -20px, 0) scale(0.94); } }

.glass-card {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow); border-radius: var(--radius); backdrop-filter: blur(24px);
}
.hero-panel { max-width: 540px; justify-self: end; }
.live-chat { padding: 18px; }
.panel-topbar { display: flex; align-items: center; justify-content: space-between; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.panel-dots { display: flex; gap: 8px; }
.panel-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.chat-thread { display: grid; gap: 12px; padding: 18px 0; }
.message {
  max-width: 84%; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
}
.message.user { justify-self: end; background: linear-gradient(135deg, rgba(0,212,255,0.16), rgba(124,92,255,0.12)); }
.message-role, .demo-bubble span { display: block; font-size: 0.74rem; color: #b2bdd8; margin-bottom: 6px; }
.message p, .demo-bubble p { margin: 0; line-height: 1.5; }
.task-stream { display: flex; flex-wrap: wrap; gap: 10px; }
.task-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 999px; background: rgba(255,255,255,0.04); color: #d8e3ff; font-size: 0.9rem; }
.task-pill span { width: 8px; height: 8px; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }

.founder-quote-band {
  padding-top: 0;
}
.founder-quote-shell {
  padding: 26px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(124,92,255,0.12));
  box-shadow: var(--shadow);
}
.founder-quote-shell p {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.2;
  max-width: 980px;
}
.logo-band-inner { display: grid; gap: 18px; padding: 26px 0 18px; border-top: 1px solid rgba(255,255,255,0.05); }
.logo-band p { color: var(--muted); margin: 0; }
.micro-proof { display: flex; flex-wrap: wrap; gap: 10px; }
.micro-proof span { padding: 10px 14px; border: 1px solid rgba(255,255,255,0.08); border-radius: 999px; color: #c4cee7; background: rgba(255,255,255,0.03); }

.demo-shell { display: grid; gap: 24px; align-items: center; }
.device { position: relative; }
.laptop .device-screen {
  padding: 18px; background: #090b13; border: 1px solid rgba(255,255,255,0.08); border-radius: 24px 24px 18px 18px;
  box-shadow: var(--shadow); overflow: hidden;
}
.device-base {
  width: 90%; height: 18px; margin: 0 auto; border-radius: 0 0 24px 24px; background: linear-gradient(180deg, #9aa3b4, #51596b 80%, #303546);
}
.demo-stage { min-height: 520px; background: linear-gradient(180deg, rgba(6,8,16,0.92), rgba(12,16,26,0.92)); border-radius: 18px; padding: 22px; }
.demo-appbar { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; color: #dde8ff; }
.telegram-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.demo-messages { display: grid; gap: 16px; }
.demo-bubble {
  max-width: 78%; opacity: 0.24; transform: translateY(24px) scale(0.98); transition: 0.5s ease;
  padding: 16px; border-radius: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06);
}
.demo-bubble.user { justify-self: end; background: linear-gradient(135deg, rgba(0,212,255,.16), rgba(124,92,255,.14)); }
.demo-bubble.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.phone { width: min(280px, 72vw); margin: 0 auto; padding: 12px; border-radius: 36px; background: linear-gradient(180deg, #1c2030, #080b12); border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow); }
.phone-notch { width: 42%; height: 26px; border-radius: 0 0 18px 18px; background: #000; margin: 0 auto 12px; }
.phone-screen { border-radius: 28px; background: linear-gradient(180deg, #0d1320, #0a0c15); padding: 18px; min-height: 500px; }
.phone-header { color: #dfe7fb; font-weight: 700; margin-bottom: 18px; }
.phone-chat { display: grid; gap: 14px; }
.phone-card { padding: 16px; border-radius: 18px; background: rgba(255,255,255,0.04); color: #becae6; border: 1px solid rgba(255,255,255,0.06); }
.phone-card.active { color: var(--text); background: linear-gradient(135deg, rgba(0,212,255,.16), rgba(124,92,255,.14)); }

.story-track { display: grid; gap: 28px; }
.story-panel {
  min-height: auto;
  display: block;
  position: relative;
}
.story-inner {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
}
.story-copy h3 { font-size: clamp(2rem, 5vw, 4.6rem); line-height: 0.98; margin: 0 0 16px; }
.story-copy p { color: var(--muted); max-width: 520px; font-size: 1.06rem; }
.story-step { display: inline-block; font-size: 0.9rem; color: var(--cyan); letter-spacing: 0.18em; margin-bottom: 18px; }
.story-visual { min-height: 280px; display: grid; place-items: center; }
.job-input-card, .deploy-diagram, .results-cloud {
  width: 100%; max-width: 520px; min-height: 300px; border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow);
}
.job-input-card { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.job-input-label { color: var(--muted); margin-bottom: 18px; }
.job-input-text { font-size: clamp(1.3rem, 3vw, 2.6rem); line-height: 1.15; max-width: 400px; }
.job-input-glow { position: absolute; width: 180px; height: 180px; right: -40px; bottom: -40px; background: radial-gradient(circle, rgba(0,212,255,0.24), transparent 68%); filter: blur(20px); }
.deploy-diagram { display: grid; place-items: center; gap: 16px; padding: 24px; }
.deploy-node { width: 160px; text-align: center; padding: 20px; border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.deploy-node.accent { background: linear-gradient(135deg, rgba(0,212,255,.18), rgba(124,92,255,.18)); box-shadow: 0 0 30px rgba(0,212,255,.18); }
.deploy-line { width: 2px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,0.08), var(--cyan)); }
.results-cloud { display: grid; place-items: center; padding: 30px; }
.results-cloud span {
  position: absolute; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); color: #e1e9fd;
}
.results-cloud span:nth-child(1) { top: 16%; left: 14%; }
.results-cloud span:nth-child(2) { top: 22%; right: 12%; }
.results-cloud span:nth-child(3) { bottom: 20%; left: 18%; }
.results-cloud span:nth-child(4) { top: 46%; left: 34%; }
.results-cloud span:nth-child(5) { bottom: 18%; right: 16%; }
.results-cloud span:nth-child(6) { top: 62%; right: 24%; }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card {
  padding: 28px; border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,0.08);
}
.stat-card strong { display: block; font-size: clamp(2.2rem, 7vw, 4.3rem); color: var(--cyan); margin-bottom: 8px; }
.stat-card span { color: var(--muted); }

.industries-grid { display: grid; gap: 18px; }
.industry-card { position: relative; min-height: 220px; perspective: 1000px; }
.industry-front, .industry-back {
  position: absolute; inset: 0; border-radius: 26px; padding: 24px; border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); backface-visibility: hidden; transition: transform .65s ease, opacity .65s ease;
}
.industry-front h3 { font-size: 1.35rem; margin: 0 0 12px; }
.industry-front p, .industry-back p { color: var(--muted); margin: 0; line-height: 1.6; }
.industry-back { transform: rotateY(180deg); display: grid; place-items: end start; }
.industry-card:hover .industry-front, .industry-card:focus-within .industry-front, .industry-card.is-active .industry-front { transform: rotateY(-180deg); }
.industry-card:hover .industry-back, .industry-card:focus-within .industry-back, .industry-card.is-active .industry-back { transform: rotateY(0deg); }

.pricing-toggle-wrap { display: inline-flex; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); margin-bottom: 24px; }
.pricing-toggle { background: transparent; color: var(--muted); border: 0; padding: 10px 14px; border-radius: 999px; cursor: pointer; }
.pricing-toggle.active { background: rgba(255,255,255,0.08); color: var(--text); }
.pricing-grid { display: grid; gap: 18px; }
.price-card {
  position: relative; padding: 28px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,0.08);
}
.price-card.featured { box-shadow: 0 0 0 1px rgba(0,212,255,0.22), 0 30px 90px rgba(0,0,0,0.34); }
.comparison-grid { align-items: stretch; }
.validation-grid {
  display: grid;
  gap: 18px;
}
.validation-card {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,0.08);
}
.validation-card strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.validation-card p,
.contact-direct a,
.nav-phone {
  color: var(--muted);
}
.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}
.contact-direct a:hover,
.nav-phone:hover {
  color: var(--text);
}
.shimmer-badge {
  display: inline-block; padding: 10px 14px; border-radius: 999px; margin-bottom: 18px; background: linear-gradient(90deg, rgba(0,212,255,0.18), rgba(124,92,255,0.2), rgba(0,212,255,0.18));
  background-size: 200% 100%; animation: shimmer 2.5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% 0; } }
.price-row { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 16px; }
.price-row strong { font-size: clamp(2.2rem, 6vw, 3.7rem); line-height: 1; }
.price-row span, .human-cost p, .form-note { color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.price-card li { position: relative; padding-left: 22px; color: #dce4fa; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.human-cost { margin-top: 18px; }

.testimonial-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.testimonial-track { display: flex; gap: 18px; width: max-content; animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.testimonial-card {
  width: min(340px, 76vw); padding: 24px; border-radius: 24px; border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.stars { color: #ffd76d; margin-bottom: 14px; }
.testimonial-card p { margin: 0 0 16px; line-height: 1.6; }
.testimonial-card span { color: var(--muted); }

.founder-grid, .final-shell, .footer-inner { display: grid; gap: 24px; }
.founder-cred { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.founder-cred span { padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,0.04); color: #d3def8; border: 1px solid rgba(255,255,255,.08); }
.quote-card { min-height: 100%; display: grid; place-items: center; padding: 40px; }
.quote-card p { font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.3; margin: 0 0 18px; }
.quote-card span { color: var(--muted); }

.final-cta { overflow: clip; }
.final-gradient { position: absolute; inset: 10% -10% auto; height: 80%; background: radial-gradient(circle at 20% 30%, rgba(0,212,255,.18), transparent 26%), radial-gradient(circle at 80% 20%, rgba(124,92,255,.22), transparent 28%), linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)); filter: blur(10px); }
.final-shell {
  position: relative; z-index: 1; padding: 34px; border-radius: 32px; border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: #dbe5fc; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; padding: 16px; background: rgba(4,6,10,.64); color: var(--text);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(0,212,255,.4); border-color: rgba(0,212,255,.5); }

.site-footer { padding: 24px 0 40px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { align-items: start; }
.footer-inner p { color: var(--muted); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }

.reveal, .reveal-fade { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s ease; }
.reveal-fade.delay-2 { transition-delay: .12s; }
.reveal-fade.delay-3 { transition-delay: .24s; }
.reveal-fade.delay-4 { transition-delay: .36s; }
.reveal.is-visible, .reveal-fade.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 768px) {
  .hero-inner, .story-inner, .founder-grid, .final-shell, .footer-inner { grid-template-columns: 1.1fr 0.9fr; }
  .demo-shell { grid-template-columns: minmax(0, 1fr) 300px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .validation-grid { grid-template-columns: repeat(3, 1fr); }
  .site-nav { display: flex; }
}

@media (min-width: 1024px) {
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
  .nav-cta { display: none; }
  .section { padding: 88px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .hero { min-height: auto; padding-bottom: 72px; }
  .hero-panel { justify-self: stretch; }
  .live-chat { padding: 14px; }
  .demo-stage { min-height: 420px; padding: 16px; }
  .phone-screen { min-height: 400px; }
  .testimonial-track { animation-duration: 38s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
