/* =======================================================
   SITE — komponen halaman konten: Beranda, Insight, artikel, Tools, Tentang, Kontak.
   (Untuk Bisnis -> bisnis.css, Portfolio -> portfolio.css, Dashboard -> admin.css)
   Urutan: layout section -> hero Beranda -> page hero -> kartu (pintu, insight, produk) ->
           lead magnet -> tentang -> kontak -> artikel -> CTA band -> responsive
   ============================================================ */

/* ---------- Layout section ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--lav-50); }
.section--tight { padding: 64px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: 42px; font-weight: 800; letter-spacing: -1.4px; line-height: 1.08;
  margin-top: 10px; max-width: 640px;
}
.section-head p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--gray-500); max-width: 560px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center h2, .section-head--center p { margin-left: auto; margin-right: auto; }

/* ---------- Hero Beranda: kartu gambar = hero ----------
   Judul, subjudul, dan tombol ada DI DALAM kartu gambar (kiri atas),
   link "Untuk Bisnis" di kanan bawah, notch tengah bawah berisi marquee topik. */
.home-hero { padding: 88px 0 0; }
.hero-card {
  --notch-bg: var(--white);
  --notch-r: 26px;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 640px; border-radius: var(--radius-xl);
  background: var(--lav-200);
  display: flex; flex-direction: column;
  padding: 64px 56px 96px;
}
.hero-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  object-fit: cover; object-position: 66% 50%;
  transform: scale(1.06); animation: heroZoom 2.4s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(246,244,251,.94) 0%, rgba(246,244,251,.7) 34%, rgba(246,244,251,0) 58%),
    linear-gradient(to top, rgba(59,23,99,.62) 0%, rgba(59,23,99,.14) 34%, transparent 55%);
}
.hero-copy { max-width: 600px; display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy h1 {
  font-size: 80px; font-weight: 800; letter-spacing: -3.4px; line-height: .96;
  text-wrap: balance;
}
.hero-copy p { margin-top: 20px; max-width: 440px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.hero-copy .hero-actions { margin-top: 30px; }
.btn-glass { background: rgba(255,255,255,.7); color: var(--ink); border: 1.5px solid rgba(15,15,18,.85); backdrop-filter: blur(8px); }
.btn-glass:hover { background: var(--ink); color: #fff; }

.hero-bisnis {
  position: absolute; right: 48px; bottom: 44px; max-width: 280px; text-align: right; color: #fff;
}
.hero-bisnis small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .75; margin-bottom: 6px; }
.hero-bisnis strong {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist', sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -.9px; line-height: 1.05;
}
.hero-bisnis strong svg { width: 18px; height: 18px; transition: transform .25s ease; }
.hero-bisnis:hover strong svg { transform: rotate(-45deg); }
.hero-bisnis span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.86); }

