/* ==========================================================================
   RIZKIMED — Glass Neon Theme
   Sections: 1.Vars 2.Base 3.Loader 4.Background 5.Topbar 6.Nav 7.Buttons
   8.Typo 9.Hero 10.Sections 11.Cards 12.Forms 13.Footer 14.Components
   15.Accessibility
   ========================================================================== */

:root{
  --bg0:#020617;
  --panel: rgba(15,23,42,0.78);
  --panel2: rgba(2,6,23,0.55);
  --border: rgba(148,163,184,0.18);
  --text:#e5e7eb;
  --muted:#cbd5ff;
  --pink:#f9a8d4;
  --cyan:#38bdf8;
  --gold:#f59e0b;
  --green:#22c55e;
  --font-display: "Syne", "Sora", ui-sans-serif, system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --transition-fast: .18s ease;
  --transition-smooth: .25s ease;
}

*{ box-sizing:border-box; }
html{ scroll-behavior: smooth; }

/* Page loader (minimal, futuristic) */
.page-loader{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 9999;
  background: rgba(2,6,23,0.9);
  pointer-events: none;
}
.page-loader::before{
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(56,189,248,0.95), rgba(249,168,212,0.7));
  animation: loaderFill 0.6s ease-out forwards;
}
.page-loader.done::before{ animation: none; width: 100%; }
.page-loader.done{ animation: loaderFadeOut 0.35s ease forwards; }
@keyframes loaderFill{
  to{ width: 100%; }
}
@keyframes loaderFadeOut{
  to{ opacity: 0; visibility: hidden; }
}
html,body{ margin:0; padding:0; font-family: "Sora", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial; color:var(--text); background:var(--bg0); }
a{ color: rgba(56,189,248,0.95); text-decoration:none; }
a:hover{ color: rgba(249,168,212,0.95); }
a:focus-visible{ outline: 2px solid rgba(56,189,248,0.5); outline-offset: 2px; border-radius: 4px; }

.container{ width:min(1200px, calc(100% - 22px)); margin:0 auto; }
main{ position:relative; z-index:4; }


/* Accessibility: skip link */
.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  padding:10px 14px;
  background: rgba(2,6,23,0.95);
  border: 1px solid rgba(56,189,248,0.35);
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{
  left:12px;
  outline:none;
  box-shadow: 0 0 0 3px rgba(56,189,248,0.25);
}


/* SCROLL CINEMATIC BACKGROUND (10 scenes) */
#bgSceneCanvas{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* PARTICLES */
#bgParticles{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: .55;
  pointer-events: none;
}

/* Data stream (matrix-style, very subtle) */
.data-stream{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-around;
  opacity: 0.06;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 0%, transparent 70%);
}
.data-stream-col{
  font-family: "Syne", monospace;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.2em;
  color: rgba(56,189,248,0.9);
  white-space: pre;
  animation: dataFall 12s linear infinite;
}
.data-stream-col:nth-child(1){ animation-delay: 0s; }
.data-stream-col:nth-child(2){ animation-delay: -2.4s; }
.data-stream-col:nth-child(3){ animation-delay: -4.8s; }
.data-stream-col:nth-child(4){ animation-delay: -7.2s; }
.data-stream-col:nth-child(5){ animation-delay: -9.6s; }
@keyframes dataFall{
  0%{ transform: translateY(-100%); }
  100%{ transform: translateY(100vh); }
}

/* Morphing blobs (organic, subtle) */
.blob-layer{
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
  mix-blend-mode: screen;
}
.blob-1{
  width: 420px; height: 420px;
  left: 5%; top: 10%;
  background: radial-gradient(circle, rgba(56,189,248,0.4), transparent);
  animation: blobMorph1 18s ease-in-out infinite;
}
.blob-2{
  width: 380px; height: 380px;
  right: 8%; top: 30%;
  background: radial-gradient(circle, rgba(249,168,212,0.35), transparent);
  animation: blobMorph2 22s ease-in-out infinite 2s;
}
.blob-3{
  width: 320px; height: 320px;
  left: 40%; bottom: 5%;
  background: radial-gradient(circle, rgba(34,197,94,0.22), transparent);
  animation: blobMorph3 20s ease-in-out infinite 4s;
}
@keyframes blobMorph1{
  0%, 100%{ transform: translate(0,0) scale(1) rotate(0deg); border-radius: 60% 40% 30% 70%; }
  33%{ transform: translate(8%, -5%) scale(1.1) rotate(4deg); border-radius: 30% 60% 70% 40%; }
  66%{ transform: translate(-5%, 6%) scale(0.95) rotate(-3deg); border-radius: 50% 50% 50% 50%; }
}
@keyframes blobMorph2{
  0%, 100%{ transform: translate(0,0) scale(1) rotate(0deg); border-radius: 40% 60% 50% 50%; }
  50%{ transform: translate(-6%, 4%) scale(1.08) rotate(5deg); border-radius: 60% 40% 60% 40%; }
}
@keyframes blobMorph3{
  0%, 100%{ transform: translate(0,0) scale(1); border-radius: 50% 50% 50% 50%; }
  50%{ transform: translate(4%, -4%) scale(1.12); border-radius: 70% 30% 30% 70%; }
}

