:root {
  --bg: #081224;
  --bg-alt: #12243f;
  --surface: #ffffff;
  --surface-alt: #eef3fb;
  --text: #122032;
  --muted: #5a687a;
  --brand: #1463ff;
  --brand-dark: #0d4fcf;
  --border: #d3deee;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #f5f7fc;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  color: #fff;
  background: radial-gradient(circle at 10% 0%, #1f3f73 0%, var(--bg) 45%),
    linear-gradient(145deg, var(--bg), var(--bg-alt));
  padding-bottom: 4.5rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  display: block;
  width: min(280px, 48vw);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: #dce7ff;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fff;
}

.hero-content {
  padding: 2.5rem 0 1rem;
}

.eyebrow {
  margin: 0;
  color: #9fbcff;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1.15;
  max-width: 18ch;
  margin: 0.75rem 0;
}

.hero-copy {
  color: #d8e4ff;
  max-width: 65ch;
  margin: 0;
}

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

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-metrics li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 0.8rem;
  color: #e6efff;
  font-size: 0.95rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.25rem;
  color: #fff;
}

.section {
  padding: 4.5rem 0;
}

.section-intro {
  color: var(--muted);
  max-width: 65ch;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.grid {
  display: grid;
  gap: 1.1rem;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.services-showcase {
  display: grid;
  grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.services-selector {
  display: grid;
  gap: 0.8rem;
}

.service-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid #d8e2f1;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 220ms ease, box-shadow 260ms ease, background 220ms ease;
}

.service-tab:hover,
.service-tab.is-active {
  transform: translateX(6px);
  border-color: rgba(20, 99, 255, 0.24);
  background: #fff;
  box-shadow: 0 18px 34px rgba(18, 32, 50, 0.08);
}

.service-tab-number {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.service-tab-copy {
  display: grid;
  gap: 0.2rem;
}

.service-tab-copy strong {
  font-size: 1rem;
}

.service-tab-copy span {
  color: var(--muted);
  font-size: 0.95rem;
}

.services-stage {
  position: relative;
  min-height: 700px;
  padding: 2rem 3rem 1rem 7rem;
}

.services-track {
  position: relative;
  height: 100%;
  min-height: 660px;
  perspective: 2200px;
  transform-style: preserve-3d;
}

.service-card {
  --card-translate-x: 0px;
  --card-translate-z: 0px;
  --card-rotate-y: 0deg;
  --card-scale: 1;
  --card-opacity: 1;
  --card-blur: 0px;
  --card-brightness: 1;
  position: absolute;
  inset: 0 auto 0 0;
  width: min(100%, 720px);
  min-height: 640px;
  padding: 1.15rem;
  border-radius: 36px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 38px 60px rgba(18, 32, 50, 0.16);
  opacity: var(--card-opacity);
  transform: perspective(2200px)
    translate3d(var(--card-translate-x), 0, var(--card-translate-z))
    rotateY(var(--card-rotate-y)) scale(var(--card-scale));
  filter: blur(var(--card-blur)) brightness(var(--card-brightness));
  transform-origin: center center;
  will-change: transform, opacity, filter;
  transition: transform 680ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 420ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--card-delay, 0ms);
}

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  top: 14%;
  bottom: 14%;
  width: 34%;
  filter: blur(28px);
  opacity: 0.72;
  z-index: -2;
}

.service-card::before {
  left: -12%;
}

.service-card::after {
  right: -12%;
}

.service-card.is-active {
  box-shadow: 0 42px 72px rgba(18, 32, 50, 0.22);
}

.service-card-inner {
  height: 100%;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.65rem;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms ease, box-shadow 320ms ease;
  transition-delay: var(--card-inner-delay, 0ms);
}

.service-card.is-active .service-card-inner {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 28px rgba(0, 0, 0, 0.08);
}

.service-card.is-entering {
  transition-duration: 760ms, 460ms, 560ms, 460ms;
}

.service-card.is-exiting {
  transition-duration: 620ms, 360ms, 460ms, 360ms;
}

.service-label {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.service-card h3 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 0.98;
  color: #fff;
}

.service-card p {
  margin: 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.88);
}

