:root {
  --bg: #fbfdff;
  --bg-soft: #eef8ff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --line: rgba(22, 96, 170, 0.18);
  --text: #214a73;
  --muted: #5f7893;
  --blue: #006bea;
  --blue-bright: #19b9ff;
  --blue-deep: #073f92;
  --cyan-soft: #d9f3ff;
  --indigo: #164ea8;
  --silver: #2e5a84;
  --shadow: 0 24px 70px rgba(38, 99, 162, 0.18);
  --radius: 8px;
  font-family: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 8%, rgba(25, 185, 255, 0.34), transparent 28rem),
    radial-gradient(circle at 4% 18%, rgba(0, 107, 234, 0.12), transparent 24rem),
    linear-gradient(180deg, #fbfdff 0%, #e6f6ff 44%, #ffffff 100%);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(0, 107, 234, 0.24);
  background:
    linear-gradient(90deg, rgba(0, 107, 234, 0.15), rgba(25, 185, 255, 0.12) 44%, rgba(255, 255, 255, 0.92)),
    rgba(251, 253, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 38px rgba(38, 99, 162, 0.12);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background:
    linear-gradient(90deg, rgba(0, 107, 234, 0.2), rgba(25, 185, 255, 0.15) 44%, rgba(255, 255, 255, 0.96)),
    rgba(251, 253, 255, 0.98);
  box-shadow: 0 18px 46px rgba(24, 86, 148, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand img {
  display: block;
  width: 168px;
  height: 56px;
  object-fit: contain;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #02070d, #071421 58%, #0b2a58);
  box-shadow: 0 16px 42px rgba(0, 107, 234, 0.22);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #315c86;
  font-size: 0.95rem;
  font-weight: 600;
}

.desktop-nav a:hover,
footer a:hover {
  color: var(--blue);
}

.header-cta {
  padding: 12px 18px;
  border: 1px solid rgba(0, 107, 234, 0.4);
  border-radius: var(--radius);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 14px 34px rgba(0, 107, 234, 0.24);
}

.section-pad {
  padding: 52px clamp(18px, 5vw, 72px);
  width: 100%;
  max-width: 100vw;
}

.section-pad,
.portal-preview,
.service-list article,
.client-grid article,
.app-form,
.plan-card,
.meeting-card,
.site-footer {
  animation: fadeUp 650ms ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  min-height: auto;
}

.hero > *,
.workspace > *,
.meeting-card > * {
  min-width: 0;
}

.hero-copy h1,
.section-heading h2,
.request-copy h2,
.meeting-card h2 {
  margin: 0;
  color: #1d4164;
  font-size: clamp(2.3rem, 5vw, 5.45rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p,
.section-heading p,
.request-copy p,
.meeting-card p {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue), var(--blue-bright));
  box-shadow: 0 16px 36px rgba(0, 107, 234, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(0, 107, 234, 0.32);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue), var(--blue-bright));
  box-shadow: 0 18px 48px rgba(27, 127, 255, 0.35);
}

.btn-secondary {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue), var(--blue-bright));
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-contact a {
  color: #0b5fc9;
  font-weight: 800;
}

.portal-preview,
.app-form,
.meeting-card,
.plan-card,
.service-list article {
  border: 1px solid rgba(0, 107, 234, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 249, 255, 0.95)),
    linear-gradient(135deg, rgba(0, 107, 234, 0.12), rgba(25, 185, 255, 0.1));
  box-shadow: 0 22px 64px rgba(24, 86, 148, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.portal-preview:hover,
.app-form:hover,
.meeting-card:hover,
.plan-card:hover,
.service-list article:hover,
.client-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 107, 234, 0.36);
  box-shadow: 0 28px 76px rgba(0, 107, 234, 0.2);
}

.portal-preview {
  padding: 22px;
  max-width: 100%;
  overflow: hidden;
}

.icon,
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--indigo), var(--blue), var(--blue-bright));
  box-shadow: 0 14px 30px rgba(0, 107, 234, 0.22);
}

.icon svg,
.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.visual-preview {
  padding: 14px;
  animation: fadeUp 650ms ease both;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eaf8ff;
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 900ms ease, transform 1800ms ease;
}

.hero-slideshow img[hidden] {
  display: none;
}

.hero-slideshow img.is-active {
  opacity: 1;
  transform: scale(1);
}

.capability-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.capability-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(0, 107, 234, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.capability-list .icon {
  margin-bottom: 0;
}

.capability-list strong {
  display: block;
  color: #1d4164;
  font-size: 0.98rem;
}

.capability-list p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.services {
  background:
    linear-gradient(180deg, rgba(210, 239, 255, 0.84), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 8% 30%, rgba(0, 107, 234, 0.08), transparent 22rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 26px;
}

.section-heading h2,
.request-copy h2,
.meeting-card h2,
.contact h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.05;
}

.service-list,
.plan-grid,
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-list article,
.plan-card,
.client-grid article {
  padding: 24px;
}

.service-list h3,
.plan-card h3,
.client-grid h3 {
  margin: 0;
  color: #1d4164;
  font-size: 1.25rem;
}

.service-list p,
.plan-card p,
.client-grid p,
.payment-note,
.form-note {
  color: var(--muted);
  line-height: 1.58;
}

.clients {
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 107, 234, 0.12), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(226, 245, 255, 0.62));
}

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