/* Aurora background layer */
body:before{
  content:"";
  position:fixed;
  inset:-30%;
  z-index: 1;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(56,189,248,.20), transparent 60%),
    radial-gradient(900px 520px at 90% 25%, rgba(249,168,212,.16), transparent 62%),
    radial-gradient(900px 520px at 50% 92%, rgba(34,197,94,.10), transparent 65%),
    conic-gradient(from 180deg at 50% 50%, rgba(56,189,248,.05), rgba(249,168,212,.04), rgba(34,197,94,.03), rgba(56,189,248,.05));
  filter: blur(22px);
  opacity:.55;
  mix-blend-mode: screen;
  animation: auroraMove 14s ease-in-out infinite;
  transform: translate3d(0,0,0);
}
@keyframes auroraMove{
  0%   { transform: translate(-2%, -1%) scale(1.02) rotate(0deg); opacity:.70; }
  50%  { transform: translate(2%, 1%)  scale(1.06) rotate(6deg); opacity:.92; }
  100% { transform: translate(-2%, -1%) scale(1.02) rotate(0deg); opacity:.70; }
}

/* Grid overlay */
body:after{
  content:"";
  position:fixed;
  inset:0;
  z-index: 1;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 20%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 75%);
  opacity:.18;
}

/* Cursor glow (premium) */
.cursor-glow{
  position: fixed;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  pointer-events:none;
  z-index: 2;
  background: radial-gradient(circle at 50% 50%, rgba(56,189,248,.16), rgba(249,168,212,.08), transparent 60%);
  filter: blur(8px);
  transform: translate(-999px, -999px);
  opacity: .75;
}

/* ===== TOP BAR STATUS ===== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(2,6,23,0.70);
  border-bottom: 1px solid rgba(148,163,184,0.10);
  backdrop-filter: blur(10px);
}
.topbar-inner{ padding: 8px 0; overflow:hidden; }
.topbar-marquee{
  display:flex;
  gap: 28px;
  width:max-content;
  animation: topbarMove 18s linear infinite;
  color: rgba(203,213,255,0.92);
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes topbarMove{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}
/* NAV */
.nav{
  position: sticky;
  top: 34px;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(2,6,23,0.55);
  border-bottom: 1px solid rgba(148,163,184,0.12);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 0;
  gap: 12px;
}
.brand{ display:flex; align-items:center; gap:12px; color: var(--text); }
.brand-logo{ width:38px; height:38px; border-radius: 12px; border:1px solid rgba(148,163,184,0.16); background: rgba(2,6,23,0.35); }
.brand-stack{ display:flex; flex-direction:column; line-height:1.1; }
.brand-name{ font-weight:800; letter-spacing:.18em; font-size: 14px; font-family: var(--font-display); }
.brand-sub{ font-size:12px; color: var(--muted); opacity:.9; }

.nav-toggle{
  display:none;
  border:1px solid rgba(148,163,184,0.22);
  background: rgba(2,6,23,0.55);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
}
.nav-links{ display:flex; align-items:center; gap: 14px; }
.nav-links a{ color: rgba(229,231,235,0.92); }
.nav-links a.active{ color: var(--cyan); }

.lang-switcher{ display:flex; gap: 2px; margin-right: 6px; }
.lang-btn{
  padding: 4px 8px;
  font-size: 11px;
  border: 1px solid rgba(148,163,184,0.2);
  background: rgba(2,6,23,0.4);
  color: rgba(229,231,235,0.7);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.lang-btn:hover{ color: var(--cyan); border-color: rgba(56,189,248,0.35); }
.lang-btn.active{ color: var(--cyan); border-color: rgba(56,189,248,0.5); background: rgba(56,189,248,0.12); }
body.lang-zh{ font-family: "Noto Sans SC", "Sora", ui-sans-serif, system-ui, sans-serif; }

@media (max-width: 820px){
  .nav-toggle{ display:block; }
  .nav-links{
    display:none;
    position:absolute;
    right: 10px;
    top: 58px;
    flex-direction:column;
    background: rgba(2,6,23,0.88);
    border: 1px solid rgba(148,163,184,0.14);
    border-radius: 14px;
    padding: 12px;
    width: min(280px, calc(100% - 20px));
  }
  .nav-links.open{ display:flex; }
}

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(2,6,23,0.35);
  color: var(--text);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(56,189,248,0.30); box-shadow: 0 12px 26px rgba(0,0,0,0.35); }
