/* ==========================================================================
   CARWASH LIMITED — HYDRO-SILK  ·  public layer
   Landing showroom, authentication lounge, legal + marketing surfaces.
   Requires cw-core.css.
   ========================================================================== */

body.cw-public { position: relative; }
.cw-shell { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100dvh; }

/* ===================================================== 1. FLOATING HEADER */
.cw-pub-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: calc(12px + var(--safe-t)) 16px 6px;
  pointer-events: none;
}
.cw-pub-header-in {
  pointer-events: auto;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 11px 9px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(26px) saturate(200%);
  -webkit-backdrop-filter: blur(26px) saturate(200%);
  border: 1.5px solid rgba(255, 255, 255, .9);
  box-shadow: 0 14px 32px -16px rgba(4, 24, 62, .18), inset 0 1.5px 0 #fff;
  transition: background-color var(--t-med) ease, box-shadow var(--t-med) ease, padding var(--t-med) var(--ease-silk);
}
.cw-pub-header.is-scrolled .cw-pub-header-in {
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 20px 44px -18px rgba(4, 24, 62, .28), 0 2px 8px rgba(0, 123, 255, .08), inset 0 1.5px 0 #fff;
}

/* Brand lockup */
.cw-brand, .sd-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.cw-brand-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #071E47 0%, #004EC2 52%, #38B6FF 100%);
  box-shadow: 0 8px 18px -8px rgba(0, 78, 194, .55), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform var(--t-med) var(--ease-pop);
}
.cw-brand:hover .cw-brand-mark { transform: rotate(-8deg) scale(1.05); }
.cw-brand-mark svg { width: 100%; height: 100%; }
.cw-brand-name, .sd-brand-name { display: block; line-height: 1.05; }
.cw-brand-name b, .sd-brand-name b {
  display: block;
  font-family: var(--f-emblem);
  font-style: italic;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .035em;
  color: var(--sapphire);
  text-transform: uppercase;
}
.cw-brand-name b span, .sd-brand-name b span { color: var(--azure); }
.cw-brand-name small, .sd-brand-name small {
  display: block;
  margin-top: 3px;
  font-family: var(--f-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Desktop nav */
.cw-pub-nav, .sd-nav { display: flex; align-items: center; gap: 4px; }
.cw-pub-nav a, .sd-nav a {
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 650;
  color: var(--slate);
  transition: all var(--t-fast) ease;
}
.cw-pub-nav a:hover, .sd-nav a:hover { background: var(--cloud); color: var(--sapphire); }
.cw-pub-nav a.active, .sd-nav a.active { background: var(--cloud); color: var(--sapphire); }

.cw-pub-actions, .sd-actions { display: flex; align-items: center; gap: 8px; flex: none; }

/* Burger */
.cw-burger, .sd-burger, .hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cloud);
  border: 1px solid var(--frost);
  color: var(--sapphire);
  place-items: center;
}
.cw-burger span, .sd-burger span {
  position: relative;
  display: block;
  width: 17px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t-med) var(--ease-silk), opacity var(--t-fast) ease;
}
.cw-burger span::before, .cw-burger span::after,
.sd-burger span::before, .sd-burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 17px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t-med) var(--ease-silk);
}
.cw-burger span::before, .sd-burger span::before { top: -6px; }
.cw-burger span::after,  .sd-burger span::after  { top: 6px; }
.cw-burger[aria-expanded="true"] span, .sd-burger[aria-expanded="true"] span { transform: rotate(45deg); }
.cw-burger[aria-expanded="true"] span::before, .sd-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(-90deg); }
.cw-burger[aria-expanded="true"] span::after,  .sd-burger[aria-expanded="true"] span::after  { opacity: 0; }

/* Mobile drawer */
.cw-drawer, .sd-drawer, .mobile-menu {
  position: fixed;
  top: calc(74px + var(--safe-t));
  left: 14px; right: 14px;
  z-index: 59;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid #fff;
  box-shadow: 0 28px 56px -22px rgba(4, 24, 62, .34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px) scale(.98);
  transform-origin: top center;
  transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease-silk), visibility var(--t-med);
}
.cw-drawer.is-open, .sd-drawer.is-open, .mobile-menu.is-open,
.cw-drawer.open, .sd-drawer.open, .mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.cw-drawer > a:not(.cw-btn):not(.sd-btn), .sd-drawer > a:not(.sd-btn), .mobile-menu > a {
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--sapphire);
  transition: background-color var(--t-fast) ease;
}
.cw-drawer > a:hover, .sd-drawer > a:hover, .mobile-menu > a:hover { background: var(--cloud); }
.cw-drawer hr { margin: 7px 2px; }

/* ========================================================== 2. HERO STAGE */
.cw-hero { padding: calc(104px + var(--safe-t)) 0 20px; position: relative; }
.cw-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 44px;
  align-items: center;
}

/* Sculpted sapphire brand plaque */
.cw-plaque {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: var(--r-xl);
  isolation: isolate;
}
.cw-plaque-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px 6px;
}
.cw-plaque-hours {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(125, 211, 252, .26);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #BAE6FD;
}
.cw-plaque-tag { font-family: var(--f-mono); font-size: 9px; font-weight: 650; letter-spacing: .12em; color: rgba(186, 230, 253, .8); text-transform: uppercase; }
.cw-plaque-logo { position: relative; z-index: 2; cursor: pointer; filter: drop-shadow(0 14px 26px rgba(0, 123, 255, .34)); user-select: none; }
.cw-plaque-logo svg { width: 100%; height: auto; }

