:root {
  color-scheme: dark;
  --home-bg: #07111f;
  --home-bg-soft: #101827;
  --home-surface: rgba(255, 255, 255, 0.08);
  --home-surface-strong: rgba(255, 255, 255, 0.13);
  --home-ink: #ffffff;
  --home-muted: #b7c7d3;
  --home-line: rgba(255, 255, 255, 0.14);
  --home-cyan: #18c8ff;
  --home-blue: #055e9a;
  --home-orange: #f06418;
  --home-amber: #ffd85a;
  --home-cream: #fff4cf;
  --home-navy: #06101e;
  --home-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body.home-landing-page {
  min-height: 100%;
  margin: 0;
  color: var(--home-ink);
  background:
    linear-gradient(180deg, rgba(6, 16, 30, 0.88), rgba(16, 24, 39, 0.9) 52%, rgba(6, 16, 30, 0.92)),
    radial-gradient(circle at 48% 0%, rgba(24, 200, 255, 0.24), transparent 32rem),
    radial-gradient(circle at 86% 18%, rgba(240, 100, 24, 0.18), transparent 25rem),
    url("https://pejuanghartanah.com/wp-content/uploads/2019/04/cabaranbiz1.jpg") center top / cover fixed;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body.home-landing-page a {
  color: inherit;
}

.promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 18px;
  color: var(--home-navy);
  background: linear-gradient(90deg, var(--home-cyan), var(--home-amber), var(--home-orange));
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.promo-bar a {
  color: #101221;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--home-line);
  background: rgba(6, 16, 30, 0.82);
  backdrop-filter: blur(18px);
}

.home-brand,
.home-nav-links,
.home-nav-actions,
.home-cta-primary,
.home-cta-secondary {
  display: inline-flex;
  align-items: center;
}

.home-brand {
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 900;
}

.home-brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
}

.home-nav-links {
  flex: 1;
  justify-content: center;
  gap: 8px;
}

.home-nav-links a,
.home-nav-actions a {
  min-height: 42px;
  padding: 0 13px;
  border-radius: 8px;
  color: var(--home-muted);
  font-weight: 800;
  text-decoration: none;
}

.home-nav-links a:hover,
.home-nav-actions a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.home-nav-actions {
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.home-nav-actions .home-nav-primary {
  color: #070815;
  background: #ffffff;
}

.home-nav-actions .home-nav-primary:hover {
  color: #070815;
  background: var(--home-amber);
}

.home-hero,
.feature-strip,
.writing-section,
.templates-section,
.steps-section,
.pricing-section,
.faq-section,
.final-cta {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  align-items: center;
  gap: 44px;
  min-height: auto;
  padding: 64px 0 72px;
}

.hero-copy {
  max-width: 760px;
}

.home-kicker,
.section-heading p {
  margin: 0 0 14px;
  color: var(--home-cyan);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.9rem, 5.8vw, 5.2rem);
  line-height: 1;
}

.home-lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--home-muted);
  font-size: 1.18rem;
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.home-cta-primary,
.home-cta-secondary,
.pricing-card a,
.final-cta a {
  justify-content: center;
  min-height: 50px;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 900;
  text-decoration: none;
}

.home-cta-primary,
.pricing-card a,
.final-cta a {
  color: #070815;
  background: linear-gradient(90deg, var(--home-cyan), var(--home-amber));
  box-shadow: 0 18px 42px rgba(24, 200, 255, 0.18);
}

.home-cta-secondary {
  border: 1px solid var(--home-line);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  color: var(--home-muted);
}

.hero-metrics span {
  padding: 10px 14px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-metrics strong {
  color: #ffffff;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 184px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(6, 16, 30, 0.72);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.app-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.app-badge span {
  display: grid;
  line-height: 1.12;
}

.app-badge small {
  color: var(--home-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.app-badge strong {
  font-size: 1.05rem;
}

.app-badge:hover {
  border-color: rgba(24, 200, 255, 0.5);
  background: rgba(6, 16, 30, 0.9);
}

.app-badge.is-disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.app-badge.is-disabled svg {
  color: var(--home-amber);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 0;
}

.dashboard-card {
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.06));
  box-shadow: var(--home-shadow);
  backdrop-filter: blur(18px);
}

.main-preview {
  padding: 18px;
}

.preview-top,
.product-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}

.preview-top span,
.product-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--home-orange);
}

.preview-top span:nth-child(2),
.product-toolbar span:nth-child(2) {
  background: var(--home-amber);
}

.preview-top span:nth-child(3),
.product-toolbar span:nth-child(3) {
  background: var(--home-amber);
}

.preview-top strong {
  margin-left: auto;
  color: var(--home-muted);
  font-size: 0.9rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

.preview-stat,
.preview-feed {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: rgba(8, 10, 22, 0.54);
}

.preview-stat b {
  display: block;
  color: var(--home-amber);
  font-size: 2.4rem;
  line-height: 1;
}

.preview-stat small,
.preview-feed span,
.floating-card span {
  color: var(--home-muted);
}

.preview-feed {
  display: grid;
  align-content: end;
  gap: 8px;
  grid-column: span 2;
  min-height: 138px;
  background:
    linear-gradient(135deg, rgba(24, 200, 255, 0.2), rgba(240, 100, 24, 0.14)),
    rgba(8, 10, 22, 0.54);
}

.preview-feed.is-alt {
  background:
    linear-gradient(135deg, rgba(255, 216, 90, 0.16), rgba(255, 244, 207, 0.12)),
    rgba(8, 10, 22, 0.54);
}

.floating-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
}