.btn-neon{
  border:1px solid rgba(56,189,248,0.35);
  background: linear-gradient(135deg, rgba(56,189,248,0.16), rgba(2,6,23,0.15));
}
.btn-outline{ border:1px solid rgba(245,158,11,0.30); background: rgba(2,6,23,0.25); }
.btn-ghost{ border:1px dashed rgba(148,163,184,0.28); background: transparent; }

/* Ripple */
.ripple{ position:relative; overflow:hidden; }
.ripple .rip{ position:absolute; border-radius:999px; transform: scale(0); animation: rip 700ms ease-out; background: rgba(56,189,248,0.22); pointer-events:none; }
@keyframes rip{ to{ transform: scale(22); opacity: 0; } }

/* TYPOGRAPHY */
.h1{
  margin: 14px 0 10px 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
  font-weight: 800;
}
.h2{ margin: 0 0 8px 0; font-size: clamp(22px, 2.4vw, 30px); font-family: var(--font-display); font-weight: 700; }
.h3{ margin: 8px 0 8px 0; font-size: 18px; font-family: var(--font-display); font-weight: 600; }
.lead{ margin: 0 0 16px 0; color: rgba(203,213,255,0.95); font-size: 15px; max-width: 70ch; }
.muted{ color: rgba(203,213,255,0.88); }

.grad{
  background: linear-gradient(90deg, rgba(56,189,248,1), rgba(249,168,212,1), rgba(56,189,248,1));
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation: gradShift 6s ease-in-out infinite;
}
.grad2{
  background: linear-gradient(90deg, rgba(245,158,11,1), rgba(56,189,248,1), rgba(245,158,11,1));
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation: gradShift 7s ease-in-out infinite 0.5s;
}
@keyframes gradShift{
  0%, 100%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
}

/* CHIP */
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(2,6,23,0.32);
  font-size: 12px;
}
.dot{
  width:8px; height:8px; border-radius:99px;
  background: rgba(56,189,248,0.95);
  box-shadow: 0 0 16px rgba(56,189,248,0.55);
  animation: dotPulse 2.5s ease-in-out infinite;
}
@keyframes dotPulse{
  0%, 100%{ opacity: 1; transform: scale(1); box-shadow: 0 0 16px rgba(56,189,248,0.55); }
  50%{ opacity: 0.85; transform: scale(1.15); box-shadow: 0 0 24px rgba(56,189,248,0.7); }
}

/* HERO */
.hero{ padding: 26px 0 14px 0; position:relative; overflow:hidden; }
/* ===== HERO LIGHT SWEEP + NOISE (premium) ===== */
.hero-enterprise{ position:relative; }

.hero-enterprise:before{
  content:"";
  position:absolute;
  inset:-40%;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(800px 380px at 20% 15%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(700px 340px at 80% 25%, rgba(249,168,212,.14), transparent 62%);
  filter: blur(18px);
  opacity:.85;
  animation: heroGlow 10s ease-in-out infinite;
}
@keyframes heroGlow{
  0%{ transform: translate(-1%, -1%) scale(1.02); opacity:.70; }
  50%{ transform: translate(1.5%, 1%) scale(1.06); opacity:.92; }
  100%{ transform: translate(-1%, -1%) scale(1.02); opacity:.70; }
}

.hero-enterprise:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.06) 20%, transparent 40%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0 1px, transparent 1px 3px);
  transform: translateX(-120%);
  animation: heroSweep 8s ease-in-out infinite;
  opacity:.55;
}
@keyframes heroSweep{
  0%{ transform: translateX(-120%); }
  45%{ transform: translateX(120%); }
  100%{ transform: translateX(120%); }
}

/* HUD scan line (futuristic) */
.hero-scanline{
  position:absolute;
  left:0; right:0;
  height:2px;
  top:0;
  z-index:1;
  pointer-events:none;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.6), rgba(249,168,212,0.4), transparent);
  box-shadow: 0 0 12px rgba(56,189,248,0.5), 0 0 24px rgba(249,168,212,0.2);
  animation: scanLine 4s ease-in-out infinite;
}
@keyframes scanLine{
  0%{ top: 0; opacity: 0.4; }
  10%{ opacity: 1; }
  90%{ opacity: 1; }
  100%{ top: 100%; opacity: 0.4; }
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .90fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 980px){ .hero-grid{ grid-template-columns: 1fr; } }

