@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --blue: #0869d7;
  --blue-dark: #082c63;
  --blue-light: #1b82e8;
  --red: #b51f3d;
  --green: #1fa46b;
  --white: #ffffff;
  --ink: #092856;
  --muted: #49688f;
  --line: rgba(8, 105, 215, .16);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
}

body {
  background: #eaf5ff;
}

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

.page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(255,255,255,.98) 0 18%, rgba(255,255,255,.72) 38%, transparent 65%),
    linear-gradient(180deg, #eef8ff 0%, #dceeff 48%, #c6e2fa 100%);
}

.page::before {
  content: "";
  position: absolute;
  inset: 180px 0 190px;
  opacity: .52;
  background:
    linear-gradient(100deg, transparent 0 8%, rgba(255,255,255,.95) 8% 28%, transparent 28% 70%, rgba(255,255,255,.8) 70% 91%, transparent 91%),
    linear-gradient(90deg, rgba(19,96,170,.10) 0 1px, transparent 1px 34px);
  background-size: auto, 34px 100%;
  filter: blur(1px);
  pointer-events: none;
}

.page::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 145px;
  height: 160px;
  background:
    linear-gradient(155deg, transparent 0 38%, rgba(31,128,213,.12) 38% 39%, transparent 39%),
    linear-gradient(25deg, transparent 0 45%, rgba(31,128,213,.10) 45% 46%, transparent 46%);
  pointer-events: none;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.bg-orb {
  position: absolute;
  border: 2px solid rgba(8, 105, 215, .12);
  border-radius: 50%;
}
.orb-one { width: 420px; height: 420px; top: -280px; left: -100px; }
.orb-two { width: 500px; height: 500px; top: -360px; right: -150px; }

.topbar {
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 25px rgba(7, 57, 113, .12);
}

.brand-text strong {
  display: block;
  font-size: 32px;
  line-height: .95;
  letter-spacing: -.8px;
  color: var(--blue);
}

.brand-text span {
  display: block;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  color: #151d2b;
  margin-top: 4px;
}

.brand-text small {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  color: #4f5d72;
  letter-spacing: .7px;
}

.top-message {
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 1.4px;
  color: #2e5b92;
}

.top-message span { display: block; }

.hero {
  padding: 15px 0 0;
  text-align: center;
}

.hero-copy {
  max-width: 900px;
  margin: 0 auto;
}

.upgrade-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 10px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
}

.gear {
  font-size: 45px;
  line-height: 1;
}

.orbit {
  position: absolute;
  right: -2px;
  top: 5px;
  font-size: 29px;
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: 7px;
  font-weight: 600;
  color: #244c80;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 7vw, 88px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -3.5px;
  color: #092c61;
}

h1 span {
  display: block;
  color: #126fde;
}

.intro {
  margin: 21px auto 0;
  max-width: 780px;
  font-size: 17px;
  line-height: 1.6;
  color: #274d7d;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 900px;
  margin: 34px auto 20px;
}

