:root {
  --primary: #1d9e75;
  --primary-dark: #157a5c;
  --primary-light: #e8f7f1;
  --primary-glow: rgba(29, 158, 117, 0.15);
  --text: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --white: #fff;
  --border: #e2e8f0;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(29, 158, 117, 0.12);
  --max: 1140px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-dark);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wrap--wide {
  max-width: 1280px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  object-fit: cover;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle {
    display: none !important;
  }
}

.nav-desktop a:not(.btn) {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  text-decoration: none;
  border-radius: 8px;
}

.nav-desktop a:not(.btn):hover {
  color: var(--text);
  background: var(--bg);
}

.nav-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  padding: 0.65rem 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  color: var(--muted);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: var(--white);
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 2.5rem 0 4rem;
  background: linear-gradient(165deg, var(--primary-light) 0%, #fff 45%, var(--bg) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin: 1.75rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--primary);
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-visual {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .hero-visual {
    max-width: none;
    margin: 0;
  }
}

/* ——— Bingkai gambar seragam ——— */
.media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #eef2f7 0%, #f8fafc 50%, #e8f7f1 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.media-frame::before {
  content: '';
  display: block;
  width: 100%;
}

.media-frame--hero {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.media-frame--hero::before {
  padding-top: 62.5%; /* 16:10 */
}

.media-frame--feature::before {
  padding-top: 62.5%;
}

.media-frame--step::before {
  padding-top: 75%; /* 4:3 */
}

.media-frame--card::before {
  padding-top: 66.67%; /* 3:2 */
}

.media-frame--app::before {
  padding-top: 75%;
}

.media-frame--avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: var(--shadow);
}

.media-frame--avatar::before {
  display: none;
}

.media-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.media-frame--avatar > img {
  position: absolute;
  inset: 0;
}

.media-frame.is-missing > img {
  opacity: 0;
  pointer-events: none;
}

.media-fallback {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  text-align: center;
  background: linear-gradient(160deg, #eef2f7 0%, #f0fdf4 100%);
}

.media-frame.is-missing .media-fallback {
  display: flex;
}

.media-fallback__icon {
  font-size: 2rem;
  line-height: 1;
  opacity: 0.85;
}

.media-frame--step .media-fallback__icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
}

.media-frame--avatar .media-fallback__icon {
  font-size: 1.25rem;
}

.media-fallback__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.media-fallback__hint {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Trust bar */
.trust-bar {
  background: var(--white);
  border-y: 1px solid var(--border);
  padding: 1.25rem 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.trust-inner strong {
  color: var(--text);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--white);
}

.section-dark {
  background: var(--text);
  color: #e2e8f0;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  max-width: none;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Pain points */
.pain-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pain-card {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.pain-card h3 {
  font-size: 1rem;
  color: #c2410c;
  margin-bottom: 0.35rem;
}

.pain-card p {
  font-size: 0.92rem;
  color: #9a3412;
}

.solution-banner {
  margin-top: 2rem;
  text-align: center;
  padding: 1.5rem;
  background: var(--primary-light);
  border-radius: var(--radius);
  border: 1px solid rgba(29, 158, 117, 0.2);
}

.solution-banner p {
  font-size: 1.1rem;
  color: var(--primary-dark);
  font-weight: 600;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.step {
  display: flex;
  flex-direction: column;
  text-align: center;
  height: 100%;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  min-height: 2.5em;
}

.step p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
  flex: 1;
}

.step .media-frame {
  margin-top: auto;
  width: 100%;
}

/* Feature rows */
.feature-row {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-media {
  width: 100%;
}

.feature-media .media-frame {
  max-width: 100%;
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
  }
  .feature-row--reverse .feature-copy {
    order: 2;
  }
  .feature-row--reverse .feature-media {
    order: 1;
  }
}

.feature-copy h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-copy > p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: #334155;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Feature grid compact */
.features-compact {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .features-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features-compact {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-mini {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.feature-mini h3 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.feature-mini p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Business */
.biz-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .biz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.biz-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.biz-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.biz-card .media-frame {
  border-radius: var(--radius) var(--radius) 0 0;
  border: none;
  border-bottom: 1px solid var(--border);
}

.biz-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
}

.biz-body strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.biz-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.biz-tags span {
  font-size: 0.72rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-weight: 600;
}

/* Compare table */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 520px;
}

.compare th,
.compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare th {
  background: var(--bg);
  font-weight: 600;
}

.compare .col-jodiwa {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

.compare tr:last-child td {
  border-bottom: none;
}

/* Testimonials */
.testi-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .testi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testi-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.testi-card blockquote {
  flex: 1;
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-author .media-frame--avatar {
  margin: 0;
}

.testi-author strong {
  display: block;
  font-size: 0.9rem;
}

.testi-author span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* App section */
.app-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .app-split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.5rem;
  }
}

.app-split .media-frame--app {
  max-width: 420px;
  margin: 0 auto;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #e2e8f0;
  font-size: 0.85rem;
}

/* Pricing */
.pricing {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .pricing {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.price-card.highlight {
  border: 2px solid var(--primary);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.price-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
  min-height: 2.5rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  flex: 1;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.price-card li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* FAQ */
.faq-grid {
  max-width: 720px;
  margin: 0 auto;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.faq p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
}

.contact-card p,
.contact-card a {
  font-size: 0.95rem;
  color: var(--muted);
}

/* CTA */
.cta {
  padding: 4rem 0;
}

.cta-inner {
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  box-shadow: var(--shadow-lg);
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-inner p {
  opacity: 0.92;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--primary-dark);
}

/* Footer */
.footer {
  background: var(--text);
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.4rem;
}

.footer a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
}

/* Legal pages reuse */
.legal {
  padding: 2.5rem 0 3rem;
}

.legal-inner {
  max-width: 720px;
}

.legal h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.legal h2 {
  font-size: 1.1rem;
  margin: 1.75rem 0 0.5rem;
}

.legal p,
.legal li {
  color: #374151;
  margin-bottom: 0.75rem;
}

.legal ul {
  padding-left: 1.25rem;
}

.legal-back {
  margin-top: 2rem;
}
