:root {
  --ink: #08111f;
  --ink-soft: #203047;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: #dbe4ee;
  --cyan: #00a9e8;
  --green: #42d08a;
  --coral: #ff6b5f;
  --gold: #e6b84b;
  --blue: #396cff;
  --shadow: 0 24px 70px rgba(8, 17, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(247, 249, 252, 0.88);
  border-bottom: 1px solid rgba(219, 228, 238, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--green);
}

.brand-mark .mark-shape {
  fill: var(--ink);
}

.brand-mark circle {
  fill: var(--cyan);
}

.brand strong,
.logo-showcase strong,
.site-footer strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  max-width: 210px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.nav-links a {
  min-height: 40px;
  padding: 9px 11px;
  color: #46566e;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
  background: #eaf0f7;
}

.header-cta,
.button,
.form-actions button,
.form-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.header-cta,
.button.primary,
.form-actions button {
  color: var(--white);
  background: var(--ink);
}

.button.secondary,
.form-actions a {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 84px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.64fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: clamp(54px, 8vw, 90px);
  overflow: hidden;
  color: var(--white);
  background: #08111f;
}

#aiCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.97) 0%, rgba(8, 17, 31, 0.78) 50%, rgba(8, 17, 31, 0.36) 100%),
    radial-gradient(circle at 75% 20%, rgba(66, 208, 138, 0.24), transparent 34%);
  pointer-events: none;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 720px;
  color: #d9e6f2;
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}

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

.hero-panel {
  display: grid;
  gap: 14px;
  align-self: end;
  margin-bottom: clamp(0px, 4vw, 42px);
}

.agent-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(20px);
}

.agent-card.active {
  border-color: rgba(66, 208, 138, 0.72);
}

.agent-card span {
  display: block;
  color: #9fb3ca;
  font-size: 0.82rem;
  font-weight: 800;
}

.agent-card strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.25;
}

.value-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--white);
}

.value-grid,
.why-grid,
.industry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.value-grid span,
.why-grid span,
.industry-list span {
  min-height: 68px;
  padding: 18px;
  background: #edf4fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  font-weight: 800;
}

.split,
.logo-section,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.split p,
.section-heading p,
.logo-section p,
.contact p {
  max-width: 760px;
  color: #52627a;
  font-size: 1.04rem;
}

.statement {
  padding: clamp(24px, 4vw, 40px);
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list,
.product-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li,
.product-card li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before,
.product-card li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.section-heading {
  margin-bottom: clamp(28px, 5vw, 54px);
}

.process-grid,
.product-grid,
.solution-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-grid article,
.product-card,
.solution-grid article {
  min-height: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(8, 17, 31, 0.06);
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 900;
}

.products,
.why {
  background: #eef3f8;
}

.product-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 1.4rem;
}

.product-card .problem {
  color: #334155;
  font-weight: 800;
}

.dot {
  display: block;
  width: 13px;
  height: 13px;
  margin-bottom: 28px;
  border-radius: 50%;
}

.dot.red {
  background: var(--coral);
}

.dot.blue {
  background: var(--blue);
}

.dot.green {
  background: var(--green);
}

.dot.yellow {
  background: var(--gold);
}

.industries {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.industries h2 {
  max-width: 640px;
}

.industry-list span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #e7f0f8;
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.logo-section {
  background: var(--white);
}

.logo-showcase {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
  background: #eef6fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.logo-showcase svg {
  width: min(220px, 70vw);
  height: auto;
}

.logo-showcase rect {
  fill: var(--ink);
}

.logo-showcase path {
  fill: var(--white);
}

.logo-showcase circle {
  fill: var(--cyan);
}

.logo-showcase .pulse {
  fill: none;
  stroke: var(--green);
  stroke-width: 5;
  stroke-linecap: round;
}

.logo-showcase span {
  max-width: 380px;
  color: #52627a;
}

.contact {
  background: #e8f0f7;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.contact-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #52627a;
  font-weight: 800;
}

.contact-meta span {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-meta a {
  color: var(--ink);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 84px);
  color: #dbeafe;
  background: var(--ink);
}

@media (max-width: 1040px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .header-cta {
    position: absolute;
    top: 16px;
    right: 18px;
  }

  .hero,
  .value-band,
  .split,
  .logo-section,
  .contact,
  .industries {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .product-grid,
  .solution-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
    padding-right: 132px;
  }

  .brand small {
    display: none;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(8, 17, 31, 0.96), rgba(8, 17, 31, 0.74));
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.65rem);
    line-height: 1;
  }

  .section {
    padding-inline: 18px;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .button,
  .form-actions button,
  .form-actions a {
    width: 100%;
  }

  .value-grid,
  .process-grid,
  .product-grid,
  .solution-grid,
  .why-grid,
  .industry-list {
    grid-template-columns: 1fr;
  }
}