.floating-card img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
}

.floating-card div {
  display: grid;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.writing-section h2,
.pricing-section h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.feature-strip,
.writing-section,
.templates-section,
.steps-section,
.pricing-section,
.faq-section,
.final-cta {
  padding: 68px 0;
}

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

.feature-card,
.template-grid a,
.steps-grid article,
.faq-grid article,
.pricing-card {
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-surface);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.16);
}

.feature-card {
  min-height: 228px;
  padding: 24px;
}

.feature-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #08101c;
  background: var(--home-cyan);
  font-weight: 900;
}

.feature-card:nth-child(2n) span {
  background: var(--home-amber);
}

.feature-card:nth-child(3n) span {
  background: var(--home-amber);
}

.feature-card h3,
.faq-grid h3 {
  margin: 22px 0 10px;
  font-size: 1.2rem;
}

.feature-card p,
.writing-section p,
.pricing-section p,
.faq-grid p,
.final-cta p {
  margin: 0;
  color: var(--home-muted);
}

.writing-section,
.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  align-items: center;
  gap: 44px;
}

.writing-section p,
.pricing-section p {
  margin-top: 18px;
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--home-cyan);
  font-weight: 900;
  text-decoration: none;
}

.product-panel {
  min-height: 360px;
  padding: 22px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(24, 200, 255, 0.14), rgba(240, 100, 24, 0.08)),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--home-shadow);
}

.product-line {
  height: 42px;
  margin-top: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.product-line.wide {
  height: 92px;
  background: linear-gradient(90deg, rgba(24, 200, 255, 0.36), rgba(240, 100, 24, 0.22));
}

.product-line.short {
  width: 66%;
}

.product-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.product-actions span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 8px;
  color: #07101b;
  background: var(--home-cream);
  font-weight: 900;
}

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

.template-grid a {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 18px;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.template-grid a:hover,
.feature-card:hover,
.faq-grid article:hover {
  background: var(--home-surface-strong);
}

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

.steps-grid article {
  min-height: 190px;
  padding: 24px;
}

.steps-grid span {
  display: block;
  color: var(--home-cyan);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.steps-grid p {
  margin: 22px 0 0;
  color: var(--home-muted);
  font-size: 1.04rem;
}

.pricing-card {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.pricing-card span {
  color: var(--home-cyan);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card strong {
  font-size: 4rem;
  line-height: 1;
}

.pricing-card a {
  width: 100%;
}

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

.faq-grid article {
  padding: 24px;
}

.faq-grid h3 {
  margin-top: 0;
}

.final-cta {
  margin-bottom: 40px;
  padding: 54px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(24, 200, 255, 0.18), rgba(240, 100, 24, 0.16), rgba(255, 216, 90, 0.1)),
    rgba(255, 255, 255, 0.06);
  text-align: center;
}

.final-cta p {
  max-width: 680px;
  margin: 18px auto 0;
}

.final-cta a {
  display: inline-flex;
  margin-top: 26px;
}

.site-legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 28px 20px 34px;
  color: var(--home-muted);
  font-size: 0.9rem;
}

.site-legal-footer a {
  color: inherit;
  text-decoration: none;
}

.site-legal-footer a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .home-nav {
    flex-wrap: wrap;
  }

  .home-nav-links {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .home-hero,
  .writing-section,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 0;
  }

  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .promo-bar {
    flex-direction: column;
    gap: 2px;
  }

  .home-nav {
    min-height: 64px;
    gap: 10px;
    padding: 0 14px;
  }

  .home-brand {
    gap: 8px;
  }

  .home-brand img {
    width: 38px;
    height: 38px;
  }

  .home-brand span {
    display: inline;
    max-width: 106px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-nav-actions a {
    min-height: 38px;
    padding: 0 9px;
    font-size: 0.86rem;
  }

  .home-hero,
  .feature-strip,
  .writing-section,
  .templates-section,
  .steps-section,
  .pricing-section,
  .faq-section,
  .final-cta {
    width: min(100% - 28px, 1180px);
  }

  .home-hero {
    padding: 40px 0 48px;
  }

  .home-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .home-lede {
    font-size: 1.02rem;
  }

  .home-cta-primary,
  .home-cta-secondary {
    width: 100%;
  }

  .app-badge {
    width: 100%;
  }

  .hero-visual {
    min-height: 0;
  }

  .preview-grid,
  .template-grid,
  .faq-grid,
  .product-actions {
    grid-template-columns: 1fr;
  }

  .preview-feed {
    grid-column: span 1;
  }

  .floating-card {
    width: 100%;
  }

  .final-cta {
    padding: 34px 18px;
  }
}
