@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #191b2d;
  --muted: #73778a;
  --purple: #6254e8;
  --line: #e8e9f2;
  --bg: #f7f8fc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER GLOBAL */
.header {
  height: 72px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 5.5%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  flex: 0 0 auto;
}

.brand .logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  overflow: hidden;
}

.brand .logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

.brand-name,
.dot {
  display: none;
}

/* NAVIGASI DESKTOP */
.header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.header nav a {
  display: inline-block;
  color: var(--ink);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.header nav a:hover,
.header nav a:focus-visible {
  color: var(--purple);
}

.header nav .navbutton {
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 11px;
}

.header nav .navbutton:hover,
.header nav .navbutton:focus-visible {
  background: var(--purple);
  color: #fff;
}

.menu {
  display: none;
}

/* HERO */
.hero {
  max-width: 1200px;
  margin: auto;
  padding: 70px 25px 65px;
  min-height: 555px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
  overflow: hidden;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--purple);
}

.eyebrow i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #9188ff;
  border-radius: 50%;
  margin-right: 8px;
}

.hero h1 {
  font: 800 clamp(48px, 5.5vw, 68px)/1.1 'Manrope', sans-serif;
  letter-spacing: -3px;
  margin: 20px 0;
}

.hero h1 span,
h2 span {
  color: var(--purple);
}

.copy > p {
  color: var(--muted);
  font-size: 16px;
  max-width: 460px;
  line-height: 1.8;
}

.actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 27px;
}

.button {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(98, 84, 232, 0.17);
}

.actions small {
  color: var(--muted);
  font-size: 12px;
}

.stats {
  display: flex;
  gap: 35px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 440px;
}

.stats div {
  display: flex;
  flex-direction: column;
}

.stats b {
  font: 800 21px 'Manrope', sans-serif;
}

.stats small {
  font-size: 11px;
  color: var(--muted);
}

/* ILUSTRASI HERO */
.visual {
  height: 390px;
  position: relative;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #dcd8ff,
    rgba(233, 231, 255, 0.5) 48%,
    transparent 72%
  );
}

.orbit {
  position: absolute;
  width: 360px;
  height: 240px;
  border: 1px solid #d5d1fa;
  border-radius: 50%;
  transform: rotate(-25deg);
}