.hero-left{ position:relative; transition: transform .2s ease-out; }
.hero-right{ transition: transform .2s ease-out; }
.metrics{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 980px){ .metrics{ grid-template-columns: 1fr; } }
.metric{
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.14);
  background: rgba(2,6,23,0.30);
  padding: 12px;
}
.metric-val{ font-weight:800; letter-spacing:.06em; }
.metric-lbl{ color: rgba(203,213,255,0.9); font-size: 12px; margin-top: 4px; }

.glass-panel{
  border-radius: 18px;
  border:1px solid rgba(148,163,184,0.16);
  background: rgba(2,6,23,0.42);
  backdrop-filter: blur(12px);
  overflow:hidden;
}
.panel-top{ padding: 14px; border-bottom:1px solid rgba(148,163,184,0.12); }
.panel-title{ font-weight:800; letter-spacing:.12em; text-transform:uppercase; font-size: 12px; }
.panel-sub{ color: rgba(203,213,255,0.9); font-size: 12px; margin-top: 6px; }
.panel-actions{ padding: 12px; display:flex; flex-direction:column; gap:10px; }

.mini-link{
  display:grid;
  grid-template-columns: 34px 1fr 22px;
  gap:10px;
  padding: 12px;
  border-radius: 14px;
  border:1px solid rgba(148,163,184,0.14);
  background: rgba(15,23,42,0.35);
  color: var(--text);
  transition: transform .18s ease, border-color .18s ease;
}
.mini-link:hover{ border-color: rgba(56,189,248,0.35); transform: translateY(-1px); }
.mini-ico{ font-size: 18px; display:flex; align-items:center; justify-content:center; }
.mini-arrow{ display:flex; align-items:center; justify-content:center; opacity:.85; }
/* ===== HOME HERO CENTERING (desktop) ===== */
@media (min-width: 980px){
  .home .hero{
    /* tighter above-the-fold: reduce empty space on tall screens */
    min-height: clamp(420px, 52vh, 560px);
    display: flex;
    align-items: flex-start;
    padding-top: 18px;
    padding-bottom: 8px;
  }
  /* keep hero content aligned with the global container width */
  .home .hero .container{ width:min(1200px, calc(100% - 22px)); margin:0 auto; }
  .home .hero-grid{ align-items: start; }
}
@media (max-width: 979px){
  .home .hero{ min-height: auto; }
}

/* marquee background (home only) */
.home .marquee-wrap{
  position:absolute; inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
  opacity:.80;
  display:flex;
  align-items:center;
  justify-content:center;
}
.home .marquee{
  position:absolute;
  top: 50%;
  left: 50%;
  display:flex;
  gap: 40px;
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;

  /* Glass-Neon 3D */
  color: transparent;
  background: linear-gradient(90deg,
    rgba(56,189,248,0.92),
    rgba(255,0,200,0.82),
    rgba(180,0,255,0.78),
    rgba(56,189,248,0.92)
  );
  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-stroke: 1px rgba(255,255,255,0.22);
  text-stroke: 1px rgba(255,255,255,0.22);

  /* 3D depth + neon bloom */
  text-shadow:
    0 1px 0 rgba(0,0,0,.28),
    0 2px 0 rgba(0,0,0,.24),
    0 3px 0 rgba(0,0,0,.18),
    0 10px 28px rgba(0,0,0,.55),
    0 0 18px rgba(56,189,248,.35),
    0 0 26px rgba(255,0,200,.24),
    0 0 34px rgba(180,0,255,.18);

  mix-blend-mode: screen;

  transform: rotate(-10deg);
  filter: drop-shadow(0 26px 40px rgba(0,0,0,0.55));
  animation: marquee 18s linear infinite;
  will-change: transform;
  transform-origin: center;
}
.home .marquee::after{
  content:"";
  position:absolute;
  inset:-35px -18%;
  pointer-events:none;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255,0.18) 32%,
    transparent 64%
  );
  transform: translateX(-140%);
  animation: glassSweep 6.6s ease-in-out infinite;
  mix-blend-mode: overlay;
  opacity:.70;
}
@keyframes glassSweep{
  0%{ transform: translateX(-140%); }
  45%{ transform: translateX(140%); }
  100%{ transform: translateX(140%); }
}
.home .marquee span{ white-space: nowrap; }
@keyframes marquee{
  from { transform: translate(-50%, -50%) rotate(-10deg) translateX(0); }
  to   { transform: translate(-50%, -50%) rotate(-10deg) translateX(-35%); }
}
/* ===== RIZKIMED BACKGROUND MARQUEE (lebih terlihat, 3D shadow) ===== */
.hero-marquee{
  position:absolute;
  inset: -40px 0 auto 0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
  opacity: 1;
}

