:root {
  --bg: #07111f;
  --panel: #101e31;
  --text: #edf6ff;
  --muted: #a9bdd2;
  --mint: #65f0c0;
  --blue: #68baff;
  --line: #27405a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, sans-serif;
  line-height: 1.7;
}

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

.container {
  width: min(1100px, 92%);
  margin: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #07111fee;
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-size: 1.4rem;
  font-weight: 900;
}

.brand span { color: var(--mint); }

.navlinks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.navlinks a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
}

.navlinks a:hover,
.navlinks a.active {
  background: #183149;
  color: var(--mint);
}

.menu-toggle { display: none; }

.hero { padding: 80px 0 65px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 35px;
  align-items: center;
}

.eyebrow {
  color: var(--mint);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}

h2 { line-height: 1.2; }

.gradient {
  background: linear-gradient(90deg, var(--mint), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.btn {
  display: inline-block;
  padding: 11px 17px;
  border-radius: 10px;
  font-weight: 800;
  border: 1px solid var(--line);
}

.btn-primary {
  background: var(--mint);
  color: #052018;
}

.btn-secondary { background: var(--panel); }

.hero-card,
.card,
.contact-card {
  background: linear-gradient(145deg, #13263b, #0d192a);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.hero-card .orb {
  display: grid;
  place-items: center;
  height: 160px;
  border-radius: 14px;
  background: linear-gradient(135deg, #174b4c, #1b3452);
  color: var(--mint);
  font-size: 4rem;
  font-weight: 900;
}

section { padding: 45px 0; }

.section-head { margin-bottom: 25px; }

.section-head p,
.card p,
.muted { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card { padding: 23px; }

.card h3 { margin-top: 0; }

.icon { font-size: 2rem; }

.band {
  background: #102035;
  border-block: 1px solid var(--line);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-line {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.form { display: grid; gap: 12px; }

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px;
  background: #081625;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.form textarea { min-height: 120px; }

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.small { font-size: .9rem; }

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

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

  .nav { padding: 14px 0; }

  .menu-toggle {
    display: block;
    padding: 9px;
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .navlinks {
    display: none;
    position: absolute;
    top: 65px;
    left: 4%;
    right: 4%;
    padding: 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .navlinks.open { display: grid; }

  .cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 540px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 45px; }
}

/* ===== MENU SAMPING FX DIGITAL ===== */
.fx-menu-button {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 10002;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: #171322;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}

.fx-menu-button:hover {
  background: #6d28d9;
}

.fx-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.58);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.fx-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.fx-side-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  width: min(310px, 85vw);
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  padding: 28px 20px;
  overflow-y: auto;
  background: #120e1c;
  border-right: 1px solid rgba(255,255,255,.12);
  color: #fff;
  transform: translateX(-105%);
  transition: transform .25s ease;
}

.fx-side-menu.open {
  transform: translateX(0);
}

.fx-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.fx-menu-brand {
  font-size: 22px;
  font-weight: 800;
  color: #c4b5fd;
}

.fx-menu-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #292238;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.fx-menu-label {
  margin: 20px 0 10px;
  color: #a99fbb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.fx-menu-links {
  display: grid;
  gap: 8px;
}

.fx-menu-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #f4f0ff;
  text-decoration: none;
  font-size: 15px;
  transition: background .2s, border-color .2s;
}

.fx-menu-links a:hover {
  background: #292039;
  border-color: #6d28d9;
}

.fx-menu-icon {
  width: 26px;
  text-align: center;
  font-size: 20px;
}

.fx-menu-contact {
  margin-top: 24px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4c1d95, #6d28d9);
}

.fx-menu-contact p {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
}

.fx-menu-contact a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fff;
  color: #4c1d95;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 480px) {
  .fx-menu-button {
    top: 12px;
    left: 12px;
  }
}

/* ===== NAVBAR OTOMATIS SAAT SCROLL ===== */
header,
.navbar,
nav.navbar,
.site-header,
.main-header {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.fx-navbar-hidden {
  transform: translateY(-110%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ===== TEMA FX DIGITAL: LEBIH TERANG ===== */

:root {
  --fx-primary: #7c3aed;
  --fx-secondary: #2563eb;
  --fx-accent: #06b6d4;
  --fx-text: #1e1b4b;
  --fx-muted: #64748b;
  --fx-background: #f5f7ff;
  --fx-card: #ffffff;
  --fx-border: #e0e7ff;
}

body {
  background-color: var(--fx-background);
  color: var(--fx-text);
}

header,
.navbar,
nav.navbar,
.site-header,
.main-header {
  background-color: rgba(255, 255, 255, 0.96);
  color: var(--fx-text);
  border-bottom: 1px solid var(--fx-border);
}

h1, h2, h3, h4 {
  color: #312e81;
}

p {
  color: #475569;
}

a {
  transition: color .2s ease, background .2s ease;
}

button,
.btn,
.button {
  transition: all .2s ease;
}

.btn-primary,
.button-primary,
button.primary {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #ffffff;
  border: none;
  border-radius: 12px;
}

.btn-primary:hover,
.button-primary:hover,
button.primary:hover {
  background: linear-gradient(135deg, #6d28d9, #1d4ed8);
  transform: translateY(-2px);
}

.card,
.service-card,
.feature-card {
  background: #ffffff;
  border: 1px solid #e0e7ff;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover,
.service-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(79, 70, 229, 0.15);
}

.fx-menu-button {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.5);
}

.fx-side-menu {
  background: linear-gradient(180deg, #ffffff, #f3f0ff);
  color: #1e1b4b;
  border-right: 1px solid #ddd6fe;
}

.fx-menu-brand {
  color: #6d28d9;
}

.fx-menu-label {
  color: #64748b;
}

.fx-menu-links a {
  color: #312e81;
}

.fx-menu-links a:hover {
  background: #ede9fe;
  border-color: #a78bfa;
}

.fx-menu-close {
  background: #ede9fe;
  color: #4c1d95;
}

.fx-menu-contact {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.fx-menu-contact p {
  color: #ffffff;
}

input,
textarea,
select {
  background: #ffffff;
  color: #1e1b4b;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #a78bfa;
  border-color: #7c3aed;
}

::selection {
  background: #c4b5fd;
  color: #312e81;
}

/* ==========================================
   FX DIGITAL — PERBAIKAN KONTRAS DAN WARNA
   ========================================== */

:root {
  --fx-primary: #6d28d9;
  --fx-blue: #2563eb;
  --fx-dark-text: #1e293b;
  --fx-muted-text: #475569;
  --fx-light-bg: #f5f7ff;
  --fx-white: #ffffff;
}

/* Latar utama */
body {
  background: var(--fx-light-bg) !important;
  color: var(--fx-dark-text) !important;
}

/* Navbar terang */
header,
.site-header,
.main-header,
.navbar,
nav.navbar {
  background: #ffffff !important;
  color: var(--fx-dark-text) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 3px 15px rgba(30, 41, 59, 0.06);
}

header a,
.site-header a,
.main-header a,
.navbar a,
nav.navbar a {
  color: #475569 !important;
}

header a:hover,
.site-header a:hover,
.main-header a:hover,
.navbar a:hover,
nav.navbar a:hover {
  color: #6d28d9 !important;
}

/* Logo FX Digital */
header .brand,
header .logo,
.site-header .brand,
.site-header .logo,
.navbar .brand,
.navbar .logo {
  color: #6d28d9 !important;
}

/* Judul dan teks */
h1, h2, h3, h4 {
  color: #312e81 !important;
}

p, li, label {
  color: #475569;
}

/* Kartu layanan: putih dan bersih */
.card,
.service-card,
.feature-card,
.hero-card,
.contact-card,
.service-box,
.info-card {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 28px rgba(49, 46, 129, 0.08) !important;
}

.card h1, .card h2, .card h3, .card h4,
.service-card h1, .service-card h2,
.service-card h3, .service-card h4,
.feature-card h1, .feature-card h2,
.feature-card h3, .feature-card h4,
.hero-card h1, .hero-card h2,
.hero-card h3, .hero-card h4,
.contact-card h1, .contact-card h2,
.contact-card h3, .contact-card h4 {
  color: #312e81 !important;
}

.card p,
.service-card p,
.feature-card p,
.hero-card p,
.contact-card p {
  color: #475569 !important;
}

/* Tombol utama */
a.btn-primary,
a.button-primary,
.btn-primary,
.button-primary,
button.primary {
  background: linear-gradient(135deg, #7c3aed, #2563eb) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px;
}

/* Tombol sekunder: jangan sampai teks gelap di latar gelap */
a.btn-secondary,
a.button-secondary,
.btn-secondary,
.button-secondary,
a.btn:not(.btn-primary),
a.button:not(.button-primary) {
  background: #ffffff !important;
  color: #5b21b6 !important;
  border: 1px solid #c4b5fd !important;
  border-radius: 12px;
}

/* Panel visual FX pada bagian hero */
.hero-card,
.hero-visual,
.hero-panel,
.visual-card,
.contact-visual {
  background: #ffffff !important;
  color: #312e81 !important;
  border: 1px solid #e0e7ff !important;
}

.hero-card *,
.hero-visual *,
.hero-panel *,
.visual-card *,
.contact-visual * {
  color: #312e81;
}

/* Tombol titik tiga tetap cerah */
.fx-menu-button {
  background: linear-gradient(135deg, #7c3aed, #2563eb) !important;
  color: #ffffff !important;
}

/* Menu samping */
.fx-side-menu {
  background: #ffffff !important;
  color: #1e293b !important;
  border-right: 1px solid #e2e8f0 !important;
}

.fx-menu-brand {
  color: #6d28d9 !important;
}

.fx-menu-links a {
  color: #334155 !important;
}

.fx-menu-links a:hover {
  background: #f3e8ff !important;
  color: #6d28d9 !important;
}

/* Kolom formulir */
input, textarea, select {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
}

input::placeholder,
textarea::placeholder {
  color: #64748b !important;
}

/* Footer */
footer {
  background: #ffffff !important;
  color: #475569 !important;
  border-top: 1px solid #e2e8f0;
}

footer p,
footer a {
  color: #475569 !important;
}

/* ===== FX DIGITAL: TOMBOL TITIK TIGA NEON ANIMASI ===== */
.fx-menu-button {
  position: fixed !important;
  top: 14px !important;
  left: 14px !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border: 2px solid transparent !important;
  border-radius: 11px !important;
  background:
    linear-gradient(#171322, #171322) padding-box,
    conic-gradient(
      from 0deg,
      #a855f7,
      #22d3ee,
      #2563eb,
      #ec4899,
      #a855f7
    ) border-box !important;
  color: #ffffff !important;
  font-size: 23px !important;
  line-height: 1 !important;
  box-shadow:
    0 0 7px rgba(168, 85, 247, .8),
    0 0 15px rgba(34, 211, 238, .35) !important;
  animation: fx-neon-spin 3s linear infinite,
             fx-neon-pulse 2s ease-in-out infinite alternate;
  transition:
    opacity .3s ease,
    transform .3s ease,
    visibility .3s ease !important;
  -webkit-tap-highlight-color: transparent;
}

.fx-menu-button:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 10px rgba(168, 85, 247, 1),
    0 0 22px rgba(34, 211, 238, .7) !important;
}

@keyframes fx-neon-spin {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(360deg); }
}

@keyframes fx-neon-pulse {
  from {
    box-shadow:
      0 0 5px rgba(168, 85, 247, .6),
      0 0 10px rgba(34, 211, 238, .25);
  }
  to {
    box-shadow:
      0 0 9px rgba(168, 85, 247, .95),
      0 0 18px rgba(34, 211, 238, .65);
  }
}

/* Tombol bersembunyi ketika halaman digulir */
.fx-menu-button.fx-menu-scroll-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-12px) scale(.8) !important;
  pointer-events: none !important;
}

/* Hormati pengaturan pengguna yang mengurangi animasi */
@media (prefers-reduced-motion: reduce) {
  .fx-menu-button {
    animation: none !important;
    transition: opacity .2s ease !important;
  }
}

/* ===== PERBAIKAN: NEON HANYA DI PINGGIR TOMBOL ===== */
.fx-menu-button {
  position: fixed !important;
  isolation: isolate;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 23px !important;
  box-shadow: none !important;
  filter: none !important;
  animation: none !important;
  overflow: visible !important;
}

.fx-menu-button::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 12px;
  padding: 2px;
  background: conic-gradient(
    from var(--fx-neon-angle, 0deg),
    #a855f7,
    #22d3ee,
    #2563eb,
    #ec4899,
    #a855f7
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: fx-neon-border-spin 3s linear infinite;
  pointer-events: none;
}

.fx-menu-button::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 8px;
  background: #171322;
  box-shadow:
    0 0 7px rgba(168, 85, 247, .35),
    0 0 10px rgba(34, 211, 238, .2);
  pointer-events: none;
}

@keyframes fx-neon-border-spin {
  to {
    filter: hue-rotate(360deg);
  }
}

/* Jangan tampilkan tombol ketika menu samping terbuka */
.fx-menu-button.fx-menu-scroll-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-12px) scale(.85) !important;
}

/* ===== FX DIGITAL: NAVBAR LEBIH TERANG ===== */

/* Tulisan menu navbar */
header nav a,
header .nav-links a,
header .navbar a,
.navbar a,
.nav-links a,
nav a {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.28),
    0 0 10px rgba(34, 211, 238, 0.18);
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}

/* Efek saat mouse diarahkan ke tulisan */
header nav a:hover,
header .nav-links a:hover,
header .navbar a:hover,
.navbar a:hover,
.nav-links a:hover,
nav a:hover {
  color: #67e8f9 !important;
  text-shadow:
    0 0 6px rgba(34, 211, 238, 0.85),
    0 0 14px rgba(34, 211, 238, 0.55);
}

/* Menu yang sedang aktif */
header nav a.active,
header .nav-links a.active,
header .navbar a.active,
.navbar a.active,
.nav-links a.active,
nav a.active,
header nav a[aria-current="page"],
nav a[aria-current="page"] {
  color: #67e8f9 !important;
  text-shadow:
    0 0 6px rgba(34, 211, 238, 0.7),
    0 0 12px rgba(34, 211, 238, 0.35);
}


/* ===== FX DIGITAL: GARIS NEON BERGERAK DI BAWAH NAVBAR ===== */

header,
header.navbar,
.navbar {
  position: relative;
  isolation: isolate;
}

/* Garis neon utama */
header::after,
header.navbar::after,
.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 999;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent 0%,
    #a855f7 15%,
    #2563eb 30%,
    #22d3ee 45%,
    #ffffff 50%,
    #22d3ee 55%,
    #ec4899 75%,
    #a855f7 90%,
    transparent 100%
  );

  background-size: 200% 100%;
  animation: fx-navbar-neon-flow 3s linear infinite;

  box-shadow:
    0 0 5px #22d3ee,
    0 0 10px rgba(34, 211, 238, 0.85),
    0 0 18px rgba(168, 85, 247, 0.65);
}

/* Cahaya yang melintas di sepanjang garis */
@keyframes fx-navbar-neon-flow {
  0% {
    background-position: 100% 50%;
    filter: hue-rotate(0deg);
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }

  100% {
    background-position: -100% 50%;
    filter: hue-rotate(45deg);
    opacity: 0.8;
  }
}

/* Hormati pengaturan pengguna yang mengurangi animasi */
@media (prefers-reduced-motion: reduce) {
  header::after,
  header.navbar::after,
  .navbar::after {
    animation: none;
    background-position: center;
  }
}



/* ===== ILUSTRASI HERO FX DIGITAL ===== */
.hero-card.fx-hero-art {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 1.08 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070b1d !important;
  border: 1px solid rgba(100, 90, 255, .8) !important;
  border-radius: 20px;
  box-shadow: 0 0 24px rgba(69, 70, 255, .22), inset 0 0 25px rgba(0, 190, 255, .08) !important;
}
.hero-card.fx-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  transition: transform .45s ease, filter .45s ease;
}
.hero-card.fx-hero-art:hover img {
  transform: scale(1.035);
  filter: saturate(1.12) brightness(1.06);
}
@media (max-width: 850px) {
  .hero-card.fx-hero-art { aspect-ratio: 1.35 / 1; width: 100%; }
  .hero-card.fx-hero-art img { min-height: 220px; }
}
@media (max-width: 540px) {
  .hero-card.fx-hero-art { aspect-ratio: 1.2 / 1; }
  .hero-card.fx-hero-art img { min-height: 200px; }
}


