﻿:root {
  --bg-dark: #010a1f;
  --bg-light: #eef1f5;
  --text: #161f31;
  --muted: #72839c;
  --blue: #23b0ff;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Sora', sans-serif; color: var(--text); background: var(--bg-light); }
.container { width: min(1180px, 92%); margin: 0 auto; }

.topbar { background: #fff; height: 54px; display: flex; align-items: center; border-bottom: 1px solid #e7ebf0; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.logo-link { text-decoration: none; }
.logo { font-size: 56px; line-height: 0.8; font-weight: 700; color: #0d2344; letter-spacing: -1px; }
.logo span { display: block; font-size: 9px; color: #58677d; letter-spacing: 0.7px; font-weight: 400; text-transform: lowercase; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { text-decoration: none; color: #1a2334; font-size: 12px; font-weight: 500; }
.nav-links a.active { font-weight: 700; }

.dark { background: var(--bg-dark); }
.light { background: var(--bg-light); }

.hero { padding: 26px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.hero-copy { color: #fff; margin-top: 0; }
.chip {
  display: inline-block;
  margin: 0 0 28px;
  border-radius: 999px;
  border: 1px solid #1f4d87;
  color: #9ac4ff;
  background: #0b1f3f;
  font-size: 10px;
  font-weight: 500;
  padding: 6px 10px;
  letter-spacing: 0.2px;
}

h1 { margin: 0; color: #f4f8fe; font-size: 52px; line-height: 1.05; letter-spacing: -1.6px; max-width: 640px; }
.hero-copy .lead { margin: 20px 0 0; max-width: 600px; color: #9ea9ba; font-size: 14px; line-height: 1.7; }
.hero-image {
  height: 370px;
  margin-top: 12px;
  width: 100%;
  align-self: center;
  border-radius: 12px;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.hero-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.main-wrap { padding-bottom: 40px; }
.solution-block { padding: 92px 0 0; }
.solution-block h2 { margin: 0; font-size: 52px; letter-spacing: -0.8px; }
.sub { margin: 10px 0 28px; color: var(--muted); font-size: 12px; }
.cards { display: grid; gap: 18px; }
.cards.two { grid-template-columns: 1fr 1fr; }
.cards.one { grid-template-columns: 1fr; }

.s-card {
  border-radius: 10px;
  background: #1a2436;
  border: 1px solid #25364d;
  padding: 18px 18px;
  min-height: 245px;
  position: relative;
}

.s-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  right: -1px;
  height: 3px;
  border-radius: 10px 10px 0 0;
}

.s-card.purple::before { background: #6f3df9; }
.s-card.blue::before { background: #14afff; }
.s-card.green::before { background: #00c18a; }

.i {
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 13px;
}

.i-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.s-card h3 { margin: 0 0 10px; color: #f3f7fd; font-size: 13px; }
.s-card p { margin: 0; color: #9db0c6; font-size: 11px; line-height: 1.6; max-width: 360px; }

.s-card a {
  position: absolute;
  right: 16px;
  bottom: 14px;
  text-decoration: none;
  border: 1px solid #14afff;
  color: #6cd4ff;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 9px;
}

.s-card a.speech-cta {
  border-color: #3a465d;
  color: #9aa8c0;
  background: rgba(12, 21, 39, 0.7);
}

.s-card a.speech-cta span {
  color: #7787a4;
}

.s-card.narrow { width: min(420px, 100%); }

.cta-wrap { padding: 72px 0 72px; }
.cta-box {
  border-radius: 18px;
  padding: 70px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 100%, rgba(44, 183, 255, 0.2) 0, transparent 38%),
    radial-gradient(circle at 80% 100%, rgba(41, 154, 255, 0.24) 0, transparent 37%),
    linear-gradient(135deg, #031832 0%, #07132a 44%, #050d1f 100%);
}

.cta-box h2 { margin: 0; color: #f4f8fe; font-size: 44px; }
.cta-box p { margin: 14px auto 24px; max-width: 500px; color: #8fa2bb; font-size: 12px; line-height: 1.7; }
.btn {
  text-decoration: none;
  display: inline-block;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 500;
  background: linear-gradient(90deg, #1fb4ff, #209dff);
  color: #fff;
}

.footer { padding: 44px 0 22px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer p { margin: 12px 0 0; color: #64738b; font-size: 11px; line-height: 1.6; }
.footer .small { color: #8997ac; }
.footer h5 { margin: 0 0 12px; font-size: 12px; }
.footer a { display: block; font-size: 11px; color: #64738b; margin-bottom: 8px; text-decoration: none; }
.policy-row { margin-top: 20px; display: flex; gap: 28px; }
.policy-row a { margin: 0; color: #97a2b5; }

@media (max-width: 980px) {
  .hero-grid,
  .cards.two,
  .foot-grid { grid-template-columns: 1fr; }
  h1 { font-size: 40px; }
  .solution-block h2,
  .cta-box h2 { font-size: 34px; }
  .hero-image { height: 280px; }
  .s-card { min-height: 220px; }
  .policy-row { flex-wrap: wrap; gap: 14px; }
}

.logo-img {
  height: 58px;
  width: auto;
  display: block;
  margin-left: -10px;
}

.demo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.demo-modal-overlay.open {
  display: flex;
}

.demo-modal {
  width: min(640px, 94vw);
  border-radius: 18px;
  background: #f3f5f7;
  position: relative;
  padding: 20px 22px 18px;
  border: 1px solid #ced5df;
  box-shadow: 0 24px 80px rgba(4, 10, 24, 0.35);
}

.demo-close {
  position: absolute;
  right: -12px;
  top: -12px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: #020c1e;
  color: #ffffff;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.demo-modal h3 {
  margin: 0;
  text-align: center;
  color: #2e63db;
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -1px;
}

.demo-modal > p {
  margin: 8px 0 18px;
  text-align: center;
  color: #2e63db;
  font-size: 16px;
  font-weight: 600;
}

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.field {
  grid-column: span 2;
}

.field.half {
  grid-column: span 1;
}

.field label {
  display: block;
  margin: 0 0 6px;
  color: #1e2738;
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #d1d7e1;
  border-radius: 12px;
  background: #f3f5f7;
  color: #283a54;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  padding: 10px 10px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #71819a;
}

.field textarea {
  height: 110px;
  resize: none;
}

.demo-submit {
  grid-column: span 2;
  width: 100%;
  height: 40px;
  margin: 8px 0 0;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #2f66db, #2f66db);
  color: #ffffff;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.demo-submit span {
  margin-right: 8px;
}

.demo-note {
  margin: 12px 0 0;
  text-align: center;
  color: #6f7f99;
  font-size: 10px;
  font-weight: 400;
}

.demo-modal > p.demo-note {
  margin: 12px 0 0;
  color: #6f7f99;
  font-size: 10px;
  font-weight: 400;
}

.demo-note span {
  margin-right: 6px;
}

.demo-success {
  min-height: 260px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 12px 8px 8px;
}

.demo-form[hidden],
.demo-note[hidden],
#demoSubtitle[hidden],
.demo-success[hidden] {
  display: none !important;
}

.demo-success-title {
  margin: 0;
  color: #2e63db;
  font-size: 24px;
  font-weight: 700;
}

.demo-modal > p.demo-success-text {
  margin: 10px 0 0;
  color: #6f7f99;
  font-size: 13px;
  font-weight: 400;
}

@media (max-width: 700px) {
  .demo-modal {
    width: 100%;
    padding: 20px 16px 16px;
  }

  .demo-close {
    right: 8px;
    top: 8px;
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .demo-modal h3 {
    font-size: 40px;
  }

  .demo-modal > p {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .demo-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .field,
  .field.half,
  .demo-submit {
    grid-column: span 1;
  }

  .demo-success {
    min-height: 210px;
  }

  .demo-success-title {
    font-size: 20px;
  }
}
