/* ============================================================
   CGPixol.com — style.css
   Palet diambil dari logo: charcoal + merah brush-stroke
   ============================================================ */

:root{
  --ink:        #141317;   /* latar utama, charcoal hangat */
  --ink-2:      #1c1b21;   /* panel / surface */
  --ink-3:      #24232b;   /* surface lebih terang */
  --line:       rgba(255,255,255,.09);
  --text:       #f1efea;
  --muted:      #a5a2ab;
  --red:        #e31e2e;   /* merah X dari logo */
  --red-hover:  #f5313f;
  --red-deep:   #7e0f1b;
  --wa:         #22b05b;

  --font-display: "Archivo", sans-serif;
  --font-body:    "Instrument Sans", sans-serif;

  --wrap: 1120px;
  --r: 14px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation:none !important; transition:none !important; }
}

body{
  background:var(--ink);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16.5px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

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

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 24px; }
.wrap-narrow{ max-width:820px; }

/* ---------- Tipografi ---------- */
h1,h2,h3{
  font-family:var(--font-display);
  font-weight:850;
  font-stretch:112%;
  line-height:1.04;
  letter-spacing:-.015em;
}
h1{ font-size:clamp(2.5rem, 5.6vw, 4.3rem); }
h2{ font-size:clamp(1.9rem, 3.6vw, 2.9rem); margin:14px 0 34px; }
h3{ font-size:1.25rem; margin-bottom:10px; font-stretch:106%; }

.eyebrow{
  display:flex; align-items:center; gap:9px;
  font-family:var(--font-display);
  font-stretch:110%;
  font-weight:600;
  font-size:.82rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
}
.xmark{ width:16px; height:16px; color:var(--red); flex:none; }

