/* =========================================================
   DIGITAL TECHNOLOGY SERVICE CENTER — STYLE.CSS
   Token system:
   Color   : Electric Blue #0066FF, Deep Navy #0A1128, White #FFFFFF,
             Silver #C0C4CC, Ink #0D0D0D, Cyan Glow #22D3EE (aksen AI),
             Soft BG #F5F7FB (section terang alternatif)
   Type    : Poppins (display/heading) + Inter (body/UI)
   Radius  : 16-24px pada kartu, tombol, form
   Shadow  : 0 10px 30px rgba(0,0,0,.08)
   ========================================================= */

:root{
  --navy: #0A1128;
  --navy-soft: #121A3A;
  --blue: #0066FF;
  --blue-dark: #0047B3;
  --cyan: #22D3EE;
  --white: #FFFFFF;
  --silver: #C0C4CC;
  --ink: #0D0D0D;
  --bg-soft: #F5F7FB;
  --text-muted: #5B6272;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 30px rgba(10, 17, 40, .08);
  --shadow-strong: 0 20px 45px rgba(10, 17, 40, .18);

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container-w: 1160px;
}

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

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3{
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p{ margin: 0; color: var(--text-muted); line-height: 1.6; }

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

button{ font-family: inherit; cursor: pointer; }

.container{
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:focus-visible{
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}
.btn-primary{
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 102, 255, .28);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,102,255,.35); }
.btn-ghost{
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover{ background: rgba(255,255,255,.08); }
.btn-lg{ padding: 16px 28px; font-size: 16px; }
.btn-block{ width: 100%; }
.btn-nav{ display: none; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10,17,40,.06);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}
.logo-mark{
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 6px 16px rgba(0,102,255,.35);
  position: relative;
}
.logo-mark::after{
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.9);
}
.logo-text strong{ color: var(--blue); font-weight: 700; }

.main-nav{
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
}
.main-nav a{ color: var(--ink); opacity: .75; transition: opacity .15s; }
.main-nav a:hover{ opacity: 1; color: var(--blue); }

