/* ============================================================
   WAROS TECH — Toko Online (shop.warostech.com)
   Desain: elegan modern — charcoal gelap + biru brand (#07afec)
   di atas permukaan bersih. Mobile-first, spacing presisi.
   ============================================================ */
:root {
  /* Brand */
  --brand: #07afec;
  --brand-deep: #0a86c2;
  --brand-ink: #075a85;
  --brand-soft: #e3f4fd;

  /* Netral */
  --ink: #14161a;
  --ink-2: #1c1f25;
  --ink-3: #262b33;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #171a20;
  --muted: #5c6572;
  --faint: #8a93a1;
  --border: #e7eaef;
  --border-soft: #eef1f5;

  /* Aksen pendukung */
  --amber: #f59e0b;
  --amber-deep: #b45309;
  --amber-soft: #fef3df;
  --wa: #22c55e;
  --wa-deep: #15803d;

  /* Geometri & elevasi */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 22, 26, .05), 0 8px 24px -12px rgba(20, 22, 26, .18);
  --shadow-lg: 0 2px 4px rgba(20, 22, 26, .06), 0 20px 44px -16px rgba(20, 22, 26, .28);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: var(--brand); color: #fff; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ================= Info strip ================= */
.info-strip {
  background: linear-gradient(90deg, #101318, #1a1e25);
  color: #aee3fb;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .4px;
  text-align: center;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(7, 175, 236, .25);
}

/* ================= Navbar ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .25s ease, background .25s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 28px -12px rgba(20, 22, 26, .22);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { height: 44px; width: 44px; border-radius: 12px; box-shadow: 0 4px 12px -4px rgba(20, 22, 26, .25); }
.brand-name { font-weight: 800; font-size: 1.08rem; letter-spacing: 1.6px; color: var(--text); }
.brand-name em { font-style: normal; color: var(--brand-deep); }
.brand-shop {
  font-size: .64rem; font-weight: 800; letter-spacing: 2.4px;
  background: var(--ink); color: #fff;
  border-radius: 7px; padding: 4px 9px 4px 11px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: .94rem;
  padding: 10px 15px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--brand-soft); color: var(--brand-ink); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
}
.hamburger:hover { background: var(--border-soft); }
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= Hero ================= */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(720px 360px at 50% -20%, rgba(7, 175, 236, .3), transparent 62%),
    radial-gradient(520px 300px at 90% 120%, rgba(7, 175, 236, .1), transparent 60%),
    linear-gradient(165deg, #191d24 0%, #101318 60%, #0b0d11 100%);
  padding: 76px 0 84px;
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(65% 65% at 50% 35%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(65% 65% at 50% 35%, #000 30%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(7, 175, 236, .12);
  border: 1px solid rgba(7, 175, 236, .38);
  color: #aee3fb;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-pill::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
}
.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
}
.tagline { color: #d7e9f5; font-weight: 600; margin-top: 14px; font-size: 1.06rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.hero-badge {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  color: #cdd9e4;
}

/* ================= Section umum ================= */
.section { padding: 72px 0 88px; }
.section-alt { background: #eef1f6; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.section-title {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--muted); margin: 10px 0 44px; font-size: 1.01rem; }

.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.product-count { color: var(--muted); font-size: .92rem; font-weight: 500; }

/* ================= Filter chips ================= */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.chip {
  font-family: var(--font);
  font-weight: 700;
  font-size: .9rem;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all .2s ease;
}
.chip:hover { border-color: var(--brand-deep); color: var(--brand-ink); transform: translateY(-1px); }
.chip:focus-visible { outline: 3px solid rgba(7, 175, 236, .5); outline-offset: 2px; }
.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(20, 22, 26, .5);
}

/* ================= Kartu produk ================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(262px, 1fr));
  gap: 24px;
}
.empty { color: var(--muted); padding: 48px 0; text-align: center; grid-column: 1 / -1; }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #d8dee7;
}

.thumb {
  height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 120px at 80% 10%, rgba(255, 255, 255, .16), transparent 65%);
  pointer-events: none;
}
.thumb-laptop { background: linear-gradient(135deg, #1593d6, #0a4d78); }
.thumb-jaringan { background: linear-gradient(135deg, #0d9488, #0b5e57); }
.thumb-aksesoris { background: linear-gradient(135deg, #f0a020, #a35a08); }
.thumb-servis { background: linear-gradient(135deg, #7c5cf0, #4c2ba8); }
.thumb-icon { position: relative; z-index: 1; }
.thumb-icon svg { width: 66px; height: 66px; opacity: .94; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); }
.thumb-initial {
  position: absolute;
  right: 16px; bottom: 6px;
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .22);
  letter-spacing: 2px;
  z-index: 1;
}

.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.grade-badge, .hot-badge {
  font-size: .7rem;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 999px;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.grade-badge.ga { background: #dcf7ec; color: #047857; }
.grade-badge.gb { background: var(--amber-soft); color: var(--amber-deep); }
.grade-badge.gc { background: #e8ebf0; color: #475569; }
.hot-badge { background: linear-gradient(135deg, var(--amber), #d97706); color: #fff; }

.product-name { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.4; }
.product-cat { color: var(--faint); font-size: .82rem; font-weight: 600; margin: 3px 0 12px; letter-spacing: .3px; }
.specs { list-style: none; display: grid; gap: 6px; margin-bottom: 18px; }
.specs li {
  font-size: .87rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.specs li::before {
  content: '';
  position: absolute;
  left: 2px; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
}
.product-foot { margin-top: auto; padding-top: 4px; }
.price {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 14px;
}

.btn-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #2bd465, var(--wa-deep));
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 22px -8px rgba(34, 197, 94, .55);
  transition: transform .16s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-order:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 14px 28px -8px rgba(34, 197, 94, .6); }
.btn-order svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ================= Catatan grade ================= */
.grade-note {
  margin-top: 56px;
  background: var(--ink);
  color: #dfe6ee;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 34px 34px 38px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.grade-note::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(480px 200px at 15% 0%, rgba(7, 175, 236, .22), transparent 65%);
  pointer-events: none;
}
.grade-note h3 { position: relative; font-size: 1.18rem; letter-spacing: -.01em; margin-bottom: 20px; color: #fff; }
.grade-row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grade-row > div {
  display: grid;
  gap: 6px;
  align-content: start;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.grade-row strong { font-size: .98rem; letter-spacing: .3px; }
.grade-row .gA { color: #5eead4; }
.grade-row .gB { color: #fcd34d; }
.grade-row .gC { color: #b6c0cf; }
.grade-row span { color: #9aa6b5; font-size: .89rem; line-height: 1.6; }

/* ================= Kontak ================= */
.contact-inner { text-align: center; max-width: 780px; margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(7, 175, 236, .5); outline-offset: 2px; }
.btn-wa {
  background: linear-gradient(135deg, #2bd465, var(--wa-deep));
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(34, 197, 94, .5);
}
.btn-wa svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-big { font-size: 1.12rem; padding: 18px 46px; margin: 32px 0 44px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; }
.contact-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-item strong { display: block; margin-bottom: 10px; font-size: 1.04rem; letter-spacing: -.01em; }
.contact-item p { color: var(--muted); font-size: .95rem; }

/* ================= Footer ================= */
.footer {
  background: linear-gradient(180deg, #121419 0%, #0b0d11 100%);
  color: #aeb7c4;
  padding: 56px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer-inner { text-align: center; display: grid; gap: 12px; justify-items: center; }
.footer-logo {
  height: 58px; width: auto;
  background: #fff;
  border-radius: 14px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
}
.footer-addr { font-size: .92rem; max-width: 36rem; }
.footer-links a { color: var(--brand); font-weight: 700; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { font-size: .84rem; color: #6b7482; }

/* ================= Responsif ================= */
@media (max-width: 860px) {
  .grade-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0 68px; }
  .hero { padding: 60px 0 68px; }
  .container { padding-left: 20px; padding-right: 20px; }

  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 34px -12px rgba(20, 22, 26, .2);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; font-size: 1rem; }

  .grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .thumb { height: 132px; }
  .thumb-icon svg { width: 50px; height: 50px; }
  .thumb-initial { font-size: 2rem; right: 12px; }
  .product-body { padding: 16px 16px 18px; }
  .product-name { font-size: .96rem; }
  .price { font-size: 1.14rem; }
  .btn-order { font-size: .86rem; padding: 11px 8px; }
  .specs li { font-size: .82rem; }

  .grade-note { padding: 28px 24px 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .btn-big { width: 100%; padding: 17px 20px; }
  .info-strip { font-size: .72rem; }
}

@media (max-width: 400px) {
  .grid { grid-template-columns: 1fr; }
  .chips { gap: 8px; }
  .chip { padding: 10px 16px; font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