.service-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.92);
}

.service-list li::marker {
  color: rgba(255, 255, 255, 0.72);
}

.service-meter {
  margin-top: auto;
  width: min(220px, 100%);
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.55));
}

.meter-fill.is-3 {
  width: 56%;
}

.meter-fill.is-4 {
  width: 74%;
}

.meter-fill.is-5 {
  width: 92%;
}

.service-cloud {
  background: linear-gradient(150deg, #0d86d9 0%, #1057a8 50%, #48caf4 100%);
}

.service-cloud::before {
  background: linear-gradient(180deg, #0d86d9, #48caf4);
}

.service-cloud::after {
  background: linear-gradient(180deg, rgba(86, 206, 255, 0.92), rgba(20, 117, 214, 0.7));
}

.service-security {
  background: linear-gradient(150deg, #ff5a00 0%, #ff8d3d 55%, #ffd0b2 100%);
}

.service-security::before {
  background: linear-gradient(180deg, #ff5a00, #ff934f);
}

.service-security::after {
  background: linear-gradient(180deg, rgba(255, 218, 191, 0.9), rgba(255, 125, 38, 0.72));
}

.service-support {
  background: linear-gradient(150deg, #0fbe75 0%, #0f79d2 58%, #014fef 100%);
}

.service-support::before {
  background: linear-gradient(180deg, #16d98a, #1f73ff);
}

.service-support::after {
  background: linear-gradient(180deg, rgba(15, 121, 210, 0.92), rgba(80, 224, 155, 0.72));
}

.service-vcio {
  background: linear-gradient(150deg, #7f2fff 0%, #d24fff 55%, #39bdf8 100%);
}

.service-vcio::before {
  background: linear-gradient(180deg, #7f2fff, #d24fff);
}

.service-vcio::after {
  background: linear-gradient(180deg, rgba(57, 189, 248, 0.92), rgba(186, 92, 255, 0.72));
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.25rem;
  box-shadow: 0 12px 28px rgba(18, 32, 50, 0.07);
}

.card p {
  color: var(--muted);
}

.alt {
  background:
    radial-gradient(circle at 20% 20%, rgba(20, 99, 255, 0.08), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(255, 90, 0, 0.08), transparent 24%),
    var(--surface-alt);
}

.step {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  text-transform: uppercase;
}

.process-intro {
  margin-bottom: 1.85rem;
}

.process-panel {
  position: relative;
  min-height: 300px;
  padding: 1.15rem;
  border-radius: 36px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 56px rgba(18, 32, 50, 0.14);
}

.process-panel::before,
.process-panel::after {
  content: "";
  position: absolute;
  top: 16%;
  bottom: 16%;
  width: 34%;
  filter: blur(28px);
  opacity: 0.72;
  z-index: -2;
}

.process-panel::before {
  left: -12%;
}

.process-panel::after {
  right: -12%;
}

.process-panel-inner {
  height: 100%;
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.6rem;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 28px rgba(0, 0, 0, 0.06);
}

.process-panel h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.08;
  color: #fff;
}

.process-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.process-points {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.process-points li::marker {
  color: rgba(255, 255, 255, 0.72);
}

.process-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.process-discover {
  background: linear-gradient(150deg, #1057a8 0%, #1d77d4 52%, #72d4ff 100%);
}

.process-discover::before {
  background: linear-gradient(180deg, #1057a8, #4cbcff);
}

.process-discover::after {
  background: linear-gradient(180deg, rgba(114, 212, 255, 0.9), rgba(16, 87, 168, 0.7));
}

.process-prioritize {
  background: linear-gradient(150deg, #ff5a00 0%, #ff8a3d 48%, #ffd8be 100%);
}

.process-prioritize::before {
  background: linear-gradient(180deg, #ff5a00, #ff9b5c);
}

.process-prioritize::after {
  background: linear-gradient(180deg, rgba(255, 216, 190, 0.9), rgba(255, 118, 24, 0.72));
}

.process-execute {
  background: linear-gradient(150deg, #0b2f7a 0%, #7f2fff 52%, #39bdf8 100%);
}

.process-execute::before {
  background: linear-gradient(180deg, #1948ba, #a245ff);
}

.process-execute::after {
  background: linear-gradient(180deg, rgba(57, 189, 248, 0.92), rgba(127, 47, 255, 0.72));
}

.quote {
  text-align: center;
}

blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.45;
}

.quote-attribution {
  color: var(--muted);
  margin-top: 1rem;
}

.contact {
  display: flex;
  justify-content: center;
}

.contact-cta {
  background: linear-gradient(160deg, #0d1b31 0%, #16355f 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
  align-content: center;
  min-height: 100%;
  max-width: 720px;
  box-shadow: 0 18px 40px rgba(8, 18, 36, 0.18);
}

.cta-kicker {
  margin: 0;
  color: #98b8ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-cta h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.contact-cta p {
  margin: 0;
  color: #d9e6ff;
}

.cta-button {
  width: fit-content;
  min-width: 240px;
  padding: 0.95rem 1.35rem;
  color: #0f2444;
  background: linear-gradient(135deg, #ffffff 0%, #dbe7ff 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  font-weight: 700;
}

.cta-button:hover {
  background: linear-gradient(135deg, #ffffff 0%, #cddfff 100%);
  transform: translateY(-1px);
}

.cta-button span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-button span::after {
  content: "->";
  font-size: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #b9c7dc;
  border-radius: 10px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(20, 99, 255, 0.28);
  border-color: var(--brand);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.btn.small {
  padding: 0.5rem 0.8rem;
  font-size: 0.95rem;
}

.primary {
  color: #fff;
  background: var(--brand);
}

.primary:hover {
  background: var(--brand-dark);
}

.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
}

footer {
  background: #0d182b;
  color: #afbdd4;
  padding: 1.1rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

footer a {
  color: #d6e2f8;
}

@media (max-width: 900px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .services-showcase {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .services-stage {
    min-height: 620px;
    padding: 1rem 0 0;
  }

  .services-track {
    min-height: 600px;
  }

  .service-card {
    width: 100%;
    min-height: 580px;
  }

  .process-panel {
    min-height: 280px;
  }
}

@media (max-width: 740px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo img {
    width: min(220px, 70vw);
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .footer-inner {
    justify-content: flex-start;
  }

  .service-tab {
    transform: none;
  }

  .services-stage {
    min-height: 560px;
  }

  .services-track {
    min-height: 540px;
  }

  .service-card {
    min-height: 520px;
    padding: 0.9rem;
  }

  .service-card-inner {
    padding: 1.2rem;
  }

  .service-card h3 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-tab,
  .service-card,
  .service-card-inner {
    transition: none;
  }
}

body.is-touch-device .services-showcase,
body.is-ios-safari .services-showcase {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

body.is-touch-device .services-selector,
body.is-ios-safari .services-selector {
  display: none;
}

body.is-touch-device .services-stage,
body.is-ios-safari .services-stage {
  min-height: auto;
  padding: 0;
  overflow: visible;
}

body.is-touch-device .services-track,
body.is-ios-safari .services-track {
  display: grid;
  gap: 1rem;
  min-height: 0;
  perspective: none;
  transform-style: flat;
}

body.is-touch-device .service-card,
body.is-ios-safari .service-card {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: auto;
  transform: none;
  filter: none;
  opacity: 1;
  overflow: visible;
  transition: none;
}

body.is-touch-device .service-card-inner,
body.is-ios-safari .service-card-inner {
  transition: none;
  transform: none;
}
