:root {
  --bg: #050715;
  --bg-2: #080d21;
  --panel: rgba(13, 20, 42, 0.72);
  --panel-2: rgba(17, 25, 51, 0.82);
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(96, 165, 250, 0.42);
  --text: #f8fafc;
  --muted: #a6b1c8;
  --soft: #dbeafe;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --purple: #8b5cf6;
  --gold: #fbbf24;
  --green: #22c55e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --glow: 0 0 60px rgba(59, 130, 246, 0.22);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 75% 0%, rgba(37, 99, 235, 0.22), transparent 32%),
              radial-gradient(circle at 12% 18%, rgba(139, 92, 246, 0.18), transparent 34%),
              linear-gradient(180deg, #060818 0%, #070b1c 45%, #030613 100%);
  overflow-x: hidden;
  line-height: 1.7;
}

a { color: inherit; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 112px 0; position: relative; border-bottom: 1px solid rgba(148, 163, 184, 0.08); }

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.orb { position: fixed; border-radius: 999px; filter: blur(82px); z-index: -3; pointer-events: none; }
.orb-one { width: 480px; height: 480px; background: rgba(59, 130, 246, .24); top: -160px; right: -130px; }
.orb-two { width: 420px; height: 420px; background: rgba(139, 92, 246, .2); left: -140px; top: 28%; }
.orb-three { width: 360px; height: 360px; background: rgba(34, 211, 238, .12); right: 10%; bottom: 8%; }

.site-header {
  position: sticky; top: 0; z-index: 99;
  background: rgba(4, 7, 19, .78);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.workflow-card {
  padding: 34px;
  border-radius: 28px;
}

.workflow-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.workflow-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.workflow-steps {
  display: grid;
  gap: 22px;
  position: relative;
}

.workflow-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  position: relative;
}

.workflow-step span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(59,130,246,.35), rgba(139,92,246,.35));
  border: 1px solid rgba(147,197,253,.35);
  color: #dbeafe;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(59,130,246,.25);
}

.workflow-step h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #fff;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.nav { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  filter:
    drop-shadow(0 0 10px rgba(85, 216, 255, 0.25))
    drop-shadow(0 0 20px rgba(201, 108, 255, 0.15));
  transition: all 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
}

.brand-text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #ffffff;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .brand {
    gap: 8px;
  }

  .brand-logo {
    height: 38px;
  }

  .brand-text {
    font-size: 0.9rem;
  }
}