.client-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 248, 255, 0.92));
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.client-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #0b5fc9;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(25, 185, 255, 0.14);
}

.workspace {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.request-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--silver);
}

.request-copy li {
  padding-left: 26px;
  position: relative;
}

.request-copy li::before {
  position: absolute;
  left: 0;
  color: var(--blue-bright);
  content: ">";
}

.request-panel {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  max-width: 520px;
}

.request-panel article {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(0, 107, 234, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(216, 241, 255, 0.7));
  box-shadow: 0 14px 34px rgba(24, 86, 148, 0.1);
}

.request-panel strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue), var(--blue-bright));
}

.request-panel span {
  color: #1d4164;
  font-weight: 800;
}

.app-form,
.meeting-form {
  display: grid;
  gap: 16px;
}

.meeting-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.app-form {
  padding: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--silver);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  outline: none;
  padding: 14px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(53, 183, 255, 0.68);
  box-shadow: 0 0 0 4px rgba(53, 183, 255, 0.12);
}

textarea {
  resize: vertical;
}

.plan-card {
  display: flex;
  min-height: 236px;
  flex-direction: column;
}

.plan-card strong {
  display: block;
  margin-top: auto;
  margin-bottom: 18px;
  color: #071c34;
  font-size: 1.3rem;
}

.plan-card.featured,
.plan-card {
  border-color: rgba(0, 107, 234, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(228, 246, 255, 0.94)),
    radial-gradient(circle at top right, rgba(25, 185, 255, 0.18), transparent 12rem);
}

.payment-note {
  margin: 18px 0 0;
  text-align: center;
}

code {
  color: #0b5fc9;
}

.meeting-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
}

.meeting-copy img {
  display: block;
  width: 100%;
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 107, 234, 0.16);
  box-shadow: 0 18px 44px rgba(24, 86, 148, 0.14);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1fr;
  gap: 28px;
  margin-top: 30px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 88% 20%, rgba(25, 185, 255, 0.22), transparent 22rem),
    linear-gradient(135deg, #071421, #0a2c62 55%, #064fa8);
}

.footer-brand img {
  display: block;
  width: 190px;
  height: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
  line-height: 1.65;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  color: #ffffff;
  font-weight: 700;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.72);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue), var(--blue-bright));
  box-shadow: 0 18px 42px rgba(0, 107, 234, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
  }

  .desktop-nav {
    order: 3;
    display: flex;
    flex: 0 0 100%;
    width: auto;
    justify-content: center;
    gap: 24px;
    padding-top: 8px;
    overflow-x: auto;
  }

  .hero,
  .workspace,
  .meeting-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  .section-heading {
    display: block;
  }

  .service-list,
  .plan-grid,
  .client-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 620px) {
  .site-header {
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px 0;
    padding: 10px 16px;
    overflow: hidden;
  }

  .desktop-nav {
    justify-content: flex-start;
    gap: 20px;
    padding: 8px 2px 0;
    font-size: 0.9rem;
    scrollbar-width: none;
  }

  .desktop-nav::-webkit-scrollbar {
    display: none;
  }

  .brand img {
    width: 118px;
    height: 46px;
    padding: 6px 8px;
  }

  .header-cta {
    display: none;
  }

  .section-pad {
    padding: 38px 18px;
  }

  .hero-copy h1 {
    font-size: 1.56rem;
    line-height: 1.08;
    max-width: 100%;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .hero-copy p {
    overflow-wrap: anywhere;
  }

  .hero-copy,
  .portal-preview,
  .section-heading,
  .request-copy,
  .app-form,
  .meeting-card {
    width: 100%;
    max-width: none;
  }

  .hero-copy {
    max-width: none;
  }

  .hero {
    gap: 24px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-contact {
    display: grid;
    gap: 7px;
  }

  .visual-preview {
    padding: 10px;
  }

  .capability-list article {
    grid-template-columns: 38px 1fr;
    padding: 10px;
  }

  .icon,
  .service-icon {
    width: 38px;
    height: 38px;
  }

  .icon svg,
  .service-icon svg {
    width: 21px;
    height: 21px;
  }

  .service-list article,
  .plan-card,
  .client-grid article,
  .app-form {
    padding: 18px;
  }

  .meeting-card {
    padding: 18px;
  }

  .hero-copy p,
  .section-heading p,
  .request-copy p,
  .meeting-card p {
    max-width: 100%;
  }

  .meeting-options {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 26px 18px;
  }

  .footer-brand img {
    width: 150px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