/* ---------- Tombol ---------- */
.btn{
  display:inline-block;
  font-family:var(--font-display);
  font-stretch:108%;
  font-weight:700;
  font-size:1rem;
  padding:14px 28px;
  border-radius:9px;
  text-decoration:none;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active{ transform:translateY(1px); }
.btn-red{ background:var(--red); color:#fff; }
.btn-red:hover{ background:var(--red-hover); }
.btn-ghost{ border-color:var(--line); color:var(--text); }
.btn-ghost:hover{ border-color:rgba(255,255,255,.3); }
.btn-wa{ background:var(--wa); color:#fff; }
.btn-wa:hover{ filter:brightness(1.1); }

:focus-visible{ outline:2.5px solid var(--red); outline-offset:3px; border-radius:4px; }

/* ---------- Navbar ---------- */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(20,19,23,.82);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:var(--wrap); margin:0 auto; padding:14px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.nav-logo img{ height:34px; width:auto; }
.nav-links{ display:flex; align-items:center; gap:28px; }
.nav-links a{
  text-decoration:none; font-weight:500; font-size:.95rem; color:var(--muted);
  transition:color .15s ease;
}
.nav-links a:hover{ color:var(--text); }
.nav-links .nav-cta{
  color:#fff; background:var(--red);
  padding:9px 18px; border-radius:8px;
  font-family:var(--font-display); font-weight:700; font-stretch:106%;
}
.nav-links .nav-cta:hover{ background:var(--red-hover); }
.nav-burger{ display:none; background:none; border:0; cursor:pointer; padding:6px; }
.nav-burger span{ display:block; width:24px; height:2.5px; background:var(--text); margin:5px 0; border-radius:2px; transition:transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero{ position:relative; overflow:hidden; }
.hero::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(700px 420px at 78% 18%, rgba(227,30,46,.14), transparent 65%),
    radial-gradient(520px 380px at 8% 90%, rgba(227,30,46,.06), transparent 60%);
  pointer-events:none;
}
.hero-inner{
  position:relative;
  max-width:var(--wrap); margin:0 auto; padding:84px 24px 72px;
  display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;
}
.hero-copy .eyebrow{ margin-bottom:18px; }
.hero-sub{ color:var(--muted); margin:22px 0 30px; max-width:52ch; }
.hero-sub strong{ color:var(--text); font-weight:600; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-points{
  list-style:none; display:flex; gap:22px; flex-wrap:wrap;
  margin-top:32px; font-size:.92rem; color:var(--muted);
}
.hero-points li{ display:flex; align-items:center; gap:8px; }
.hero-points li::before{
  content:""; width:13px; height:13px; flex:none;
  background:var(--red);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.8 4.8 Q9.5 12 20.6 20.6 Q12 9.5 4.8 2.8 Q3.2 3.2 2.8 4.8 Z M21.2 4.8 Q14.5 12 3.4 20.6 Q12 9.5 19.2 2.8 Q20.8 3.2 21.2 4.8 Z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.8 4.8 Q9.5 12 20.6 20.6 Q12 9.5 4.8 2.8 Q3.2 3.2 2.8 4.8 Z M21.2 4.8 Q14.5 12 3.4 20.6 Q12 9.5 19.2 2.8 Q20.8 3.2 21.2 4.8 Z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* garis brush di bawah kata ZBrush */
.stroke-wrap{ position:relative; white-space:nowrap; }
.stroke-under{
  position:absolute; left:-2%; right:-2%; bottom:-.12em; width:104%; height:.32em;
}
.stroke-under path{
  fill:none; stroke:var(--red); stroke-width:11; stroke-linecap:round; opacity:.9;
}

/* kolase artwork */
.hero-art{ position:relative; min-height:440px; }
.art{ border-radius:var(--r); overflow:hidden; border:1px solid var(--line); background:var(--ink-2); }
.art img{ width:100%; height:100%; object-fit:cover; }
.art-main{ position:absolute; inset:0 12% 10% 0; box-shadow:0 30px 80px rgba(0,0,0,.5); }
.art-main figcaption{
  position:absolute; left:14px; bottom:12px;
  font-size:.78rem; color:rgba(255,255,255,.75);
  background:rgba(15,14,18,.6); backdrop-filter:blur(6px);
  padding:4px 10px; border-radius:6px;
}
.art-sm{ position:absolute; width:34%; aspect-ratio:3/4; box-shadow:0 18px 50px rgba(0,0,0,.55); }
.art-a{ right:0; top:6%; transform:rotate(2.5deg); }
.art-b{ right:6%; bottom:0; transform:rotate(-2deg); }

/* ---------- Clients ---------- */
.clients{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:34px 24px; }
.clients-label{
  text-align:center; font-size:.8rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted); margin-bottom:24px; font-weight:500;
}
.clients-row{
  max-width:var(--wrap); margin:0 auto;
  display:flex; align-items:center; justify-content:center; gap:52px; flex-wrap:wrap;
}
.clients-row img{ height:44px; width:auto; opacity:.55; filter:grayscale(1) brightness(1.6); transition:opacity .2s; }
.clients-row img:hover{ opacity:.95; }

/* ---------- Why ---------- */
.why{ padding:84px 0 30px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.why-card{
  background:var(--ink-2); border:1px solid var(--line); border-radius:var(--r);
  padding:28px 26px;
}
.why-card h3{ margin-bottom:12px; }
.why-card p{ color:var(--muted); font-size:.97rem; }

/* ---------- About ---------- */
.about{ padding:96px 0; }
.about-cols{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:start; }
.about-text p{ color:var(--muted); margin-bottom:18px; max-width:58ch; }
.about-text strong{ color:var(--text); font-weight:600; }

/* rantai otorisasi */
.chain{ list-style:none; position:relative; padding-left:26px; }
.chain::before{
  content:""; position:absolute; left:7px; top:12px; bottom:26px;
  width:2px; background:linear-gradient(var(--line), var(--red-deep));
}
.chain li{ position:relative; padding:0 0 26px; }
.chain li::before{
  content:""; position:absolute; left:-26px; top:7px;
  width:12px; height:12px; border-radius:50%;
  background:var(--ink-3); border:2px solid var(--muted);
}
.chain-you::before{ background:var(--red) !important; border-color:var(--red) !important; }
.chain-who{
  display:block; font-family:var(--font-display); font-weight:800; font-stretch:108%;
  font-size:1.08rem;
}
.chain-you .chain-who{ color:var(--red-hover); }
.chain-role{ display:block; color:var(--muted); font-size:.92rem; }

/* ---------- Purchase ---------- */
.purchase{ padding:20px 0 96px; }
.tabs{ display:flex; gap:10px; margin-bottom:30px; border-bottom:1px solid var(--line); }
.tab{
  background:none; border:0; cursor:pointer;
  font-family:var(--font-display); font-weight:700; font-stretch:108%; font-size:1.02rem;
  color:var(--muted); padding:12px 18px 14px;
  border-bottom:3px solid transparent; margin-bottom:-1px;
  transition:color .15s;
}
.tab:hover{ color:var(--text); }
.tab.is-active{ color:var(--text); border-bottom-color:var(--red); }
.panel{ display:none; }
.panel.is-active{ display:block; }
.panel-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:start; }
.panel-grid > div > p{ color:var(--muted); margin-bottom:20px; }
.panel-grid strong{ color:var(--text); }
.panel a:not(.btn){ color:var(--red-hover); }

.steps{ list-style:none; counter-reset:s; margin:0 0 28px; }
.steps li{
  counter-increment:s; position:relative; padding:0 0 14px 44px; color:var(--muted);
}
.steps li::before{
  content:counter(s);
  position:absolute; left:0; top:1px;
  width:28px; height:28px; border-radius:8px;
  background:var(--ink-3); border:1px solid var(--line);
  font-family:var(--font-display); font-weight:800; font-size:.85rem;
  display:flex; align-items:center; justify-content:center; color:var(--text);
}

.product-list{ list-style:none; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.product-list li{
  display:flex; justify-content:space-between; gap:18px; align-items:baseline;
  padding:16px 20px; background:var(--ink-2);
}
.product-list li + li{ border-top:1px solid var(--line); }
.product-list strong{ font-family:var(--font-display); font-stretch:106%; font-weight:750; }
.product-list span{ color:var(--muted); font-size:.88rem; text-align:right; }

.edu-points{ list-style:none; margin:0 0 26px; }
.edu-points li{ position:relative; padding:0 0 14px 24px; color:var(--muted); }
.edu-points li::before{
  content:""; position:absolute; left:0; top:7px;
  width:14px; height:14px;
  background:var(--red);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.8 4.8 Q9.5 12 20.6 20.6 Q12 9.5 4.8 2.8 Q3.2 3.2 2.8 4.8 Z M21.2 4.8 Q14.5 12 3.4 20.6 Q12 9.5 19.2 2.8 Q20.8 3.2 21.2 4.8 Z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.8 4.8 Q9.5 12 20.6 20.6 Q12 9.5 4.8 2.8 Q3.2 3.2 2.8 4.8 Z M21.2 4.8 Q14.5 12 3.4 20.6 Q12 9.5 19.2 2.8 Q20.8 3.2 21.2 4.8 Z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
}
.edu-callout{
  background:linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border:1px solid var(--line); border-left:4px solid var(--red);
  border-radius:var(--r); padding:30px 28px;
}
.edu-quote{
  font-family:var(--font-display); font-weight:700; font-stretch:104%;
  font-size:1.2rem; line-height:1.35; margin-bottom:14px;
}
.edu-note{ color:var(--muted); font-size:.85rem; }

/* ---------- FAQ ---------- */
.faq{ padding:0 0 96px; }
.faq details{
  border:1px solid var(--line); border-radius:12px; background:var(--ink-2);
  margin-bottom:12px; overflow:hidden;
}
.faq summary{
  cursor:pointer; list-style:none;
  padding:18px 52px 18px 22px; position:relative;
  font-family:var(--font-display); font-weight:700; font-stretch:105%; font-size:1.02rem;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:"+"; position:absolute; right:20px; top:50%; transform:translateY(-52%);
  font-size:1.5rem; font-weight:400; color:var(--red); transition:transform .2s;
}
.faq details[open] summary::after{ transform:translateY(-52%) rotate(45deg); }
.faq details p{ padding:0 22px 20px; color:var(--muted); }

/* ---------- Contact ---------- */
.contact{
  border-top:1px solid var(--line);
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(227,30,46,.08), transparent 60%),
    var(--ink-2);
  padding:96px 0;
}
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.contact-sub{ color:var(--muted); margin:0 0 26px; max-width:46ch; }
.contact-ways{ display:flex; flex-direction:column; gap:16px; align-items:flex-start; }
.contact-line{ color:var(--text); font-size:1.05rem; }

.contact-form{
  background:var(--ink); border:1px solid var(--line); border-radius:var(--r);
  padding:30px 28px; display:flex; flex-direction:column; gap:16px;
}
.contact-form label{
  display:flex; flex-direction:column; gap:7px;
  font-size:.88rem; font-weight:600;
}
.contact-form .opt{ color:var(--muted); font-weight:400; }
.contact-form input, .contact-form textarea{
  background:var(--ink-3); border:1px solid var(--line); border-radius:9px;
  color:var(--text); padding:12px 14px; font:inherit; font-size:.96rem;
  resize:vertical;
}
.contact-form input:focus, .contact-form textarea:focus{
  outline:none; border-color:var(--red);
}
.form-note{ color:var(--muted); font-size:.78rem; }

/* ---------- Footer ---------- */
.footer{ border-top:1px solid var(--line); padding:56px 0 30px; }
.footer-grid{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; margin-bottom:36px; }
.footer-logo{ height:30px; width:auto; margin-bottom:14px; }
.footer-grid p{ color:var(--muted); font-size:.9rem; }
.footer-nav{ display:flex; gap:26px; align-items:flex-start; flex-wrap:wrap; }
.footer-nav a{ color:var(--muted); text-decoration:none; font-size:.92rem; }
.footer-nav a:hover{ color:var(--text); }
.footer-legal p{ color:#6f6c76; font-size:.78rem; border-top:1px solid var(--line); padding-top:22px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns:1fr; padding-top:56px; gap:44px; }
  .hero-art{ min-height:380px; }
  .about-cols, .panel-grid, .contact-grid{ grid-template-columns:1fr; gap:36px; }
  .grid-3{ grid-template-columns:1fr; }
}
@media (max-width: 720px){
  .nav-links{
    position:fixed; inset:63px 0 auto 0;
    background:var(--ink-2); border-bottom:1px solid var(--line);
    flex-direction:column; align-items:stretch; gap:0;
    padding:10px 24px 18px;
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:13px 4px; font-size:1.05rem; }
  .nav-links .nav-cta{ text-align:center; margin-top:8px; }
  .nav-burger{ display:block; }
  .nav-burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }
  .clients-row{ gap:30px; }
  .clients-row img{ height:34px; }
  .hero-actions .btn{ width:100%; text-align:center; }
}

/* ============================================================
   Tambahan multi-page: video hero, grid client, page head, CTA
   ============================================================ */

/* nav: halaman aktif */
.nav-links a.is-here{ color:var(--text); position:relative; }
.nav-links a.is-here::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px;
  height:2.5px; background:var(--red); border-radius:2px;
}

/* hero video (lite YouTube embed) */
.hero-video{ position:relative; }
.yt-lite{
  position:relative; display:block; width:100%; aspect-ratio:16/9;
  border:1px solid var(--line); border-radius:var(--r); overflow:hidden;
  background:var(--ink-2); cursor:pointer; padding:0;
  box-shadow:0 30px 80px rgba(0,0,0,.5);
}
.yt-lite img{ width:100%; height:100%; object-fit:cover; opacity:.85; transition:opacity .2s, transform .3s; }
.yt-lite:hover img{ opacity:1; transform:scale(1.02); }
.yt-play{
  position:absolute; inset:0; margin:auto;
  width:76px; height:76px; border-radius:50%;
  background:var(--red); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 34px rgba(227,30,46,.45);
  transition:transform .15s, background .15s;
}
.yt-play svg{ width:34px; height:34px; margin-left:3px; }
.yt-lite:hover .yt-play{ transform:scale(1.08); background:var(--red-hover); }
.yt-lite iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.yt-caption{ margin-top:12px; font-size:.82rem; color:var(--muted); text-align:center; }

/* judul tengah + grid client */
.eyebrow-center{ justify-content:center; }
.h-center{ text-align:center; }
.clients{ padding:90px 0; border-top:1px solid var(--line); }
.clients-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; margin-top:16px;
}
.client-card{
  border:1px solid var(--line); border-radius:12px; overflow:hidden;
  background:var(--ink-2); transition:transform .18s, border-color .18s;
}
.client-card:hover{ transform:translateY(-3px); border-color:rgba(255,255,255,.22); }
.client-card img{ width:100%; height:auto; display:block; }
.client-card figcaption{
  padding:10px 14px; font-size:.8rem; color:var(--muted);
  border-top:1px solid var(--line);
}

/* page head untuk sub-halaman */
.page-head{
  padding:72px 0 30px;
  background:radial-gradient(560px 300px at 20% 0%, rgba(227,30,46,.10), transparent 65%);
}
.page-head h1{ font-size:clamp(2.1rem, 4.4vw, 3.4rem); margin-top:14px; max-width:18ch; }
.about{ padding:56px 0 96px; }
.purchase{ padding:34px 0 96px; }
.faq{ padding:40px 0 96px; }
.contact{ border-top:0; padding:40px 0 96px; }

/* CTA band di home */
.cta-band{
  border-top:1px solid var(--line);
  background:
    radial-gradient(640px 360px at 85% 30%, rgba(227,30,46,.13), transparent 60%),
    var(--ink-2);
  padding:84px 0;
}
.cta-inner{ display:flex; align-items:center; justify-content:space-between; gap:36px; flex-wrap:wrap; }
.cta-inner h2{ margin:0; }

@media (max-width: 980px){
  .clients-grid{ grid-template-columns:repeat(3, 1fr); }
}
@media (max-width: 720px){
  .clients-grid{ grid-template-columns:repeat(2, 1fr); gap:12px; }
  .client-card figcaption{ font-size:.72rem; padding:8px 10px; }
  .cta-inner{ justify-content:flex-start; }
}