.hero-marquee .track{
  display:flex;
  gap: 48px;
  width:max-content;
  animation: marqueeMove 22s linear infinite;
  transform: translate3d(0,0,0);
}

.hero-marquee .word{
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;

  /* lebih kelihatan */
  color: rgba(255,255,255,0.065);
  -webkit-text-stroke: 1px rgba(56,189,248,0.45);
  text-stroke: 1px rgba(56,189,248,0.45);

  /* 3D shadow stack */
  text-shadow:
    0 1px 0 rgba(0,0,0,.25),
    0 2px 0 rgba(0,0,0,.22),
    0 3px 0 rgba(0,0,0,.18),
    0 10px 35px rgba(0,0,0,.55),
    0 0 18px rgba(56,189,248,.22),
    0 0 22px rgba(249,168,212,.12);

  mix-blend-mode: screen;
  filter: drop-shadow(0 0 18px rgba(56,189,248,0.14));
  transform: translateZ(0);
}

@keyframes marqueeMove{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}
/* Sections */



/* ===== 10 SCENES (full-screen sections) ===== */
.scene{
  scroll-margin-top: 92px;
  position: relative;
  padding: 44px 0;
}
/* keep layout safe for scenes that contain multiple nested blocks */
.scene .container{ width:min(1200px, calc(100% - 22px)); margin:0 auto; }

@media (max-width: 980px){
  .scene{ scroll-margin-top: 118px; padding: 38px 0; }
  .section.scene{ align-items: flex-start; }
}
.section{ padding: 32px 0; }
/* Home: reduce gap between HERO and the next section */
.home .hero + .section{ padding-top: 14px; }
.section-head{ margin-bottom: 20px; }
.section-head .h2{ margin-bottom: 6px; }
.section-head .muted{ margin: 0; }
.cta-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 10px; }

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 980px){
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
}

/* Offices: peta kantor + selector */
/* Offices — card grid redesign */
.offices-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 860px){ .offices-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .offices-grid{ grid-template-columns: 1fr; } }

.office-card{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148,163,184,0.16);
  background: rgba(15,23,42,0.45);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  color: var(--text);
}
.office-card:hover{
  border-color: rgba(56,189,248,0.35);
  background: rgba(15,23,42,0.65);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.office-card.active{
  border-color: rgba(56,189,248,0.55);
  background: rgba(56,189,248,0.08);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.25), 0 8px 24px rgba(0,0,0,0.3);
}
.office-card-city{
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: 8px;
}
.office-hq-badge{
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(56,189,248,0.18);
  border: 1px solid rgba(56,189,248,0.35);
  color: rgba(56,189,248,0.95);
}
.office-card-addr{
  font-size: 12px;
  line-height: 1.5;
  color: rgba(203,213,255,0.85);
  flex: 1;
}
.office-reg-note{
  font-size: 11px;
  opacity: 0.65;
}
.office-card-actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Cards */
.card{
  position:relative;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.16);
  background: linear-gradient(180deg, rgba(15,23,42,0.86), rgba(2,6,23,0.68));
  backdrop-filter: blur(10px);
  padding: 14px 14px 16px 14px;
  overflow:hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .25s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(56,189,248,0.35);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 24px rgba(56,189,248,0.12), 0 0 48px rgba(249,168,212,0.06);
}

.card:before{
  content:"";
  position:absolute; inset:-2px; pointer-events:none;
  background:
    radial-gradient(680px 160px at 10% 0%, rgba(56,189,248,0.18), transparent 55%),
    radial-gradient(600px 150px at 90% 0%, rgba(249,168,212,0.14), transparent 55%);
  filter: blur(12px);
  opacity:.85;
}
.card:after{
  content:"";
  position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.06) 20%, transparent 40%);
  transform: translateX(-120%);
  animation: cardSheen 7s ease-in-out infinite;
  opacity:.6;
}
@keyframes cardSheen{
  0%{ transform: translateX(-120%); }
  40%{ transform: translateX(120%); }
  100%{ transform: translateX(120%); }
}

.card-tag{
  position:relative;
  display:inline-flex;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pink);
  border:1px solid rgba(249,168,212,0.22);
  background: rgba(2,6,23,0.22);
  padding: 6px 10px;
  border-radius: 999px;
}

.list{ margin: 10px 0 0 16px; position:relative; }
.list li{ margin: 7px 0; color: rgba(229,231,235,0.95); }

/* ===== CUSTOMER QUICK ACTIONS WIDTH (home) ===== */
.home .qa-wrap{
  width: 100%;
  max-width: 720px;   /* ini yang bikin panel jadi “tight premium” */
  margin-right: auto; /* biar nempel ke kiri kolom kanan, jadi tidak sampai ke tepi kanan */
}
@media (max-width: 980px){
  .home .qa-wrap{ max-width: 100%; }
}

