:root {
  color-scheme: dark;
  --background: #080b12;
  --foreground: #f8fafc;
  --primary: #3978ff;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 0.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #080b12;
  color: #f8fafc;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

button {
  font: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page {
  min-height: 100vh;
  overflow: hidden;
  background: #080b12;
  color: white;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 0.65rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.button-primary {
  border: none;
  background: #3978ff;
  color: white;
  box-shadow: 0 10px 30px rgba(57, 120, 255, 0.2);
}

.button-primary:hover {
  background: #5b91ff;
  transform: translateY(-2px);
}

.button-primary:disabled {
  opacity: 0.65;
  transform: none;
  cursor: wait;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  background: transparent;
}

.button-secondary:hover {
  border-color: rgba(57, 120, 255, 0.65);
  color: white;
  background: rgba(57, 120, 255, 0.08);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #6f9cff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.text-gradient {
  background: linear-gradient(110deg, #fff 20%, #73a0ff 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon-sm {
  width: 0.875rem;
  height: 0.875rem;
}

.icon-arrow-right { --icon: url("/icons/arrow-right.svg"); }
.icon-bot { --icon: url("/icons/bot.svg"); }
.icon-boxes { --icon: url("/icons/boxes.svg"); }
.icon-check { --icon: url("/icons/check.svg"); }
.icon-chevron-down { --icon: url("/icons/chevron-down.svg"); }
.icon-code-2 { --icon: url("/icons/code-2.svg"); }
.icon-database { --icon: url("/icons/database.svg"); }
.icon-external-link { --icon: url("/icons/external-link.svg"); }
.icon-layers-3 { --icon: url("/icons/layers-3.svg"); }
.icon-mail { --icon: url("/icons/mail.svg"); }
.icon-menu { --icon: url("/icons/menu.svg"); }
.icon-monitor-cog { --icon: url("/icons/monitor-cog.svg"); }
.icon-network { --icon: url("/icons/network.svg"); }
.icon-phone { --icon: url("/icons/phone.svg"); }
.icon-send { --icon: url("/icons/send.svg"); }
.icon-settings-2 { --icon: url("/icons/settings-2.svg"); }
.icon-sparkles { --icon: url("/icons/sparkles.svg"); }
.icon-workflow { --icon: url("/icons/workflow.svg"); }
.icon-x { --icon: url("/icons/x.svg"); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 11, 18, 0.8);
  backdrop-filter: blur(20px);
}

.header-inner {
  margin: 0 auto;
  display: flex;
  height: 76px;
  max-width: 1280px;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(96, 165, 250, 0.4);
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  font-weight: 700;
}

.logo-text {
  font-size: 0.9375rem;
  color: white;
}

.logo-text span {
  color: #60a5fa;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  color: #94a3b8;
}

.nav-desktop a:hover {
  color: white;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #cbd5e1;
}

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #080b12;
  padding: 1.25rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile a {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.hero {
  position: relative;
  margin: 0 auto;
  display: grid;
  max-width: 1280px;
  align-items: center;
  gap: 4rem;
  padding: 10rem 1.25rem 6rem;
  min-height: 670px;
}

.hero-glow {
  position: absolute;
  right: 8%;
  top: 8%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(45, 93, 220, 0.14);
  filter: blur(90px);
}

.hero-copy {
  position: relative;
  z-index: 10;
}

.dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #60a5fa;
}

.hero h1 {
  margin: 1.75rem 0 0;
  max-width: 48rem;
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-lead {
  margin: 1.75rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #94a3b8;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.code-orbit {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 520px;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(75, 123, 255, 0.18);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.orbit-ring-one {
  width: 92%;
  height: 58%;
}

.orbit-ring-two {
  width: 60%;
  height: 92%;
  transform: rotate(55deg);
}

.code-card {
  position: relative;
  width: min(100%, 390px);
  border: 1px solid rgba(123, 157, 255, 0.23);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(21, 29, 45, 0.96), rgba(10, 15, 25, 0.96));
  padding: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38), 0 0 60px rgba(46, 91, 210, 0.16);
  transform: rotate(-3deg);
}

.code-card-top {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.traffic {
  display: flex;
  gap: 0.375rem;
}

.traffic i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef6b79;
}

.traffic i:nth-child(2) {
  background: #e8b85c;
}

.traffic i:nth-child(3) {
  background: #55c79a;
}

.code-file {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  color: #64748b;
}

.code-body {
  display: grid;
  gap: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.5;
  color: #64748b;
}

.code-body .kw { color: #c084fc; }
.code-body .id { color: #93c5fd; }
.code-body .prop { color: #67e8f9; }
.code-body .str { color: #6ee7b7; }
.code-indent { padding-left: 1.25rem; }
.code-export { padding-top: 0.75rem; color: #93c5fd; }

.status-bar {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: rgba(59, 130, 246, 0.1);
  padding: 0.75rem;
}

.status-icon {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 0.375rem;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.status-text {
  font-size: 0.75rem;
  color: #cbd5e1;
}

.status-live {
  margin-left: auto;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px #34d399;
}

.float-badge {
  position: absolute;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 23, 34, 0.9);
  padding: 0.75rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  color: #60a5fa;
}

.float-network {
  right: -0.5rem;
  top: 3rem;
}

.float-database {
  bottom: -0.5rem;
  left: -1rem;
  color: #d8b4fe;
}

.marquee {
  margin: 0 auto;
  display: flex;
  max-width: 1280px;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.25rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #64748b;
}

.section-shell {
  margin: 0 auto;
  max-width: 1280px;
  padding: 8rem 1.25rem 0;
}

.section-heading {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-heading > p {
  max-width: 370px;
  color: #8490a3;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

h2 {
  margin: 1.2rem 0 0;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

h3 {
  font-weight: 500;
  margin: 0;
}

.services-grid {
  display: grid;
  gap: 1rem;
}

.solutions-grid {
  display: grid;
  gap: 0.75rem;
}

.service-card,
.solution-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(16, 23, 36, 0.9), rgba(10, 14, 23, 0.88));
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.service-card {
  border-radius: 1rem;
  padding: 1.75rem;
}

.service-card:hover,
.solution-card:hover {
  border-color: rgba(80, 129, 255, 0.6);
  transform: translateY(-4px);
  background: linear-gradient(145deg, rgba(20, 31, 52, 0.95), rgba(10, 15, 25, 0.95));
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.card-arrow {
  color: #475569;
  transition: transform 0.25s ease;
}

.service-card:hover .card-arrow {
  transform: translateX(4px);
}

.service-card h3 {
  margin-top: 2.5rem;
  font-size: 1.25rem;
}

.service-card > p,
.solution-card p {
  margin: 0.75rem 0 0;
  color: #8490a3;
  font-size: 0.875rem;
  line-height: 1.65;
}

.service-card ul {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
  color: #a8b2c3;
  font-size: 0.8rem;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.service-card li .icon {
  color: #5f93ff;
}

.icon-box {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 0.65rem;
  background: rgba(57, 120, 255, 0.12);
  color: #6e9cff;
}

.solution-card {
  border-radius: 0.85rem;
  padding: 1.5rem;
}

.solution-card h3 {
  margin-top: 1.7rem;
  font-size: 1.05rem;
}

.explore {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #60a5fa;
}

.benefits-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

.benefit-card {
  background: #0d121c;
  padding: 1.75rem;
}

.benefit-card .mono,
.process-card .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #60a5fa;
}

.benefit-card h3 {
  margin-top: 2.5rem;
  font-size: 1.25rem;
}

.benefit-card p {
  margin: 0.75rem 0 0;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #94a3b8;
}

.process-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2rem;
}

.process-card {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
}

.process-card h3 {
  margin-top: 2rem;
  font-size: 1.125rem;
}

.process-card p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #94a3b8;
}

.process-arrow {
  display: none;
  position: absolute;
  right: 0;
  top: 1.25rem;
  color: #475569;
  transform: rotate(-90deg);
}

.contact-section {
  padding-bottom: 7rem;
  padding-top: 5rem;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(88, 133, 255, 0.32);
  border-radius: 1.2rem;
  padding: 2rem;
  background: radial-gradient(circle at 80% 10%, rgba(57, 120, 255, 0.22), transparent 40%), #0d1421;
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -160px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(105, 145, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(105, 145, 255, 0.04), 0 0 0 90px rgba(105, 145, 255, 0.025);
}

.cta-inner {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 3rem;
}

.cta-panel h2 {
  max-width: 36rem;
}

.cta-panel .lead {
  margin: 1.5rem 0 0;
  max-width: 32rem;
  color: #94a3b8;
}

.contacts {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.contact-link .icon {
  color: #5f93ff;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.6rem;
  background: rgba(5, 9, 16, 0.5);
  padding: 0.85rem 1rem;
  color: white;
  outline: none;
  font: inherit;
  font-size: 0.875rem;
}

input:focus,
textarea:focus {
  border-color: #3978ff;
  box-shadow: 0 0 0 3px rgba(57, 120, 255, 0.12);
}

textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-hint,
.form-status {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
}

.form-status.is-success {
  color: #6ee7b7;
}

.form-status.is-error {
  color: #fca5a5;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
  margin: 0 auto;
  display: flex;
  max-width: 1280px;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem 1.25rem;
}

.footer-copy {
  margin: 1rem 0 0;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

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

.footer-social {
  display: flex;
  gap: 0.75rem;
  color: #64748b;
}

.footer-bottom {
  margin: 0 auto;
  max-width: 1280px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.25rem;
  font-size: 0.75rem;
  color: #475569;
}

@media (min-width: 768px) {
  .header-inner,
  .hero,
  .marquee,
  .section-shell,
  .footer-inner,
  .footer-bottom {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .nav-desktop,
  .header-cta {
    display: flex;
  }

  .menu-toggle,
  .nav-mobile {
    display: none !important;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    grid-template-columns: 1fr 0.8fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-arrow {
    display: block;
  }

  .cta-panel {
    padding: 4rem;
  }

  .benefit-card {
    padding: 2.5rem;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding-top: 13rem;
    padding-bottom: 8rem;
  }

  .code-orbit {
    justify-self: end;
  }

  .section-shell {
    padding-top: 10rem;
  }

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

  .cta-inner {
    grid-template-columns: 1fr 0.8fr;
    align-items: end;
  }
}

@media (max-width: 640px) {
  .code-orbit {
    min-height: 350px;
  }

  .orbit-ring-one {
    width: 100%;
  }

  .orbit-ring-two {
    height: 80%;
  }
}
