:root {
  --bg: #6f4aa8;
  --bg-deep: #54338d;
  --surface: rgba(255, 255, 255, 0.12);
  --surface-strong: rgba(255, 255, 255, 0.16);
  --surface-dark: #251339;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.18);
  --teal: #27b8bb;
  --teal-soft: #62ddde;
  --teal-deep: #13979a;
  --shadow: 0 28px 80px rgba(19, 8, 36, 0.32);
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(115, 227, 228, 0.22), transparent 28%),
    radial-gradient(circle at 0% 75%, rgba(39, 184, 187, 0.26), transparent 26%),
    linear-gradient(180deg, #7652b1 0%, var(--bg) 42%, var(--bg-deep) 100%);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
  z-index: -2;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
.brand-kjii,
.logo-word,
.service-index,
.process-list span,
.stats-grid strong {
  font-family: "Teko", sans-serif;
  letter-spacing: 0.02em;
}

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

.container {
  width: min(var(--max-width), calc(100vw - 40px));
  margin: 0 auto;
}

.page-glow,
.page-grid {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

.page-glow {
  border-radius: 999px;
  filter: blur(22px);
}

.page-glow-a {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -80px;
  background: rgba(98, 221, 222, 0.18);
  animation: driftA 14s ease-in-out infinite;
}

.page-glow-b {
  width: 380px;
  height: 380px;
  left: -120px;
  bottom: 10vh;
  background: rgba(39, 184, 187, 0.18);
  animation: driftB 18s ease-in-out infinite;
}

.page-grid {
  inset: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(72, 38, 113, 0.48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  line-height: 0.85;
  transform: skewX(-10deg);
}

.brand-kjii {
  font-size: 2.3rem;
  font-weight: 700;
}

.brand-delivery {
  margin-top: -2px;
  color: var(--teal-soft);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--teal-soft), var(--teal-deep));
  color: #08171a;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(10, 63, 68, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(10, 63, 68, 0.32);
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: rgba(98, 221, 222, 0.48);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.hero {
  padding: 54px 0 42px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--teal-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(4rem, 8vw, 7.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero h1 span {
  display: inline-block;
  color: var(--teal-soft);
}

.hero-text {
  max-width: 660px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-points {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-points article {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-points p {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
}

.hero-swoosh {
  position: absolute;
  right: -12px;
  height: 28px;
  border-radius: 999px;
  transform-origin: right center;
  z-index: 0;
}

.hero-swoosh-a {
  width: 82%;
  top: 190px;
  background: linear-gradient(90deg, transparent 0%, var(--teal) 28%, var(--teal-soft) 100%);
  transform: rotate(-9deg);
}

.hero-swoosh-b {
  width: 72%;
  top: 260px;
  background: linear-gradient(90deg, transparent 0%, rgba(39, 184, 187, 0.96) 20%, rgba(98, 221, 222, 0.96) 100%);
  transform: rotate(-5deg);
}

.showcase-card {
  position: relative;
  z-index: 1;
  padding: 28px;
  border-radius: 38px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, rgba(48, 23, 75, 0.92), rgba(65, 34, 101, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.showcase-card::before {
  content: "DELIVERY";
  position: absolute;
  top: 12px;
  right: -6px;
  font-family: "Teko", sans-serif;
  font-size: clamp(6rem, 14vw, 9rem);
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.03em;
  transform: skewX(-12deg);
}

.card-label {
  position: relative;
  z-index: 1;
  color: var(--teal-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.logo-stage {
  position: relative;
  z-index: 1;
  padding: 44px 0 22px;
}

.logo-word {
  font-size: clamp(7rem, 18vw, 9.5rem);
  line-height: 0.8;
  font-weight: 700;
  transform: skewX(-12deg);
}

.logo-subword {
  margin-top: -8px;
  color: var(--teal);
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 0.88;
  font-style: italic;
  font-weight: 700;
  transform: skewX(-12deg);
}

.logo-streak {
  width: 100%;
  height: 16px;
  margin: 2px 0 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, var(--teal) 20%, var(--teal-soft) 100%);
  transform: rotate(-6deg);
}

.showcase-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.showcase-metrics div {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.showcase-metrics span {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-weight: 800;
}

.showcase-metrics p {
  color: var(--muted);
  font-size: 0.82rem;
}

.dispatch-panel {
  position: absolute;
  right: -10px;
  bottom: 28px;
  width: min(300px, 100%);
  display: grid;
  gap: 10px;
  z-index: 2;
}

.dispatch-panel article {
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.dispatch-panel p {
  margin-bottom: 4px;
  color: var(--teal-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dispatch-panel strong {
  font-size: 0.98rem;
}

.service-strip {
  padding-bottom: 24px;
}

.strip-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.strip-items p {
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2,
.platform-copy h2,
.performance-panel h2,
.cta-box h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.92;
  text-transform: uppercase;
}

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

.service-card {
  min-height: 240px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.service-card-primary {
  background: linear-gradient(180deg, rgba(98, 221, 222, 0.18), rgba(255, 255, 255, 0.08));
}

.service-index {
  display: block;
  margin-bottom: 16px;
  color: var(--teal-soft);
  font-size: 2.2rem;
  line-height: 1;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

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

.section-dark {
  background:
    linear-gradient(180deg, rgba(24, 10, 38, 0.08), rgba(24, 10, 38, 0.24)),
    rgba(12, 7, 25, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: start;
}

.platform-copy p:last-child,
.performance-panel p:last-child,
.cta-box p:last-of-type {
  margin-top: 18px;
  color: var(--muted);
  max-width: 640px;
}

.platform-stack {
  display: grid;
  gap: 14px;
}

.platform-stack article,
.performance-panel,
.stats-grid article,
.cta-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.platform-stack article {
  padding: 22px;
}

.platform-stack h3 {
  margin-bottom: 8px;
  color: var(--teal-soft);
  font-size: 1.25rem;
}

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

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.process-list li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--teal-soft), var(--teal-deep));
  color: #0b1719;
  font-size: 2rem;
  font-weight: 700;
}

.process-list h3 {
  margin-bottom: 8px;
  font-size: 1.32rem;
}

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

.performance {
  padding-top: 8px;
}

.performance-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.performance-panel {
  padding: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stats-grid article {
  min-height: 200px;
  padding: 22px;
}

.stats-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-soft);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.88;
}

.stats-grid p {
  color: var(--muted);
  max-width: 180px;
}

.cta-box {
  padding: 34px;
  text-align: center;
}

.cta-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 18px 0 28px;
}

.footer-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-wrap a {
  color: var(--teal-soft);
}

.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.inview {
  opacity: 1;
  transform: translateY(0);
}

@keyframes driftA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-24px, 16px);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -18px);
  }
}

@media (max-width: 1100px) {
  .hero-layout,
  .platform-layout,
  .performance-grid {
    grid-template-columns: 1fr;
  }

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

  .dispatch-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 16px;
    width: 100%;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strip-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-points,
  .showcase-metrics,
  .process-list,
  .stats-grid,
  .strip-items {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

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

  .cta-actions .btn,
  .btn-small {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max-width), calc(100vw - 24px));
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand-kjii {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 20vw, 5rem);
  }

  .showcase-card,
  .service-card,
  .process-list li,
  .performance-panel,
  .stats-grid article,
  .cta-box {
    padding: 20px;
  }

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

  .process-list span {
    width: 64px;
    height: 64px;
  }

  .footer-wrap {
    min-height: unset;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-glow-a,
  .page-glow-b {
    animation: none;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
