:root {
  --ink: #102027;
  --muted: #60737b;
  --line: #dbe5e7;
  --paper: #f7faf9;
  --white: #ffffff;
  --teal: #0f8b8d;
  --teal-dark: #0a575c;
  --amber: #f4a340;
  --graphite: #172427;
  --shadow: 0 24px 70px rgba(18, 44, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 249, 0.88);
  border-bottom: 1px solid rgba(219, 229, 231, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.contact-actions,
.btn {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 8px;
}

.site-nav {
  gap: 24px;
  color: #344b52;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 96px clamp(20px, 5vw, 72px);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/hero-jasakumediatech.png");
  background-position: center right;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 250, 249, 0.98) 0%, rgba(247, 250, 249, 0.86) 37%, rgba(247, 250, 249, 0.25) 70%),
    linear-gradient(0deg, rgba(16, 32, 39, 0.12), rgba(16, 32, 39, 0.12));
}

.hero-content {
  position: relative;
  max-width: 730px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  color: #415961;
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: 0 14px 34px rgba(10, 87, 92, 0.25);
}

.btn-secondary {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(10, 87, 92, 0.18);
}

.btn-dark {
  color: var(--white);
  background: var(--graphite);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 34px;
}

.hero-stats span {
  min-height: 80px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(219, 229, 231, 0.78);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 32, 39, 0.08);
}

.hero-stats strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.1rem;
}

.section,
.cta-section,
.site-footer {
  padding-right: clamp(20px, 5vw, 72px);
  padding-left: clamp(20px, 5vw, 72px);
}

.section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.8fr);
  gap: clamp(24px, 7vw, 96px);
  align-items: start;
  background: var(--white);
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.company-motto {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 28px;
  background: #eef5f3;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(20, 40, 44, 0.08);
}

.company-motto p {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.35;
}

.company-motto cite {
  color: var(--teal-dark);
  font-style: normal;
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.services-section {
  background: #eef5f3;
}

.tech-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: 760px;
  padding: 90px clamp(20px, 5vw, 72px);
  overflow: hidden;
  color: var(--white);
  background: #102027;
}

.tech-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 32, 39, 0.96), rgba(16, 32, 39, 0.8) 43%, rgba(16, 32, 39, 0.52)),
    radial-gradient(circle at 72% 30%, rgba(15, 139, 141, 0.34), transparent 34%);
  pointer-events: none;
}

.showcase-copy,
.showcase-visual {
  position: relative;
}

.showcase-copy {
  z-index: 2;
}

.showcase-copy .eyebrow,
.showcase-copy p {
  color: #d8f0ec;
}

.showcase-copy p {
  font-size: 1.03rem;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.area-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 800;
}

.area-tags svg {
  width: 17px;
  height: 17px;
  color: var(--amber);
}

.showcase-visual {
  min-height: 560px;
}

.visual-main,
.visual-iot {
  position: absolute;
  display: block;
  width: min(86%, 820px);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.34);
  will-change: transform;
}

.visual-main {
  top: 16px;
  right: 0;
  aspect-ratio: 16 / 9;
}

.visual-iot {
  bottom: 10px;
  left: 0;
  width: min(58%, 520px);
  aspect-ratio: 16 / 9;
}

.code-panel,
.topology-panel {
  position: absolute;
  z-index: 3;
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
  will-change: transform;
}

.code-panel {
  right: 34px;
  bottom: 54px;
  display: grid;
  gap: 7px;
  width: min(430px, 62%);
  padding: 18px;
  color: #b8fff4;
  background: rgba(7, 19, 23, 0.86);
  border: 1px solid rgba(184, 255, 244, 0.18);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.86rem;
}

.code-panel span {
  overflow-wrap: anywhere;
}

.topology-panel {
  top: 86px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(520px, 72%);
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-weight: 800;
}

.topology-panel span {
  padding: 7px 9px;
  background: #e4f5f2;
  border-radius: 6px;
}

.topology-panel i {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--teal);
}

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

.service-category,
.package-card,
.vps-card,
.process-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(20, 40, 44, 0.08);
}

.service-category {
  padding: 24px;
}

.service-category header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.icon-box {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--teal-dark);
  background: #e4f5f2;
  border-radius: 8px;
}

.service-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.service-list p,
.package-card p,
.vps-card p,
.process-grid p,
.cta-section p {
  color: var(--muted);
}

.packages-section {
  background: var(--paper);
}

.package-card,
.vps-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
}

.package-card.featured,
.vps-card.featured {
  border-color: rgba(15, 139, 141, 0.52);
  box-shadow: var(--shadow);
}

.vps-section {
  background:
    linear-gradient(180deg, rgba(238, 245, 243, 0.92), rgba(247, 250, 249, 1)),
    url("/assets/infrastructure-lab.png") center / cover fixed;
}

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

.vps-card {
  overflow: hidden;
}

.vps-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 74px;
  height: 74px;
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.14), rgba(244, 163, 64, 0.16));
  border-radius: 8px;
  pointer-events: none;
}

.badge {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: #5c3807;
  background: #ffe6bd;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.price {
  margin: 4px 0 18px;
  color: var(--teal-dark);
  font-size: 1.35rem;
  font-weight: 800;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 9px;
  color: #415961;
}

.feature-list svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--teal);
  margin-top: 3px;
}

.process-section {
  background: var(--white);
}

.process-grid article {
  padding: 24px;
}

.process-grid span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--amber);
  font-size: 1.9rem;
  font-weight: 800;
}

.cta-section {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
  color: var(--white);
  background: var(--teal-dark);
}

.cta-section div:first-child {
  max-width: 720px;
}

.cta-section .eyebrow,
.cta-section p {
  color: #d8f0ec;
}

.cta-section h2 {
  margin-bottom: 12px;
}

.cta-section .btn-primary {
  color: var(--teal-dark);
  background: var(--white);
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: #6b7d84;
  background: #0e191c;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .service-grid,
  .package-grid,
  .process-grid,
  .vps-grid,
  .intro {
    grid-template-columns: 1fr;
  }

  .tech-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .hero {
    min-height: 760px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(247, 250, 249, 0.98) 0%, rgba(247, 250, 249, 0.88) 48%, rgba(247, 250, 249, 0.22) 100%),
      linear-gradient(0deg, rgba(16, 32, 39, 0.2), rgba(16, 32, 39, 0.2));
  }

  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 720px;
    padding-top: 72px;
    padding-bottom: 48px;
  }

  .hero-stats,
  .cta-section,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    display: grid;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .tech-showcase {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .showcase-visual {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .visual-main,
  .visual-iot,
  .code-panel,
  .topology-panel {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    transform: none !important;
  }

  .topology-panel {
    overflow-x: auto;
  }

  .vps-section {
    background-attachment: scroll;
  }
}

@media (max-width: 460px) {
  .brand span:last-child {
    font-size: 0.92rem;
  }

  .btn {
    width: 100%;
  }

  .hero-stats span {
    min-height: auto;
  }
}