/* Spec strip inside plaque */
.cw-plaque-specs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 6px;
}
.cw-plaque-specs > div {
  padding: 11px 10px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(125, 211, 252, .18);
  text-align: center;
  backdrop-filter: blur(8px);
}
.cw-plaque-specs b { display: block; font-family: var(--f-display); font-size: 17px; font-weight: 800; color: #fff; line-height: 1; }
.cw-plaque-specs small { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7DD3FC; }

/* Hero copy */
.cw-hero-copy h1 { font-size: clamp(31px, 5.2vw, 54px); line-height: 1.04; margin: 14px 0 16px; }
.cw-hero-copy .cw-lead { color: var(--slate); font-size: clamp(14.5px, 1.5vw, 17px); line-height: 1.68; max-width: 54ch; }
/* Sama seperti .m-split: anak grid tidak boleh dipaksa melar oleh lebar
   minimum isinya, kalau tidak layar 320px ikut jebol. */
.cw-hero-grid > * { min-width: 0; }
.cw-hero-cta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.sd-arrow { display: inline-block; transition: transform var(--t-fast) var(--ease-silk); }
.cw-btn:hover .sd-arrow, .sd-btn:hover .sd-arrow { transform: translateX(4px); }

.cw-hero-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(146px, 1fr));
  gap: 12px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--frost);
}
.cw-hero-trust > div b {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-display);
  font-size: 14.5px;
  font-weight: 750;
  color: var(--sapphire);
}
.cw-hero-trust > div b svg { width: 17px; height: 17px; color: var(--azure); flex: none; }
.cw-hero-trust > div span { display: block; margin-top: 3px; font-size: 12px; color: var(--slate); line-height: 1.45; }

/* ============================================ 3. BEFORE / AFTER WIPE STUDIO */
.cw-studio { padding: 34px 0; }
.cw-studio-card { padding: 20px; border-radius: var(--r-xl); }
.cw-studio-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.cw-studio-head h2 { font-size: clamp(19px, 2.4vw, 25px); margin-top: 5px; }

