:root {
  --bg: #0c1a27;
  --bg-alt: #ecf1f5;
  --panel: #0f2335;
  --card: #ffffff;
  --text: #0b1420;
  --muted: #4c5b70;
  --primary: #1f7bf2;
  --accent: #1ecba7;
  --amber: #f5a524;
  --border: #d7e0e8;
  --radius: 14px;
  --shadow: 0 14px 50px rgba(12, 26, 39, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; line-height: 1.7; }
ul { margin: 0; padding-left: 18px; color: var(--muted); }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  color: var(--text);
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section {
  padding: 80px 0;
  background: #fff;
}
.section.muted { background: var(--bg-alt); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 36px;
}
.section-lede {
  color: var(--muted);
  max-width: 720px;
  margin-top: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 26, 39, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  color: #fff;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0b1420;
  font-weight: 800;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(31, 123, 242, 0.3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-title { font-weight: 700; }
.brand-sub { font-size: 12px; color: rgba(255,255,255,0.75); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
}
.nav-links a { color: rgba(255,255,255,0.9); padding: 10px 12px; border-radius: 10px; }
.nav-links a:hover { background: rgba(255,255,255,0.08); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

.hero {
  background: radial-gradient(circle at 20% 20%, rgba(31,123,242,0.18), transparent 35%),
              radial-gradient(circle at 80% 10%, rgba(30,203,167,0.16), transparent 32%),
              linear-gradient(135deg, #0c1a27, #10273b 60%, #0c1a27);
  color: #fff;
  padding: 120px 0 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  align-items: center;
}
.hero-copy h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.15; margin-bottom: 16px; color: #fff; }
.hero-copy .lede { color: rgba(255,255,255,0.82); }
.lede { color: rgba(255,255,255,0.82); }
.hero-actions { display: flex; gap: 12px; margin: 22px 0; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; }
.metric { background: rgba(255,255,255,0.06); padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); }
.metric-value { display: block; font-weight: 800; letter-spacing: -0.02em; }
.metric-label { color: rgba(255,255,255,0.75); font-size: 13px; }

.hero-panel {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.dot { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
.dot.green { background: var(--accent); }
.dot.amber { background: var(--amber); }
.dot.blue { background: var(--primary); }
.panel-title { color: rgba(255,255,255,0.85); }
.panel-body { padding: 16px; }
.panel-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.panel-body li { display: flex; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.9); }
.panel-body strong { color: #fff; }

.cards-grid {
  display: grid;
  gap: 20px;
}
.cards-grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 6px 24px rgba(12, 26, 39, 0.08);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }

.step { position: relative; overflow: hidden; }
.step-num { font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.step::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,123,242,0.08), rgba(30,203,167,0.08));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.step:hover::after { opacity: 1; }
.step > * { position: relative; z-index: 1; }

.service ul { margin-top: 12px; display: grid; gap: 8px; }
.service li { color: var(--muted); }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: rgba(31,123,242,0.1);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  background: #dce8f7;
  color: #0f2335;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.audience {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 4px 16px rgba(12, 26, 39, 0.05);
}
.audience h4 { margin-bottom: 8px; }
.audience p { color: var(--muted); }

.case ul { margin-top: 12px; display: grid; gap: 6px; }
.case li { color: var(--muted); }

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.quote {
  padding: 24px;
  border-radius: var(--radius);
  background: #0f2335;
  color: #e8eef5;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.quote p { font-size: 16px; line-height: 1.6; }
.quote-meta { margin-top: 14px; color: rgba(232,238,245,0.8); display: flex; flex-direction: column; gap: 2px; }

.cta { background: linear-gradient(135deg, #0c1a27, #12304a); color: #fff; }
.cta-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px;
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.cta h2 { color: #fff; }
.cta .section-lede { color: rgba(255,255,255,0.78); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.footer {
  background: #0b1420;
  color: rgba(255,255,255,0.8);
  padding: 28px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: center;
}
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer a { color: rgba(255,255,255,0.8); }
.footer .small { color: rgba(255,255,255,0.65); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #3d91f5);
  color: #fff;
  box-shadow: 0 10px 30px rgba(31,123,242,0.35);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

.link { font-weight: 700; color: var(--primary); }
.link:hover { text-decoration: underline; }

.small { font-size: 13px; color: var(--muted); }

.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 92px;
  width: min(360px, 92vw);
  background: #0f2335;
  color: #e8eef5;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  box-shadow: 0 16px 50px rgba(12, 26, 39, 0.25);
  padding: 16px;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 25;
}
.chat-widget.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.chat-close {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  border-radius: 10px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
.chat-body p { color: #c9d6e5; }
.chat-body { display: grid; gap: 10px; }
.chat-window {
  display: grid;
  gap: 10px;
}
.chat-log {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  max-height: 320px;
  overflow-y: auto;
  display: grid;
  gap: 10px;
}
.chat-message {
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1.5;
}
.chat-message.user { background: rgba(31,123,242,0.16); color: #fff; border: 1px solid rgba(31,123,242,0.3); }
.chat-message.bot { background: rgba(255,255,255,0.06); color: #e8eef5; border: 1px solid rgba(255,255,255,0.08); }
.chat-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.chat-input {
  flex: 1;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.chat-input::placeholder { color: rgba(255,255,255,0.55); }
.chat-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.chat-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.chat-actions .btn-ghost {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}

.chat-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: linear-gradient(135deg, var(--primary), #3d91f5);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(31, 123, 242, 0.4);
  cursor: pointer;
  z-index: 24;
}

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; right: 4%; top: 64px; background: #0c1a27; padding: 14px; border-radius: 12px; flex-direction: column; width: min(260px, 90vw); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .section-head { flex-direction: column; }
}

@media (max-width: 640px) {
  .hero { padding: 90px 0 70px; }
  .cta-card { flex-direction: column; align-items: flex-start; }
}
