/* ==========================================================================
   NUSANTARA CODE — LANDING PAGE (DESKTOP)
   ========================================================================== */

:root {
  /* Brand */
  --blue: #0866f5;
  --blue-deep: #0083e0;
  --blue-soft: #cde1ff;
  --navy: #102c58;
  --slate: #586b87;
  --line: #dde7f5;
  --sky: #f2f7ff;
  --sky-2: #e8f2ff;
  --lilac: #e9eeff;
  --dot: #d9e4f3;
  --white: #ffffff;

  /* Fonts */
  --display: "Archivo Black", "Arial Black", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --logo: "Poppins", var(--text);
  --badge: "Acme", var(--text);

  /* Layout */
  --page: 1440px;
  --gutter: 56px;
  --gap-section: 24px;
  --radius-card: 24px;
  --radius-block: 32px;
  --shadow-soft: 0 30px 60px -40px rgba(16, 44, 88, 0.45);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid rgba(8, 102, 245, 0.45); outline-offset: 3px; border-radius: 6px; }

/* ---------- Page shell (fixed desktop canvas) ---------- */
.page {
  width: var(--page);
  margin: 0 auto;
  padding-top: 31px;
  display: flex;
  flex-direction: column;
}

.discover { margin-top: 52px; }
.about    { margin-top: 21px; }
.services { margin-top: 63px; }
.blog     { margin-top: 128px; }
.contact  { margin-top: 128px; }
.site-footer { margin-top: 24px; }

/* ---------- Shared type ---------- */
.eyebrow {
  color: var(--blue);
  font-family: var(--text);
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section__title {
  margin-top: 10px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.4;
  color: var(--navy);
}

.section__title--regular { font-style: normal; }

.section__desc {
  margin-top: 10px;
  color: var(--slate);
  font-size: 17px;
  font-style: italic;
  line-height: 1.45;
}

/* ==========================================================================
   HOME / HERO — 1440 × 836
   ========================================================================== */
.hero {
  position: relative;
  height: 836px;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 36, 120, 0.30) 0%, rgba(8, 102, 245, 0.16) 60%, rgba(6, 40, 140, 0.38) 100%),
    url("../assets/image%202.png") center / cover no-repeat,
    var(--blue);
}

/* ---------- Hero content ---------- */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 129px;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 432px;
  height: 48px;
  border: 1px solid rgba(255, 226, 226, 0.31);
  border-radius: 999px;
  background: rgba(217, 217, 217, 0.20);
  color: var(--white);
  font-family: var(--badge);
  font-size: 24px;
  font-style: italic;
  line-height: 1;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero__title {
  width: 999px;
  height: 207px;
  margin-top: 92px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.618;
  letter-spacing: 0;
  color: var(--white);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 344px;
  height: 82px;
  margin-top: 97px;
  border-radius: 38px;
  background: var(--blue-deep);
  color: var(--white);
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: 0;
  box-shadow: 0 4px 4px rgba(255, 255, 255, 0.25), 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.hero__cta:hover { background: #0074c8; transform: translateY(-2px); }
.hero__cta:active { transform: translateY(1px); }

.hero__cta-icon { width: 38px; height: 38px; flex: 0 0 auto; }

/* ==========================================================================
   IKON
   ========================================================================== */
.icon-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: currentColor;
}

.icon-slot > svg,
.icon-slot > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.icon-slot:empty {
  border: 1px dashed currentColor;
  border-radius: 4px;
  opacity: 0.35;
}

.icon-slot.is-flipped > svg { transform: scaleX(-1); }
.icon-slot.is-up-right > svg { transform: rotate(-45deg); }

/* ==========================================================================
   DISCOVER / CAROUSEL — 1440 × 712
   ========================================================================== */
.discover {
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 712px;
  padding: 28px var(--gutter) 48px;
  background: var(--white);
  overflow: hidden;
}

.discover__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.discover__intro { width: 438px; }
.discover__intro .section__title { margin-top: 10px; }

.carousel-controls { display: flex; gap: 10px; }

.round-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-family: var(--text);
  font-style: italic;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.round-btn:hover { transform: translateY(-2px); border-color: #c3d6f0; }
.round-btn--primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.round-btn__icon { width: 24px; height: 24px; }

.carousel {
  display: flex;
  gap: 24px;
  height: 443px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 0 0 auto;
}

.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: 6px; }

.card {
  flex: 0 0 500px;
  display: flex;
  flex-direction: column;
  height: 443px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.card__preview {
  flex: 0 0 236px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card__preview--sky { background: var(--sky-2); }
.card__preview--lilac { background: var(--lilac); }
.card__preview--blue { background: var(--blue); color: var(--white); }

.snippet {
  width: 100%;
  height: 133px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--navy);
}

.snippet p {
  font-size: 14px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
  white-space: nowrap;
}

.snippet p + p { margin-top: 7px; }

.project-board {
  width: 100%;
  height: 147px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--white);
}

.project-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-board__title {
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
}

.project-board__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 29px;
  padding: 0 12px;
  border-radius: 30px;
  background: #e7f1ff;
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  color: var(--blue);
}