.cw-wipe {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ice);
  background: #031029;
  box-shadow: inset 0 2px 20px rgba(3, 16, 41, .4);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  aspect-ratio: 42 / 19;
  min-height: 190px;
}
@media (max-width: 760px) {
  /* Tanpa ini, min-height di atas berubah jadi lebar minimum 420px
     lewat aspect-ratio dan menjebol lebar layar ponsel. */
  .cw-wipe { min-height: 0; }
}
.cw-wipe-layer { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.cw-wipe-before { background: linear-gradient(180deg, #43566F 0%, #2B3A4F 54%, #19222F 100%); }
.cw-wipe-before::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 38%, rgba(150, 140, 120, .3) 0 9px, transparent 10px),
    radial-gradient(circle at 62% 62%, rgba(150, 140, 120, .24) 0 7px, transparent 8px),
    radial-gradient(circle at 78% 30%, rgba(150, 140, 120, .22) 0 11px, transparent 12px),
    radial-gradient(circle at 40% 76%, rgba(150, 140, 120, .2) 0 6px, transparent 7px);
  filter: blur(2px);
}
.cw-wipe-after { background: linear-gradient(180deg, #0A3075 0%, #061E4D 55%, #031029 100%); clip-path: inset(0 38% 0 0); }
.cw-wipe-after::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 56px;
  background: linear-gradient(to top, rgba(56, 182, 255, .26), transparent);
}
.cw-wipe-layer svg { position: relative; z-index: 2; width: 100%; height: 100%; }
.cw-wipe-chip {
  position: absolute;
  z-index: 3;
  top: 12px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
}
.cw-wipe-before .cw-wipe-chip { right: 12px; background: rgba(0, 0, 0, .42); border: 1px solid rgba(255, 255, 255, .22); }
.cw-wipe-after  .cw-wipe-chip { left: 12px;  background: rgba(56, 182, 255, .26); border: 1px solid rgba(125, 211, 252, .46); }

.cw-wipe-handle {
  position: absolute;
  top: 0; bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  left: 62%;
}
.cw-wipe-handle i {
  display: block;
  width: 2.5px;
  height: 100%;
  background: linear-gradient(180deg, #BAE6FD, #fff, #7DD3FC);
  box-shadow: 0 0 16px #38B6FF;
}
.cw-wipe-handle span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--cobalt);
  border: 2px solid #BAE6FD;
  box-shadow: 0 8px 22px rgba(0, 123, 255, .55);
}
.cw-wipe-handle svg { width: 17px; height: 17px; }

.cw-wipe-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 0 4px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: #BAE6FD;
}
.cw-wipe-foot button { font-family: var(--f-mono); font-size: 10px; font-weight: 700; color: #fff; }
.cw-wipe-foot button:hover { color: var(--sky); }

/* =========================================== 4. HYDRO TUNNEL CANVAS STUDIO */
.cw-tunnel-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: var(--r-xl);
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(56, 182, 255, .38) 0%, transparent 48%),
    radial-gradient(circle at 10% 92%, rgba(0, 123, 255, .28) 0%, transparent 50%),
    linear-gradient(145deg, #0A2861 0%, #061A3E 54%, #031028 100%);
  border: 1px solid rgba(125, 211, 252, .22);
  box-shadow: 0 28px 56px -26px rgba(4, 24, 62, .5);
}
.cw-tunnel-halo {
  position: absolute;
  top: -80px; right: -80px;
  width: 224px; height: 224px;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, .16);
  pointer-events: none;
}
.cw-tunnel-stage {
  position: relative;
  z-index: 2;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .26);
  background: #031029;
  box-shadow: inset 0 2px 18px rgba(2, 11, 31, .6);
}
.cw-tunnel-stage canvas { display: block; width: 100%; height: 232px; cursor: pointer; }
.cw-tunnel-hud {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}
.cw-tunnel-hud span {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(12px);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cw-tunnel-hud span:first-child { background: rgba(4, 18, 45, .78); border: 1px solid rgba(125, 211, 252, .36); color: #BAE6FD; }
.cw-tunnel-hud span:last-child  { background: rgba(255, 255, 255, .11); color: #fff; }
.cw-tunnel-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255, 255, 255, .1); pointer-events: none; }
.cw-tunnel-bar i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, #7DD3FC, #fff, #38B6FF); transition: width .5s var(--ease-soft); }

.cw-tunnel-pills { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 14px; }
.cw-tunnel-pills button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 11px 6px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .1);
  color: #E0F2FE;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  transition: all var(--t-fast) var(--ease-silk);
}
.cw-tunnel-pills button svg { width: 18px; height: 18px; }
.cw-tunnel-pills button:hover { background: rgba(255, 255, 255, .18); }
.cw-tunnel-pills button:active { transform: scale(.95); }
.cw-tunnel-pills button.is-active { background: #fff; color: var(--sapphire); box-shadow: 0 8px 18px -8px rgba(0,0,0,.5); }
.cw-tunnel-caption { position: relative; z-index: 2; margin-top: 13px; padding: 0 4px; font-size: 12.5px; line-height: 1.55; color: rgba(224, 242, 254, .86); }

/* ========================================= 5. LOTUS HYDROPHOBIC PHYSICS LAB */
.cw-lotus-card { padding: 20px; border-radius: var(--r-xl); }
.cw-lotus-stage {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ice);
  background: #05183B;
  box-shadow: inset 0 2px 18px rgba(5, 24, 59, .6);
  touch-action: none;
  user-select: none;
}
.cw-lotus-stage canvas { display: block; width: 100%; height: 200px; cursor: crosshair; }
.cw-lotus-hud {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .26);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  pointer-events: none;
}
.cw-lotus-foot {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 9px;
  color: rgba(186, 230, 253, .9);
  pointer-events: none;
}
.cw-lotus-foot b { color: #fff; }
.cw-tilt { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.cw-tilt > span { font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.cw-tilt-group { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--mist); border: 1px solid var(--frost); }
.cw-tilt-group button {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--slate);
  transition: all var(--t-fast) var(--ease-silk);
}
.cw-tilt-group button:hover { color: var(--sapphire); }
.cw-tilt-group button.is-active { background: var(--sapphire); color: #fff; box-shadow: var(--e-1); }
.cw-lotus-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 14px; list-style: none; padding: 0; }
.cw-lotus-badges li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(7, 30, 71, .09);
  box-shadow: var(--e-1);
  font-family: var(--f-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--sapphire);
  line-height: 1.3;
}
.cw-lotus-badges li::before {
  content: '';
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--sky), var(--cobalt));
  box-shadow: 0 0 0 3px rgba(56, 182, 255, .16);
}

/* ============================================================== 6. SECTIONS */
.cw-sec-head { text-align: center; max-width: 660px; margin: 0 auto 38px; }
.cw-sec-head h2 { font-size: clamp(25px, 3.6vw, 38px); margin: 11px 0 12px; }
.cw-sec-head p { color: var(--slate); font-size: 15px; line-height: 1.68; }

/* Service bays */
.cw-bays { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 18px; }
.cw-bay {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #fff 0%, #F7FBFF 100%);
  border: 1px solid var(--frost);
  box-shadow: var(--e-2);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-silk), box-shadow var(--t-med) ease, border-color var(--t-med) ease;
}
.cw-bay:hover { transform: translateY(-6px); box-shadow: var(--e-4); border-color: var(--ice); }
.cw-bay::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 182, 255, .14), transparent 70%);
  transition: transform var(--t-slow) var(--ease-silk);
}
.cw-bay:hover::before { transform: scale(1.5); }
.cw-bay-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; position: relative; }
.cw-bay-ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, #38B6FF, #0052CC);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(0, 82, 204, .6);
}
.cw-bay-ico svg { width: 23px; height: 23px; }
.cw-bay h3 { font-size: 18.5px; position: relative; }
.cw-bay p { margin-top: 8px; font-size: 13px; color: var(--slate); line-height: 1.62; position: relative; }
.cw-bay-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--frost);
  position: relative;
}
.cw-bay-meta b { font-family: var(--f-display); font-size: 18px; font-weight: 800; color: var(--cobalt); letter-spacing: -.02em; }
.cw-bay-meta small { font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.cw-bay-list { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; position: relative; }
.cw-bay-list li {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--cloud);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--cobalt);
}

