:root {
  --bg-a: #fff6fb;
  --bg-b: #ffe6f2;
  --bg-c: #ffd8ea;
  --bg-d: #ffcde3;
  --surface: rgba(255, 250, 254, 0.9);
  --surface-strong: rgba(255, 252, 254, 0.96);
  --pink-100: #ffd1e6;
  --pink-200: #ffb5d8;
  --pink-300: #f993c2;
  --pink-500: #e46aa4;
  --pink-700: #b94b7f;
  --berry-900: #4a1630;
  --text-main: #4f2340;
  --text-soft: #78556c;
  --border-soft: rgba(155, 70, 112, 0.22);
  --shadow-sm: 0 10px 22px rgba(161, 64, 111, 0.14);
  --shadow-md: 0 18px 34px rgba(161, 64, 111, 0.18);
  --shadow-lg: 0 24px 60px rgba(161, 64, 111, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(155deg, var(--bg-a) 0%, var(--bg-b) 36%, var(--bg-c) 72%, var(--bg-d) 100%);
}

.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: radial-gradient(circle at 10% 14%, rgba(243, 131, 182, 0.2), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(255, 197, 225, 0.35), transparent 34%),
    radial-gradient(circle at 82% 86%, rgba(187, 81, 131, 0.16), transparent 34%);
}

.floating-sprinkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.floating-sprinkles span {
  position: absolute;
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 191, 222, 0.86));
  box-shadow: 0 8px 18px rgba(161, 64, 111, 0.2);
  animation: floatBlob 7s ease-in-out infinite;
}

.floating-sprinkles span:nth-child(1) {
  left: 5%;
  top: 16%;
}

.floating-sprinkles span:nth-child(2) {
  left: 14%;
  top: 74%;
  width: 20px;
  animation-delay: 0.9s;
}

.floating-sprinkles span:nth-child(3) {
  left: 40%;
  top: 12%;
  width: 16px;
  animation-delay: 0.4s;
}

.floating-sprinkles span:nth-child(4) {
  left: 70%;
  top: 20%;
  animation-delay: 1.3s;
}

.floating-sprinkles span:nth-child(5) {
  left: 86%;
  top: 66%;
  width: 18px;
  animation-delay: 0.2s;
}

.floating-sprinkles span:nth-child(6) {
  left: 58%;
  top: 83%;
  width: 10px;
  animation-delay: 1.7s;
}

.sticker-cloud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.sticker-item {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(164, 74, 118, 0.22);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(255, 222, 240, 0.88));
  box-shadow: var(--shadow-sm);
  transform: rotate(-8deg);
}

.sticker-item .material-symbols-rounded {
  color: var(--pink-700);
  font-size: 1.35rem;
}

.sticker-item.s1 {
  left: 1.6vw;
  top: 30vh;
}

.sticker-item.s2 {
  right: 2vw;
  top: 24vh;
  transform: rotate(9deg);
}

.sticker-item.s3 {
  left: 3vw;
  bottom: 18vh;
  transform: rotate(7deg);
}

.sticker-item.s4 {
  right: 3vw;
  bottom: 14vh;
  transform: rotate(-10deg);
}

.topbar,
.main-nav,
.panel,
.site-footer {
  width: min(1160px, 93vw);
  margin: 0 auto;
}

.topbar {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(130deg, rgba(255, 253, 255, 0.92), rgba(255, 233, 245, 0.78));
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-lockup {
  display: grid;
  gap: 2px;
}

.brand-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  color: var(--pink-700);
  font-weight: 700;
}

.brand-subtitle {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.08rem;
  color: var(--berry-900);
  font-weight: 700;
}

.mini-orbs {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.orb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.44);
}

.orb-a {
  background: #f793c0;
}

.orb-b {
  background: #ffd3e8;
}

.orb-c {
  background: #de5e9a;
}

.top-action {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  background: linear-gradient(122deg, #ed79ad, #be4f83);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(161, 64, 111, 0.33);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-action .material-symbols-rounded {
  font-size: 1.03rem;
}

.top-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(161, 64, 111, 0.36);
}