.milestones {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.milestone {
  flex: 1 1 0;
  height: 70px;
  padding: 14px 12px;
  border-radius: 8px;
}

.milestone--ideate { background: #eff6ff; }
.milestone--create { background: #e8f6f2; }
.milestone--launch { background: #fff4de; }

.milestone__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  color: var(--slate);
}

.milestone__value {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  color: var(--navy);
}

.card__preview-label {
  font-size: 11px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
}

.card__preview-title {
  margin-top: 12px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.4;
  color: var(--white);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px;
  flex: 1 1 auto;
}

.card__title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  color: var(--navy);
}

.card__desc { font-size: 16px; font-style: italic; line-height: 1.4; color: var(--slate); }

.card__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  color: var(--blue);
}

.card__more:hover { text-decoration: underline; text-underline-offset: 4px; }
.card__more-icon { width: 16px; height: 28px; }

.carousel-position {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dots { display: flex; gap: 8px; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--dot);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.dot.is-active { width: 40px; background: var(--blue); }
.carousel-count { font-size: 13px; font-weight: 500; font-style: italic; color: var(--slate); }

/* ==========================================================================
   ABOUT — 1280 × 720
   ========================================================================== */
.about {
  position: relative;
  width: 1280px;
  height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 600px minmax(0, 1fr);
  border-radius: 28px;
  background: var(--white);
  overflow: hidden;
}

.about__art {
  background: #0b2a5b url("../assets/ytt.png") center / cover no-repeat;
}

.about__content {
  padding: 23px 84px 32px 56px;
}

.about__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--sky-2);
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.about__title {
  margin-top: 23px;
  font-family: var(--text);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
}

.about__desc {
  width: 520px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 31px;
}

.about__features li { display: flex; gap: 16px; align-items: flex-start; }

.about__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--white);
}

.about__icon--belajar     { background: #0866f5; }
.about__icon--kolaborasi  { background: #0e9f6e; }
.about__icon--berkembang  { background: #7c3aed; }

.about__features strong { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }
.about__features p { margin-top: 0; font-size: 12px; line-height: 1.4; color: var(--slate); }

.about__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 52px;
  margin-top: 34px;
  border: 1px solid #d6e2f5;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.about__cta:hover { border-color: var(--blue); transform: translateY(-2px); }

/* ==========================================================================
   SERVICES / ROADMAP — 1440 × 755
   ========================================================================== */
.services {
  display: flex;
  flex-direction: column;
  gap: 36px;
  height: 755px;
  padding: 56px;
  border-radius: var(--radius-block);
  background: var(--sky);
}

.services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.services__heading { width: 850px; }
.services__heading .section__title { margin-top: 10px; }

.services__desc {
  width: 390px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--slate);
}

.services__grid {
  display: grid;
  grid-template-columns: 416px minmax(0, 1fr);
  gap: 24px;
}

.approach {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 530px;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--blue);
  color: var(--white);
}

.approach__message { display: flex; flex-direction: column; gap: 16px; }

.approach__eyebrow {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  color: #d9e9ff;
}

.approach__title {
  font-family: var(--display);
  font-style: normal;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.4;
  color: var(--white);
}

.approach__desc { font-size: 16px; line-height: 1.4; color: #e4eeff; }

.approach__steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 67px;
}

.approach__steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
}

.approach__steps span { font-size: 12px; font-weight: 500; color: var(--blue-soft); }

.approach__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 57px;
  margin-top: auto;
  padding: 14px 18px;
  border-radius: 28px;
  background: var(--white);
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.4;
  transition: transform 0.18s ease;
}

.approach__cta-icon { width: 17px; height: 29px; }
.approach__cta:hover { transform: translateY(-2px); }

.service-list { display: flex; flex-direction: column; gap: 16px; }

.service {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 22px 28px;
  height: 132px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-list li:nth-child(2) .service { height: 126px; }
.service-list li:nth-child(3) .service { height: 130px; }

.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

.service__n { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--blue); }

.service__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; }

.service__title {
  font-family: var(--display);
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  color: var(--navy);
}

.service__desc { font-size: 15px; line-height: 1.4; color: var(--slate); }

.service__tags { display: flex; gap: 16px; font-size: 11px; font-weight: 500; line-height: 1.4; color: var(--blue); }

.service__arrow { width: 18px; height: 32px; color: var(--blue); }

/* ==========================================================================
   BLOG — 1440 × 537
   ========================================================================== */
.blog {
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 537px;
  padding: 56px;
  background: var(--white);
}

.blog .eyebrow { line-height: 1.45; }
.blog .section__title { margin-top: 0; line-height: 1.45; }

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.post .eyebrow { line-height: 1.45; }

.post__title {
  margin-top: 8px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.45;
  color: var(--navy);
}

.post__desc {
  margin-top: -8px;
  font-size: 16px;
  font-style: italic;
  line-height: 1.45;
  color: var(--slate);
}

.post__link {
  margin-top: auto;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;
  color: var(--blue);
}

.post__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   CONTACT — 1440 × 323
   ========================================================================== */
.contact {
  display: flex;
  gap: 56px;
  height: 323px;
  padding: 56px;
  border-radius: var(--radius-block);
  background: var(--sky);
}

.contact__intro { display: flex; flex-direction: column; gap: 20px; width: 636px; }

.contact .eyebrow { line-height: 1.45; }
.contact .section__title { margin-top: 0; line-height: 1.45; }
.contact .section__desc { margin-top: 0; line-height: 1.45; }

.contact__action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  width: 636px;
}

.contact__question { font-size: 20px; font-weight: 600; font-style: italic; line-height: 1.45; color: var(--navy); }

.contact__btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 59px;
  padding: 18px 24px;
  border: 0;
  border-radius: 28px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.contact__btn:hover { background: #0a55d6; }
.contact__note { font-size: 14px; font-style: italic; line-height: 1.45; color: var(--slate); }

/* ==========================================================================
   FOOTER — 1440 × 87
   ========================================================================== */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 87px;
  padding: 32px 56px;
  background: var(--white);
}

.site-footer__brand {
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;
  color: var(--navy);
}

.site-footer__tagline { font-size: 14px; font-style: italic; line-height: 1.45; color: var(--slate); }

.site-footer__copy {
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;
  color: var(--blue);
}

.site-footer__copy:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}