.hamburger{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span{
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 0 auto;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px){
  .main-nav{ display: flex; }
  .btn-nav{ display: inline-flex; }
  .hamburger{ display: none; }
}

/* Mobile dropdown nav */
@media (max-width: 899px){
  .main-nav{
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 16px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .main-nav.open{
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a{
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(10,17,40,.06);
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, var(--navy-soft) 0%, var(--navy) 55%, #060915 100%);
  padding: 64px 0 56px;
  overflow: hidden;
}
.hero-glow{
  position: absolute;
  top: -120px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(34,211,238,.35), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black, transparent 75%);
  pointer-events: none;
}
.hero-inner{ position: relative; z-index: 1; text-align: left; }
.eyebrow{
  color: var(--cyan);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title{
  color: var(--white);
  font-size: clamp(28px, 6vw, 46px);
  font-weight: 700;
  max-width: 760px;
}
.text-accent{
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub{
  color: rgba(255,255,255,.72);
  font-size: 16px;
  max-width: 560px;
  margin-top: 20px;
}
.hero-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* Signature element: live repair-flow ticker */
.flow-ticker{
  position: relative;
  margin-top: 48px;
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  overflow-x: auto;
}
.flow-track{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 520px;
}
.flow-step{
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.flow-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
}
.flow-line{
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.12);
  min-width: 24px;
}
.flow-step:nth-child(1) .flow-dot{ animation: pulseDot 4.8s infinite; animation-delay: 0s; }
.flow-track .flow-step:nth-child(3) .flow-dot{ animation: pulseDot 4.8s infinite; animation-delay: 1.2s; }
.flow-track .flow-step:nth-child(5) .flow-dot{ animation: pulseDot 4.8s infinite; animation-delay: 2.4s; }
.flow-track .flow-step:nth-child(7) .flow-dot{ animation: pulseDot 4.8s infinite; animation-delay: 3.6s; }

@keyframes pulseDot{
  0%{ background: rgba(255,255,255,.25); box-shadow: none; }
  8%{ background: var(--cyan); box-shadow: 0 0 0 6px rgba(34,211,238,.18); }
  35%{ background: var(--cyan); box-shadow: 0 0 0 6px rgba(34,211,238,.18); color: #fff; }
  55%{ background: rgba(255,255,255,.25); box-shadow: none; }
  100%{ background: rgba(255,255,255,.25); box-shadow: none; }
}

/* =========================================================
   GENERIC SECTION
   ========================================================= */
.section{ padding: 72px 0; }
.section-dark{
  background: radial-gradient(120% 140% at 85% 0%, var(--navy-soft) 0%, var(--navy) 60%, #060915 100%);
  position: relative;
  overflow: hidden;
}
.section-dark .container{ position: relative; z-index: 1; }
.section-soft{ background: var(--bg-soft); }

.section-eyebrow{
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-eyebrow-light{ color: var(--cyan); }
.section-title{
  font-size: clamp(24px, 4.5vw, 34px);
  font-weight: 700;
  max-width: 620px;
}
.section-title-light{ color: var(--white); }
.section-sub{
  margin-top: 14px;
  max-width: 560px;
  font-size: 15.5px;
}
.section-sub-light{ color: rgba(255,255,255,.68); }

/* =========================================================
   SERVICE CARDS (F2)
   ========================================================= */
.card-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}
@media (min-width: 640px){
  .card-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px){
  .card-grid{ grid-template-columns: repeat(4, 1fr); }
}
.service-card{
  background: var(--white);
  border: 1px solid rgba(10,17,40,.06);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.service-icon{ font-size: 28px; display: block; margin-bottom: 14px; }
.service-card h3{ font-size: 17px; margin-bottom: 8px; }
.service-card p{ font-size: 14px; min-height: 66px; }
.card-link{
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
}

/* =========================================================
   CALCULATOR (F3)
   ========================================================= */
.calc-card{
  margin-top: 40px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.calc-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px){
  .calc-row{ grid-template-columns: 1fr 1fr; }
}
.field{ display: flex; flex-direction: column; gap: 8px; }
/* .field dipakai di dalam .section-dark (kalkulator & form booking),
   sehingga label default berwarna terang. Jika suatu saat .field
   dipakai di section terang, tambahkan override warna di sana. */
.field label{
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

select, input, textarea{
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(10,17,40,.12);
  background: var(--white);
  color: var(--ink);
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.section-dark select, .section-dark input, .section-dark textarea{
  background: rgba(255,255,255,.95);
}
select:focus, input:focus, textarea:focus{
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,102,255,.15);
}
textarea{ resize: vertical; min-height: 96px; }

.calc-result{ margin-top: 22px; }
.calc-empty{
  color: rgba(255,255,255,.55);
  font-size: 14.5px;
  padding: 18px 0;
}
.calc-success{
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid rgba(34,211,238,.3);
}
.calc-figures{
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 8px;
}
.calc-label{
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.calc-value{
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
}
.calc-note{
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  margin: 14px 0 18px;
}
.calc-unavailable{
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid rgba(255,255,255,.15);
}
.calc-unavailable p{ color: rgba(255,255,255,.75); margin-bottom: 16px; }

/* =========================================================
   TRUST GRID
   ========================================================= */
.trust-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}
@media (min-width: 760px){
  .trust-grid{ grid-template-columns: repeat(3, 1fr); }
}
.trust-card{
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(10,17,40,.06);
  box-shadow: var(--shadow-soft);
}
.trust-icon{ font-size: 26px; display: block; margin-bottom: 14px; }
.trust-card h3{ font-size: 17px; margin-bottom: 8px; }
.trust-card p{ font-size: 14.5px; }

/* =========================================================
   TESTIMONI (F5)
   ========================================================= */
.testi-track{
  display: flex;
  gap: 20px;
  margin-top: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar{ display: none; }
.testi-card{
  scroll-snap-align: start;
  flex: 0 0 100%;
  max-width: 360px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(10,17,40,.06);
}
@media (min-width: 640px){
  .testi-card{ flex: 0 0 340px; }
}
.testi-visual{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
}
.testi-visual-icon{ font-size: 32px; }
.testi-badge{
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--text-muted);
  border: 1px solid rgba(10,17,40,.08);
}
.testi-badge.after{ color: var(--blue); border-color: rgba(0,102,255,.25); }
.testi-quote{ font-size: 14.5px; color: var(--ink); font-style: italic; }
.testi-name{ margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); }
.testi-nav{
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.testi-arrow{
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(10,17,40,.12);
  background: var(--white);
  font-size: 16px;
  transition: background .15s ease, transform .15s ease;
}
.testi-arrow:hover{ background: var(--blue); color: var(--white); transform: translateY(-2px); }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 860px){
  .about-grid{ grid-template-columns: 1.2fr 1fr; }
}
.about-list{
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li{
  font-size: 14.5px;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.about-list li::before{
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.about-quote{
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-strong);
}
.about-quote p{
  font-family: var(--font-display);
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

/* =========================================================
   BOOKING FORM (F4)
   ========================================================= */
.booking-form{
  margin-top: 36px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field-error{
  color: #FF8A80;
  font-size: 12.5px;
  font-weight: 500;
}
.field.has-error select,
.field.has-error input,
.field.has-error textarea{
  border-color: #FF6B6B;
  box-shadow: 0 0 0 4px rgba(255,107,107,.15);
}
.form-status{
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--cyan);
  font-weight: 600;
}

/* =========================================================
   CONTACT (F6)
   ========================================================= */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 860px){
  .contact-grid{ grid-template-columns: 1fr 1fr; align-items: stretch; }
}
.contact-list{
  list-style: none;
  padding: 0;
  margin: 26px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-list li{
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-icon{ font-size: 20px; }
.contact-list strong{ font-size: 14.5px; color: var(--ink); }
.contact-list a{ color: var(--blue); font-weight: 600; }
.map-wrap{
  min-height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(10,17,40,.06);
}

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.wa-float:hover{ transform: scale(1.08); }
.wa-float:focus-visible{ outline: 3px solid var(--cyan); outline-offset: 3px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: var(--navy);
  padding: 44px 0 28px;
}
.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer-brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
}
.footer-brand .logo-text strong{ color: var(--cyan); }
.footer-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}
.footer-nav a{ color: rgba(255,255,255,.65); }
.footer-nav a:hover{ color: var(--cyan); }
.footer-copy{ color: rgba(255,255,255,.4); font-size: 13px; }
.footer-watermark{ color: rgba(255,255,255,.4); font-size: 13px; }
.footer-watermark a{ color: var(--cyan); font-weight: 600; }

@media (min-width: 760px){
  .footer-inner{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