/* Partner program capsule */
.cw-program { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.cw-program-main { padding: 26px; border-radius: var(--r-xl); }
.cw-program-rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin-top: 20px; position: relative; z-index: 2; }
.cw-program-rules > div {
  padding: 15px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(125, 211, 252, .18);
  backdrop-filter: blur(8px);
}
.cw-program-rules b { display: block; font-family: var(--f-display); font-size: 21px; font-weight: 800; color: #fff; line-height: 1; }
.cw-program-rules small { display: block; margin-top: 5px; font-family: var(--f-mono); font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7DD3FC; }

.cw-tiers { display: flex; flex-direction: column; gap: 11px; }
.cw-tier {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--frost);
  box-shadow: var(--e-1);
  transition: all var(--t-med) var(--ease-silk);
}
.cw-tier:hover { background: #fff; border-color: var(--ice); transform: translateX(4px); }
.cw-tier-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--sapphire), var(--cobalt));
  color: #7DD3FC;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 800;
}
.cw-tier-body { flex: 1; min-width: 0; }
.cw-tier-body b { display: block; font-family: var(--f-display); font-size: 15px; font-weight: 750; color: var(--sapphire); }
.cw-tier-body small { display: block; margin-top: 2px; font-size: 12px; color: var(--slate); }
.cw-tier-end { flex: none; text-align: right; }
.cw-tier-end b { display: block; font-family: var(--f-display); font-size: 16px; font-weight: 800; color: var(--cobalt); }
.cw-tier-end small { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }

/* Steps */
.cw-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.cw-steps li {
  position: relative;
  counter-increment: step;
  padding: 26px 22px 22px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px);
  border: 1px solid #fff;
  box-shadow: var(--e-2);
  transition: transform var(--t-med) var(--ease-silk), box-shadow var(--t-med) ease;
}
.cw-steps li:hover { transform: translateY(-5px); box-shadow: var(--e-4); }
.cw-steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 13px;
  font-family: var(--f-mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #38C4FF, #0044B5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cw-steps h3 { font-size: 17.5px; }
.cw-steps p { margin-top: 8px; font-size: 13px; color: var(--slate); line-height: 1.62; }

/* Feature list */
.cw-features { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.cw-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 19px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--frost);
  box-shadow: var(--e-1);
  transition: all var(--t-med) var(--ease-silk);
}
.cw-features li:hover { background: #fff; border-color: var(--ice); transform: translateX(5px); }
.cw-features svg { flex: none; width: 22px; height: 22px; color: var(--azure); margin-top: 2px; }
.cw-features b { display: block; font-family: var(--f-display); font-size: 14.5px; font-weight: 750; color: var(--sapphire); }
.cw-features span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--slate); line-height: 1.55; }

/* Showcase split */
.cw-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.cw-showcase figure { margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--e-4); border: 1px solid #fff; background: var(--cloud); }
.cw-showcase figure img, .cw-showcase figure svg { width: 100%; height: auto; }

/* FAQ */
.cw-faq { max-width: 820px; margin: 0 auto; }
.cw-faq details {
  border-radius: var(--r-md);
  border: 1px solid var(--frost);
  background: rgba(255, 255, 255, .8);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow var(--t-fast) ease, background-color var(--t-fast) ease;
}
.cw-faq details[open] { background: #fff; box-shadow: var(--e-2); }
.cw-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  list-style: none;
  font-family: var(--f-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--sapphire);
}
.cw-faq summary::after {
  content: '+';
  flex: none;
  width: 27px; height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cloud);
  color: var(--cobalt);
  font-family: var(--f-mono);
  font-size: 15px;
  transition: transform var(--t-med) var(--ease-pop), background-color var(--t-fast) ease;
}
.cw-faq details[open] summary::after { transform: rotate(45deg); background: var(--azure); color: #fff; }
.cw-faq details > div { padding: 0 20px 20px; font-size: 13.5px; color: var(--slate); line-height: 1.7; }
.cw-faq details > div strong { color: var(--sapphire); }

/* Final CTA */
.cw-final { position: relative; margin: 20px 0 70px; padding: 54px 32px; border-radius: var(--r-xl); text-align: center; }
.cw-final h2 { font-size: clamp(26px, 4vw, 42px); margin-bottom: 14px; position: relative; z-index: 2; }
.cw-final p { position: relative; z-index: 2; max-width: 52ch; margin: 0 auto; color: rgba(224, 242, 254, .88); font-size: 15px; line-height: 1.68; }
.cw-final .cw-hero-cta { position: relative; z-index: 2; justify-content: center; }

/* ================================================================ 7. FOOTER */
.cw-footer, .sd-footer, .footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 44px 0 34px;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--frost);
}
.cw-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--frost);
}
.cw-footer-grid h4 { font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); margin-bottom: 13px; }
.cw-footer-grid nav { display: flex; flex-direction: column; gap: 9px; }
.cw-footer-grid nav a { font-size: 13px; font-weight: 600; color: var(--sapphire); }
.cw-footer-grid nav a:hover { color: var(--azure); }
.cw-footer-about p { margin-top: 14px; font-size: 12.5px; color: var(--slate); line-height: 1.65; max-width: 38ch; }
.cw-footer-contact { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: var(--slate); }
.cw-footer-contact span { display: flex; align-items: center; gap: 8px; }
.cw-footer-contact svg { width: 15px; height: 15px; color: var(--azure); flex: none; }
.cw-footer-bottom, .sd-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-size: 11.5px;
  color: var(--slate);
  line-height: 1.6;
}
.cw-footer-bottom p { max-width: 74ch; }
.cw-footer-in, .footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }

/* =========================================================== 8. AUTH LOUNGE */
.cw-auth {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  min-height: 100dvh;
}
.cw-auth-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 38px 42px;
  overflow: hidden;
  /* Latar panel ini terang, jadi teksnya gelap. */
  color: var(--ink);
}
.cw-auth-art h2 {
  color: var(--sapphire);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
  /* Halo putih tipis: memisahkan huruf dari gradien kabut di belakangnya. */
  text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 2px 10px rgba(255, 255, 255, .55);
}
/* Bagian beraksen memakai gradien dengan isian transparan; bayangan akan
   tembus lewat huruf, jadi dimatikan khusus di sini. */
.cw-auth-art h2 .cw-accent, .cw-auth-art h2 .sd-gold { text-shadow: none; }
.cw-auth-art p {
  margin-top: 13px;
  color: var(--slate);
  font-size: 14.5px;
  line-height: 1.68;
  max-width: 44ch;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .72);
}
.cw-auth-art .cw-brand-name b { color: var(--sapphire); text-shadow: 0 1px 0 rgba(255, 255, 255, .8); }
.cw-auth-art .cw-brand-name b span { color: var(--azure); }
.cw-auth-art .cw-brand-name small { color: var(--slate); }
.cw-auth-art figure { margin: 0; position: relative; z-index: 2; }
.cw-auth-art figure svg { width: 100%; height: auto; filter: drop-shadow(0 18px 34px rgba(0, 123, 255, .3)); }
.cw-auth-art-foot { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.cw-auth-art-foot > div {
  padding: 13px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(125, 211, 252, .18);
  backdrop-filter: blur(8px);
}
.cw-auth-art-foot b { display: block; font-family: var(--f-display); font-size: 16px; font-weight: 800; color: var(--sapphire); line-height: 1; }
.cw-auth-art-foot small { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 8px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--cobalt); }

.cw-auth-main {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 44px;
  min-width: 0;
}
.cw-auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}
.cw-auth-top .cw-brand { display: none; }
.cw-auth-back, .sd-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--frost);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sapphire);
  box-shadow: var(--e-1);
  transition: all var(--t-fast) ease;
}
.cw-auth-back:hover, .sd-back:hover { background: #fff; border-color: var(--ice); color: var(--azure); }
.cw-auth-back svg, .sd-back svg { width: 15px; height: 15px; }

.cw-auth-body {
  width: 100%;
  max-width: 470px;
  margin: auto;
  padding: 28px;
  border-radius: var(--r-xl);
}
.cw-auth-body h1 { font-size: clamp(25px, 3vw, 31px); margin: 9px 0 9px; }
.cw-auth-body .sd-sub, .cw-auth-body .cw-sub { color: var(--slate); font-size: 13.5px; line-height: 1.6; margin-bottom: 22px; }
.cw-auth-foot, .sd-auth-foot { margin-top: 22px; text-align: center; font-size: 13px; color: var(--slate); }
.cw-auth-foot a, .sd-auth-foot a { font-weight: 750; }


/* Referral status badge */
.cw-ref-status {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  pointer-events: none;
}
.cw-ref-status.is-ok { color: var(--good); }
.cw-ref-status.is-bad { color: var(--bad); }

/* Modal (account exists / generic) */
.sweet-modal, .cw-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 18, 45, .58);
  backdrop-filter: blur(8px);
}
.sweet-modal[hidden], .cw-modal[hidden] { display: none; }
.sweet-card, .cw-modal-card {
  width: 100%;
  max-width: 400px;
  padding: 32px 28px 26px;
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(4, 18, 45, .6);
  text-align: center;
  animation: popIn .4s var(--ease-pop) forwards;
}
.sweet-icon, .cw-modal-ico {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38B6FF, #0052CC);
  color: #fff;
  font-family: var(--f-display);
  font-size: 27px;
  font-weight: 800;
  box-shadow: 0 14px 30px -12px rgba(0, 82, 204, .6);
}
.sweet-card h2, .cw-modal-card h2 { font-size: 21px; margin-bottom: 9px; }
.sweet-card p, .cw-modal-card p { font-size: 13.5px; color: var(--slate); line-height: 1.62; margin-bottom: 20px; }
.sweet-close, .cw-modal-close { margin-top: 11px; font-size: 12.5px; font-weight: 700; color: var(--slate); }
.sweet-close:hover, .cw-modal-close:hover { color: var(--azure); }

/* =========================================================== 9. RESPONSIVE */
@media (max-width: 1080px) {
  .cw-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .cw-program { grid-template-columns: 1fr; }
  .cw-showcase { grid-template-columns: 1fr; gap: 28px; }
  .cw-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 960px) {
  .cw-pub-nav, .sd-nav { display: none; }
  .cw-burger, .sd-burger, .hamburger { display: grid; }
  .cw-auth { grid-template-columns: 1fr; }
  .cw-auth-art { display: none; }
  .cw-auth-top .cw-brand { display: inline-flex; }
  /* Tegak: rapat ke atas, bukan di tengah — lihat catatan di .cw-auth-body. */
  .cw-auth-body { max-width: 520px; margin: 0 auto; padding: 22px 20px 30px; }
  .cw-auth-main { padding: 18px 16px 36px; }
}

