:root {
  --bg: #07111d;
  --surface: #0d1b2e;
  --surface-2: #11233c;
  --line: rgba(124, 177, 255, 0.18);
  --ink: #edf5ff;
  --muted: #a9bdd9;
  --blue: #45a1ff;
  --blue-deep: #1f6dd6;
  --glow: rgba(69, 161, 255, 0.22);
  --radius: 24px;
  --shadow: 0 24px 54px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(69, 161, 255, 0.16), transparent 48%),
    radial-gradient(700px 460px at 100% 0%, rgba(75, 123, 255, 0.14), transparent 42%),
    linear-gradient(180deg, #060d18 0%, #0a1422 100%);
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cg fill='%236dc5ff'%3E%3Ccircle cx='18' cy='23' r='7'/%3E%3Ccircle cx='10' cy='12' r='3.4'/%3E%3Ccircle cx='16' cy='8.8' r='3.4'/%3E%3Ccircle cx='22.2' cy='8.8' r='3.4'/%3E%3Ccircle cx='28' cy='12' r='3.4'/%3E%3C/g%3E%3C/svg%3E") 12 12, auto;
  overflow-x: hidden;
}

body.paw-pressed {
  cursor: none;
}

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

img {
  display: block;
  max-width: 100%;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.circuit-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.18), rgba(5, 10, 18, 0.4)),
    url("assets/aik9-wallpaper.png") center top / 160% auto repeat-y;
  opacity: 0.8;
  animation: wallpaper-scroll 140s linear infinite;
}

.hero-panel,
.section-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 35, 60, 0.96), rgba(9, 20, 35, 0.98));
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  padding: 22px;
}

.hero-copy,
.hero-visual,
.section-card {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(147, 196, 255, 0.24);
  background: rgba(147, 196, 255, 0.08);
  color: #dbeaff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-brand {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
}

.hero-logo {
  width: 140px;
  max-width: 100%;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
}

.lead,
.section-text,
.service-card p,
.support-copy p {
  color: var(--muted);
  line-height: 1.62;
}

.hero-actions,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-pills span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(147, 196, 255, 0.18);
  background: rgba(10, 22, 38, 0.74);
  color: #d7e7ff;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
  min-height: 420px;
  border: 1px solid rgba(147, 196, 255, 0.14);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 10, 20, 0.18) 0%, rgba(5, 10, 20, 0.42) 100%);
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 16px;
  border-radius: 13px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px var(--glow);
}

.btn.alt {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(147, 196, 255, 0.2);
  box-shadow: none;
}

.section-card {
  margin-top: 18px;
  padding: 22px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
}

.section-text {
  max-width: 620px;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(147, 196, 255, 0.14);
  background: linear-gradient(180deg, rgba(10, 21, 38, 0.88), rgba(8, 16, 28, 0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.service-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 480px;
  margin-bottom: 14px;
  margin-inline: auto;
  border-radius: 34px;
  position: relative;
  overflow: visible;
}

.service-showcase::before {
  content: "";
  position: absolute;
  inset: 18px 22px 58px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 14%, rgba(93, 174, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(16, 28, 48, 0.48), rgba(8, 16, 29, 0.14));
  border: 1px solid rgba(132, 189, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 46px rgba(0, 0, 0, 0.18),
    0 0 36px rgba(53, 143, 255, 0.08);
}

.service-showcase::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 68%;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(117, 190, 255, 0.55) 0%, rgba(117, 190, 255, 0.18) 45%, transparent 75%);
  filter: blur(6px);
}

.service-card-app .service-showcase::before,
.service-card-blog .service-showcase::before,
.service-card-flyer .service-showcase::before {
  inset: 22px 28px 62px;
}

.service-mark img {
  position: relative;
  z-index: 1;
  max-width: 88%;
  max-height: 396px;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.34));
  transform: translateY(-8px);
  animation: device-float 5.6s ease-in-out infinite;
}

.service-card-app .service-mark img {
  max-width: 98%;
  max-height: 410px;
}

.service-card-blog .service-mark img,
.service-card-flyer .service-mark img {
  max-width: 96%;
  max-height: 402px;
}

.service-tag {
  margin: 0 0 8px;
  color: #d4e6ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-list {
  margin: 14px 0 18px;
  padding-left: 18px;
  color: var(--muted);
}

.service-list li {
  margin-bottom: 8px;
}

.support-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

@keyframes device-float {
  0%, 100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes wallpaper-scroll {
  0% {
    background-position: 0 0, center 0;
  }
  100% {
    background-position: 0 0, center 2200px;
  }
}

@media (max-width: 960px) {
  .hero-panel,
  .support-band,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: 124px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .service-mark {
    height: 360px;
  }

  .service-mark img {
    max-height: 296px;
  }

  .service-card-app .service-mark img,
  .service-card-blog .service-mark img,
  .service-card-flyer .service-mark img {
    max-height: 304px;
  }

  .circuit-bg {
    background:
      linear-gradient(180deg, rgba(5, 10, 18, 0.16), rgba(5, 10, 18, 0.34)),
      url("assets/aik9-wallpaper.png") center top / 220% auto repeat-y;
  }
}