/* ===== TRACKING WIDGET (home mini) ===== */
.tracking-mini{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.14);
  background: rgba(2,6,23,0.30);
  padding: 14px;
}
.tracking-row{
  display:flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap:wrap;
}
.tracking-input{
  flex: 1;
  min-width: 220px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(2,6,23,0.55);
  color: var(--text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-smooth);
}
.tracking-input:focus{
  outline: none;
  border-color: rgba(56,189,248,0.45);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.12);
}
.tracking-hint{ margin-top: 8px; font-size: 12px; }
/* Partner strip */
.partner-strip{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.14);
  background: rgba(2,6,23,0.30);
  padding: 12px;
}
.partner-title{ font-weight:800; letter-spacing:.12em; text-transform:uppercase; font-size: 11px; color: rgba(203,213,255,0.9); }
.partner-row{ display:flex; flex-wrap:wrap; gap: 10px; margin-top: 10px; }
.partner-chip{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.16);
  background: rgba(15,23,42,0.40);
  color: rgba(229,231,235,0.95);
  font-size: 12px;
}
.partner-foot{ margin-top: 8px; font-size: 11px; }
/* ===== PARTNER LOGO MARQUEE (enterprise) ===== */
.partner-marquee{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.14);
  background: rgba(2,6,23,0.30);
  padding: 12px;
  overflow:hidden;
}
.partner-marquee:hover .partner-track{ animation-play-state: paused; }
.partner-marquee:focus-within .partner-track{ animation-play-state: paused; }
.partner-track{
  display:flex;
  gap: 12px;
  width:max-content;
  animation: partnerMove 16s linear infinite;
  will-change: transform;
}
@keyframes partnerMove{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}
.partner-card{
  min-width: 240px;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.14);
  background: linear-gradient(180deg, rgba(15,23,42,0.70), rgba(2,6,23,0.55));
  backdrop-filter: blur(10px);
}

.partner-link{
  text-decoration: none;
  color: inherit;
}
.partner-link:focus-visible{
  outline: 2px solid rgba(56,189,248,0.55);
  outline-offset: 3px;
  border-radius: 16px;
}
.partner-logo{
  width: 128px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(56,189,248,0.12));
  opacity: 0.98;
}
@media (max-width: 520px){
  .partner-logo{ width: 110px; }
}
.partner-mono{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(56,189,248,0.16);
  border: 1px solid rgba(56,189,248,0.28);
  box-shadow: 0 0 18px rgba(56,189,248,0.12);
  font-weight: 900;
  letter-spacing: .02em;
}
.partner-name{
  font-weight: 800;
  letter-spacing: .02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.partner-subtxt{ font-size: 12px; color: rgba(203,213,255,0.86); margin-top: 2px; }
/* CTA band */
.cta-band{
  padding: 22px 0;
  border-top: 1px solid rgba(148,163,184,0.10);
  border-bottom: 1px solid rgba(148,163,184,0.10);
  background: rgba(2,6,23,0.28);
}
.cta-band-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
@media (max-width: 980px){ .cta-band-inner{ flex-direction:column; align-items:flex-start; } }

/* Pages */
.page{ padding-bottom: 36px; }
.page-hero{ padding: 38px 0 10px 0; }

/* Quickbar (products) */
.quickbar{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.14);
  background: rgba(2,6,23,0.30);
}
@media (max-width: 980px){
  .quickbar{ flex-direction:column; align-items:stretch; }
  .quickbar-right{ justify-content:flex-start; }
}
.quickbar-left{ display:flex; align-items:center; gap: 10px; }
.quicklbl{ font-size: 12px; color: rgba(203,213,255,0.9); }
.quicksel{
  border-radius: var(--radius-md);
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(2,6,23,0.55);
  color: var(--text);
  padding: 10px 12px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-smooth);
}
.quicksel:focus{
  outline: none;
  border-color: rgba(56,189,248,0.45);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.12);
}

/* Category cards */
.cat-grid{ margin-top: 8px; }
.cat-card{
  width:100%;
  text-align:left;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.16);
  background: linear-gradient(180deg, rgba(15,23,42,0.86), rgba(2,6,23,0.68));
  padding: 14px;
  cursor:pointer;
  color: var(--text);
  transition: transform .18s ease, border-color .18s ease, box-shadow .25s ease;
}
.cat-card:hover{
  transform: translateY(-2px);
  border-color: rgba(56,189,248,0.35);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 24px rgba(56,189,248,0.12);
}
.cat-top{ display:flex; justify-content:space-between; align-items:center; gap: 10px; }
.cat-title{ font-weight:800; }
.cat-pill{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,0.22);
  background: rgba(56,189,248,0.08);
}
.cat-desc{ margin-top: 10px; color: rgba(203,213,255,0.90); font-size: 12px; }
.cat-detail{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.14);
  background: rgba(2,6,23,0.30);
  padding: 12px 14px;
}
.cat-detail-title{ font-weight:800; letter-spacing:.02em; }
.cat-detail-actions{ margin-top: 10px; display:flex; flex-wrap:wrap; gap:10px; }

