:root {
  --navy: #08264f;
  --navy-2: #051b3b;
  --navy-dark: #021226;
  --blue: #007ce4;
  --blue-hover: #006bca;
  --blue-soft: #eaf5ff;
  --sky: #0abaff;
  --sky-glow: rgba(10, 186, 255, 0.4);
  --cyan-accent: #2de2e6;
  --muted: #4e627e;
  --line: #d8e5f3;
  --card-border: #e2edf8;
  --white: #ffffff;
  --max: 1200px;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy-2);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
}

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

.container {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 18px rgba(8, 38, 79, 0.07);
  border-bottom: 1px solid rgba(219, 230, 243, 0.8);
  transition: background .2s ease;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* Logo pada menu header */
.brand-logo {
  height: 60px;
  width: auto;
  max-height: 64px;
  max-width: 250px;
  object-fit: contain;
  display: block;
  transition: transform .2s ease, opacity .2s ease;
}

.brand:hover .brand-logo {
  transform: translateY(-1px);
  opacity: .94;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.primary-nav a {
  padding: 27px 0 23px;
  font-size: 16px;
  font-weight: 750;
  white-space: nowrap;
  color: #142e4d;
  letter-spacing: -.01em;
  border-bottom: 3px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* Sembunyikan item kontak di menu utama desktop agar tidak dobel dengan tombol CTA */
.nav-mobile-contact {
  display: none;
}

.header-cta {
  white-space: nowrap;
  background: linear-gradient(135deg, #008ff0 0%, #0060bb 100%);
  color: #ffffff;
  border-radius: 9px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 4px 16px rgba(0, 114, 213, 0.28);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 114, 213, 0.4);
  background: linear-gradient(135deg, #0ba0ff 0%, #006bc7 100%);
  color: #ffffff;
}

.menu-toggle {
  display: none;
}

/* =========================================================
   HERO SECTION (CLEAN, MINIMAL & POWERFUL)
   ========================================================= */
.hero {
  min-height: 440px;
  padding: 85px 0 95px;
  background: linear-gradient(125deg, #021226 0%, #052854 42%, #004d8c 85%, #006bbd 100%);
  position: relative;
  overflow: hidden;
  color: #ffffff;
  display: flex;
  align-items: center;
}

/* Seamless Wavy Cyber-Pattern */
.hero-shapes {
  position: absolute;
  right: -5%;
  top: 0;
  bottom: 0;
  width: 65%;
  background: url('images/hero-pattern.png') center right/cover no-repeat;
  mix-blend-mode: screen;
  opacity: .75;
  -webkit-mask-image: radial-gradient(ellipse at 75% 50%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 80%);
  mask-image: radial-gradient(ellipse at 75% 50%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 80%);
  pointer-events: none;
}

/* Atmospheric Glow Highlights */
.hero-glow-1 {
  position: absolute;
  right: 15%;
  top: 10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 186, 255, 0.32) 0%, transparent 68%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  left: -8%;
  bottom: -60px;
  width: 650px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 140, 255, 0.28) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #d8f1ff;
  letter-spacing: .22em;
  display: flex;
  align-items: center;
  gap: 20px;
}

.eyebrow-line {
  height: 2px;
  width: 48px;
  background: #09b6fa;
  box-shadow: 0 0 10px rgba(9, 182, 250, 0.6);
}

.hero h1 {
  font-size: clamp(48px, 6.4vw, 82px);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 0 0 20px;
  font-weight: 850;
  color: #ffffff;
}

.hero-gradient-text {
  background: linear-gradient(105deg, #ffffff 30%, #5bd7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.78;
  color: #d1e7fc;
  margin: 0;
  max-width: 760px;
}

.hero-subdesc {
  margin-top: 14px;
  color: #b7dcfa;
  font-size: 15px;
  line-height: 1.72;
}

.hero-desc strong {
  color: #ffffff;
  font-weight: 750;
}

/* =========================================================
   SERVICES SECTION (5 PILAR MINIMALIS & COMPACT)
   ========================================================= */
.section-pad {
  padding: 72px 0;
}

.services {
  background: linear-gradient(180deg, #ffffff 0%, #f1f8fe 50%, #e9f4fc 100%);
  position: relative;
}

.section-heading {
  text-align: center;
  margin: 0 auto 38px;
  max-width: 860px;
}

.centered-eyebrow {
  color: #0074d5;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.centered-eyebrow:before,
.centered-eyebrow:after {
  content: "";
  width: 28px;
  height: 2px;
  background: #12aafa;
  border-radius: 2px;
}

.section-heading h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.22;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

/* 5 Columns Minimalist Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  box-shadow: 0 6px 20px rgba(10, 48, 92, 0.05);
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s ease, border-color .25s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(0, 114, 213, 0.15), 0 0 0 1px #80d2ff;
  border-color: #5bc5ff;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.service-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #007ce4;
  background: #e8f5ff;
  border: 1px solid #c7e7ff;
  padding: 3px 8px;
  border-radius: 99px;
  font-feature-settings: "tnum";
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: linear-gradient(135deg, #e8f6ff 0%, #d4eeff 100%);
  display: grid;
  place-items: center;
  color: #0074d5;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 4px 12px rgba(0, 124, 228, 0.1);
  transition: transform .25s ease, background .25s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.06);
  background: linear-gradient(135deg, #dcf2ff 0%, #bee4ff 100%);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--navy);
}

.service-desc {
  font-size: 12.5px;
  line-height: 1.55;
  margin: 0;
  color: #4b607d;
}

/* =========================================================
   SPORTICX SECTION
   ========================================================= */
.platform {
  background: linear-gradient(142deg, #e7f6ff 0%, #ffffff 50%, #f1f9ff 100%);
  position: relative;
  overflow: hidden;
}

.platform:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-top: 190px solid #b4e3ff;
  border-right: 230px solid transparent;
  opacity: .55;
}

.platform-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.platform-image {
  min-width: 0;
}

.platform-image img {
  width: 100%;
  filter: drop-shadow(0 15px 22px rgba(11, 65, 113, 0.14));
  border-radius: 14px;
}

.platform-copy {
  border-left: 1px solid #c3d6e8;
  padding-left: 48px;
}

/* Sporticx Logo Container */
.platform-logo-box {
  margin: 0 0 16px;
}

.sporticx-logo-img {
  height: 48px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
}

.platform-copy > p:not(.eyebrow) {
  font-size: 14.5px;
  line-height: 1.7;
  color: #374b68;
  margin: 0 0 22px;
}

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

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.checkmark {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: white;
  background: linear-gradient(135deg, #008bed 0%, #006ec7 100%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(0, 115, 216, 0.25);
}

.feature-list strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
  color: var(--navy);
  font-weight: 700;
}

.feature-list small {
  display: block;
  font-size: 12.5px;
  color: #495e7b;
  line-height: 1.45;
}

/* =========================================================
   CONTACT SECTION (IMPROVED - TANPA TANDA PANAH)
   ========================================================= */
.contact {
  background: #ffffff;
}

.contact-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.contact-header h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -.03em;
}

.contact-header p:last-child {
  font-size: 14.5px;
  color: #4c6280;
  line-height: 1.65;
  margin: 0;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #ddecfa;
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 8px 24px rgba(8, 38, 79, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(8, 38, 79, 0.1);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eaf5ff;
  display: grid;
  place-items: center;
  color: #007ce4;
  margin-bottom: 18px;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -.02em;
}

.contact-card address {
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.7;
  color: #384f6d;
  margin-bottom: 22px;
  flex-grow: 1;
}

/* Link Buka di Google Maps tanpa panah */
.contact-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f7ff;
  color: #007ce4;
  border: 1px solid #cbe4fc;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
}

.contact-action-link:hover {
  background: #007ce4;
  color: #ffffff;
  border-color: #007ce4;
}

/* Contact Pills Wrap (Telepon & WhatsApp) */
.contact-phone-card {
  border-color: #cde6ff;
}

.contact-pills-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.contact-pill-box {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #d5e9fc;
  background: #f7fbff;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.contact-pill-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 114, 213, 0.12);
  background: #ffffff;
  border-color: #87c4ff;
}

.pill-badge {
  font-size: 10px;
  font-weight: 800;
  color: #007ce4;
  letter-spacing: .08em;
  margin-bottom: 3px;
}

.wa-badge {
  color: #0a9957;
}

.pill-number {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1.25;
}

.pill-hint {
  font-size: 11.5px;
  color: #5d7594;
  margin-top: 2px;
}

.wa-pill {
  border-color: #c7eedb;
  background: #f3fcf7;
}

.wa-pill:hover {
  border-color: #5cd094;
  background: #ffffff;
}

.wa-pill .pill-number {
  color: #0a884e;
}

/* Call to Action Box in Contact */
.contact-cta-card {
  background: linear-gradient(135deg, #0087e6 0%, #063c87 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 28px rgba(6, 60, 135, 0.25);
}

.contact-cta-card .contact-card-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.contact-cta-card h3 {
  color: #ffffff;
}

.contact-cta-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #e3f2ff;
  margin: 0 0 22px;
  flex-grow: 1;
}

.btn-contact-action {
  background: #ffffff;
  color: #063c87;
  padding: 12px 22px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transition: transform .2s ease, background .2s ease;
  display: block;
}

.btn-contact-action:hover {
  transform: translateY(-2px);
  background: #f0f7ff;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: linear-gradient(115deg, #041733 0%, #07386d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.site-footer:after {
  content: "";
  position: absolute;
  right: -90px;
  top: -140px;
  width: 350px;
  height: 260px;
  background: #0c83e7;
  transform: rotate(-34deg);
  opacity: .32;
  pointer-events: none;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1.2fr 0.7fr 0.65fr 0.85fr;
  gap: 28px;
  padding: 44px 0 32px;
}

.footer-brand {
  border-right: 1px solid rgba(131, 166, 204, 0.35);
  padding-right: 20px;
  display: flex;
  align-items: center;
}

.footer-brand-logo {
  height: 48px;
  width: auto;
  max-height: 52px;
  max-width: 195px;
  object-fit: contain;
  display: block;
  transition: opacity .2s ease;
}

.footer-brand:hover .footer-brand-logo {
  opacity: .9;
}

.footer-desc strong,
.footer-links strong {
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: .02em;
  color: #ffffff;
}

.footer-desc p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.65;
  color: #cde4ff;
  max-width: 240px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 12px;
  color: #cde4ff;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(142, 176, 208, 0.28);
  padding: 18px 0 24px;
  font-size: 11.5px;
  color: #bfd6f2;
}

/* =========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  transition: opacity .65s ease, transform .65s ease;
}

.js .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(22px);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================= */
@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .contact-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1000px) {
  .container {
    width: min(calc(100% - 42px), var(--max));
  }
  .primary-nav {
    gap: 20px;
  }
  .platform-grid {
    gap: 30px;
  }
  .platform-copy {
    padding-left: 28px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 30px;
  }
}

@media (max-width: 780px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 76px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    min-height: 76px;
  }
  .brand-logo {
    height: 52px;
    max-width: 210px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: none;
    padding: 10px;
    cursor: pointer;
    margin-left: auto;
  }
  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #07335f;
    transition: transform .2s ease, opacity .2s ease;
  }
  .menu-toggle[aria-expanded=true] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded=true] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded=true] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 14px 20px 26px;
    box-shadow: 0 16px 24px rgba(8, 38, 79, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid #e5edf5;
  }
  .primary-nav.open {
    display: flex;
  }
  .primary-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid #edf3f9;
  }
  .primary-nav a.active {
    border-bottom: 1px solid #edf3f9;
  }
  .nav-mobile-contact {
    display: block;
  }
  .header-cta {
    display: none;
  }
  .hero {
    min-height: auto;
    padding: 55px 0 65px;
  }
  .hero-shapes {
    width: 85%;
    opacity: .35;
  }
  .hero h1 {
    font-size: clamp(38px, 10vw, 56px);
  }
  .hero-desc {
    font-size: 14.5px;
  }
  .section-pad {
    padding: 54px 0;
  }
  .service-card {
    padding: 20px 16px 18px;
  }
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .platform-image img {
    max-width: 500px;
    margin: auto;
  }
  .platform-copy {
    border-left: 0;
    padding-left: 0;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    border: 0;
    grid-column: 1 / -1;
  }
  .footer-desc {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    transition: none !important;
  }
  .js .reveal:not(.visible) {
    opacity: 1;
    transform: none;
  }
}