.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: .25s; }
.nav-links a:hover { color: var(--text); }
.desktop-cta { margin-left: auto; }
.menu-btn { display: none; margin-left: auto; background: transparent; border: 0; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 2px; background: white; margin: 5px 0; border-radius: 99px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent;
  text-decoration: none; font-weight: 800; font-size: 14px; cursor: pointer;
  transition: transform .25s, box-shadow .25s, border .25s, background .25s;
}
.btn-primary { background: linear-gradient(135deg, #3b82f6, #8758ff); box-shadow: 0 18px 55px rgba(59, 130, 246, .28); color: white; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 70px rgba(139, 92, 246, .34); }
.btn-ghost { background: rgba(255,255,255,.045); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--border-strong); }

.glass {
  background: linear-gradient(180deg, rgba(17, 25, 51, .78), rgba(9, 15, 33, .72));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  border-radius: var(--radius);
}

.hero { padding: 128px 0 94px; min-height: calc(100vh - 76px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr .95fr; gap: 72px; align-items: center; }
.pill {
  display: inline-flex; width: fit-content; align-items: center; justify-content: center;
  color: #9cc8ff; border: 1px solid rgba(96,165,250,.35); background: rgba(59,130,246,.11);
  border-radius: 999px; padding: 8px 14px; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 800;
}
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.055em; }
.hero h1 { margin-top: 22px; font-size: clamp(48px, 7vw, 92px); max-width: 760px; }
.hero h1 span, .section-head h2 span {
  background: linear-gradient(95deg, #60a5fa, #a78bfa 52%, #fbbf24);
  -webkit-background-clip: text; color: transparent;
}
.lead { max-width: 650px; margin: 24px 0 32px; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.mini-proof { display: flex; flex-wrap: wrap; gap: 10px; }
.mini-proof span {
  padding: 8px 12px; border: 1px solid var(--border); background: rgba(255,255,255,.04);
  border-radius: 999px; color: var(--muted); font-size: 13px;
}

.hero-visual { position: relative; min-height: 610px; }
.phone {
  position: absolute; width: 280px; left: 0; top: 75px; padding: 20px; border-radius: 38px;
  transform: rotate(-4deg); animation: float 6s ease-in-out infinite;
}
.phone-top { width: 78px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.2); margin: 0 auto 22px; }
.chat-mini { margin: 12px 0; padding: 12px 14px; border-radius: 16px; font-size: 13px; color: var(--soft); }
.chat-mini.bot { background: rgba(255,255,255,.06); border: 1px solid var(--border); }
.chat-mini.user { background: linear-gradient(135deg, var(--blue), var(--purple)); margin-left: 34px; }
.command-center {
  position: absolute; width: 430px; right: 0; top: 155px; padding: 24px; animation: float 7.5s ease-in-out infinite reverse;
}
.panel-title { display: flex; align-items: center; gap: 10px; color: var(--soft); font-weight: 800; margin-bottom: 18px; }
.live-dot { width: 10px; height: 10px; background: var(--green); border-radius: 50%; box-shadow: 0 0 18px var(--green); display: inline-block; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric-row div { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.metric-row small, .dashboard-chip small { display: block; color: var(--muted); }
.metric-row strong { display: block; margin-top: 4px; }
.flow { display: flex; align-items: center; gap: 8px; margin: 22px 0; }
.node { padding: 8px 11px; border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--border); font-size: 12px; font-weight: 800; }
.node.active { color: white; background: rgba(59,130,246,.22); border-color: rgba(96,165,250,.45); }
.line { height: 1px; flex: 1; background: linear-gradient(90deg, var(--blue), transparent); }
.activity p { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin: 10px 0; }
.activity span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.dashboard-chip { position: absolute; right: 45px; bottom: 35px; padding: 18px 22px; width: 280px; animation: float 5.5s ease-in-out infinite; }

@keyframes float { 0%,100%{ transform: translateY(0) rotate(-2deg); } 50%{ transform: translateY(-18px) rotate(1deg); } }

.trust-strip { padding: 22px 0; border-block: 1px solid rgba(148,163,184,.12); background: rgba(255,255,255,.025); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; color: var(--muted); font-size: 14px; font-weight: 700; }

.section-head { max-width: 790px; margin: 0 auto 58px; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(38px, 5vw, 64px); margin: 18px 0; }
.section-head p { color: var(--muted); font-size: 17px; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { padding: 28px; min-height: 220px; transition: .3s; }
.card:hover, .module:hover, .price-card:hover, .system-card:hover { transform: translateY(-8px); border-color: rgba(96,165,250,.42); box-shadow: var(--shadow), var(--glow); }
.card span, .process-item span { color: #93c5fd; font-weight: 900; letter-spacing: .1em; }
.card h3 { font-size: 24px; margin: 28px 0 12px; }
.card p, .module p, .price-card p, .process-item p { color: var(--muted); }

.split-section { background: rgba(255,255,255,.015); }
.split-grid { display: grid; grid-template-columns: .8fr 1.1fr; gap: 62px; align-items: center; }
.system-stack { display: grid; gap: 14px; }
.system-card { padding: 22px; display: grid; gap: 7px; transition: .3s; }
.system-card small { color: var(--muted); }

.assistant-section { background: radial-gradient(circle at 50% 15%, rgba(59,130,246,.12), transparent 38%); }
.assistant-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.chat-shell { overflow: hidden; border-radius: var(--radius); }
.chat-header { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.chat-header div { display: flex; align-items: center; gap: 10px; }
.chat-header small { color: var(--muted); }
.chat-body { height: 500px; overflow-y: auto; padding: 22px; }
.message {
  max-width: 82%; width: fit-content; padding: 14px 16px; border-radius: 18px; margin-bottom: 14px;
  font-size: 15px; line-height: 1.65;
}
.message.bot { background: rgba(255,255,255,.055); border: 1px solid var(--border); color: var(--soft); }
.message.user { margin-left: auto; background: linear-gradient(135deg, var(--blue), var(--purple)); color: white; }
.typing { display: flex; gap: 5px; align-items: center; }
.typing span { width: 7px; height: 7px; background: #bfdbfe; border-radius: 50%; animation: bounce .9s infinite alternate; }
.typing span:nth-child(2){ animation-delay: .15s; } .typing span:nth-child(3){ animation-delay: .3s; }
@keyframes bounce { to { transform: translateY(-6px); opacity: .55; } }
.chat-input { display: flex; gap: 12px; padding: 18px; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 15px; padding: 0 16px; background: rgba(255,255,255,.045); color: var(--text); outline: none; }
.chat-input input:focus { border-color: rgba(96,165,250,.55); box-shadow: 0 0 0 4px rgba(59,130,246,.1); }
.chat-book { display: inline-flex; padding: 10px 14px; margin-top: 10px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--purple)); color: white; text-decoration: none; font-weight: 900; }
.assistant-side { display: grid; gap: 18px; }
.side-card, .live-feed { padding: 28px; }
.side-card h3 { font-size: 28px; margin-bottom: 18px; }
.side-card ul { list-style: none; display: grid; gap: 12px; color: var(--muted); }
.side-card li { position: relative; padding-left: 24px; }
.side-card li:before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.live-feed p { color: var(--muted); border-top: 1px solid var(--border); padding: 13px 0; }

.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.module { padding: 28px; min-height: 190px; transition: .3s; }
.module h3 { font-size: 24px; margin-bottom: 12px; }

.industry-marquee { overflow: hidden; padding: 24px 0; mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { padding: 18px 24px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid var(--border); color: var(--soft); font-weight: 800; min-width: max-content; }
@keyframes marquee { to { transform: translateX(-50%); } }

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process-item { padding: 24px 18px; border-left: 1px solid var(--border); }
.process-item h3 { font-size: 22px; margin: 18px 0 10px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { padding: 30px; position: relative; transition: .3s; }
.price-card.featured { border-color: rgba(96,165,250,.58); box-shadow: var(--shadow), 0 0 70px rgba(59,130,246,.18); transform: translateY(-12px); }
.tag { position: absolute; top: 18px; right: 18px; background: linear-gradient(135deg, var(--blue), var(--purple)); padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.price-card h3 { font-size: 28px; margin-bottom: 18px; }
.price { color: #93c5fd; font-weight: 950; margin-bottom: 14px; }
.price-card ul { list-style: none; margin-top: 22px; display: grid; gap: 11px; color: var(--muted); }
.price-card li { padding-left: 20px; position: relative; }
.price-card li:before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); background: rgba(255,255,255,.035); border-radius: 18px; overflow: hidden; }
.faq-item button { width: 100%; padding: 19px 22px; text-align: left; border: 0; background: transparent; color: var(--text); font-weight: 900; cursor: pointer; font-size: 15px; }
.faq-item div { max-height: 0; overflow: hidden; padding: 0 22px; color: var(--muted); transition: .3s ease; }
.faq-item.active div { max-height: 260px; padding: 0 22px 22px; }

.final-cta { padding-top: 40px; }
.cta-card { max-width: 980px; margin: 0 auto; padding: 72px 28px; text-align: center; }
.cta-card h2 { font-size: clamp(40px, 6vw, 72px); max-width: 860px; margin: 0 auto 18px; }
.cta-card p { color: var(--muted); max-width: 660px; margin: 0 auto 28px; }

.footer { padding: 62px 0 26px; background: rgba(0,0,0,.18); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .5fr; gap: 60px; }
.footer p, .footer a { color: var(--muted); }
.footer a { display: block; text-decoration: none; margin: 8px 0; }
.footer a:hover { color: var(--text); }
.footer-bottom { text-align: center; color: var(--muted); font-size: 13px; margin-top: 45px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .hero-grid, .split-grid, .assistant-layout, .pricing-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; }
  .problem-grid, .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
}

@media (max-width: 760px) {
  .section { padding: 78px 0; }
  .desktop-cta { display: none; }
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; left: 16px; right: 16px; top: 76px; padding: 18px;
    flex-direction: column; align-items: flex-start; background: rgba(5,7,21,.96); border: 1px solid var(--border);
    border-radius: 20px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero { padding-top: 86px; min-height: auto; }
  .hero-grid { gap: 40px; }
  .hero h1 { font-size: clamp(42px, 14vw, 64px); }
  .lead { font-size: 16px; }
  .hero-visual { min-height: auto; display: grid; gap: 18px; }
  .phone, .command-center, .dashboard-chip { position: static; width: 100%; transform: none; animation: none; }
  .problem-grid, .modules-grid, .process-grid, .trust-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: clamp(34px, 10vw, 46px); }
  .chat-body { height: 430px; }
  .chat-input { flex-direction: column; }
  .chat-input input { min-height: 50px; }
  .message { max-width: 94%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}