/* ============================================================
   DUNIAMAYA — duniamaya.co.id
   Company Profile Website Stylesheet
   Nuansa: Dark & Bold (Red accent)
   ============================================================ */

:root {
  --black: #0a0a0a;
  --black-2: #101014;
  --white: #ffffff;
  --off: #f6f6f4;
  --gray: #9a9aa3;
  --gray-2: #6b6b74;
  --line: #e9e9e6;
  --line-dark: #232327;
  --red: #e63946;
  --red-dark: #c81e2b;

  --bg: #ffffff;
  --bg-alt: #f6f6f4;
  --surface: #ffffff;
  --surface-2: #f2f3f5;
  --border: #e9e9e6;
  --border-strong: #dcdcd6;
  --text: #0a0a0a;
  --text-muted: #6b6b74;
  --accent: #e63946;
  --accent-2: #c81e2b;
  --orange: #ff5438;
  --green: #1f9d61;
  --radius: 22px;
  --radius-sm: 12px;
  --font-head: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow: 0 20px 50px rgba(10, 10, 10, 0.12);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

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

a { color: inherit; text-decoration: none; }

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

.grad {
  background: linear-gradient(100deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 40px rgba(230, 57, 70, 0.35);
}
.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(230, 57, 70, 0.4);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

.btn--light { background: #fff; color: var(--black); }
.btn--light:hover { transform: translateY(-2px); }

.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.header_logo {
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
  object-fit: contain;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color .2s ease;
}
.nav__link:hover { color: #fff; }
.nav__cta {
  padding: 11px 24px;
  font-size: 14px;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
  background: transparent;
}
.nav__cta:hover { background: var(--red); border-color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 140px 0 90px;
  overflow: hidden;
  background: var(--black);
  color: #fff;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero__glow--1 { width: 560px; height: 560px; background: rgba(230, 57, 70, 0.32); top: -140px; left: -140px; }
.hero__glow--2 { width: 520px; height: 520px; background: rgba(230, 57, 70, 0.16); bottom: -160px; right: -120px; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.2vw, 3.7rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  color: #fff;
}

.hero__lead { color: rgba(255, 255, 255, 0.6); font-size: 17px; max-width: 540px; margin-bottom: 36px; }

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }

.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 30px; }
.hero__points li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}
.hero__points li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--red);
  font-weight: 700;
}