/* Progress */
.progress{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.progress-step{
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.14);
  background: rgba(15,23,42,0.35);
  padding: 10px;
  font-size: 12px;
  text-align:center;
  color: rgba(203,213,255,0.92);
}
.progress-step.active{
  border-color: rgba(56,189,248,0.28);
  background: rgba(56,189,248,0.10);
  color: rgba(229,231,235,0.98);
}

/* Forms */
.form label{ display:block; margin: 10px 0; font-size: 13px; }
.form input, .form textarea, .form select{
  width:100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(2,6,23,0.55);
  color: var(--text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-smooth);
}
.form input:focus, .form textarea:focus, .form select:focus{
  outline: none;
  border-color: rgba(56,189,248,0.45);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.12);
}

/* Timeline */
.timeline{ display:flex; flex-direction:column; gap: 10px; }
.t-item{
  display:flex; gap: 12px; align-items:flex-start;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.14);
  background: rgba(2,6,23,0.30);
  padding: 12px;
}
.t-num{
  width:44px; height:44px; border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  border: 1px solid rgba(56,189,248,0.22);
  background: rgba(56,189,248,0.08);
  font-weight: 800;
}
.t-title{ font-weight:800; margin-top: 2px; }

/* Notes */
.note{
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(245,158,11,0.22);
  background: rgba(245,158,11,0.08);
  color: rgba(255,233,181,0.95);
  font-size: 12px;
}

/* Testimonial blockquote (remove inline styles) */
.testimonial-quote{
  margin: 0 0 12px;
  padding-left: 14px;
  border-left: 3px solid rgba(56,189,248,0.5);
  font-style: italic;
}

/* Footer */
.footer{
  position:relative;
  z-index:1;
  margin-top: 24px;
  border-top: 1px solid rgba(148,163,184,0.12);
  background: rgba(2,6,23,0.45);
}
.footer-inner{
  display:flex; justify-content:space-between; gap: 14px;
  padding: 18px 0;
}
@media (max-width: 980px){ .footer-inner{ flex-direction:column; } }
.footer-brand{ font-weight:900; letter-spacing:.16em; text-transform:uppercase; font-family: var(--font-display); }
.footer-links{ display:flex; gap: 12px; flex-wrap:wrap; }
.footer-bottom{ padding: 12px 0 18px 0; }

/* Sticky CTA (slide-up on scroll) */
.sticky-cta{
  position: fixed;
  left: 0; right:0;
  bottom: 14px;
  z-index: 12;
  pointer-events:none;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1), opacity .35s ease;
}
.sticky-cta.visible{
  transform: translateY(0);
  opacity: 1;
}
.sticky-cta-inner{
  width:min(1200px, calc(100% - 22px));
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.16);
  background: rgba(2,6,23,0.62);
  backdrop-filter: blur(12px);
  pointer-events:auto;
}
@media (max-width: 980px){
  .sticky-cta-inner{ flex-direction:column; align-items:stretch; }
  .sticky-cta-right{ justify-content:flex-start; }
}
.sticky-cta-left{ display:flex; align-items:center; gap: 10px; }
.sticky-badge{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,0.22);
  background: rgba(34,197,94,0.08);
  color: rgba(229,231,235,0.95);
  font-size: 11px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.sticky-text{ color: rgba(203,213,255,0.92); font-size: 12px; }
.sticky-cta-right{ display:flex; flex-wrap:wrap; gap: 8px; align-items:center; }
.sticky-cta-right .btn{ padding: 8px 12px; font-size: 13px; }

/* Reveal animations (animation for stagger, avoids affecting hover transition) */
.reveal{ opacity:0; transform: translateY(10px); }
.reveal.show{ animation: revealIn .6s ease forwards; }
@keyframes revealIn{
  to{ opacity:1; transform: translateY(0); }
}