.main-nav {
  margin-top: 16px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(140deg, rgba(255, 253, 255, 0.95), rgba(255, 236, 247, 0.88));
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 10px;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.nav-links {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.nav-links::-webkit-scrollbar {
  height: 7px;
}

.nav-links::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(155, 70, 112, 0.25);
}

.nav-button {
  border: 1px solid rgba(155, 70, 112, 0.2);
  border-radius: 14px;
  padding: 9px 12px;
  white-space: nowrap;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--berry-900);
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.98), rgba(255, 229, 243, 0.84));
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-icon {
  font-size: 1.02rem;
}

.nav-button .nav-icon,
.nav-button .nav-label {
  pointer-events: none;
}

.nav-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 16px rgba(155, 70, 112, 0.14);
}

.nav-button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, #eb79ad, #b6477a);
  box-shadow: 0 11px 21px rgba(155, 70, 112, 0.34);
}

.nav-select {
  display: none;
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 4px;
  color: var(--berry-900);
  font-family: inherit;
  background: rgba(255, 255, 255, 0.95);
}

.content-shell {
  margin-top: 16px;
}

.panel {
  position: relative;
  overflow: hidden;
  display: none;
  margin-top: 14px;
  border-radius: 30px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(140deg, rgba(255, 253, 255, 0.96), rgba(255, 238, 247, 0.9));
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 4vw, 40px);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 2% 2%, rgba(255, 218, 236, 0.42), transparent 16%),
    radial-gradient(circle at 97% 96%, rgba(241, 148, 192, 0.24), transparent 22%);
  pointer-events: none;
}

.panel::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(228, 106, 164, 0.88), rgba(255, 183, 216, 0.9));
}

.panel.active {
  display: block;
  animation: panelIn 0.3s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(155, 70, 112, 0.14);
  padding: clamp(22px, 4.2vw, 42px);
  background: linear-gradient(136deg, rgba(255, 253, 255, 0.99), rgba(255, 227, 242, 0.9));
}

.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -170px;
  top: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 216, 0.62), transparent 70%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: -90px;
  bottom: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 226, 0.54), transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 72ch;
}

.doc-tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--pink-700);
  font-weight: 700;
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: "Fraunces", serif;
  color: var(--berry-900);
}

h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 6vw, 3.9rem);
  line-height: 1.06;
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.1;
}

.hero-role {
  margin: 10px 0 0;
  font-size: clamp(1.03rem, 2.6vw, 1.4rem);
  color: var(--pink-700);
  font-weight: 700;
}

.hero-desc,
.card-text,
.lead-text,
.paragraph-list p,
.stack-card p,
.detail-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 0.96rem;
}

.hero-desc {
  margin-top: 14px;
}

.chip-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(155, 70, 112, 0.2);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--berry-900);
  font-size: 0.84rem;
  font-weight: 700;
}

.cute-strip {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cute-pill {
  border-radius: 999px;
  border: 1px dashed rgba(155, 70, 112, 0.32);
  padding: 6px 12px;
  font-size: 0.78rem;
  color: var(--pink-700);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.98), rgba(255, 226, 241, 0.9));
}

.hero-badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(155, 70, 112, 0.24);
  padding: 7px 12px;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.98), rgba(255, 218, 237, 0.9));
  color: var(--berry-900);
  font-size: 0.81rem;
  font-weight: 700;
}

.hero-badge .material-symbols-rounded {
  font-size: 1rem;
  color: var(--pink-700);
}

.hero-seal {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 136px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(155, 70, 112, 0.24);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.98), rgba(255, 219, 237, 0.93));
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.62), 0 11px 22px rgba(161, 64, 111, 0.22);
  z-index: 1;
}

.hero-seal span {
  font-family: "Fraunces", serif;
  font-size: 1.74rem;
  line-height: 1;
  font-weight: 700;
}

.hero-seal small {
  margin-top: 5px;
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink-700);
}

.beranda-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.glass-card,
.stack-card,
.detail-card,
.refleksi-cycle {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(155, 70, 112, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 230, 243, 0.9));
  padding: clamp(16px, 2.6vw, 24px);
}

.glass-card::after,
.stack-card::after,
.detail-card::after,
.refleksi-cycle::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 191, 221, 0.4), rgba(255, 191, 221, 0));
}

.card-ico {
  font-size: 1.35rem;
  color: var(--pink-700);
  margin-bottom: 8px;
  display: inline-block;
}

.quote-card {
  background: linear-gradient(150deg, rgba(180, 70, 123, 0.95), rgba(236, 112, 168, 0.9));
  border-color: rgba(116, 39, 74, 0.4);
}

