/* ============================================================
   Hazim Web Studio 2.0 — style-2.0.css
   New sections: announcement bar, hero 2-col, about, promo,
   metrics strip, mockup emphasis, card badges, slot dots,
   process connecting line, ribbon.
   Layers on top of style.css + enhance.css.
   ============================================================ */

/* ---------- ANNOUNCEMENT BAR ---------- */
.promo-bar {
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 44px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.14));
  border-bottom: 1px solid rgba(139, 92, 246, 0.35);
  font-size: 0.875rem;
  font-weight: 600;
  color: #d9d5f0;
}
.promo-bar a {
  color: #c4b5fd;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.promo-bar a:hover { color: #e0e7ff; text-decoration: underline; }
.promo-bar .pb-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  transition: border-color 200ms, color 200ms;
}
.promo-bar .pb-close:hover { border-color: var(--purple); color: #fff; }

/* ---------- HERO 2-COLUMN ---------- */
@media (min-width: 901px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .hero-text { order: 1; }
  .hero-showcase { order: 2; position: relative; }
}
@media (max-width: 900px) {
  .hero-inner { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
}

/* Chips: compact + repositioned for narrower 2-col showcase.
   Original CSS (style.css:524+) was tuned for full-width hero.
   Override here — smaller font, tighter padding, safer offsets. */
.hero-chip {
  font-size: 0.7rem;
  padding: 6px 11px;
  gap: 6px;
  white-space: nowrap;
}
.hero-chip.chip-a { top: -12px; left: 0; }
.hero-chip.chip-b { top: auto; bottom: -12px; right: 0; }
.hero-chip.chip-c { top: 38%; right: -10px; bottom: auto; left: auto; font-size: 0.66rem; padding: 5px 9px; }

/* Tablet: hide chip-c (most likely to overflow), keep A+B */
@media (max-width: 1100px) {
  .hero-chip.chip-c { display: none; }
}
@media (max-width: 700px) {
  .hero-chip { display: none; }
}
.hero-speed {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 14px 0 20px;
}
.hero-speed strong { color: var(--text); }

/* ---------- PORTFOLIO BADGES ---------- */
.work-card { position: relative; }
.work-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.badge-client {
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
}
.badge-own {
  background: rgba(139, 92, 246, 0.13);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
}
.work-card .work-preview img.shot { transition: transform 400ms ease; }
.work-card:hover .work-preview img.shot { transform: scale(1.03); }

/* ---------- TENTANG (ABOUT) ---------- */
.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 801px) {
  .about-grid { grid-template-columns: 320px 1fr; }
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; margin: 0 auto; }
}
.about-photo {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
/* Remove placeholder ::after — real photo now in place */
.about-photo::after { display: none; }
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.about-chip {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--card);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.about-ai {
  font-size: 0.9rem;
  color: var(--muted-2);
  border-left: 3px solid var(--purple);
  padding-left: 16px;
  margin: 20px 0;
  line-height: 1.7;
}

/* ---------- PROMO SECTION ---------- */
#promo { scroll-margin-top: 90px; }
.promo-box {
  border-radius: 24px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.10), rgba(34, 211, 238, 0.06)),
    var(--bg-2);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
}
/* Decorative backdrop layers — fills the "empty" feel */
.promo-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 280px at 88% 5%, rgba(139, 92, 246, 0.16), transparent 70%),
    radial-gradient(400px 240px at 5% 95%, rgba(34, 211, 238, 0.10), transparent 70%);
  pointer-events: none;
}
/* Faint browser-mockup glyph floating top-right — visual anchor */
.promo-box::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -40px;
  width: 260px;
  height: 160px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(-6deg);
  pointer-events: none;
  opacity: 0.7;
}
@media (max-width: 900px) {
  .promo-box::after { display: none; }
  .promo-box { padding: 36px 22px; }
}
/* Ensure content sits above backdrop layers */
#promo-active, #promo-full { position: relative; z-index: 1; }

/* Stronger heading + pills */
#promo h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  line-height: 1.15;
}
.promo-pills .eyebrow { position: relative; z-index: 1; }
.promo-pills { gap: 12px; }

/* Price block — bigger, more presence */
.promo-price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 20px 0;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.promo-price-strike { font-size: 1.4rem; color: var(--muted-2); text-decoration: line-through; }
.promo-price {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(139, 92, 246, 0.35));
}
.promo-save {
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Slot row — more visual weight */
.slot-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.slot-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.4);
  background: transparent;
  transition: background 300ms, border-color 300ms;
}
.slot-dot.taken {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
}
.slot-text { font-size: 0.9rem; color: var(--text); font-weight: 600; }