.center {
  width: 120px;
  height: 140px;
  border-radius: 25px;
  background: linear-gradient(145deg, #786cf4, #5144d4);
  box-shadow: 0 20px 55px rgba(85, 72, 211, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 48px;
  transform: rotate(-5deg);
  z-index: 1;
}

.center b {
  font: 800 20px 'Manrope', sans-serif;
}

.file {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: 1px solid #eeedf8;
  box-shadow: 0 15px 40px rgba(48, 54, 90, 0.08);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 205px;
}

.file > strong {
  width: 39px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff0f0;
  color: #e45863;
  font-size: 9px;
}

.file span {
  display: flex;
  flex-direction: column;
}

.file span b {
  font-size: 11px;
}

.file span small {
  font-size: 10px;
  color: #8a8da0;
}

.file em {
  margin-left: auto;
  color: #249d78;
  background: #e7f8f1;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  font-size: 12px;
  font-style: normal;
}

.pdf {
  top: 43px;
  left: 0;
  transform: rotate(-5deg);
}

.image {
  right: -5px;
  top: 145px;
  transform: rotate(4deg);
}

.image > strong {
  background: #e9f7f0;
  color: #249d78;
}

.webp {
  left: 15px;
  bottom: 35px;
  transform: rotate(3deg);
}

.webp > strong {
  background: #eeedff;
  color: var(--purple);
  font-size: 8px;
}

.spark {
  position: absolute;
  color: #928aff;
  font-size: 26px;
}

.s1 {
  top: 20px;
  right: 65px;
}

.s2 {
  left: 15px;
  top: 170px;
}

/* DAFTAR ALAT */
.tools {
  background: #fff;
  padding: 85px max(5.5vw, 24px) 95px;
}

.sectionhead {
  max-width: 1150px;
  margin: 0 auto 35px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.sectionhead h2,
.how h2 {
  font: 800 41px/1.2 'Manrope', sans-serif;
  letter-spacing: -1.8px;
  margin: 12px 0 0;
}

.sectionhead > p {
  max-width: 330px;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 5px;
}

.grid {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tool {
  position: relative;
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 23px;
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.tool:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(36, 38, 74, 0.05);
  border-color: #d8d4ff;
}

.tool.featured {
  background: linear-gradient(145deg, #f8f7ff, #fff);
  border-color: #dedaff;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 17px;
}

.purple {
  background: #eeecff;
  color: #6254e8;
}

.coral {
  background: #fff0ee;
  color: #e46a5d;
}

.blue {
  background: #eaf2ff;
  color: #477be4;
}

.green {
  background: #e7f8f0;
  color: #279c76;
}

.amber {
  background: #fff5df;
  color: #bd8418;
}

.tool > small {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: #9396a8;
}

.tool h3 {
  font: 700 18px 'Manrope', sans-serif;
  margin: 4px 0 6px;
}

.tool p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 34px;
}

.open {
  position: absolute;
  left: 23px;
  bottom: 18px;
  color: var(--purple);
  font-size: 12px;
}

/* CARA KERJA */
.how {
  max-width: 1150px;
  margin: auto;
  padding: 85px 24px 90px;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}

.steps article {
  padding: 25px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 17px;
  min-height: 210px;
}

.num {
  font-size: 11px;
  color: #9188ee;
  letter-spacing: 1px;
}

.stepicon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #f0efff;
  border-radius: 12px;
  color: var(--purple);
  font-size: 22px;
  margin: 18px 0 12px;
}

.steps h3,
.privacy h3 {
  font: 700 16px 'Manrope', sans-serif;
  margin: 0 0 6px;
}

.steps p,
.privacy p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* PRIVASI */
.privacy {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 25px 30px;
  background: #eeedff;
  border: 1px solid #e0ddff;
  border-radius: 19px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.privacyicon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  color: var(--purple);
  font-size: 30px;
  flex-shrink: 0;
}

/* FOOTER */
footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px max(5.5vw, 24px);
  border-top: 1px solid var(--line);
  background: #fff;
}

footer .brand {
  font-size: 20px;
}

footer .brand .logo {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

footer p,
footer small {
  font-size: 11px;
  color: var(--muted);
}

footer small {
  margin-left: auto;
}

/* TABLET */
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .visual {
    max-width: 500px;
    width: 100%;
    margin: auto;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectionhead {
    align-items: flex-start;
    flex-direction: column;
  }

  .privacy {
    margin-left: 24px;
    margin-right: 24px;
  }
}

/* MOBILE */
@media (max-width: 580px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    isolation: isolate;
    height: 64px;
    min-height: 64px;
    padding: 6px 18px;
  }

  .brand .logo {
    width: 92px;
    height: 48px;
    flex-basis: 92px;
  }

  .menu {
    display: block;
    position: relative;
    z-index: 1002;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 44px;
  }

  /* DROPDOWN MOBILE */
  .header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 18px;
    margin: 0;
    background: #fff;
    opacity: 1;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(25, 27, 45, 0.12);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    z-index: 1001;
  }

  .header nav.open {
    display: flex;
  }

  .header nav a {
    display: block;
    width: 100%;
    padding: 12px 4px;
    color: var(--ink);
    text-align: left;
    line-height: 1.5;
  }

  .header nav a:hover,
  .header nav a:focus-visible {
    color: var(--purple);
  }

  .header nav .navbutton {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px 16px;
    border-radius: 11px;
    background: var(--ink);
    color: #fff;
    text-align: center;
  }

  .header nav .navbutton:hover,
  .header nav .navbutton:focus-visible {
    background: var(--purple);
    color: #fff;
  }

  .hero {
    padding: 48px 20px 35px;
    gap: 0;
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: -2.5px;
  }

  .copy > p {
    font-size: 14px;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .stats {
    gap: 20px;
    margin-top: 30px;
  }

  .stats b {
    font-size: 19px;
  }

  .visual {
    height: 310px;
    transform: scale(0.87);
    transform-origin: top center;
    margin-bottom: -38px;
  }

  .orbit {
    width: 300px;
    height: 200px;
  }

  .pdf {
    left: -8px;
    top: 30px;
  }

  .image {
    right: -20px;
    top: 125px;
  }

  .webp {
    left: -8px;
    bottom: 24px;
  }

  .tools {
    padding: 60px 18px;
  }

  .sectionhead h2,
  .how h2 {
    font-size: 34px;
  }

  .grid,
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tool {
    min-height: 230px;
  }

  .how {
    padding: 60px 18px;
  }

  .privacy {
    margin: 0 18px 50px;
    padding: 20px;
    align-items: flex-start;
    gap: 13px;
  }

  footer {
    padding: 20px 18px;
    flex-wrap: wrap;
  }

  footer p {
    width: 100%;
    order: 3;
    margin: 0;
  }

  footer small {
    font-size: 10px;
  }

  footer .brand .logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}



/* FIX MENU MOBILE FILEO */
@media (max-width: 580px) {
  header.header {
    position: sticky;
    top: 0;
    z-index: 3000;
    background: #ffffff;
  }

  header.header nav {
    display: none !important;
    position: fixed !important;
    top: 88px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 18px !important;
    flex-direction: column !important;
    gap: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 24px rgba(25, 27, 45, 0.15) !important;
    z-index: 2999 !important;
  }

  header.header nav.open {
    display: flex !important;
  }

  header.header nav a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}
