/* 0Time - Custom Branding Override */

/* Hide original logo image */
.image-23 { display: none !important; }
.lottie-animation-4 { display: none !important; }

/* 0Time logo */
.hero__logo-block {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-start;
  margin-left: -4px;
}

.logo-0time {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-0time-svg {
  width: 36px;
  height: 36px;
  margin-right: 2px;
}

.zero-outline {
  fill: none;
  stroke: #1a1a1a;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: drawZero 0.8s ease-out 0.2s forwards;
}

.zero-dot {
  fill: #1a1a1a;
  opacity: 0;
  animation: fadeInDot 0.3s ease-out 0.9s forwards;
}

.logo-0time__text {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 26px;
  color: #1a1a1a;
  letter-spacing: -0.03em;
}

.logo-0time__by {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: #888;
  margin-left: 4px;
  align-self: flex-end;
  margin-bottom: 1px;
  text-decoration: none;
}

.hero__logo-block.invert .logo-0time__text { color: #fff; }
.hero__logo-block.invert .logo-0time__by { color: rgba(255,255,255,0.5); }
.hero__logo-block.invert .zero-outline { stroke: #fff; }
.hero__logo-block.invert .zero-dot { fill: #fff; }

@keyframes drawZero { to { stroke-dashoffset: 0; } }
@keyframes fadeInDot { to { opacity: 1; } }

/* ===== Testimonial Section ===== */
.zt-testi {
  text-align: center;
  padding: 60px 0;
}

.zt-testi__badge {
  display: inline-block;
  background: #f1efec;
  color: #1a1a1a;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 32px;
}

.zt-testi__heading {
  font-family: 'Figtree', sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.7;
  color: #1a1a1a;
  max-width: 900px;
  margin: 0 auto;
}

.zt-testi__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.zt-testi__avatar:hover { transform: scale(1.1); }

.zt-testi__tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  color: #333;
  padding: 18px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  width: 280px;
  text-align: left;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
  white-space: normal;
}

.zt-testi__img-wrap {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 4px;
  z-index: 1;
}

.zt-testi__img-wrap:hover {
  z-index: 100;
}

.zt-testi__img-wrap:hover .zt-testi__tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.zt-testi__tooltip strong {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}

.zt-testi__stats {
  display: flex;
  gap: 0;
  background: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px 32px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.zt-testi__stat {
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 48px;
  cursor: pointer;
}

.zt-testi__stat + .zt-testi__stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  border-left: 1px dashed #ddd;
}

.zt-testi__stat-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 13px;
  font-weight: 500;
  color: #999;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.zt-testi__stat-value {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.zt-testi__stat-value span { font-size: 22px; font-weight: 700; color: #1a1a1a; }
.zt-testi__stat-value small { font-size: 11px; color: #666; margin-top: 2px; }

.zt-testi__stat:hover .zt-testi__stat-logo { transform: translateY(-100%); opacity: 0; }
.zt-testi__stat:hover .zt-testi__stat-value { transform: translateY(0); opacity: 1; }

/* ===== Text Cycle Animation ===== */
.text-cycle {
  display: inline-grid;
  vertical-align: bottom;
}

.text-cycle__word {
  grid-area: 1 / 1;
  white-space: nowrap;
  font-weight: 700;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-8px);
  animation: textCycleIn 15s infinite;
}

.text-cycle__word:nth-child(1) { animation-delay: 0s; }
.text-cycle__word:nth-child(2) { animation-delay: 3s; }
.text-cycle__word:nth-child(3) { animation-delay: 6s; }
.text-cycle__word:nth-child(4) { animation-delay: 9s; }
.text-cycle__word:nth-child(5) { animation-delay: 12s; }

@keyframes textCycleIn {
  0%, 100% { opacity: 0; filter: blur(8px); transform: translateY(-8px); }
  4% { opacity: 1; filter: blur(0px); transform: translateY(0); }
  17% { opacity: 1; filter: blur(0px); transform: translateY(0); }
  21% { opacity: 0; filter: blur(8px); transform: translateY(8px); }
}

/* ===== Smooth Scroll & No Horizontal Overflow ===== */
html, body { scroll-behavior: smooth; overflow-x: clip; }

/* ===== Scroll Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Recent Work ===== */
.div-block-28 { transform: rotate(0deg) !important; }

.image-26 {
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  object-fit: cover;
}

/* ===== Grid Lines - Sejajar Semua Section ===== */
.container { position: relative; overflow: visible; }

.grid-line-right, .grid-line-left {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  height: 100% !important;
  width: 1px !important;
  background-color: #ddced3 !important;
}

.grid-line-left { left: -59px !important; }
.grid-line-right { right: -59px !important; }

.hero-container .grid-line-left,
.foooooo .grid-line-left { left: 0 !important; }
.hero-container .grid-line-right,
.foooooo .grid-line-right { right: 0 !important; }

.grid-line-right.dark, .grid-line-left.dark {
  background-color: #2c2c2c !important;
}

/* ===== Badge ===== */
.zt-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(145deg, rgba(0,0,0,0.04), rgba(0,0,0,0.01));
  border: 1px solid rgba(0,0,0,0.08);
  margin-right: 8px;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
}

.zt-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
  animation: badgeWave 2.5s ease-in-out infinite;
}

@keyframes badgeWave {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* ===== Card Stack ===== */
.stack .front-design,
.stack .middle-design,
.stack .bottom-design {
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.stack .front-design { background-image: url('../img/initour-cfadilismee.png'); animation: cardRotate 9s ease-in-out infinite; }
.stack .middle-design { background-image: url('../img/gdash-analityc.png'); animation: cardRotate 9s ease-in-out 3s infinite; }
.stack .bottom-design { background-image: url('../img/whatsapp-blasting.png'); animation: cardRotate 9s ease-in-out 6s infinite; }

@keyframes cardRotate {
  0%, 100% { z-index: 1; transform: translateY(8px) scale(0.92); opacity: 0.6; }
  33% { z-index: 3; transform: translateY(-4px) scale(1); opacity: 1; }
  66% { z-index: 2; transform: translateY(4px) scale(0.96); opacity: 0.8; }
}

/* ===== Logo Row ===== */
.logos__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 3px 0;
}

.logos__row + .logos__row {
  margin-top: 10px;
}

.hiw__header-wrapper h2.dddd {
  margin-bottom: 8px;
}

.logos__row img {
  height: 40px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.logos__row img:hover { opacity: 1; }

/* ===== Footer Full-Width Black ===== */
.footer {
  background: #0a0a0a;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* ===== Kenapa ZeroTime Highlight ===== */
.story-text._4 .zt-badge {
  background: linear-gradient(135deg, #ff5a00, #ff8c00);
  color: #fff;
  border-color: transparent;
}

.story-text._4 .link {
  color: #ff5a00;
  font-weight: 600;
}

/* ===== FAQ Layout - 2 Kolom: Kiri Sticky, Kanan Questions ===== */
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.faq__left {
  position: sticky;
  top: 80px;
}

.faq__left h2 {
  margin-bottom: 12px;
}

.faq__left p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

.faq__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__row {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.faq__row:first-child {
  border-top: 1px solid #eee;
}

.faq__question {
  font-weight: 500;
  font-size: 15px;
  color: #1a1a1a;
}

.faq__answer {
  margin-top: 12px;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.faq__arrow {
  flex-shrink: 0;
  width: 20px;
  transition: transform 0.3s ease;
}

/* ===== Services Section - Horizontal Scroll ===== */
.services__list { overflow: visible; }
.services__list .container { overflow: visible; }

.services__scroll-wrap {
  position: relative;
}

.services__row {
  display: flex !important;
  overflow-x: auto;
  gap: 24px;
  padding: 0 48px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.services__row.dragging { cursor: grabbing; scroll-snap-type: none; }

.services__row::-webkit-scrollbar { display: none; }
.services__row { -ms-overflow-style: none; scrollbar-width: none; }

.services__col {
  min-width: 260px;
  width: 260px !important;
  flex-shrink: 0;
  scroll-snap-align: start;
  text-align: center;
}

.services__block {
  width: 100% !important;
  height: 180px;
  margin-bottom: 16px;
}

.services__header {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.services__p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.slider-wrapper._33 {
  display: none !important;
}

.div-block-18 {
  display: none;
}

/* ===== Visual Service / Case Study Section ===== */
.vs-section {
  padding: 100px 20px;
  background: #fff;
}

.vs-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
}

.vs-header {
  position: sticky;
  top: 60px;
  width: 50%;
  flex-shrink: 0;
  padding-right: 20px;
}

.vs-badge {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  color: #151515b3;
  margin-bottom: 12px;
  display: block;
}

.vs-heading {
  font-family: 'Figtree', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 350;
  line-height: 1.26;
  letter-spacing: -0.011em;
  color: #151515;
}

.vs-heading em {
  font-style: italic;
  font-weight: 350;
}

.vs-heading strong {
  font-weight: 700;
  font-style: normal;
}

.vs-services {
  width: 41%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vs-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-top: 1px solid rgba(21,21,21,0.08);
  background: #fff;
  position: sticky;
  width: 100%;
}

.vs-block:nth-child(1) { top: 60px; z-index: 1; }
.vs-block:nth-child(2) { top: 110px; z-index: 2; }
.vs-block:nth-child(3) { top: 160px; z-index: 3; }

.vs-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 0;
}

.vs-info .vs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.vs-number {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #151515b3;
  width: 20px;
}

.vs-info h3 {
  font-family: 'Figtree', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #151515;
  margin: 0;
  line-height: 30px;
  letter-spacing: -0.02em;
}

.vs-info p {
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  color: #151515b3;
  line-height: 24px;
  margin: 0;
  padding: 0 0 12px;
  font-weight: 400;
}

.vs-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
}

.vs-img {
  width: 100%;
  aspect-ratio: 1.57;
  object-fit: cover;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.vs-img.visible {
  opacity: 1;
  transform: translateY(0);
}

.vs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 0 0;
}

.vs-tags span {
  border: 1px solid rgba(21,21,21,0.08);
  background: #fff;
  padding: 3px 10px;
  border-radius: 2px;
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #151515;
}

/* ===== Responsive: Desktop ===== */

/* ===== Responsive: Tablet (991px) ===== */
@media (max-width: 991px) {
  .zt-testi__heading { font-size: 36px; line-height: 1.6; }

  .faq__left { text-align: center; position: static; }
  .faq-section { grid-template-columns: 1fr; gap: 32px; }

  .logos__row {
    gap: 14px;
    padding: 8px 16px;
  }

  .logos__row img { height: 24px; }

  /* Pricing flex spacing */
  .pricing__flex { padding-left: 24px; padding-right: 24px; }
  .pricing__card { width: 100%; }

  /* Services on tablet */
  .services__col { min-width: 220px; width: 220px !important; }

  /* HIW section */
  .hiw__card { min-height: 350px; }
  .hiw__card-gradient { height: 180px; padding: 60px 24px 24px; }

  /* Footer adjustments */
  .footer__bottom-top { margin-top: 48px; }
  .footer__header { font-size: 40px; line-height: 1.2; }

  /* Stack section */
  .hiw__header-wrapper h2.dddd { font-size: 36px; padding: 0 24px; }

  /* Recent work / div-block-27 */
  .div-block-27 { flex-direction: column; gap: 24px; }
  .div-block-28 { width: 100%; }
  .async._4 { width: 100%; }

  /* Visual Service */
  .vs-container { flex-direction: column; }
  .vs-header { position: static; width: 100%; padding: 0 0 44px; }
  .vs-services { width: 100%; }
  .vs-section { padding: 64px 20px; }
  .vs-info h3 { font-size: 18px; }
}

/* ===== Responsive: Phone (767px) ===== */
@media (max-width: 767px) {
  /* Text cycle - compact height */
  .text-cycle { display: grid; width: 100%; }
  .text-cycle__word { white-space: normal; }

  /* Testi */
  .zt-testi { padding: 40px 0; }
  .zt-testi__heading { font-size: 24px; line-height: 1.7; padding: 0 8px; }
  .zt-testi__stats { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; margin-top: 24px; }
  .zt-testi__stat + .zt-testi__stat::before { display: none; }
  .zt-testi__stat { height: 56px; }
  .zt-testi__stat-value span { font-size: 18px; }
  .zt-testi__tooltip { bottom: auto; top: calc(100% + 8px); width: 220px; font-size: 12px; }
  .zt-testi__avatar { width: 40px; height: 40px; }

  /* Logo */
  .logo-0time-svg { width: 28px; height: 28px; }
  .logo-0time__text { font-size: 20px; }
  .logo-0time__by { font-size: 10px; }

  /* FAQ */
  .faq-section { grid-template-columns: 1fr; gap: 24px; }
  .faq__left { position: static; text-align: center; }
  .faq__left h2 { font-size: 28px; }
  .faq__left p { font-size: 14px; }

  .faq__question { font-size: 14px; }
  .faq__answer { font-size: 13px; }
  .faq__row { padding: 16px 0; }

  /* Logos row */
  .logos__row {
    gap: 12px;
    padding: 8px 12px;
  }

  .logos__row img { height: 22px; }

  /* General spacing */
  .inner-container { padding: 0 4px; }
  .hiw__header-wrapper h2 { font-size: 28px; }
  .services__header { font-size: 16px; }
  .services__p { font-size: 13px; }

  /* Services - horizontal scroll phone */
  .services__row { gap: 16px; padding: 0 16px 16px; }
  .services__col { min-width: 200px; width: 200px !important; }
  .services__block { height: 150px; }

  /* HIW cards fix */
  .hiw__card { min-height: 320px; }

  /* Pricing section */
  .pricing__flex { padding-left: 16px; padding-right: 16px; margin-top: 40px; }
  .div-block-10 { padding: 24px; }

  /* Stack section heading */
  .hiw__header-wrapper h2.dddd { font-size: 28px; padding: 0 16px; line-height: 1.3; }

  /* Footer mobile */
  .footer__header { font-size: 32px; line-height: 1.2; }
  .footer__bottom-top { margin-top: 40px; }
  .smiles-mobile { margin-top: 40px; }
  .div-block-26 { flex-direction: column; gap: 8px; margin-top: 16px; }
}

/* ===== Responsive: Small Phone (479px) ===== */
@media (max-width: 479px) {
  .zt-testi__heading { font-size: 20px; }
  .zt-testi__stats { padding: 8px; }
  .zt-testi__stat-value span { font-size: 16px; }

  .faq__left h1 { font-size: 24px; }
  .faq__question { font-size: 13px; }
  .faq__row { gap: 12px; }

  .logos__row { gap: 12px; padding: 12px 8px; }
  .logos__row img { height: 18px; }

  /* Pricing card */
  .pricing__card-header { font-size: 22px; }
  .m-t-0.m-b-0._3 { font-size: 36px; }

  /* Stack heading */
  .hiw__header-wrapper h2.dddd { font-size: 24px; }
}