.hero-notch {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(520px, 44%); height: 58px; background: var(--notch-bg);
  border-radius: var(--notch-r) var(--notch-r) 0 0; display: flex; align-items: center;
}
.hero-notch::before, .hero-notch::after { content: ""; position: absolute; bottom: 0; width: var(--notch-r); height: var(--notch-r); }
.hero-notch::before { left: calc(var(--notch-r) * -1); background: radial-gradient(circle at 0 0, transparent calc(var(--notch-r) - .5px), var(--notch-bg) var(--notch-r)); }
.hero-notch::after { right: calc(var(--notch-r) * -1); background: radial-gradient(circle at 100% 0, transparent calc(var(--notch-r) - .5px), var(--notch-bg) var(--notch-r)); }
.marquee {
  overflow: hidden; width: 100%; padding-top: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 20px; white-space: nowrap;
  font-family: 'Geist', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: -.2px; color: var(--ink);
}
.marquee-item svg { width: 16px; height: 16px; color: var(--purple-600); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-card { animation: heroUp .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > * { animation: heroUp .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .1s; }
.hero-copy > *:nth-child(3) { animation-delay: .18s; }
.hero-copy > *:nth-child(4) { animation-delay: .26s; }
@media (prefers-reduced-motion: reduce) {
  .hero-card, .hero-copy > *, .hero-card-img, .marquee-track { animation: none; }
  .hero-card-img { transform: none; }
}

/* ---------- Page hero (halaman selain Beranda) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 160px 0 72px; text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(139,47,201,.12), transparent 70%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 {
  font-size: 60px; font-weight: 800; letter-spacing: -2px; line-height: 1.04;
  max-width: 860px; margin: 14px auto 0;
}
.page-hero p { margin: 18px auto 0; max-width: 620px; font-size: 17px; line-height: 1.6; color: var(--gray-500); }
.page-hero .hero-actions { justify-content: center; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 3 pintu ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.door {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 300px; padding: 28px; border-radius: var(--radius-lg);
  background: var(--lav-100); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.door:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(76,29,122,.45); }
.door--ink { background: var(--ink); color: #fff; }
.door--grad { background: var(--purple-grad); color: #fff; }
.door-num { font-family: 'Geist', sans-serif; font-weight: 700; font-size: 16px; opacity: .7; }
.door h3 { font-size: 30px; font-weight: 800; letter-spacing: -1px; line-height: 1.05; margin-top: auto; }
.door p { margin-top: 10px; font-size: 15px; line-height: 1.55; opacity: .75; max-width: 300px; }
.door-go {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); transition: transform .25s ease;
}
.door-go svg { width: 16px; height: 16px; }
.door:hover .door-go { transform: rotate(-45deg); }
.door-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .6; margin-top: 18px; }

/* ---------- Insight cards ---------- */
.insight-grid, [data-render="insight"]:not([data-filterable]) {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.insight-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: #fff; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.insight-card[hidden] { display: none; }
.insight-card:hover { transform: translateY(-4px); border-color: var(--lav-200); box-shadow: 0 24px 50px -30px rgba(76,29,122,.4); }
.insight-card-band {
  aspect-ratio: 16/9; padding: 16px; display: flex; align-items: flex-start;
  background: url('../img/bg1.webp') center/cover;
}
.insight-band--berita-ai { background-position: 70% 40%; }
.insight-band--tools { background: var(--ink) url('../img/bg1.webp') 85% 60%/220% auto; background-blend-mode: luminosity; }
.insight-band--ai-bisnis { background: var(--purple-grad); }
.insight-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.insight-card h3 { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.3px; }
.insight-card p { font-size: 14.5px; line-height: 1.55; color: var(--gray-500); }
.insight-meta { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--gray-400); }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-chip {
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.filter-chip:hover { border-color: var(--lav-200); }
.filter-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { margin-top: 24px; color: var(--gray-500); }

/* ---------- Produk ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden; background: #fff;
}
.product-card.is-soon .product-cover { filter: saturate(.4); }
.product-cover {
  position: relative; aspect-ratio: 4/3; padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; overflow: hidden;
}
.product-cover::after {
  content: ""; position: absolute; right: -18%; bottom: -30%; width: 75%; aspect-ratio: 1;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), transparent 60%);
}
.product-cover--violet { background: var(--purple-grad); }
.product-cover--ink { background: radial-gradient(120% 90% at 100% 100%, #3b1763 0%, var(--ink) 60%); }
.product-cover--lilac { background: linear-gradient(135deg, var(--lav-200), #cdb8f0); color: var(--purple-900); }
.product-cover--lilac::after { border-color: rgba(76,29,122,.25); }
.product-kind { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; position: relative; z-index: 1; }
.product-glyph { font-family: 'Geist', sans-serif; font-weight: 800; font-size: 76px; letter-spacing: -4px; line-height: .9; position: relative; z-index: 1; }
.product-cover .chip--soon { position: absolute; top: 16px; right: 16px; z-index: 1; }
.product-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 19px; font-weight: 700; letter-spacing: -.3px; line-height: 1.3; }
.product-body p { font-size: 14.5px; line-height: 1.55; color: var(--gray-500); }
.product-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.product-price strong { font-family: 'Geist', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.product-price s { font-size: 14px; color: var(--gray-400); }

.featured-product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
  border-radius: var(--radius-xl); overflow: hidden; background: var(--lav-50); border: 1px solid var(--line);
}
.featured-product .product-cover { aspect-ratio: auto; min-height: 380px; padding: 28px; }
.featured-product .product-glyph { font-size: 150px; letter-spacing: -8px; }
.featured-body { padding: 44px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured-body h2 { font-size: 36px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.08; }
.featured-body p { font-size: 16px; line-height: 1.6; color: var(--gray-500); max-width: 440px; }
.featured-body .product-foot { margin-top: 10px; justify-content: flex-start; gap: 20px; }
.featured-body .text-link { margin-top: 8px; }

/* ---------- Lead magnet ---------- */
.lead-magnet {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
  padding: 40px 44px; border-radius: var(--radius-xl);
  background: radial-gradient(90% 140% at 100% 0%, #3b1763 0%, var(--ink) 55%); color: #fff;
}
.lead-magnet-file {
  width: 104px; height: 128px; border-radius: 14px; position: relative;
  background: #fff; color: var(--ink); display: grid; place-items: center;
  font-family: 'Geist', sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -1px;
  transform: rotate(-6deg); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
}
.lead-magnet-file::before {
  content: ""; position: absolute; top: 0; right: 0; width: 26px; height: 26px;
  background: linear-gradient(225deg, #3b1763 50%, var(--lav-200) 50%); border-radius: 0 14px 0 6px;
}
.lead-magnet .chip { background: rgba(255,255,255,.12); color: #fff; }
.lead-magnet h3 { font-size: 30px; font-weight: 800; letter-spacing: -1px; margin-top: 10px; line-height: 1.1; }
.lead-magnet p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.7); max-width: 520px; }
.lead-magnet .btn-primary { background: #fff; color: var(--ink); }
.lead-magnet .btn-primary .btn-arrow { background: var(--ink); color: #fff; }
.lead-magnet .btn[aria-disabled="true"] { opacity: .6; }

/* ---------- Tentang ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-card { padding: 40px; border-radius: var(--radius-xl); background: var(--lav-50); display: flex; flex-direction: column; gap: 16px; }
.about-card h2 { font-size: 32px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.about-card p { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); }
.founder-card { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: start; background: #fff; border: 1px solid var(--line); }
.founder-photo {
  aspect-ratio: 4/5; border-radius: 20px; background: var(--purple-grad);
  display: grid; place-items: center; text-align: center; padding: 12px; color: #fff; font-size: 13px; overflow: hidden;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Kontak ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.contact-card {
  display: flex; flex-direction: column; gap: 10px; padding: 30px; min-height: 220px;
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(76,29,122,.45); }
.contact-card--main { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-card--main .eyebrow { color: rgba(255,255,255,.55); }
.contact-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -.5px; margin-top: auto; word-break: break-word; }
.contact-card p { font-size: 14.5px; line-height: 1.55; color: var(--gray-500); }
.contact-card--main p { color: rgba(255,255,255,.65); }
.contact-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }

/* ---------- Artikel ---------- */
.article { max-width: 720px; margin: 0 auto; padding: 150px 0 40px; }
.article-back { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; color: var(--gray-500); }
.article-back:hover { color: var(--purple-600); }
.article h1 { font-size: 46px; font-weight: 800; letter-spacing: -1.6px; line-height: 1.08; margin-top: 18px; }
.article-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--gray-500); }
.article-body { font-size: 17.5px; line-height: 1.8; color: var(--ink-soft); }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { font-size: 28px; font-weight: 700; letter-spacing: -.6px; line-height: 1.2; margin-top: 1.8em; }
.article-body ul, .article-body ol { padding-left: 1.3em; list-style: disc; }
.article-body a { color: var(--purple-600); text-decoration: underline; text-underline-offset: 3px; }
.article-sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-sources h2 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-400); }
.article-sources ol { margin-top: 12px; padding-left: 1.2em; font-size: 15px; line-height: 1.7; color: var(--gray-500); }

.insight-card-band.has-cover { background-size: cover; background-position: center; background-blend-mode: normal; }
.article-cover { display: block; width: 100%; aspect-ratio: 16/8; object-fit: cover; margin: 32px 0; border-radius: var(--radius-lg); }
.article-cover--blank { background: url('../img/bg1.webp') center/cover; }
.article-lead { margin-top: 16px; font-size: 17px; color: var(--gray-500); }
.article-body h3 { font-size: 21px; font-weight: 700; letter-spacing: -.3px; margin-top: 1.6em; }
.article-body blockquote { border-left: 3px solid var(--purple-600); padding: 4px 0 4px 18px; color: var(--gray-500); font-style: italic; }
.article-body img { border-radius: var(--radius-md); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: 80px 32px; border-radius: var(--radius-xl);
  background: radial-gradient(60% 70% at 50% 50%, rgba(246,244,251,.85), rgba(246,244,251,.2)), url('../img/bg1.webp') 75% 40%/cover;
}
.cta-band h2 { font-size: 46px; font-weight: 800; letter-spacing: -1.6px; line-height: 1.06; max-width: 720px; margin: 0 auto; }
.cta-band p { margin: 14px auto 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); max-width: 520px; }
.cta-band .hero-actions { justify-content: center; }

/* =======================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .home-hero { padding-top: 80px; }
  .hero-card { min-height: 600px; padding: 48px 36px 150px; }
  .hero-card::before { background: linear-gradient(180deg, rgba(246,244,251,.94) 0%, rgba(246,244,251,.6) 45%, rgba(246,244,251,0) 62%), linear-gradient(to top, rgba(59,23,99,.66) 0%, rgba(59,23,99,.14) 34%, transparent 55%); }
  .hero-copy h1 { font-size: 62px; letter-spacing: -2.6px; }
  .hero-notch { width: min(460px, 62%); }
  .section { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head--center { align-items: center; }
  .section-head h2 { font-size: 34px; }
  .page-hero { padding: 132px 0 56px; }
  .page-hero h1 { font-size: 44px; letter-spacing: -1.4px; }
  .doors, .insight-grid, [data-render="insight"]:not([data-filterable]), .product-grid { grid-template-columns: 1fr 1fr; }
  .door:last-child { grid-column: 1 / -1; min-height: 220px; }
  .featured-product { grid-template-columns: 1fr; }
  .featured-product .product-cover { min-height: 260px; }
  .featured-body { padding: 32px; }
  .lead-magnet { grid-template-columns: auto 1fr; }
  .lead-magnet > .btn { grid-column: 1 / -1; justify-self: start; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-card--main { grid-column: 1 / -1; }
  .cta-band h2 { font-size: 36px; }
}

@media (max-width: 640px) {
  .home-hero { padding-top: 88px; }
  .hero-card { --notch-r: 20px; min-height: 0; padding: 48px 22px 210px; border-radius: 24px; }
  .hero-card-img { object-position: 30% 50%; }
  .hero-copy h1 { font-size: 44px; letter-spacing: -1.8px; }
  .hero-copy p { font-size: 16px; }
  .hero-bisnis { left: 22px; right: 22px; bottom: 78px; text-align: left; max-width: none; }
  .hero-bisnis strong { font-size: 24px; }
  .hero-notch { width: calc(100% - 64px); height: 52px; }
  .marquee-item { padding: 0 14px; font-size: 13px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 29px; letter-spacing: -1px; }
  .page-hero { padding: 116px 0 40px; text-align: left; }
  .page-hero h1 { font-size: 36px; letter-spacing: -1.2px; margin-left: 0; }
  .page-hero p { margin-left: 0; font-size: 16px; }
  .page-hero .hero-actions { justify-content: flex-start; }
  .doors, .insight-grid, [data-render="insight"]:not([data-filterable]), .product-grid, .contact-grid, .contact-socials { grid-template-columns: 1fr; }
  .door { min-height: 220px; padding: 24px; }
  .door h3 { font-size: 26px; }
  .featured-product .product-glyph { font-size: 100px; }
  .featured-body { padding: 26px 22px; }
  .featured-body h2 { font-size: 27px; }
  .lead-magnet { grid-template-columns: 1fr; padding: 32px 24px; gap: 22px; }
  .lead-magnet-file { width: 80px; height: 98px; font-size: 24px; }
  .lead-magnet h3 { font-size: 25px; }
  .about-card { padding: 28px 22px; }
  .about-card h2 { font-size: 26px; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-photo { max-width: 180px; }
  .contact-card { min-height: 170px; padding: 24px; }
  .article { padding-top: 120px; }
  .article h1 { font-size: 32px; letter-spacing: -1px; }
  .article-body { font-size: 16.5px; }
  .cta-band { padding: 56px 22px; text-align: left; }
  .cta-band h2 { font-size: 30px; letter-spacing: -1px; margin-left: 0; }
  .cta-band p { margin-left: 0; }
  .cta-band .hero-actions { justify-content: flex-start; }
}