/* Include items — subtle card feel */
.promo-include-grid {
  display: grid;
  gap: 10px 20px;
  margin: 24px 0;
  position: relative;
  z-index: 1;
}
@media (min-width: 601px) { .promo-include-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1025px) { .promo-include-grid { grid-template-columns: 1fr 1fr 1fr; } }
.promo-include-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.promo-include-item span.icon { font-size: 1.15rem; flex-shrink: 0; }
.promo-suitable { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; position: relative; z-index: 1; }
.promo-suitable span {
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.78rem;
  color: var(--muted);
}
.slot-row { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.slot-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.4);
  background: transparent;
  transition: background 300ms, border-color 300ms;
}
.slot-dot.taken {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}
.slot-text { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.promo-price-row { display: flex; align-items: baseline; gap: 14px; margin: 16px 0; flex-wrap: wrap; }
.promo-price-strike { font-size: 1.3rem; color: var(--muted-2); text-decoration: line-through; }
.promo-price {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.promo-save {
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  font-size: 0.8rem;
  font-weight: 700;
}
.promo-note {
  margin: 18px 0;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.88rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.promo-terms { font-size: 0.8rem; color: var(--muted-2); margin: 16px 0; line-height: 1.6; position: relative; z-index: 1; }
.promo-fineprint { font-size: 0.75rem; color: var(--muted-2); margin-top: 14px; position: relative; z-index: 1; }

/* CTA — full-width emphasis */
#promo-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 32px;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35);
}
#promo-cta:hover {
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.45);
}
.promo-full-box { text-align: center; padding: 48px 24px; }
.promo-full-box p { font-size: 1.1rem; color: var(--muted); margin-bottom: 20px; }

/* ---------- PRICING BADGES ---------- */
/* price-card has overflow:hidden in style.css:831 — that's what clips the
   badges. Remove it here so badges breathe above the card edge.
   The ::before gradient line (1px) is imperceptible at corners without it. */
.price-card { overflow: visible; margin-top: 22px; }

.badge {
  top: -15px;
  font-size: 0.72rem;
  padding: 7px 14px;
  /* Prevent horizontal clipping: allow shrink on narrow cards */
  max-width: calc(100% - 24px);
  text-align: center;
}

.promo-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.45);
  color: #c4b5fd;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  max-width: calc(100% - 20px);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Mobile: badges shrink to fit narrow cards */
@media (max-width: 639px) {
  .badge { font-size: 0.64rem; padding: 6px 10px; letter-spacing: 0.04em; }
  .promo-ribbon { font-size: 0.64rem; padding: 5px 10px; }
}
.promo-ribbon:hover { color: #e0e7ff; border-color: var(--purple); }

/* ---------- METRICS STRIP ---------- */
.metrics-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 601px) { .metrics-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1025px) { .metrics-grid { grid-template-columns: repeat(4, 1fr); } }
.metric-card {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}
.metric-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.metric-label { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }

/* ---------- PROCESS CONNECTING LINE ---------- */
.process-grid { position: relative; }
@media (min-width: 801px) {
  .process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), rgba(34, 211, 238, 0.4), transparent);
    z-index: 0;
  }
  .process-step { position: relative; z-index: 1; }
  .process-step.highlight .step-num {
    border-color: rgba(52, 211, 153, 0.7);
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.3), 0 0 24px rgba(52, 211, 153, 0.25);
  }
}

/* ---------- MOCKUP EMPHASIS ---------- */
.mockup-cta {
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.07), rgba(34, 211, 238, 0.04));
}
.mockup-cta h3 { font-size: 1.6rem; margin-bottom: 12px; }

/* ---------- TESTIMONIALS (hidden until data) ---------- */
#testimonials:empty { display: none; }
.testimonial-grid { display: grid; gap: 20px; }
@media (min-width: 701px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
.testimonial-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}
.testimonial-quote { font-size: 1rem; color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-business { font-size: 0.82rem; color: var(--muted); }

/* ---------- FOOTER LINKS ---------- */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  margin: 16px 0;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
}
.footer-links a:hover { color: #c4b5fd; }
.footer-ga { font-size: 0.72rem; color: var(--muted-2); margin-top: 12px; }

/* ---------- MOBILE HEADER: WA button = icon only ---------- */
/* Desktop keeps full label; mobile shows icon only (text truncates otherwise) */
@media (max-width: 639px) {
  .header-wa {
    padding: 10px 12px;
    font-size: 0;
    gap: 0;
    flex-shrink: 0;
  }
  .header-wa .wa-icon {
    width: 20px;
    height: 20px;
  }
  .header-wa::after {
    content: attr(data-short);
    font-size: 0.8rem;
    font-weight: 700;
  }
}

/* ---------- NAV PROMO BADGE ---------- */
.nav-badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: #c4b5fd;
  font-size: 0.65rem;
  font-weight: 700;
  vertical-align: super;
  margin-left: 2px;
}
