:root {
  --blue: #0071e3;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --surface: #f5f5f7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: white; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: blur(18px); border-bottom: 1px solid #eee; }
.nav { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-size: 23px; font-weight: 750; letter-spacing: -1px; }
.logo span:first-child { font-weight: 450; }
.logo-dot { color: var(--blue); }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 13px; color: #424245; transition: color .2s; }
.nav-links a:hover, .text-link:hover { color: var(--blue); }
.menu-toggle { display: none; background: none; border: 0; font-size: 23px; cursor: pointer; }
.hero { text-align: center; padding-top: 105px; }
.eyebrow { font-size: 12px; font-weight: 750; letter-spacing: 2.1px; color: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(56px, 8vw, 106px); line-height: 1.02; letter-spacing: -.075em; margin: 23px 0 28px; }
h1 span { color: #8b8b91; }
.hero-description { font-size: clamp(18px, 2.2vw, 23px); color: var(--muted); line-height: 1.55; max-width: 670px; margin: 0 auto 28px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 40px; font-size: 15px; font-weight: 550; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: #0062c3; }
.text-link { color: var(--blue); font-size: 15px; }
.hero-visual { position: relative; isolation: isolate; overflow: hidden; margin: 85px auto 0; height: 410px; border-radius: 28px; background: radial-gradient(ellipse at 50% 110%, #153c86, #09172d 56%, #050a15); display: flex; align-items: center; justify-content: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(4px); }
.orb-one { width: 330px; height: 330px; background: radial-gradient(circle at 30% 30%, #81c7ff, #1357c6 40%, #091c47 73%); box-shadow: 0 0 110px #2075ef55; transform: rotate(-20deg); }
.orb-two { width: 420px; height: 130px; border: 1px solid #a6cfff80; transform: rotate(-27deg); }
.visual-copy { position: absolute; z-index: 2; bottom: 32px; left: 38px; text-align: left; color: white; }
.visual-copy span { display: block; font-size: 10px; letter-spacing: 2px; opacity: .7; margin-bottom: 9px; }
.visual-copy strong { font-size: 24px; letter-spacing: -.6px; }
.section { padding: 110px 0; }
.centered { text-align: center; }
.intro { background: var(--surface); margin-top: 85px; }
h2 { font-size: clamp(39px, 5vw, 65px); letter-spacing: -.055em; line-height: 1.09; margin-bottom: 24px; }
.centered > p:not(.eyebrow) { max-width: 690px; margin: 0 auto 28px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card { min-height: 290px; padding: 38px; background: var(--surface); border-radius: 24px; transition: transform .25s; }
.service-card:hover { transform: translateY(-5px); }
.service-symbol { color: var(--blue); font-size: 36px; margin-bottom: 33px; }
.service-card h3 { font-size: 27px; letter-spacing: -.8px; margin-bottom: 12px; }
.service-card p { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 330px; }
.service-card a { color: var(--blue); font-size: 14px; }
.dark-feature { background: #090d17; color: white; }
.dark-feature h2 span { color: #9ca3b5; }
.dark-feature .centered > p:not(.eyebrow) { color: #a7adba; }
.btn-light { background: white; color: #111; }
.closing { padding: 125px 0; }
.footer { border-top: 1px solid #e8e8ed; padding: 35px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer strong { font-size: 21px; }
.footer p { font-size: 12px; color: var(--muted); margin: 7px 0 0; }
@media (max-width: 700px) {
  .container { width: min(100% - 32px, 1120px); }
  .nav { min-height: 60px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; padding: 24px; background: white; flex-direction: column; gap: 22px; box-shadow: 0 15px 30px #00000010; }
  .nav-links.open { display: flex; }
  .hero { padding-top: 65px; }
  .hero-visual { height: 290px; margin-top: 60px; }
  .orb-one { width: 230px; height: 230px; }
  .orb-two { width: 290px; }
  .visual-copy { left: 22px; bottom: 22px; }
  .visual-copy strong { font-size: 19px; }
  .section { padding: 75px 0; }
  .intro { margin-top: 60px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; padding: 28px; }
  .section-heading { align-items: start; flex-direction: column; }
  .footer-inner { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* VMHubs Solutions + Software */
.three-services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.three-services .service-card {
  min-height: 345px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.three-services .service-card a {
  margin-top: auto;
}
.page-hero {
  padding: 115px 0 90px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(48px, 7vw, 82px);
}
.page-hero .hero-description {
  max-width: 740px;
}
.feature-panel {
  background: var(--surface);
  border-radius: 26px;
  padding: 50px;
  margin-bottom: 22px;
}
.feature-panel h2 {
  font-size: clamp(32px, 4vw, 48px);
}
.feature-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 730px;
}
.feature-panel ul {
  color: var(--muted);
  line-height: 2;
  padding-left: 20px;
}
.coming-soon {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 30px;
  background: #e8f1ff;
  color: #075db8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.contact-email {
  font-size: clamp(20px, 4vw, 35px);
  color: var(--blue);
  overflow-wrap: anywhere;
}
@media (max-width: 850px) {
  .three-services {
    grid-template-columns: 1fr;
  }
  .three-services .service-card {
    min-height: 250px;
  }
}
@media (max-width: 700px) {
  .page-hero {
    padding: 75px 0 55px;
  }
  .feature-panel {
    padding: 28px;
  }
}

/* VMHubs Contact Modal */
.contact-overlay[hidden] { display: none; }
.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.contact-dialog {
  position: relative;
  background: #fff;
  width: min(100%, 560px);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  padding: 38px;
  box-shadow: 0 25px 90px rgba(0,0,0,.22);
}
.contact-dialog h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 12px;
}
.contact-subtitle {
  color: #6e6e73;
  line-height: 1.6;
}
.contact-close {
  position: absolute;
  right: 20px;
  top: 15px;
  border: 0;
  background: #f5f5f7;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 24px;
  cursor: pointer;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 25px;
}
.contact-form label {
  font-size: 13px;
  font-weight: 650;
  margin-top: 9px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  background: white;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid #0071e3;
  outline-offset: 1px;
}
.contact-submit {
  margin-top: 15px;
  border: 0;
}
.contact-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}
.contact-notice {
  color: #6e6e73;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
body.contact-modal-open { overflow: hidden; }
@media(max-width:600px) {
  .contact-dialog { padding: 26px 20px; border-radius: 18px; }
}

/* Contact form success screen */
.contact-success {
  text-align: center;
  padding: 35px 10px 15px;
}
.success-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #e7f6ee;
  color: #16834a;
  display: grid;
  place-items: center;
  font-size: 32px;
}
.contact-success h3 {
  font-size: 30px;
  letter-spacing: -1px;
  margin-bottom: 15px;
}
.contact-success p {
  color: #6e6e73;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Hide form after successful submission */
.contact-form[hidden] {
  display: none !important;
}

/* Clean confirmation screen after successful submission */
.contact-dialog:has(.contact-success) > .eyebrow,
.contact-dialog:has(.contact-success) > h2,
.contact-dialog:has(.contact-success) > .contact-subtitle {
  display: none;
}

.contact-dialog:has(.contact-success) {
  width: min(100%, 460px);
  padding: 45px 30px 35px;
  text-align: center;
}

.contact-dialog:has(.contact-success) .contact-success {
  padding: 10px 0 0;
}
