/* ============================================================
   SITE SYSTEM — stylesheet
   Palette: #0D1B2A (deep navy) · #00D4FF (electric cyan)
             #1A2E42 (card bg) · #8899AA (muted) · #FFFFFF
   ============================================================ */

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

:root {
  --navy:    #0D1B2A;
  --navy-mid:#1A2E42;
  --navy-lt: #243A52;
  --cyan:    #00D4FF;
  --cyan-dim:#00A8CC;
  --white:   #FFFFFF;
  --muted:   #8899AA;
  --border:  rgba(0,212,255,.15);
  --ff-display: 'Space Grotesk', sans-serif;
  --ff-body:    'Inter', sans-serif;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── UTILITY ─── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header em { color: var(--cyan); font-style: normal; }

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--cyan);
  color: var(--navy);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: #33DDFF; transform: translateY(-2px); }
.btn-primary.btn-large { padding: 18px 44px; font-size: 1.05rem; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.2);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-outline {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--cyan);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid var(--cyan);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--cyan); color: var(--navy); }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,27,42,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--cyan); color: var(--navy); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 16px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--cyan); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 68px;
}

#neuralCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .55;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 40px 24px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,212,255,.08);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-content h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.hero-content h1 em {
  color: var(--cyan);
  font-style: normal;
  position: relative;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--ff-display);
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .05em;
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── SECTIONS ─── */
.section {
  padding: 100px 0;
}
.section-dark {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: rgba(0,212,255,.4);
  transform: translateY(-4px);
}
.service-card.featured {
  border-color: var(--cyan);
  background: linear-gradient(135deg, #1A2E42 0%, #0F2338 100%);
}

.featured-badge {
  position: absolute;
  top: -14px; left: 32px;
  background: var(--cyan);
  color: var(--navy);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .08em;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
}

.service-icon {
  font-size: 1.6rem;
  color: var(--cyan);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card ul li {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  padding-left: 16px;
  position: relative;
}
.service-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: .75rem;
}

/* ─── PROCESS ─── */
.process-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 28px; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.process-step {
  padding: 0 24px 0 0;
  position: relative;
}

.step-num {
  font-family: var(--ff-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--cyan);
  background: var(--navy-mid);
  border: 1px solid var(--border);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.step-content p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 860px;
  margin: 0 auto 48px;
}

.pricing-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-featured {
  border-color: var(--cyan);
  position: relative;
  background: linear-gradient(160deg, #1A2E42 0%, #0F2338 100%);
}

.featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--navy);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--ff-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan-price { display: flex; align-items: baseline; gap: 8px; }
.price-amount {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.price-period {
  font-size: .85rem;
  color: var(--muted);
}

.plan-desc {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan-features li {
  font-size: .9rem;
  color: rgba(255,255,255,.8);
}

.plan-note {
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  line-height: 1.6;
}
.plan-note strong { color: var(--cyan); }

.pricing-clarification {
  max-width: 640px;
  margin: 0 auto;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
}
.pricing-clarification h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 10px;
}
.pricing-clarification p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.75;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,212,255,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.cta-banner em { color: var(--cyan); font-style: normal; }
.cta-banner p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

/* ─── FOOTER ─── */
.footer {
  background: #090F17;
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 300px; }
.footer-brand p {
  color: var(--muted);
  font-size: .875rem;
  margin-top: 12px;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links h5 {
  font-family: var(--ff-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .875rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: .8rem;
}
.footer-bottom a { color: var(--cyan); text-decoration: none; }

/* ─── CHATBOT ─── */
.chatbot-launcher {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9000;
  width: 58px; height: 58px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,212,255,.4);
  transition: transform var(--transition), box-shadow var(--transition);
  color: var(--navy);
}
.chatbot-launcher:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0,212,255,.6);
}

.chat-ping {
  position: absolute;
  top: 6px; right: 6px;
  width: 10px; height: 10px;
  background: #22FF88;
  border-radius: 50%;
  animation: ping 1.8s ease-in-out infinite;
}
@keyframes ping {
  0%, 100% { opacity: 1; transform: scale(1); }
  60% { opacity: .4; transform: scale(1.4); }
}

.chatbot-window {
  position: fixed;
  bottom: 100px; right: 28px;
  z-index: 9000;
  width: 360px;
  max-width: calc(100vw - 40px);
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity .25s, transform .25s;
  opacity: 0;
  transform: translateY(12px) scale(.97);
  pointer-events: none;
}
.chatbot-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-header {
  background: linear-gradient(135deg, #1A2E42, #0F2338);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-meta { display: flex; flex-direction: column; }
.chat-meta strong { font-size: .9rem; }
.chat-status { font-size: .7rem; color: #22FF88; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
  min-height: 200px;
}
.chat-msg.bot p {
  background: var(--navy-lt);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 2px;
  padding: 12px 16px;
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  max-width: 88%;
}
.chat-msg.user p {
  background: var(--cyan);
  color: var(--navy);
  border-radius: 12px 12px 2px 12px;
  padding: 12px 16px;
  font-size: .875rem;
  line-height: 1.65;
  max-width: 88%;
  margin-left: auto;
  font-weight: 500;
}
.chat-msg.bot.typing p {
  display: flex;
  align-items: center;
  gap: 5px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: typingDot 1.2s ease-in-out infinite;
}
.dot:nth-child(2) { animation-delay: .2s; }
.dot:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

.chat-input-row {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: #0D1B2A;
}
.chat-input-row input {
  flex: 1;
  background: var(--navy-lt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .875rem;
  color: var(--white);
  font-family: var(--ff-body);
  outline: none;
  transition: border-color var(--transition);
}
.chat-input-row input::placeholder { color: var(--muted); }
.chat-input-row input:focus { border-color: var(--cyan); }

.send-btn {
  background: var(--cyan);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
}
.send-btn:hover { background: #33DDFF; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .section { padding: 72px 0; }

  .process-track {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process-track::before { display: none; }
  .process-step { padding: 0; }

  .hero-actions { flex-direction: column; align-items: center; }

  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .chatbot-window { right: 16px; bottom: 88px; width: calc(100vw - 32px); }
  .chatbot-launcher { right: 16px; bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