.quote-card blockquote,
.quote-card .quote-source,
.quote-card .quote-mark,
.quote-card .card-ico {
  color: #fff;
}

.quote-mark {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 4.2rem;
  line-height: 0.72;
}

blockquote {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.35;
}

.quote-source {
  margin-top: 12px;
  font-size: 0.86rem;
}

.card-kicker,
.section-kicker,
.item-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--pink-700);
  font-weight: 800;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.section-head-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-head-icons .material-symbols-rounded {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(155, 70, 112, 0.18);
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--pink-700);
}

.subsection-head {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.model-subsection {
  margin-top: 20px;
}

.model-subsection h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.78rem);
  line-height: 1.14;
}

.model-subsection .stack-card h3,
.model-subsection .detail-card h3 {
  margin-top: 0;
}

.paragraph-list {
  display: grid;
  gap: 12px;
}

.paragraph-list p {
  border: 1px solid rgba(155, 70, 112, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  padding: 14px 16px;
}

.resource-header {
  margin-top: 4px;
}

.resource-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(155, 70, 112, 0.25);
  padding: 8px 13px;
  text-decoration: none;
  color: var(--berry-900);
  font-size: 0.84rem;
  font-weight: 700;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.98), rgba(255, 225, 240, 0.88));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-icon {
  font-size: 1rem;
  color: var(--pink-700);
}

.resource-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(155, 70, 112, 0.16);
}

.video-zone {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.video-embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cycle-card {
  border-radius: 14px;
  border: 1px solid rgba(155, 70, 112, 0.16);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(255, 229, 241, 0.84));
  padding: 12px;
  display: grid;
  gap: 8px;
}

.video-title {
  margin: 0;
  color: var(--berry-900);
  font-size: 0.95rem;
  font-weight: 700;
}

.video-frame-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(155, 70, 112, 0.2);
}

.video-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.media-note {
  margin-top: 12px;
  border: 1px dashed rgba(155, 70, 112, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
  padding: 12px 14px;
}

.lead-text {
  font-size: 1.02rem;
}

.stack-list,
.card-grid {
  display: grid;
  gap: 12px;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack-card h3,
.detail-card h3 {
  margin-top: 6px;
  font-size: clamp(1.22rem, 2.3vw, 1.58rem);
}

.stack-card p,
.detail-card p {
  margin-top: 8px;
}

.refleksi-content {
  display: grid;
  gap: 14px;
}

.refleksi-cycle {
  display: grid;
  gap: 12px;
}

.refleksi-cycle h3 {
  font-size: clamp(1.32rem, 2.2vw, 1.8rem);
}

.refleksi-block {
  display: grid;
  gap: 8px;
}

.refleksi-block h4 {
  margin: 0;
  color: var(--berry-900);
  font-size: 1rem;
  font-family: "Baloo 2", "Segoe UI", sans-serif;
}

.refleksi-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.refleksi-list li {
  color: var(--text-soft);
  line-height: 1.72;
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 18px;
  margin-bottom: 24px;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(140deg, rgba(255, 252, 254, 0.98), rgba(255, 234, 245, 0.92));
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: 18px;
  color: var(--text-soft);
}

.foot-note {
  margin: 6px 0 0;
  color: var(--pink-700);
  font-size: 0.84rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1100px) {
  .sticker-item {
    opacity: 0.6;
  }
}

@media (max-width: 1024px) {
  .beranda-grid,
  .video-embed-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-seal {
    width: 110px;
  }
}

@media (max-width: 860px) {
  .mini-orbs,
  .sticker-cloud {
    display: none;
  }

  .topbar {
    padding: 9px 12px;
  }

  .hero-seal {
    right: 12px;
    bottom: 12px;
    width: 100px;
  }

  .hero-seal span {
    font-size: 1.38rem;
  }

  .panel {
    border-radius: 22px;
  }
}

@media (max-width: 760px) {
  .main-nav {
    top: 8px;
  }

  .nav-links {
    display: none;
  }

  .nav-select {
    display: block;
  }

  .top-action {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .top-action .material-symbols-rounded {
    font-size: 0.94rem;
  }

  .hero-badge,
  .cute-pill {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel.active,
  .reveal,
  .top-action,
  .nav-button,
  .floating-sprinkles span {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}
