/* ==========================================================
   GUTHDESIGN — guthdsgn.co.id
   Dark · Bold · Yellow accent — vanilla CSS, no framework
   ========================================================== */

:root {
  --bg: #0a0a0a;
  --surface: #131313;
  --surface-2: #1b1b1b;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #ffc400;
  --accent-dark: #b88c00;
  --text: #f4f4f2;
  --muted: #9b9b94;
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --radius: 18px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #111; }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  will-change: transform;
}
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--accent {
  background: var(--accent);
  color: #111;
  box-shadow: 0 0 0 0 rgba(255, 196, 0, 0.4);
}
.btn--accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px -8px rgba(255, 196, 0, 0.55);
}
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}
.btn--dark {
  background: #111;
  color: var(--accent);
}
.btn--dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px -10px rgba(0, 0, 0, 0.6);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.nav__logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--accent);
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.04em;
  color: #fff;
}
.nav__logo-text em {
  font-style: normal;
  color: var(--accent);
}
.nav__links {
  display: flex;
  gap: 34px;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a {
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--accent); }
.nav__cta { padding: 11px 22px; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
}
.hero__glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 0, 0.13), transparent 65%);
  animation: float 9s ease-in-out infinite alternate;
}
@keyframes float {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-50px, 50px) scale(1.12); }
}
.hero__inner { position: relative; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  margin-bottom: 34px;
  background: rgba(255, 255, 255, 0.02);
}
.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 10.5vw, 138px);
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 34px;
}
.hero__title span { display: block; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__title-accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}
.hero__sub {
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 42px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 70px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.stat__num,
.stat__plus {
  font-family: var(--font-display);
  font-size: 44px;
  color: #fff;
  line-height: 1;
}
.stat__plus { color: var(--accent); }
.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.hero__scroll span {
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--accent), transparent);
  animation: drip 1.8s ease infinite;
}
@keyframes drip {
  from { transform: scaleY(0); transform-origin: top; }
  60%  { transform: scaleY(1); transform-origin: top; }
  to   { transform: scaleY(1); opacity: 0; }
}

/* ---------- Hero: booth 3D (pure CSS 3D) ---------- */
.hero__scene {
  position: absolute;
  top: -10px;
  right: -30px;
  width: 420px;
  height: 440px;
  perspective: 1100px;
  pointer-events: none;
  z-index: -1;
}
.booth {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: booth-spin 9s ease-in-out infinite alternate;
}
@keyframes booth-spin {
  from { transform: rotateX(-24deg) rotateY(-16deg); }
  to   { transform: rotateX(-24deg) rotateY(34deg); }
}
.booth > * {
  position: absolute;
  left: 50%;
  top: 50%;
}
.booth__floor {
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%) translateY(70px) rotateX(90deg);
  background:
    repeating-linear-gradient(0deg, rgba(255, 196, 0, 0.1) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(255, 196, 0, 0.1) 0 1px, transparent 1px 26px),
    rgba(255, 196, 0, 0.03);
  border: 1px solid rgba(255, 196, 0, 0.45);
  box-shadow: 0 0 70px rgba(255, 196, 0, 0.12) inset;
}
.booth__glowspot {
  width: 190px;
  height: 190px;
  transform: translate(-50%, -50%) translateY(69px) rotateX(90deg);
  background: radial-gradient(closest-side, rgba(255, 196, 0, 0.3), transparent 72%);
}
.booth__wall {
  width: 260px;
  height: 150px;
  background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 196, 0, 0.4);
}
.booth__wall--back { transform: translate(-50%, -50%) translateY(-5px) translateZ(-130px); }
.booth__wall--side { transform: translate(-50%, -50%) translateY(-5px) rotateY(90deg) translateZ(-130px); }
.booth__screen {
  position: absolute;
  left: 16%;
  top: 20%;
  width: 46%;
  height: 58%;
  border: 1px solid rgba(255, 196, 0, 0.55);
  background: linear-gradient(115deg, rgba(255, 196, 0, 0.45) 10%, rgba(255, 255, 255, 0.06) 45%, rgba(255, 196, 0, 0.2) 80%);
  background-size: 220% 220%;
  animation: booth-screen 4.5s linear infinite;
}
@keyframes booth-screen {
  to { background-position: 200% 0; }
}
.booth__fascia {
  width: 262px;
  height: 34px;
  transform: translate(-50%, -50%) translateY(-97px) translateZ(-130px);
  background: var(--accent);
  color: #111;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.28em;
  display: grid;
  place-items: center;
}
.booth__post {
  width: 5px;
  height: 150px;
  background: linear-gradient(rgba(255, 196, 0, 0.7), rgba(255, 196, 0, 0.15));
}
.booth__post--l { transform: translate(-50%, -50%) translate3d(-130px, -5px, 130px); }
.booth__post--r { transform: translate(-50%, -50%) translate3d(130px, -5px, 130px); }
.booth__counter {
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}
.booth__counter i {
  position: absolute;
  left: 0;
  top: 0;
  font-style: normal;
  border: 1px solid rgba(255, 196, 0, 0.5);
}
.booth__counter-front {
  width: 90px;
  height: 60px;
  transform: translate(-50%, -50%) translate3d(10px, 40px, 85px);
  background: rgba(19, 17, 12, 0.92);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
}
.booth__counter-top {
  width: 90px;
  height: 50px;
  transform: translate(-50%, -50%) translate3d(10px, 10px, 60px) rotateX(90deg);
  background: rgba(255, 196, 0, 0.85);
}
.booth__counter-side {
  width: 50px;
  height: 60px;
  transform: translate(-50%, -50%) translate3d(55px, 40px, 60px) rotateY(90deg);
  background: rgba(10, 9, 7, 0.92);
}

