:root {
  --bg: #06111f;
  --bg-2: #0b1d33;
  --card: rgba(255, 255, 255, 0.08);
  --card-2: rgba(255, 255, 255, 0.13);
  --text: #f8fafc;
  --muted: #b8c4d6;
  --line: rgba(255, 255, 255, 0.16);
  --blue: #38bdf8;
  --green: #22c55e;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 30%),
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.16), transparent 28%),
    var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 17, 31, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: #03111f;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.brand strong, .brand span { display: block; }
.brand span { color: var(--muted); font-size: 13px; }

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover { color: var(--text); }

.nav-cta,
.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #03111f;
}

.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--line);
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  background: rgba(56, 189, 248, 0.1);
  color: #c9f3ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.075em;
  margin-bottom: 24px;
}

h1 small {
  display: block;
  margin-top: 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--muted);
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}

h3 { font-size: 22px; margin-bottom: 10px; }

.hero-subtitle,
.section-title p:not(.eyebrow),
.partner-box p,
.contact p,
.cards p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pills span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: #d7f7ff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.hero-panel,
.cards article,
.partner-box {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel { padding: 24px; }

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
}

.bubble {
  max-width: 92%;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.bubble.bot { background: rgba(255, 255, 255, 0.1); }

.bubble.user {
  margin-left: auto;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #03111f;
  font-weight: 800;
}

.mini-chat { display: grid; gap: 12px; }

.mini-chat button,
.prompt-grid button {
  text-align: left;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 14px 16px;
}

.mini-chat button:hover,
.prompt-grid button:hover { background: rgba(255, 255, 255, 0.14); }

.section { padding: 92px 0; }
.section-title { max-width: 760px; margin-bottom: 34px; }

.cards,
.prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cards article { padding: 26px; }
.cards span { color: var(--blue); font-weight: 900; }

.dark-section {
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-box {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact { padding-top: 40px; }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--muted);
}

.chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 24px;
  color: #03111f;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: var(--shadow);
}

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 102px;
  z-index: 90;
  width: min(390px, calc(100% - 32px));
  height: 540px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(6, 17, 31, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.chat-panel.is-open { display: flex; }

.chat-header {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.chat-header span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.chat-header button {
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--text);
  font-size: 24px;
  background: rgba(255, 255, 255, 0.1);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}

.chat-form {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  flex: 1;
  min-width: 0;
  outline: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.chat-form button {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
  color: #03111f;
  background: var(--blue);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer p { margin: 0; }

@media (max-width: 880px) {
  .nav, .nav-cta { display: none; }

  .hero {
    min-height: auto;
    padding: 64px 0;
  }

  .hero-grid,
  .cards,
  .prompt-grid {
    grid-template-columns: 1fr;
  }

  .section { padding: 64px 0; }

  .partner-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
