* { box-sizing: border-box; }

:root {
  --bg: #3e4753;
  --panel: rgba(10, 18, 32, 0.82);
  --text: #e6eefc;
  --muted: #9db0d2;
  --line: rgba(148, 163, 184, 0.22);
  --blue: #60a5fa;
  --blue-2: #3b82f6;
  --radius: 26px;
  --shadow: 0 24px 64px rgba(2, 8, 23, 0.48);
  --max: 1180px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(148, 163, 184, 0.2), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(96, 165, 250, 0.1), transparent 24%),
    linear-gradient(180deg, #37404a 0%, #46515e 44%, #3b4450 100%);
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
}

.orb-1 {
  width: 260px;
  height: 260px;
  background: #2563eb;
  top: 40px;
  left: -60px;
}

.orb-2 {
  width: 240px;
  height: 240px;
  background: #16a34a;
  top: 180px;
  right: -80px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  width: 100vw;
  margin: 18px calc(50% - 50vw) 8px;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(8, 16, 30, 0.8);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #07111f;
  background: linear-gradient(135deg, #93c5fd, var(--blue));
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.84rem;
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
}

.nav a:hover, .footer-links a:hover {
  color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 16px 34px rgba(59,130,246,0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(59,130,246,0.34);
}

.btn-secondary {
  background: rgba(10, 18, 32, 0.72);
  border-color: rgba(96, 165, 250, 0.24);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 66px 32px 34px;
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94) 0%, rgba(7, 17, 31, 0.78) 52%, rgba(7, 17, 31, 0.6) 100%),
    url("bg1.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  padding-left: clamp(24px, 4vw, 56px);
}

.pill, .hero-points span, .chip, .banner p, .demo-line {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(10, 18, 32, 0.64);
  color: #dbeafe;
  border-radius: 999px;
}

.pill {
  padding: 10px 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(2.7rem, 6vw, 5rem);
  max-width: 12ch;
}

.lead, .section-copy p, .card p, .step p, .site-footer p, .form-note {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  margin-top: 16px;
  font-size: 1.08rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points span {
  padding: 10px 14px;
}

.hero-visual, .card, .step, .contact-form, .demo-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.hero-visual {
  padding: 18px;
}

.chat-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15,23,42,0.98), rgba(8,17,31,0.98));
}

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

.chat-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148,163,184,0.5);
}

.chat-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.msg {
  max-width: 82%;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.55;
}

.msg.user {
  justify-self: end;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.msg.agent {
  justify-self: start;
  background: rgba(30, 41, 59, 0.98);
  border: 1px solid rgba(96,165,250,0.12);
}

.stat-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(10, 18, 32, 0.66);
}

.stat-card h3 {
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.banner { margin-top: 10px; }

.banner p {
  margin: 0;
  padding: 16px 18px;
  justify-content: center;
  text-align: center;
}

.section {
  padding-top: 82px;
}

.section-copy {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-copy.narrow {
  max-width: 700px;
}

.section h2 {
  margin-top: 14px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.card, .step {
  padding: 24px;
}

.card h3, .step h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.video-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.video-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.video-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.video-card-placeholder {
  display: grid;
  place-content: center;
  min-height: 240px;
  text-align: center;
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.82), rgba(7, 17, 31, 0.72));
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.92);
}

.video-frame.portrait {
  aspect-ratio: 1180 / 2556;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.step-no {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-weight: 800;
  color: #07111f;
  background: linear-gradient(135deg, #93c5fd, var(--blue));
}

.emphasis ul, .large ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.accent {
  border-color: rgba(34,197,94,0.28);
  background: linear-gradient(180deg, rgba(9,20,15,0.92), rgba(15,23,42,0.88));
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.chip {
  padding: 14px 18px;
  font-weight: 600;
}

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.demo-card {
  padding: 20px;
}

.demo-line {
  padding: 14px 16px;
  margin-bottom: 12px;
  border-radius: 16px;
  display: block;
}

.contact {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  padding-bottom: 92px;
}

.contact-form {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(7, 17, 31, 0.86);
  color: white;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(96,165,250,0.45);
  outline-offset: 1px;
}

.site-footer {
  padding: 26px 0 44px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

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

.site-footer img {
  width: 30px;
  height: auto;
  display: block;
}

.footer-brand strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero,
  .card-grid.three,
  .card-grid.two,
  .steps,
  .video-grid,
  .demo-layout,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 20px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    padding: 42px 20px 28px;
  }

  .hero-copy {
    padding-left: 18px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .section {
    padding-top: 64px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
