/* AKS Technologies — site styles (no framework). Colours from the logo: navy, blue, cyan. */
:root {
  --navy: #0b1a42;
  --navy-2: #0f2257;
  --blue: #1e5fa8;
  --cyan: #19c2ee;
  --bg: #ffffff;
  --bg-2: #f4f8fd;
  --line: #e3eaf4;
  --text: #0b1a42;
  --muted: #56647f;
  --grad: linear-gradient(120deg, #1e5fa8 0%, #19c2ee 100%);
  --shadow: 0 1px 2px rgba(11, 26, 66, .05), 0 10px 30px rgba(11, 26, 66, .07);
  --radius: 20px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 12px; z-index: 50; }
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header: see-through over the hero, white once scrolled ---------- */
header.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
header.top.solid, header.top.light {
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(12px);
  border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 26, 66, .05);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: #fff; }
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .2em; opacity: .7; margin-top: -2px; }
header.solid .brand, header.light .brand { color: var(--navy); }
.nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: rgba(255, 255, 255, .8); font-weight: 600; font-size: 15px; position: relative; }
.nav ul a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav ul a:not(.btn):hover::after { transform: scaleX(1); }
.nav ul a:hover { text-decoration: none; color: #fff; }
header.solid .nav ul a:not(.btn), header.light .nav ul a:not(.btn) { color: var(--muted); }
header.solid .nav ul a:not(.btn):hover, header.light .nav ul a:not(.btn):hover { color: var(--navy); }
.nav ul a.btn { color: #fff; padding: 10px 18px; font-size: 14.5px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }
header.solid .menu-btn, header.light .menu-btn { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 14px; font-weight: 700;
  background: var(--grad); background-size: 160% 100%; color: #fff; border: 0;
  box-shadow: 0 10px 24px rgba(25, 194, 238, .25); transition: transform .25s var(--ease), box-shadow .25s, background-position .4s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 14px 30px rgba(25, 194, 238, .35); }
.btn svg.i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg.i { transform: translateX(3px); }
.btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; backdrop-filter: blur(6px); }
.btn.ghost:hover { background: rgba(255, 255, 255, .14); }

/* ---------- Hero: dark, moving light, grid ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--navy);
  padding: 160px 0 110px; isolation: isolate;
}
.hero .glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; }
.hero .g1 { width: 560px; height: 560px; background: #1e5fa8; top: -180px; right: -120px; animation: drift1 18s ease-in-out infinite alternate; }
.hero .g2 { width: 460px; height: 460px; background: #19c2ee; bottom: -220px; left: -120px; opacity: .35; animation: drift2 22s ease-in-out infinite alternate; }
.hero .g3 { width: 300px; height: 300px; background: #3b4fd8; top: 30%; left: 45%; opacity: .25; animation: drift1 26s ease-in-out infinite alternate-reverse; }
.hero .grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
@keyframes drift1 { to { transform: translate(-80px, 60px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(90px, -50px) scale(1.1); } }
.hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: #cfe9ff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  padding: 7px 14px; border-radius: 99px; backdrop-filter: blur(6px);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22e3a0; box-shadow: 0 0 0 0 rgba(34, 227, 160, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34, 227, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 227, 160, 0); } }
.hero h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.05; margin: 22px 0 20px; letter-spacing: -.035em; font-weight: 800; }
.rotate { display: inline-grid; vertical-align: bottom; }
.rotate span {
  grid-area: 1 / 1; background: linear-gradient(90deg, #5fb6ff, #19c2ee, #7ef0ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(40%); transition: opacity .5s var(--ease), transform .5s var(--ease); white-space: nowrap;
}
.rotate span.on { opacity: 1; transform: none; }
.rotate span.off { opacity: 0; transform: translateY(-40%); }
.hero p.lead { font-size: 19px; color: rgba(225, 235, 255, .78); max-width: 600px; margin: 0 0 34px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .art { position: relative; display: grid; place-items: center; }
.hero .art .halo { position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); animation: spin 30s linear infinite; }
.hero .art .halo::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.hero .art .halo.h2 { width: 250px; height: 250px; animation-duration: 20s; animation-direction: reverse; }
.hero .art .halo.h2::before { background: #5fb6ff; box-shadow: 0 0 16px #5fb6ff; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero .art .mark {
  width: 220px; padding: 34px 26px; border-radius: 34px; background: rgba(255, 255, 255, .95);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 0 80px rgba(25, 194, 238, .35); animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px); } }
.trust { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 52px; color: rgba(225, 235, 255, .7); font-size: 14px; }
.trust div { display: flex; align-items: center; gap: 10px; }
.trust svg.i { color: var(--cyan); width: 20px; height: 20px; }

/* ---------- Technology strip ---------- */
.stack { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0; overflow: hidden; }
.stack .track { display: flex; gap: 46px; width: max-content; animation: marquee 34s linear infinite; }
.stack span { color: rgba(214, 228, 255, .6); font-weight: 700; font-size: 15px; letter-spacing: .04em; white-space: nowrap; display: flex; align-items: center; gap: 46px; }
.stack span::after { content: "✦"; color: rgba(25, 194, 238, .6); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 100px 0; position: relative; }
section.alt { background: var(--bg-2); }
.head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; margin: 10px 0 14px; letter-spacing: -.03em; }
.head p { color: var(--muted); margin: 0; font-size: 17.5px; }

.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }

/* Cards with a gradient edge that lights up on hover */
.card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity .35s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 2px 6px rgba(11,26,66,.05), 0 24px 48px rgba(30, 95, 168, .14); }
.card:hover::before { opacity: 1; }
.card h3 { margin: 18px 0 8px; font-size: 19px; letter-spacing: -.015em; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.tile {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  background: var(--grad); box-shadow: 0 10px 20px rgba(25, 194, 238, .28);
  transition: transform .35s var(--ease);
}
.card:hover .tile { transform: translateY(-3px) rotate(-6deg) scale(1.05); }
.tile.t2 { background: linear-gradient(135deg, #3b4fd8, #19c2ee); }
.tile.t3 { background: linear-gradient(135deg, #0ea5a5, #19c2ee); }
.tile.t4 { background: linear-gradient(135deg, #1e5fa8, #6d5dfc); }
.tile.live { background: linear-gradient(135deg, #e11d48, #f97316); box-shadow: 0 10px 20px rgba(225, 29, 72, .25); }

/* ---------- Products ---------- */
.product { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.product .banner { height: 150px; position: relative; overflow: hidden; display: grid; place-items: center; color: #fff; }
.product .banner.news { background: linear-gradient(135deg, #b0091a, #f0303f 60%, #ff6b4a); }
.product .banner.taxi { background: linear-gradient(135deg, #0b1a42, #1e5fa8 60%, #19c2ee); }
.product .banner svg.i { width: 64px; height: 64px; stroke-width: 1.4; opacity: .95; animation: float 5s ease-in-out infinite; }
.product .banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%); background-size: 250% 100%;
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 40% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
.product .body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product .tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--blue); padding: 4px 11px; border-radius: 99px;
  background: rgba(30, 95, 168, .08); border: 1px solid rgba(30, 95, 168, .16);
}
.product h3 { margin: 10px 0 4px; font-size: 22px; }
.product ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 7px; color: var(--muted); font-size: 15px; }
.product li { display: flex; gap: 9px; align-items: flex-start; }
.product li svg.i { width: 18px; height: 18px; color: var(--cyan); margin-top: 3px; }
.product .links { margin-top: auto; padding-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }

/* ---------- Process timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s;
}
.steps.in::before { transform: scaleX(1); }
.step { text-align: center; padding: 0 8px; }
.step b {
  position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line); color: var(--blue); font-size: 18px; box-shadow: var(--shadow);
}
.step h3 { margin: 16px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why .head { text-align: left; margin: 0; }
.checks { display: grid; gap: 14px; }
.checks div { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.checks svg.i { color: #fff; background: var(--grad); border-radius: 50%; padding: 5px; width: 28px; height: 28px; stroke-width: 2.4; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 15px; }

/* ---------- Call to action ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff; border-radius: 28px; padding: 56px;
  background: linear-gradient(120deg, #0b1a42, #1e5fa8, #19c2ee, #1e5fa8, #0b1a42); background-size: 300% 100%;
  animation: flow 14s ease-in-out infinite; display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap;
}
@keyframes flow { 50% { background-position: 100% 0; } }
.cta h2 { margin: 0 0 8px; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.025em; }
.cta p { margin: 0; opacity: .85; max-width: 560px; }
.cta .btn { background: #fff; color: var(--navy); box-shadow: 0 10px 24px rgba(0,0,0,.2); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact .head { text-align: left; margin: 0; }
.contact .lines { display: grid; gap: 14px; }
.contact .line { display: flex; gap: 16px; align-items: center; }
.contact .line .tile { width: 46px; height: 46px; border-radius: 13px; }
.contact .line .tile svg.i { width: 20px; height: 20px; }
.contact .line small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact .line span { font-size: 16.5px; font-weight: 600; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: #b9c5de; padding: 64px 0 28px; font-size: 14.5px; }
footer a { color: #b9c5de; }
footer a:hover { color: #fff; text-decoration: none; }
footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
footer h4 { color: #fff; margin: 4px 0 14px; font-size: 15px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer .logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 16px; }
footer .logo img { height: 46px; width: auto; }
footer .bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */
.legal { padding: 130px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; margin: 0 0 6px; letter-spacing: -.03em; }
.legal .updated { color: var(--muted); margin-bottom: 30px; }
.legal h2 { font-size: 21px; margin: 38px 0 10px; letter-spacing: -.01em; }
.legal p, .legal li { color: #2a3858; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-2); }
.note { background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--cyan); padding: 16px 18px; border-radius: 12px; }

/* ---------- 404 ---------- */
.missing { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 20px 80px; }
.missing h1 { font-size: 96px; line-height: 1; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Appearing on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .rotate span { transition: none; }
}

/* ---------- Tablets and phones ---------- */
@media (max-width: 980px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .art { display: none; }
  .why, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .steps::before { display: none; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav ul {
    display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 22px 18px; box-shadow: 0 20px 40px rgba(11,26,66,.12);
  }
  .nav ul.open { display: flex; }
  .nav ul li a, header .nav ul a:not(.btn) { display: block; padding: 13px 0; color: var(--muted); }
  .nav ul a.btn { justify-content: center; margin-top: 8px; }
  .menu-btn { display: block; }
  .grid.two, .grid.four { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .hero { padding: 120px 0 80px; }
  .trust { gap: 16px 26px; }
  .steps { grid-template-columns: 1fr; }
  .cta { padding: 34px 26px; }
  footer .cols { grid-template-columns: 1fr; }
}
.checks p, .contact .line p { margin: 0; }