/* FX DIGITAL: LAYANAN INTERAKTIF */
.fx-service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 950px;
  margin: 28px auto 10px;
}
.fx-service-item {
  overflow: hidden;
  border: 1px solid rgba(120, 110, 180, .24);
  border-radius: 16px;
  background: var(--card, #fff);
  box-shadow: 0 8px 24px rgba(20, 15, 45, .06);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fx-service-item[open] {
  border-color: rgba(120, 90, 240, .65);
  box-shadow: 0 12px 30px rgba(70, 45, 160, .12);
}
.fx-service-item > summary {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}
.fx-service-item > summary::-webkit-details-marker { display: none; }
.fx-service-item > summary::marker { content: ""; }
.fx-service-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(125, 95, 245, .12);
  font-size: 22px;
}
.fx-service-title { flex: 1; }
.fx-service-arrow {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(125, 95, 245, .12);
  font-size: 21px;
  transition: transform .2s ease;
}
.fx-service-item[open] .fx-service-arrow { transform: rotate(45deg); }
.fx-service-content {
  padding: 0 22px 22px 75px;
  line-height: 1.75;
}
.fx-service-content p { margin: 0 0 14px; }
.fx-service-content h4 { margin: 12px 0 6px; }
.fx-service-content ul { padding-left: 22px; margin: 8px 0 20px; }
.fx-service-content li { margin: 5px 0; }
.fx-service-content .btn { display: inline-flex; }
.fx-service-item > summary:focus-visible {
  outline: 3px solid #8065ee;
  outline-offset: -4px;
}
@media (max-width: 600px) {
  .fx-service-item > summary { padding: 14px; gap: 10px; }
  .fx-service-content { padding: 0 16px 18px; }
  .fx-service-icon { flex-basis: 36px; width: 36px; height: 36px; }
}

/* FX DIGITAL - PERBAIKAN KONTRAS LAYANAN */
.fx-service-list .fx-service-item {
  background: #ffffff !important;
  color: #20243a !important;
  border: 1px solid #d9d6f5 !important;
  border-radius: 14px !important;
}

.fx-service-list .fx-service-item > summary {
  color: #20243a !important;
  background: #ffffff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

.fx-service-list .fx-service-icon {
  display: none !important;
}

.fx-service-list .fx-service-title {
  color: #20243a !important;
}

.fx-service-list .fx-service-arrow {
  color: #ffffff !important;
  background: #5540d9 !important;
}

.fx-service-list .fx-service-content {
  color: #35384d !important;
  background: #ffffff !important;
}

.fx-service-list .fx-service-content p,
.fx-service-list .fx-service-content h4,
.fx-service-list .fx-service-content li {
  color: #35384d !important;
}

.fx-service-list .fx-service-content h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
}

.fx-service-list .fx-service-item[open] {
  border-color: #7965ed !important;
}

.fx-service-list .fx-service-item > summary:hover {
  background: #f5f3ff !important;
}

.fx-service-list .fx-service-item > summary:focus-visible {
  outline: 3px solid #5540d9 !important;
  outline-offset: -3px;
}


/* FX DIGITAL - TOMBOL HERO BERDAMPINGAN */
.fx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.fx-hero-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
@media (max-width: 480px) {
  .fx-hero-actions > a {
    flex: 1 1 auto;
  }
}

/* ===== FX DIGITAL: PENYEMPURNAAN RESPONSIF MOBILE ===== */

html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

.container {
  width: min(1100px, 92%);
  min-width: 0;
}

.hero-grid > *,
.contact-layout > *,
.grid > *,
.actions > * {
  min-width: 0;
}

h1,
h2,
h3,
p,
a {
  overflow-wrap: anywhere;
}

button,
.btn,
input,
select,
textarea {
  max-width: 100%;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

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

  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.15;
  }

  .lead {
    font-size: 1rem;
  }

  .actions {
    gap: 10px;
  }

  .actions .btn {
    text-align: center;
  }

  .contact-layout,
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-wa-floating {
    right: max(16px, env(safe-area-inset-right)) !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 24px);
  }

  .fx-hero-actions {
    gap: 8px;
  }

  .fx-hero-actions > a {
    flex-basis: 100%;
  }
}

/* Sembunyikan tombol titik tiga khusus tampilan HP */
@media (max-width: 600px) {
  .fx-menu-button {
    display: none !important;
  }
}