@media (max-width: 720px) {
  .cw-hero { padding-top: calc(92px + var(--safe-t)); }
  .cw-hero-copy h1 { font-size: clamp(27px, 8vw, 36px); }
  .cw-plaque { padding: 16px 14px 14px; }
  .cw-plaque-specs { gap: 7px; }
  .cw-plaque-specs > div { padding: 9px 7px; }
  .cw-plaque-specs b { font-size: 14.5px; }
  .cw-studio-card, .cw-tunnel-card, .cw-lotus-card { padding: 15px; }
  .cw-studio-head { flex-direction: column; gap: 10px; }
  .cw-tunnel-stage canvas { height: 196px; }
  .cw-program-rules { grid-template-columns: 1fr 1fr; }
  .cw-program-main { padding: 20px; }
  .cw-final { padding: 38px 20px; margin-bottom: 48px; }
  .cw-footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .cw-auth-main { padding: 20px 16px 36px; }
  .cw-auth-body { padding: 22px 18px; border-radius: var(--r-lg); }
  .cw-hide-xs { display: none !important; }
}

@media (max-width: 420px) {
  .cw-tunnel-pills { grid-template-columns: repeat(2, 1fr); }
  .cw-brand-name small, .sd-brand-name small { display: none; }
}

/* legacy aliases so any remaining markup keeps its shape */
.sd-hero { padding: calc(104px + var(--safe-t)) 0 20px; }
.sd-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: center; }
.sd-hero-copy h1 { font-size: clamp(31px, 5.2vw, 54px); line-height: 1.04; margin: 14px 0 16px; }
.sd-cta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.sd-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(146px, 1fr)); gap: 12px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--frost); }
.sd-points b { display: block; font-family: var(--f-display); font-size: 14.5px; font-weight: 750; color: var(--sapphire); }
.sd-points span { display: block; margin-top: 3px; font-size: 12px; color: var(--slate); }
.sd-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.sd-prose p + p { margin-top: 14px; }
.sd-prose p { color: var(--slate); font-size: 14.5px; line-height: 1.72; }
.sd-head { max-width: 640px; margin-bottom: 30px; }
.sd-head h2 { font-size: clamp(25px, 3.6vw, 38px); margin-top: 11px; }
.sd-final { position: relative; margin: 20px auto 70px; padding: 54px 32px; border-radius: var(--r-xl); text-align: center; max-width: var(--wrap); }
.sd-auth { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 100dvh; position: relative; z-index: 1; }
@media (max-width: 960px) { .sd-split { grid-template-columns: 1fr; gap: 24px; } .sd-auth { grid-template-columns: 1fr; } .sd-hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .sd-hide-m { display: none !important; } }

/* ==========================================================================
   AUTH SUPPLEMENT — pieces used by auth/login.php & auth/register.php
   ========================================================================== */
.cw-form, .sd-form { display: block; }
.cw-form > .cw-field + .cw-field { margin-top: 15px; }

/* Reassurance strip under the auth form */
.cw-auth-assure {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--frost);
  list-style: none;
}
.cw-auth-assure li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--slate);
}
.cw-auth-assure svg { width: 17px; height: 17px; color: var(--azure); flex: none; }

/* ==========================================================================
   LANDING SUPPLEMENT — pieces used by home/landing.php
   ========================================================================== */

/* Skip link, visible only when focused */
.cw-skip, .sd-skip, .m-skip, .skip {
  position: absolute;
  left: 14px; top: -64px;
  z-index: 999;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--sapphire);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--e-3);
  transition: top .28s var(--ease-pop);
}
.cw-skip:focus, .sd-skip:focus, .m-skip:focus, .skip:focus { top: calc(14px + var(--safe-t)); color: #fff; }

/* Mono voice for specs and read-outs */
.cw-mono {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
}
.cw-tunnel-stage .cw-mono, .cw-lotus-stage .cw-mono { color: #7DD3FC; }

/* Hero trust strip */
.cw-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--frost);
  list-style: none;
}
.cw-hero-trust li { min-width: 0; }
.cw-hero-trust b {
  display: block;
  font-family: var(--f-display);
  font-size: 23px;
  font-weight: 800;
  color: var(--sapphire);
  letter-spacing: -.028em;
}
.cw-hero-trust span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--slate); line-height: 1.4; }

/* Studio card headings */
.cw-studio-head { margin-bottom: 15px; }
.cw-studio-head h3 { font-size: 16.5px; letter-spacing: -.018em; }
.cw-studio-head p { margin-top: 5px; font-size: 12px; color: var(--slate); line-height: 1.55; }
.cw-tunnel-card .cw-studio-head h3 { color: #fff; }
.cw-tunnel-card .cw-studio-head p { color: rgba(186, 230, 253, .76); }

/* Wipe footer */
.cw-wipe-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 13px;
}
.cw-wipe-foot small { font-size: 11px; color: var(--slate); text-align: right; }