@media (max-width: 1099px) {
  .hero__scene {
    position: relative;
    top: auto;
    right: auto;
    z-index: 0;
    width: 340px;
    height: 320px;
    margin: 56px auto -20px;
    transform: scale(0.85);
  }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--accent);
  overflow: hidden;
  padding: 16px 0;
  transform: rotate(-1.2deg) scale(1.02);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #111;
  white-space: nowrap;
}
.marquee__track i { font-style: normal; color: #111; font-size: 18px; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 130px 0; }
.section--alt { background: var(--surface); }
.section__head { margin-bottom: 64px; }
.section__tag {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.04;
  text-transform: uppercase;
}
.section__title em { font-style: normal; color: var(--accent); }

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.section--alt .service { background: var(--surface-2); }
.service:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 196, 0, 0.45);
}
.service--featured { border-color: rgba(255, 196, 0, 0.35); }
.service__num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 52px;
  color: rgba(255, 255, 255, 0.05);
  transition: color 0.3s ease;
}
.service:hover .service__num { color: rgba(255, 196, 0, 0.18); }
.service__icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  margin-bottom: 26px;
}
.service__icon svg { width: 100%; height: 100%; }
.service h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.service p { color: var(--muted); font-size: 15.5px; margin-bottom: 20px; }
.service p strong { color: var(--text); }
.service ul { list-style: none; }
.service li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 9px;
}
.service li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 11px;
  top: 3px;
}
.service__flag {
  position: absolute;
  bottom: 22px;
  right: 24px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  background: var(--accent);
  border-radius: 999px;
  padding: 5px 13px;
}

/* ---------- Works ---------- */
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.work--wide { grid-column: span 2; }
.work:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 196, 0, 0.45);
}
.work__media {
  position: relative;
  aspect-ratio: 16 / 10;
  flex: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.work__media img,
.work__media svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work:hover .work__media img,
.work:hover .work__media svg {
  transform: scale(1.06);
}
/* Tint halus biar konsisten dengan tema gelap, hilang saat hover */
.work__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 55%, rgba(10,10,10,0.55));
  opacity: 0.85;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.work:hover .work__media::after { opacity: 0.35; }
.work__media--1 { background: linear-gradient(135deg, #1d1d1d, #2c2410 60%, #14110a); }
.work__media--2 { background: linear-gradient(135deg, #101720, #1c1026 60%, #0e0e14); }
.work__media--3 { background: linear-gradient(135deg, #0f1c14, #11241c 60%, #0a120d); }
.work__media--4 { background: linear-gradient(135deg, #241509, #2c1c0c 60%, #160d06); }
.work__info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
}
.work__info h3 { font-size: 17px; font-weight: 700; }
.work__info p { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.works__more { margin-top: 44px; text-align: center; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  transition: border-color 0.3s ease;
}
.step:hover { border-top-color: var(--accent); }
.step__num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Testimonial ---------- */
.testi {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.testi__quote {
  width: 52px;
  height: 52px;
  color: var(--accent);
  margin: 0 auto 26px;
}
.testi blockquote {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 26px;
}
.testi__by { color: var(--muted); font-size: 15px; }
.testi__by span { opacity: 0.5; font-size: 13px; }

/* ---------- CTA ---------- */
.cta {
  background: var(--accent);
  color: #111;
  padding: 110px 0;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}
.cta__inner { text-align: center; }
.cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.98;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.cta h2 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px #111;
}
.cta p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 40px;
  opacity: 0.75;
}

/* ---------- Footer ---------- */
.footer { padding: 90px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 1fr 0.7fr;
  gap: 40px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
}
.footer__brand p { color: var(--muted); margin-top: 20px; font-size: 15px; }
.footer__col h4 {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer__col p { color: var(--muted); font-size: 15px; line-height: 2; }
.footer__col a { transition: color 0.2s ease; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 26px 24px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- Floating WA ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.5);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.1) rotate(8deg); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__glow, .hero__scroll span, .hero__badge .dot,
  .booth, .booth__screen { animation: none; }
  .booth { transform: rotateX(-24deg) rotateY(18deg); }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services, .steps { grid-template-columns: 1fr 1fr; }
  .works { grid-template-columns: 1fr 1fr; }
  .work--wide { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 90px 0; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 38px;
    font-size: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; z-index: 110; }
  .hero { padding-top: 120px; }
  .hero__stats { gap: 32px; }
  .stat__num, .stat__plus { font-size: 34px; }
  .hero__scroll { display: none; }
  .services, .steps { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr; }
  .work--wide { grid-column: span 1; }
  .work__info { flex-direction: column; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