.service-card {
  min-height: 185px;
  padding: 18px 16px 15px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(15, 71, 126, .12);
  backdrop-filter: blur(10px);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 29px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

.service-icon.hemis { background: var(--red); transform: rotate(45deg); }
.service-icon.website { background: #087ce4; font-size: 47px; }
.service-icon.portal { background: var(--green); font-size: 38px; }

.service-card h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -.4px;
}

.service-card p {
  margin: 6px 0 0;
  color: #385a84;
  font-size: 14px;
  line-height: 1.45;
}

.upgrade-scene {
  height: 330px;
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.upgrade-scene::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 75px;
  border-radius: 50% 50% 0 0;
  background: rgba(255,255,255,.68);
  box-shadow: 0 -18px 50px rgba(18, 102, 185, .08);
}

.laptop {
  width: min(560px, 62vw);
  position: relative;
  margin-bottom: 7px;
}

.screen {
  height: 245px;
  border: 11px solid #0b1727;
  border-bottom-width: 15px;
  border-radius: 18px 18px 7px 7px;
  background: radial-gradient(circle at 50% 15%, #123d7d, #061b3d 68%);
  box-shadow: 0 14px 25px rgba(0, 27, 67, .27);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.screen-icon { font-size: 29px; margin-bottom: 8px; }
.screen strong { font-size: 17px; line-height: 1.25; letter-spacing: .3px; }
.screen small { margin-top: 14px; font-size: 12px; line-height: 1.4; }

.progress {
  width: 54%;
  height: 15px;
  border-radius: 99px;
  margin-top: 17px;
  overflow: hidden;
  background: rgba(255,255,255,.3);
}

.progress span {
  display: block;
  width: 47%;
  height: 100%;
  border-radius: inherit;
  background: #23a0ff;
  box-shadow: 0 0 15px rgba(35,160,255,.6);
}

.base {
  width: 112%;
  height: 20px;
  margin-left: -6%;
  border-radius: 0 0 30px 30px;
  background: linear-gradient(#8994a2, #c6ccd3);
  box-shadow: 0 13px 15px rgba(0, 35, 75, .18);
}

.books {
  position: absolute;
  left: 10px;
  bottom: 18px;
  width: 205px;
  z-index: 3;
  transform: rotate(-1deg);
}

.books div {
  height: 34px;
  margin-top: 2px;
  border-radius: 3px 9px 7px 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .8px;
  box-shadow: 0 3px 5px rgba(0, 30, 70, .13);
}
.books div:nth-child(1) { background: #a71d39; }
.books div:nth-child(2) { background: #18476e; }
.books div:nth-child(3) { background: #239d86; }
.books div:nth-child(4) { background: #6e319c; }

.cup {
  position: absolute;
  right: 35px;
  bottom: 21px;
  width: 125px;
  height: 120px;
  border-radius: 8px 8px 26px 26px;
  background: linear-gradient(110deg, #fff, #e9f0f5);
  box-shadow: 0 12px 20px rgba(10, 60, 100, .13);
  z-index: 3;
  display: grid;
  place-items: center;
  text-align: center;
  color: #294b78;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}
.cup::after {
  content: "";
  position: absolute;
  right: -31px;
  top: 27px;
  width: 35px;
  height: 52px;
  border: 10px solid #eef3f7;
  border-left: 0;
  border-radius: 0 30px 30px 0;
}

.footer {
  position: relative;
  z-index: 5;
  background: linear-gradient(120deg, #0756b9, #124fc0 55%, #1549ad);
  color: white;
  border-radius: 50% 50% 0 0 / 18% 18% 0 0;
  margin-top: -2px;
}

.footer-inner {
  min-height: 185px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 30px;
}

.footer-side {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: .4px;
}
.footer-side.right {
  justify-content: flex-end;
  text-align: left;
  font-size: 12px;
  letter-spacing: 1.3px;
  font-weight: 600;
}
.cap {
  font-size: 38px;
}

.powered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.powered > span {
  font-size: 12px;
  letter-spacing: 6px;
  margin-bottom: 8px;
  opacity: .88;
}
.powered > a:not(.website-link) {
  display: flex;
  align-items: center;
  gap: 12px;
}
.kaabe-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 900;
  background: white;
  color: #1552b5;
  clip-path: polygon(0 15%, 32% 15%, 50% 34%, 68% 15%, 100% 15%, 100% 100%, 0 100%);
}
.powered strong { font-size: 28px; }
.website-link {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 4px;
}

@media (max-width: 800px) {
  .topbar { min-height: 100px; }
  .brand img { width: 68px; height: 68px; }
  .brand-text strong { font-size: 24px; }
  .brand-text span { font-size: 18px; }
  .brand-text small { font-size: 9px; }
  .top-message { display: none; }

  .services { gap: 12px; }
  .service-card { min-height: 170px; }
  .service-icon { width: 58px; height: 58px; }
  .service-card h2 { font-size: 18px; }
  .service-card p { font-size: 12px; }

  .upgrade-scene { height: 275px; }
  .screen { height: 200px; }
  .books { left: 0; width: 145px; }
  .cup { right: 0; width: 90px; height: 90px; font-size: 8px; }
  .cup::after { right: -22px; width: 26px; height: 38px; border-width: 7px; }
  .footer-inner { grid-template-columns: 1fr; padding: 30px 0; text-align: center; }
  .footer-side, .footer-side.right { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .topbar { justify-content: center; }
  .brand { gap: 10px; }
  .brand img { width: 62px; height: 62px; }
  .brand-text strong { font-size: 21px; }
  .brand-text span { font-size: 16px; }
  .brand-text small { font-size: 8px; }

  .hero { padding-top: 5px; }
  .upgrade-icon { transform: scale(.75); margin-bottom: 0; }
  .eyebrow { font-size: 11px; letter-spacing: 3px; }
  h1 { font-size: 48px; letter-spacing: -2px; }
  .intro { font-size: 14px; line-height: 1.5; }

  .services {
    grid-template-columns: 1fr;
    max-width: 330px;
    gap: 10px;
  }
  .service-card {
    min-height: auto;
    padding: 13px;
    display: grid;
    grid-template-columns: 58px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    text-align: left;
    align-items: center;
  }
  .service-icon { grid-row: 1 / 3; margin: 0; }
  .service-card h2 { font-size: 18px; }
  .service-card p { margin: 2px 0 0; }

  .upgrade-scene { height: 210px; }
  .laptop { width: 74vw; }
  .screen { height: 145px; border-width: 7px; }
  .screen strong { font-size: 10px; }
  .screen-icon { font-size: 18px; margin-bottom: 2px; }
  .screen small { font-size: 7px; margin-top: 7px; }
  .progress { height: 8px; margin-top: 7px; }
  .base { height: 12px; }
  .books { width: 94px; bottom: 10px; }
  .books div { height: 19px; font-size: 7px; }
  .cup { right: -2px; bottom: 11px; width: 58px; height: 63px; font-size: 5px; }
  .cup::after { right: -14px; top: 18px; width: 17px; height: 25px; border-width: 5px; }

  .footer { border-radius: 45% 45% 0 0 / 9% 9% 0 0; }
  .footer-inner { min-height: 180px; gap: 18px; }
  .powered strong { font-size: 22px; }
  .website-link { font-size: 11px; letter-spacing: 3px; }
}