/* Tunnel caption */
.cw-tunnel-caption {
  margin-top: 13px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(224, 242, 254, .86);
  min-height: 2.6em;
}

/* Tilt button group */
.cw-tilt-group { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: var(--r-pill); background: var(--cloud); }

/* Section footnote */
.cw-sec-note { margin-top: 26px; text-align: center; }

/* Hot badge */
.cw-badge.is-hot {
  background: linear-gradient(135deg, #F97316, #DC2626);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px -9px rgba(220, 38, 38, .6);
}

/* Programme rules */
.cw-program-rules { display: grid; gap: 13px; margin-top: 22px; list-style: none; }
.cw-program-rules li { display: flex; align-items: flex-start; gap: 13px; }
.cw-program-rules svg { flex: none; width: 21px; height: 21px; color: #7DD3FC; margin-top: 1px; }
.cw-program-rules b { display: block; font-family: var(--f-display); font-size: 14px; font-weight: 750; color: #fff; }
.cw-program-rules small { display: block; margin-top: 3px; font-size: 12px; color: rgba(186, 230, 253, .78); line-height: 1.5; }

/* Bonus tier */
.cw-tier.is-bonus {
  background: linear-gradient(135deg, rgba(56, 182, 255, .14), rgba(0, 123, 255, .06));
  border-color: rgba(0, 123, 255, .22);
}
.cw-tier.is-bonus .cw-tier-num { background: linear-gradient(135deg, #27A6FF, #0044B5); color: #fff; }
.cw-tier.is-bonus .cw-tier-num svg { width: 20px; height: 20px; }
.cw-tier.is-bonus .cw-tier-end { font-size: 15px; }

/* Steps */
.cw-step-num {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 14px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, #27A6FF, #0044B5);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 24px -12px rgba(0, 108, 230, .6);
}

/* Feature icon */
.cw-feat-ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 14px;
  border-radius: var(--r-sm);
  background: linear-gradient(150deg, var(--cloud), #fff);
  border: 1px solid var(--frost);
  color: var(--cobalt);
}
.cw-feat-ico svg { width: 23px; height: 23px; }
.cw-features b { display: block; font-family: var(--f-display); font-size: 15.5px; font-weight: 750; color: var(--sapphire); letter-spacing: -.016em; }
.cw-features p { margin-top: 7px; font-size: 12.5px; color: var(--slate); line-height: 1.62; }

/* Footer navigation columns */
.cw-footer-nav { display: flex; flex-direction: column; gap: 9px; }
.cw-footer-nav b {
  margin-bottom: 3px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7DD3FC;
}
.cw-footer-nav a { font-size: 13px; color: rgba(224, 242, 254, .8); transition: color var(--t-fast) ease; }
.cw-footer-nav a:hover { color: #fff; }
.cw-footer-hours {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

/* Visibility helpers */
.cw-hide-m { display: inline-flex; }
.cw-hide-xs { display: inline-flex; }
@media (max-width: 760px) { .cw-hide-m { display: none !important; } }
@media (max-width: 420px) { .cw-hide-xs { display: none !important; } }

@media (max-width: 760px) {
  .cw-hero-trust { gap: 10px 20px; }
  .cw-hero-trust b { font-size: 19px; }
  .cw-wipe-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cw-wipe-foot small { text-align: left; }
}

/* ==========================================================================
   RUNTIME SUPPLEMENT — states emitted by cw-public.js
   ========================================================================== */

/* --- password strength meter --- */
.cw-strength { margin-top: 9px; opacity: 0; max-height: 0; overflow: hidden; transition: opacity .3s ease, max-height .3s ease; }
.cw-strength.is-on { opacity: 1; max-height: 48px; }
.cw-strength-track {
  height: 5px;
  border-radius: 999px;
  background: var(--frost);
  overflow: hidden;
}
.cw-strength-track > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #38B6FF, #0052CC);
  transition: width .42s var(--ease-soft), background-image .3s ease;
}
.cw-strength > small {
  display: block;
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--slate);
}
.cw-strength.is-weak   .cw-strength-track > i { background: linear-gradient(90deg, #FB7185, #DC2626); }
.cw-strength.is-weak   > small { color: #B91C1C; }
.cw-strength.is-fair   .cw-strength-track > i { background: linear-gradient(90deg, #FBBF24, #D97706); }
.cw-strength.is-fair   > small { color: var(--warn); }
.cw-strength.is-good   .cw-strength-track > i { background: linear-gradient(90deg, #38B6FF, #0066E0); }
.cw-strength.is-good   > small { color: var(--cobalt); }
.cw-strength.is-strong .cw-strength-track > i { background: linear-gradient(90deg, #34D399, #059669); box-shadow: 0 0 10px rgba(16, 185, 129, .5); }
.cw-strength.is-strong > small { color: #0A7A54; }

/* --- field validation feedback --- */
input.is-invalid, select.is-invalid, textarea.is-invalid {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, .12) !important;
  animation: cwShake .34s var(--ease-pop);
}
@keyframes cwShake {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(-5px); }
  48% { transform: translateX(4px); }
  74% { transform: translateX(-2px); }
}
input.is-ok { border-color: rgba(14, 159, 110, .5); }

/* --- referral live check --- */
.cw-ref-status.is-idle { display: none; }
.cw-ref-status.is-checking { color: var(--slate); }
.cw-ref-status.is-checking::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  margin-right: 7px;
  vertical-align: -1px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: haloSpin .7s linear infinite;
}
.cw-ref-status.is-ok { color: #0A7A54; font-weight: 700; }
.cw-ref-status.is-ok::before { content: '✓'; margin-right: 6px; }
.cw-ref-status.is-bad { color: #B91C1C; font-weight: 700; }
.cw-ref-status.is-bad::before { content: '!'; margin-right: 7px; }

/* --- tunnel stage dots --- */
[data-tunnel-dot] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(125, 211, 252, .18);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
  color: rgba(186, 230, 253, .7);
  transition: all var(--t-med) var(--ease-silk);
}
[data-tunnel-dot]:hover { background: rgba(125, 211, 252, .18); color: #fff; }
[data-tunnel-dot].is-active {
  background: linear-gradient(135deg, rgba(56, 182, 255, .34), rgba(0, 78, 194, .2));
  border-color: rgba(125, 211, 252, .44);
  color: #fff;
  box-shadow: 0 0 16px -4px rgba(56, 182, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .14);
}
[data-tunnel-auto] { transition: opacity var(--t-fast) ease; }
[data-tunnel-auto].is-paused { opacity: .55; }

/* --- lotus tilt buttons --- */
[data-tilt] {
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--slate);
  transition: all var(--t-fast) var(--ease-silk);
}
[data-tilt]:hover { color: var(--sapphire); background: var(--cloud); }
[data-tilt].is-active {
  background: var(--sapphire);
  color: #fff;
  box-shadow: 0 6px 14px -7px rgba(7, 30, 71, .6);
}

/* --- studio slideshow --- */
[data-slideshow] { position: relative; }
[data-slide] {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .72s var(--ease-soft);
}
[data-slide].is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}
[data-slide].is-active img { animation: kenBurns 9s var(--ease-soft) forwards; }
[data-slide-dot] {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(7, 30, 71, .2);
  transition: all var(--t-med) var(--ease-silk);
}
[data-slide-dot].is-active { width: 24px; background: var(--azure); box-shadow: 0 0 10px rgba(0, 123, 255, .5); }

/* --- service bay selection --- */
.cw-bay.is-active {
  border-color: var(--azure);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, .1), var(--e-3);
  transform: translateY(-4px);
}
.cw-bay.is-active .cw-bay-ico {
  background: linear-gradient(135deg, #27A6FF, #0044B5);
  color: #fff;
}

/* --- generic re-entry animation --- */
.anim-reveal { animation: softReveal .44s var(--ease-soft) forwards; }

@media (prefers-reduced-motion: reduce) {
  [data-slide].is-active img { animation: none; }
  input.is-invalid { animation: none; }
  .cw-ref-status.is-checking::before { animation-duration: 1.8s; }
}

/* ============================================================
   SUPLEMEN LOGOUT  —  segel "bay sudah dibilas"
   ============================================================ */

.cw-grad,
.sd-auth-body .sd-gold{
  background:linear-gradient(103deg,var(--sky) 0%,var(--azure) 42%,var(--cobalt) 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:var(--azure);
}

.cw-auth .is-logout{text-align:left}

.cw-logout-seal{
  position:relative;display:grid;place-items:center;
  width:82px;height:82px;margin:0 0 22px;
  border-radius:50%;
  background:
    radial-gradient(circle at 32% 26%,rgba(255,255,255,.95),rgba(255,255,255,0) 58%),
    linear-gradient(145deg,var(--mist),var(--frost));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -8px 18px rgba(0,78,194,.10),
    0 14px 30px -14px rgba(7,30,71,.34);
}
.cw-logout-seal i{
  position:relative;z-index:2;display:grid;place-items:center;
  width:44px;height:44px;border-radius:50%;
  background:linear-gradient(150deg,var(--sky),var(--cobalt));
  box-shadow:0 8px 18px -8px rgba(0,78,194,.6),inset 0 1px 0 rgba(255,255,255,.5);
  animation:cwSealPop .72s cubic-bezier(.17,.89,.25,1.12) both;
}
.cw-logout-seal i svg{width:22px;height:22px}
.cw-logout-seal i svg [fill]:not([fill="none"]){fill:#fff}
.cw-logout-seal i svg [stroke]:not([stroke="none"]){stroke:#fff}

.cw-logout-ring{
  position:absolute;inset:0;border-radius:50%;
  border:1.5px solid rgba(56,182,255,.55);
  animation:cwSealRipple 2.6s cubic-bezier(.22,.61,.36,1) infinite;
}
.cw-logout-ring.is-2{animation-delay:1.3s}

@keyframes cwSealPop{
  0%{transform:scale(.4) rotate(-22deg);opacity:0}
  60%{transform:scale(1.08) rotate(3deg);opacity:1}
  100%{transform:scale(1) rotate(0);opacity:1}
}
@keyframes cwSealRipple{
  0%{transform:scale(.72);opacity:0}
  22%{opacity:.75}
  100%{transform:scale(1.55);opacity:0}
}

@media (prefers-reduced-motion:reduce){
  .cw-logout-seal i{animation:none}
  .cw-logout-ring{animation:none;opacity:.35;transform:scale(1)}
}