/* Terminal visual */
.hero__visual { position: relative; }
.terminal {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: #28c840; }
.terminal__title { margin-left: 10px; font-size: 12px; color: rgba(255, 255, 255, 0.6); font-family: monospace; }
.terminal__body { padding: 24px 26px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 14px; line-height: 2; color: rgba(255, 255, 255, 0.85); }
.c-accent { color: var(--red); }
.c-muted { color: rgba(255, 255, 255, 0.55); }
.cursor { animation: blink 1s steps(1) infinite; color: var(--red); }
@keyframes blink { 50% { opacity: 0; } }

.chip {
  position: absolute;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(20, 20, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: float 5s ease-in-out infinite;
}
.chip--a { top: -20px; left: -16px; }
.chip--b { bottom: 44px; right: -22px; color: #ff7a85; animation-delay: 1.2s; }
.chip--c { bottom: -22px; left: 34px; color: rgba(255, 255, 255, 0.75); animation-delay: 2.4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px 0;
  text-align: center;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat__num { font-family: var(--font-head); font-size: 2.7rem; font-weight: 700; color: var(--red); }
.stat__plus { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--orange); }
.stat__label { color: var(--gray-2); font-size: 14px; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section__desc { color: var(--gray-2); font-size: 16px; }

/* ---------- Services ---------- */
.services { background: var(--bg-alt); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.service-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: #fdecee;
  color: var(--red);
  margin-bottom: 22px;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card__title { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-card__text { color: var(--text-muted); font-size: 14.5px; margin-bottom: 18px; }
.service-card__list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.service-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-muted);
}
.service-card__list li::before {
  content: "";
  position: absolute; left: 2px; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- About ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__visual { display: flex; justify-content: center; }
.about__box {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  padding: 48px;
  background: linear-gradient(150deg, #151518, #0a0a0a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  box-shadow: var(--shadow);
}
.about__box-label {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}
.about__box-text { color: rgba(255, 255, 255, 0.85); font-size: 15px; }
.about__box-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.about__box-tags span {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.about__logo {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  object-fit: contain;
  margin: 4px 0 22px;
}

.about__features { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 20px; }
.about__features li {
  padding-left: 22px;
  border-left: 3px solid var(--border-strong);
  transition: border-color .25s ease;
}
.about__features li:hover { border-left-color: var(--red); }
.about__features strong { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 700; }
.about__features span { color: var(--text-muted); font-size: 14.5px; }

/* ---------- Process ---------- */
.process__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.process__step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.process__step:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.process__num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(120deg, var(--red), var(--red-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.process__step h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.process__step p { color: var(--text-muted); font-size: 14px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--black);
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 380px at 50% 0%, rgba(230, 57, 70, 0.32), transparent 65%);
}
.cta__inner { position: relative; text-align: center; }
.cta h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 14px;
}
.cta p { color: rgba(255, 255, 255, 0.6); margin-bottom: 32px; font-size: 16px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; }
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: #fdecee;
  color: var(--red);
  font-size: 18px;
}
.contact__item strong { display: block; margin-bottom: 2px; font-weight: 700; }
.contact__item a, .contact__item span { color: var(--text-muted); font-size: 15px; }
.contact__item a:hover { color: var(--red); }

.contact__form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.field input, .field select, .field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.field select option { background: #fff; }
.form__note { font-size: 14px; text-align: center; color: var(--green); }

/* ---------- Footer ---------- */
.footer { background: var(--black-2); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 76px 0 0; color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 56px;
}
.footer__brand p { color: rgba(255, 255, 255, 0.5); font-size: 14px; margin-top: 16px; max-width: 260px; line-height: 1.7; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); margin-bottom: 6px; }
.footer__col a, .footer__col span { color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}
.footer__domain { color: #fff; font-weight: 600; }

.footer__brand-logo {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 1.8s ease-out infinite;
}
.wa-float:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; position: relative; z-index: 1; }

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .6; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 52px; }
  .hero__visual { max-width: 480px; width: 100%; margin: 0 auto; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  .header__inner { height: 72px; }
  .header_logo { max-width: 160px; }
  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    transform: translateY(-120%);
    transition: transform .3s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav__link { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav__cta { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: flex; }

  .hero { padding: 120px 0 64px; }
  .hero__title { font-size: 2.1rem; letter-spacing: -0.03em; }
  .hero__lead { font-size: 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__points { gap: 12px 22px; }

  .hero__visual { max-width: 100%; }
  .terminal__body { padding: 18px 16px; font-size: 13px; }

  .section { padding: 64px 0; }
  .section__head { margin-bottom: 40px; }
  .section__title { font-size: 1.8rem; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 32px 0; }
  .stat__num { font-size: 2.1rem; }
  .stat__plus { font-size: 1.5rem; }

  .services__grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { padding: 26px 22px; }
  .process__steps { grid-template-columns: 1fr; gap: 18px; }

  .cta { padding: 60px 0; }
  .cta h2 { font-size: 1.8rem; }

  .contact__grid { gap: 32px; }
  .contact__form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .chip--a { left: -4px; top: -16px; }
  .chip--b { right: -4px; }
  .chip--c { bottom: -18px; left: 12px; }
}

@media (max-width: 400px) {
  .header__inner { height: 66px; }
  .header_logo { max-width: 132px; }
  .nav { top: 66px; }

  .hero { padding-top: 108px; }
  .hero__title { font-size: 1.8rem; }
  .badge { font-size: 12px; padding: 7px 14px; }

  .terminal__bar { padding: 12px 14px; }
  .terminal__title { display: none; }
  .terminal__body { font-size: 12px; line-height: 1.9; }

  .chip { padding: 8px 14px; font-size: 12px; }

  .about__box { padding: 30px; }
  .about__box-label { font-size: 2.4rem; }

  .stats__grid { gap: 16px; }
  .stat__num { font-size: 1.9rem; }
  .stat__plus { font-size: 1.35rem; }

  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 28px; height: 28px; }
}