/* --- Product Preview Gallery (Enterprise) --- */
.product-grid{ gap: 14px; }
.p-card{
  position:relative;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.16);
  background: linear-gradient(180deg, rgba(15,23,42,0.86), rgba(2,6,23,0.68));
  backdrop-filter: blur(10px);
  padding: 14px;
  overflow:hidden;
  transform-style: preserve-3d;
}
.p-card:before{
  content:"";
  position:absolute; inset:-2px; pointer-events:none;
  background:
    radial-gradient(680px 160px at 10% 0%, rgba(56,189,248,0.14), transparent 55%),
    radial-gradient(600px 150px at 90% 0%, rgba(249,168,212,0.12), transparent 55%);
  filter: blur(12px);
  opacity:.9;
}
.p-top{ position:relative; display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.p-badge{
  position:relative;
  display:inline-flex;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pink);
  border:1px solid rgba(249,168,212,0.22);
  background: rgba(2,6,23,0.22);
  padding: 6px 10px;
  border-radius: 999px;
}
.p-name{ position:relative; font-weight:800; letter-spacing:.03em; }

.p-img-row{
  position:relative;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.p-img-row img{
  width:100%;
  height: 160px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.14);
  background: rgba(2,6,23,0.35);
}
.p-actions{ position:relative; margin-top: 12px; display:flex; gap:10px; }

.btn-sm{ padding: 8px 12px; border-radius: 12px; font-size: 12px; }

/* Product pills (Gallery) */
.product-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
  margin-bottom: 16px;
}
.product-pill{
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.25);
  color: var(--muted);
}
.office-phone{ display: inline-block; margin-right: 8px; }

/* slightly tighter on mobile */
@media (max-width: 980px){
  .p-img-row img{ height: 150px; }
}

/* =========================================================
   GLOBAL 3D LOGO (RIZKIMED) — Glass Neon Spin (all pages)
   ========================================================= */
.logo3d-spin-layer{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2; /* above bg (0/1), below main (3) + nav (10) */
  pointer-events: none;
  opacity: .36;
  mix-blend-mode: screen;
}

.logo3d-float{
  width: min(640px, 70vw);
  aspect-ratio: 1843 / 1092;
  animation: logoFloat 5.2s ease-in-out infinite;
  filter: drop-shadow(0 34px 70px rgba(0,0,0,.58));
}

.logo3d-spin{
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: logoSpinY 9.5s linear infinite;
}

.logo3d-spin .face{
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.logo3d-spin .face img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.07);
}

.logo3d-spin .back{
  transform: rotateY(180deg);
}

@keyframes logoSpinY{
  0%   { transform: rotateY(0deg) rotateX(7deg); }
  100% { transform: rotateY(360deg) rotateX(7deg); }
}

@keyframes logoFloat{
  0%,100% { transform: translateY(-10px); }
  50%     { transform: translateY(10px); }
}

/* Mobile: keep it clean + smooth */
@media (max-width: 820px){
  .logo3d-spin-layer{ opacity: .26; }
  .logo3d-float{ width: min(520px, 82vw); animation-duration: 6.2s; }
  .logo3d-spin{ animation-duration: 12.5s; }
}

/* Accessibility */
/* ===== PARTNERS DEDICATED SECTION ===== */
.partners-group{
  margin-top: 28px;
}
.partners-group-label{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(203,213,255,0.75);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(148,163,184,0.12);
}
.partners-logo-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.partners-logo-grid .partner-card{
  min-width: 0;
  flex: 1 1 220px;
  max-width: 280px;
}
@media (max-width: 600px){
  .partners-logo-grid .partner-card{ flex: 1 1 100%; max-width: 100%; }
}
.partners-portal-cta{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.partners-portal-hint{
  font-size: 13px;
}

/* ===== UTILITY CLASSES ===== */
.mt-10{ margin-top: 10px; }
.mt-12{ margin-top: 12px; }
.mt-14{ margin-top: 14px; }
.mt-24{ margin-top: 24px; }
.h2-lg{
  font-size: clamp(28px, 3.2vw, 44px);
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 700;
}

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

  /* Stop animated layers */
  body:before{ animation: none !important; }
  .blob-layer, .data-stream, .hero-scanline{ display: none !important; }
  #bgParticles, #bgSceneCanvas{ display:none !important; }
  .cursor-glow{ display:none !important; }

  /* Stop component animations */
  .dot, .grad, .grad2, .logo3d-float, .logo3d-spin, .partner-track{ animation: none !important; }
  .dot{ transform: scale(1) !important; }
  .sticky-cta{ transform: none !important; opacity: 1 !important; transition: none !important; }
  .page-loader::before{ animation: none !important; width: 100% !important; }
  .reveal.show{ animation: none !important; opacity: 1 !important; transform: translateY(0) !important; }
  .grad, .grad2{ background-position: 0% 50% !important; }
  .partner-track{
    transform: none !important;
    width: 100% !important;
    flex-wrap: wrap;
    justify-content: center;
  }
}
